From df3cf5deba6ba5d9a77de72661f2a3fb723f187f Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 3 Jun 2020 12:40:17 -0700 Subject: [PATCH] Add support for BACS Debit as a `Capability` on `Account` --- account.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account.go b/account.go index 0bfc504f4f..5264fa89d6 100644 --- a/account.go +++ b/account.go @@ -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" @@ -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"`