File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Sources/StripeKit/Payment Methods/Bank Accounts Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ public struct BankAccount: Codable {
2020 public var country : String ?
2121 /// Three-letter ISO code for the currency paid out to the bank account.
2222 public var currency : Currency ?
23+ /// Whether this bank account is the default external account for its currency.
24+ public var defaultForCurrency : Bool ?
2325 /// The customer that this bank account belongs to.
2426 @Expandable < Customer > public var customer : String ?
2527 /// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
@@ -49,6 +51,7 @@ public struct BankAccount: Codable {
4951 bankName: String ? = nil ,
5052 country: String ? = nil ,
5153 currency: Currency ? = nil ,
54+ defaultForCurrency: Bool ? = nil ,
5255 customer: String ? = nil ,
5356 fingerprint: String ? = nil ,
5457 last4: String ? = nil ,
@@ -65,6 +68,7 @@ public struct BankAccount: Codable {
6568 self . bankName = bankName
6669 self . country = country
6770 self . currency = currency
71+ self . defaultForCurrency = defaultForCurrency
6872 self . _customer = Expandable ( id: customer)
6973 self . fingerprint = fingerprint
7074 self . last4 = last4
You can’t perform that action at this time.
0 commit comments