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 Aug 9, 2023
1 parent 5b75a68 commit 954c3cc
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gateway_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
type GatewayAttributes struct {
recurlyResponse *ResponseMetadata

// Used by Adyen gateways. The Shopper Reference value used when the external token was created.
// Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
AccountReference string `json:"account_reference,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion gateway_attributes_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import ()

type GatewayAttributesCreate struct {

// Used by Adyen gateways. The Shopper Reference value used when the external token was created. Must be used in conjunction with gateway_token and gateway_code.
// Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. Must be used in conjunction with gateway_token and gateway_code. For Braintree the PayPal PayerID is populated in the response.
AccountReference *string `json:"account_reference,omitempty"`
}
24 changes: 19 additions & 5 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18204,9 +18204,10 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created. Must be used in conjunction with
gateway_token and gateway_code.
description: Used by Adyen and Braintree gateways. For Adyen the Shopper
Reference value used when the external token was created. Must be
used in conjunction with gateway_token and gateway_code. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
amazon_billing_agreement_id:
type: string
Expand Down Expand Up @@ -21712,6 +21713,12 @@ components:
format: date-time
description: When the subscription was converted from a gift card.
title: Converted at
action_result:
type: object
description: Action result params to be used in Recurly-JS to complete a
payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
Sofort.
title: Action result
SubscriptionAddOn:
type: object
title: Subscription Add-on
Expand Down Expand Up @@ -23027,6 +23034,12 @@ components:
format: date-time
title: Collected at, or if not collected yet, the time the transaction was
created.
action_result:
type: object
description: Action result params to be used in Recurly-JS to complete a
payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
Sofort.
title: Action result
ExternalTransaction:
type: object
properties:
Expand Down Expand Up @@ -24149,8 +24162,9 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created.
description: Used by Adyen and Braintree gateways. For Adyen the Shopper
Reference value used when the external token was created. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
billing_agreement_id:
type: string
Expand Down
3 changes: 3 additions & 0 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ type Subscription struct {

// When the subscription was converted from a gift card.
ConvertedAt time.Time `json:"converted_at,omitempty"`

// Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
ActionResult map[string]interface{} `json:"action_result,omitempty"`
}

// GetResponse returns the ResponseMetadata that generated this resource
Expand Down
3 changes: 3 additions & 0 deletions transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ type Transaction struct {

// Collected at, or if not collected yet, the time the transaction was created.
CollectedAt time.Time `json:"collected_at,omitempty"`

// Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
ActionResult map[string]interface{} `json:"action_result,omitempty"`
}

// GetResponse returns the ResponseMetadata that generated this resource
Expand Down

0 comments on commit 954c3cc

Please sign in to comment.