Skip to content

Commit

Permalink
Merge pull request #530 from civist/fix-country-specs
Browse files Browse the repository at this point in the history
Fix mixed-up types in CountrySpec.SupportedBankAccountCurrencies
  • Loading branch information
ob-stripe authored Mar 8, 2018
2 parents f5b2a03 + 8bf064c commit 13c63cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion countryspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type VerificationFieldsList struct {
type CountrySpec struct {
DefaultCurrency Currency `json:"default_currency"`
ID string `json:"id"`
SupportedBankAccountCurrencies map[Country][]Currency `json:"supported_bank_account_currencies"`
SupportedBankAccountCurrencies map[Currency][]Country `json:"supported_bank_account_currencies"`
SupportedPaymentCurrencies []Currency `json:"supported_payment_currencies"`
SupportedPaymentMethods []string `json:"supported_payment_methods"`
VerificationFields map[LegalEntityType]VerificationFieldsList `json:"verification_fields"`
Expand Down

0 comments on commit 13c63cd

Please sign in to comment.