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 JCBPayments and CardIssuing as a Capability #1083

Merged
merged 1 commit into from
Apr 24, 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
3 changes: 3 additions & 0 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const (
AccountCapabilityAUBECSDebitPayments AccountCapability = "au_becs_debit_payments"
AccountCapabilityCardIssuing AccountCapability = "card_issuing"
AccountCapabilityCardPayments AccountCapability = "card_payments"
AccountCapabilityJCBPayments AccountCapability = "jcb_payments"
AccountCapabilityLegacyPayments AccountCapability = "legacy_payments"
AccountCapabilityTaxReportingUS1099K AccountCapability = "tax_reporting_us_1099_k"
AccountCapabilityTaxReportingUS1099MISC AccountCapability = "tax_reporting_us_1099_misc"
Expand Down Expand Up @@ -340,7 +341,9 @@ type AccountBusinessProfile struct {
// AccountCapabilities is the resource representing the capabilities enabled on that account.
type AccountCapabilities struct {
AUBECSDebitPayments AccountCapabilityStatus `json:"au_becs_debit_payments"`
CardIssuing AccountCapabilityStatus `json:"card_issuing"`
CardPayments AccountCapabilityStatus `json:"card_payments"`
JCBPayments AccountCapabilityStatus `json:"jcb_payments"`
LegacyPayments AccountCapabilityStatus `json:"legacy_payments"`
TaxReportingUS1099K AccountCapabilityStatus `json:"tax_reporting_us_1099_k"`
TaxReportingUS1099MISC AccountCapabilityStatus `json:"tax_reporting_us_1099_misc"`
Expand Down