Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for BACS Debit as a Capability on Account #1112

Merged
merged 1 commit into from
Jun 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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