Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Mar 19, 2024
1 parent 6b1b0f8 commit eb10c84
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
3 changes: 3 additions & 0 deletions billing_info_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,7 @@ type BillingInfoCreate struct {
OnlineBankingPaymentType *string `json:"online_banking_payment_type,omitempty"`

CardType *string `json:"card_type,omitempty"`

// Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
CardNetworkPreference *string `json:"card_network_preference,omitempty"`
}
3 changes: 3 additions & 0 deletions external_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ type ExternalSubscription struct {
// When the external subscription trial period ends in the external platform.
TrialEndsAt time.Time `json:"trial_ends_at,omitempty"`

// An indication of whether or not the external subscription was purchased in a sandbox environment.
Test bool `json:"test,omitempty"`

// When the external subscription was created in Recurly.
CreatedAt time.Time `json:"created_at,omitempty"`

Expand Down
24 changes: 22 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8617,8 +8617,6 @@ paths:
summary: Apply available credit to a pending or past due charge invoice
description: Apply credit payment to the outstanding balance on an existing
charge invoice from an account’s available balance from existing credit invoices.
Credit that was refunded from the invoice cannot be applied back to the invoice
as payment.
parameters:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/invoice_id"
Expand Down Expand Up @@ -18389,6 +18387,10 @@ components:
deprecated: true
card_type:
"$ref": "#/components/schemas/CardTypeEnum"
card_network_preference:
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
"$ref": "#/components/schemas/CardNetworkEnum"
BillingInfoVerify:
type: object
properties:
Expand Down Expand Up @@ -24173,6 +24175,12 @@ components:
title: Trial ends at
description: When the external subscription trial period ends in the external
platform.
test:
type: boolean
title: Test
description: An indication of whether or not the external subscription was
purchased in a sandbox environment.
default: false
created_at:
type: string
format: date-time
Expand Down Expand Up @@ -24427,6 +24435,10 @@ components:
Reference value used when the external token was created. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
card_network_preference:
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
"$ref": "#/components/schemas/CardNetworkEnum"
billing_agreement_id:
type: string
description: Billing Agreement identifier. Only present for Amazon or Paypal
Expand Down Expand Up @@ -25469,6 +25481,14 @@ components:
- Unknown
- Visa
- Tarjeta Naranja
CardNetworkEnum:
type: string
enum:
- Bancontact
- CartesBancaires
- Dankort
- MasterCard
- Visa
AccountTypeEnum:
type: string
enum:
Expand Down
3 changes: 3 additions & 0 deletions payment_method.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ type PaymentMethod struct {
// Gateway specific attributes associated with this PaymentMethod
GatewayAttributes GatewayAttributes `json:"gateway_attributes,omitempty"`

// Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
CardNetworkPreference string `json:"card_network_preference,omitempty"`

// Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
BillingAgreementId string `json:"billing_agreement_id,omitempty"`

Expand Down

0 comments on commit eb10c84

Please sign in to comment.