-
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.
- Loading branch information
Showing
10 changed files
with
17 additions
and
12 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].0 | ||
$ go get github.com/maxio-com/[email protected].1 | ||
``` | ||
|
||
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/[email protected].0 | ||
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/[email protected].1 | ||
|
||
## Initialize the API Client | ||
|
||
|
@@ -74,6 +74,8 @@ client := advancedbilling.NewClient( | |
"BasicAuthPassword", | ||
), | ||
), | ||
advancedbilling.WithSubdomain("subdomain"), | ||
advancedbilling.WithDomain("chargify.com"), | ||
), | ||
) | ||
``` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
| `LastName` | `*string` | Optional | The last name of the customer | | ||
| `Email` | `*string` | Optional | The email address of the customer | | ||
| `CcEmails` | `models.Optional[string]` | Optional | A comma-separated list of emails that should be cc’d on all customer communications (i.e. “[email protected], [email protected]”) | | ||
| `Organization` | `models.Optional[string]` | Optional | The organization of the customer | | ||
| `Organization` | `models.Optional[string]` | Optional | The organization of the customer. If no value, `null` or empty string is provided, `organization` will be populated with the customer's first and last name, separated with a space. | | ||
| `Reference` | `models.Optional[string]` | Optional | The unique identifier used within your own application for this customer | | ||
| `Id` | `*int` | Optional | The customer ID in Chargify | | ||
| `CreatedAt` | `*time.Time` | Optional | The timestamp in which the customer object was created in Chargify | | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github.com/apimatic/go-core-runtime v0.0.21 h1:05q2QqxfCxY8ejQQjJYs78DFjFvOeSnMl3EZNRuw3bc= | ||
github.com/apimatic/go-core-runtime v0.0.21/go.mod h1:kyqGg2v3OTV7o2fXHgbHLZPMinqZvIqw1JwdEd64OzM= | ||
github.com/apimatic/go-core-runtime v0.0.22 h1:n9O8r5U+g7X1sZRBzvqcdwa79BegV8CBy4z1M8eoYzU= | ||
github.com/apimatic/go-core-runtime v0.0.22/go.mod h1:kyqGg2v3OTV7o2fXHgbHLZPMinqZvIqw1JwdEd64OzM= |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ type Customer struct { | |
Email *string `json:"email,omitempty"` | ||
// A comma-separated list of emails that should be cc’d on all customer communications (i.e. “[email protected], [email protected]”) | ||
CcEmails Optional[string] `json:"cc_emails"` | ||
// The organization of the customer | ||
// The organization of the customer. If no value, `null` or empty string is provided, `organization` will be populated with the customer's first and last name, separated with a space. | ||
Organization Optional[string] `json:"organization"` | ||
// The unique identifier used within your own application for this customer | ||
Reference Optional[string] `json:"reference"` | ||
|
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