Skip to content

Commit

Permalink
Fix mixed-up types in CountrySpec.SupportedBankAccountCurrencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sfriedel committed Mar 7, 2018
1 parent f5b2a03 commit 8bf064c
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 8bf064c

Please sign in to comment.