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

Generated Latest Changes for v2021-02-25 #202

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
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: 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