-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added `tax_exempt_reason` and `default_auto_renewal_profile_id` to `Customer` - Added `received_on` to `InvoicePayment` and `CreateInvoicePayment` - Added `product_price_point_id` and `product_price_point_handle` to `UpdateSubscription` - Improved some properties descriptions
- Loading branch information
1 parent
fca30de
commit 5ab29bf
Showing
14 changed files
with
172 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,10 @@ The following section explains how to use the advancedbilling library in a new p | |
To use the package in your application, you can install the package from [pkg.go.dev](https://pkg.go.dev/) using the following command: | ||
|
||
```bash | ||
$ go get github.com/maxio-com/[email protected].1 | ||
$ go get github.com/maxio-com/[email protected].2 | ||
``` | ||
|
||
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/[email protected].1 | ||
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/[email protected].2 | ||
|
||
## Initialize the API Client | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,9 +447,9 @@ body := models.CreateSubscriptionRequest{ | |
Subscription: models.CreateSubscription{ | ||
ProductHandle: models.ToPointer("gold-product"), | ||
CustomerAttributes: models.ToPointer(models.CustomerAttributes{ | ||
FirstName: models.ToPointer("Myra"), | ||
LastName: models.ToPointer("Maisel"), | ||
Email: models.ToPointer("[email protected]"), | ||
FirstName: models.ToPointer("Myra"), | ||
LastName: models.ToPointer("Maisel"), | ||
Email: models.ToPointer("[email protected]"), | ||
}), | ||
}, | ||
} | ||
|
@@ -513,9 +513,9 @@ body := models.CreateSubscriptionRequest{ | |
Subscription: models.CreateSubscription{ | ||
ProductHandle: models.ToPointer("gold-plan"), | ||
CustomerAttributes: models.ToPointer(models.CustomerAttributes{ | ||
FirstName: models.ToPointer("first"), | ||
LastName: models.ToPointer("last"), | ||
Email: models.ToPointer("[email protected]"), | ||
FirstName: models.ToPointer("first"), | ||
LastName: models.ToPointer("last"), | ||
Email: models.ToPointer("[email protected]"), | ||
}), | ||
}, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -700,18 +700,18 @@ body := models.CreateSubscriptionRequest{ | |
Subscription: models.CreateSubscription{ | ||
ProductHandle: models.ToPointer("basic"), | ||
CustomerAttributes: models.ToPointer(models.CustomerAttributes{ | ||
FirstName: models.ToPointer("Joe"), | ||
LastName: models.ToPointer("Blow"), | ||
Email: models.ToPointer("[email protected]"), | ||
Organization: models.ToPointer("Acme"), | ||
Reference: models.ToPointer("XYZ"), | ||
Address: models.ToPointer("123 Mass Ave."), | ||
Address2: models.NewOptional(models.ToPointer("address_24")), | ||
City: models.ToPointer("Boston"), | ||
State: models.ToPointer("MA"), | ||
Zip: models.ToPointer("02120"), | ||
Country: models.ToPointer("US"), | ||
Phone: models.ToPointer("(617) 111 - 0000"), | ||
FirstName: models.ToPointer("Joe"), | ||
LastName: models.ToPointer("Blow"), | ||
Email: models.ToPointer("[email protected]"), | ||
Organization: models.ToPointer("Acme"), | ||
Reference: models.ToPointer("XYZ"), | ||
Address: models.ToPointer("123 Mass Ave."), | ||
Address2: models.NewOptional(models.ToPointer("address_24")), | ||
City: models.ToPointer("Boston"), | ||
State: models.ToPointer("MA"), | ||
Zip: models.ToPointer("02120"), | ||
Country: models.ToPointer("US"), | ||
Phone: models.ToPointer("(617) 111 - 0000"), | ||
}), | ||
CreditCardAttributes: models.ToPointer(models.PaymentProfileAttributes{ | ||
FirstName: models.ToPointer("Joe"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.