-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename all properties in the library to match the API reference
- Loading branch information
1 parent
135843e
commit fdd38c4
Showing
108 changed files
with
1,376 additions
and
1,446 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -37,20 +37,20 @@ func TestAccountList(t *testing.T) { | |
|
||
func TestAccountNew(t *testing.T) { | ||
account, err := New(&stripe.AccountParams{ | ||
Type: stripe.AccountTypeCustom, | ||
Country: "CA", | ||
BusinessUrl: "www.stripe.com", | ||
BusinessName: "Stripe", | ||
BusinessPrimaryColor: "#ffffff", | ||
DebitNegativeBal: true, | ||
SupportEmail: "[email protected]", | ||
SupportUrl: "www.stripe.com", | ||
SupportPhone: "4151234567", | ||
Type: stripe.AccountTypeCustom, | ||
Country: "CA", | ||
BusinessURL: "www.stripe.com", | ||
BusinessName: "Stripe", | ||
BusinessPrimaryColor: "#ffffff", | ||
DebitNegativeBalances: true, | ||
SupportEmail: "[email protected]", | ||
SupportURL: "www.stripe.com", | ||
SupportPhone: "4151234567", | ||
LegalEntity: &stripe.LegalEntity{ | ||
Type: stripe.Individual, | ||
BusinessName: "Stripe Go", | ||
AdditionalOwners: []stripe.Owner{ | ||
{First: "Jane"}, | ||
AdditionalOwners: []stripe.AdditionalOwner{ | ||
{FirstName: "Jane"}, | ||
}, | ||
DOB: stripe.DOB{ | ||
Day: 1, | ||
|
@@ -80,11 +80,11 @@ func TestAccountUpdate(t *testing.T) { | |
account, err := Update("acct_123", &stripe.AccountParams{ | ||
LegalEntity: &stripe.LegalEntity{ | ||
Address: stripe.Address{ | ||
Country: "CA", | ||
City: "Montreal", | ||
Zip: "H2Y 1C6", | ||
Line1: "275, rue Notre-Dame Est", | ||
State: "QC", | ||
Country: "CA", | ||
City: "Montreal", | ||
PostalCode: "H2Y 1C6", | ||
Line1: "275, rue Notre-Dame Est", | ||
State: "QC", | ||
}, | ||
}, | ||
}) | ||
|
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.