Skip to content

Commit

Permalink
Merge pull request #1112 from stripe/remi-add-bacs-debit-details
Browse files Browse the repository at this point in the history
Add support for BACS Debit as a `Capability` on `Account`
  • Loading branch information
remi-stripe authored Jun 3, 2020
2 parents c501ebb + df3cf5d commit 138ea94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type AccountCapability string
// List of values that AccountCapability can take.
const (
AccountCapabilityAUBECSDebitPayments AccountCapability = "au_becs_debit_payments"
AccountCapabilityBACSDebitPayments AccountCapability = "bacs_debit_payments"
AccountCapabilityCardIssuing AccountCapability = "card_issuing"
AccountCapabilityCardPayments AccountCapability = "card_payments"
AccountCapabilityJCBPayments AccountCapability = "jcb_payments"
Expand Down Expand Up @@ -349,6 +350,7 @@ type AccountBusinessProfile struct {
// AccountCapabilities is the resource representing the capabilities enabled on that account.
type AccountCapabilities struct {
AUBECSDebitPayments AccountCapabilityStatus `json:"au_becs_debit_payments"`
BACSDebitPayments AccountCapabilityStatus `json:"bacs_debit_payments"`
CardIssuing AccountCapabilityStatus `json:"card_issuing"`
CardPayments AccountCapabilityStatus `json:"card_payments"`
JCBPayments AccountCapabilityStatus `json:"jcb_payments"`
Expand Down

0 comments on commit 138ea94

Please sign in to comment.