Skip to content

Commit ea39c4f

Browse files
author
Recurly Integrations
authored
Generated Latest Changes for v2021-02-25
1 parent d47d54b commit ea39c4f

9 files changed

+57
-6
lines changed

account_acquisition.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ type AccountAcquisition struct {
2525
// An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
2626
Campaign string `json:"campaign,omitempty"`
2727

28+
// Date the account was first created if different than the account.created_at. ie Importing accounts.
29+
AcquiredAt *time.Time `json:"acquired_at,omitempty"`
30+
2831
Id string `json:"id,omitempty"`
2932

3033
// Object type

account_acquisition_update.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
// need and we will usher them to the appropriate places.
55
package recurly
66

7-
import ()
7+
import (
8+
"time"
9+
)
810

911
type AccountAcquisitionUpdate struct {
1012

@@ -19,4 +21,7 @@ type AccountAcquisitionUpdate struct {
1921

2022
// An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
2123
Campaign *string `json:"campaign,omitempty"`
24+
25+
// Date the account was first created if different than the account.created_at. ie Importing accounts.
26+
AcquiredAt *time.Time `json:"acquired_at,omitempty"`
2227
}

billing_info_create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ type BillingInfoCreate struct {
6767
// Fraud Session ID
6868
FraudSessionId *string `json:"fraud_session_id,omitempty"`
6969

70+
// The Adyen Risk Profile Reference ID is used to identify the risk profile for the payment method.
71+
AdyenRiskProfileReferenceId *string `json:"adyen_risk_profile_reference_id,omitempty"`
72+
7073
// An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.
7174
TransactionType *string `json:"transaction_type,omitempty"`
7275

external_product_reference_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ type ExternalProductReferenceBase struct {
1212
ReferenceCode *string `json:"reference_code,omitempty"`
1313

1414
// Represents the connection type. One of the connection types of your enabled App Connectors
15-
ExternalConnectionType *ExternalProductReferenceConnectionType `json:"external_connection_type,omitempty"`
15+
ExternalConnectionType *string `json:"external_connection_type,omitempty"`
1616
}

external_product_reference_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ type ExternalProductReferenceCreate struct {
1212
ReferenceCode *string `json:"reference_code,omitempty"`
1313

1414
// Represents the connection type. One of the connection types of your enabled App Connectors
15-
ExternalConnectionType *ExternalProductReferenceConnectionType `json:"external_connection_type,omitempty"`
15+
ExternalConnectionType *string `json:"external_connection_type,omitempty"`
1616
}

external_product_reference_update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ type ExternalProductReferenceUpdate struct {
1212
ReferenceCode *string `json:"reference_code,omitempty"`
1313

1414
// Represents the connection type. One of the connection types of your enabled App Connectors
15-
ExternalConnectionType *ExternalProductReferenceConnectionType `json:"external_connection_type,omitempty"`
15+
ExternalConnectionType *string `json:"external_connection_type,omitempty"`
1616
}

openapi/api.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17689,6 +17689,11 @@ components:
1768917689
type: string
1769017690
description: An arbitrary identifier for the marketing campaign that led
1769117691
to the acquisition of this account.
17692+
acquired_at:
17693+
type: string
17694+
format: date-time
17695+
description: Date the account was first created if different than the account.created_at.
17696+
ie Importing accounts.
1769217697
AccountAcquisitionReadOnly:
1769317698
type: object
1769417699
properties:
@@ -18998,6 +19003,11 @@ components:
1899819003
fraud_session_id:
1899919004
type: string
1900019005
title: Fraud Session ID
19006+
adyen_risk_profile_reference_id:
19007+
type: string
19008+
title: Adyen Risk Profile Reference ID
19009+
description: The Adyen Risk Profile Reference ID is used to identify the
19010+
risk profile for the payment method.
1900119011
transaction_type:
1900219012
description: An optional type designation for the payment gateway transaction
1900319013
created by this request. Supports 'moto' value, which is the acronym for
@@ -19943,6 +19953,12 @@ components:
1994319953
object:
1994419954
title: Object type
1994519955
type: string
19956+
has_more:
19957+
type: boolean
19958+
description: Indicates there are more results on subsequent pages.
19959+
next:
19960+
type: string
19961+
description: Path to subsequent page of results.
1994619962
data:
1994719963
title: Performance Obligation
1994819964
type: array
@@ -24218,6 +24234,11 @@ components:
2421824234
format: float
2421924235
title: Assigns the subscription's shipping cost. If this is greater than
2422024236
zero then a `method_id` or `method_code` is required.
24237+
expected_first_delivery_at:
24238+
type: string
24239+
format: date-time
24240+
title: Expected first delivery date
24241+
description: The expected date of the first delivery for the subscription.
2422124242
SubscriptionShippingUpdate:
2422224243
type: object
2422324244
title: Subscription shipping details
@@ -24256,6 +24277,11 @@ components:
2425624277
format: float
2425724278
title: Assigns the subscription's shipping cost. If this is greater than
2425824279
zero then a `method_id` or `method_code` is required.
24280+
expected_first_delivery_at:
24281+
type: string
24282+
format: date-time
24283+
title: Expected first delivery date
24284+
description: The expected date of the first delivery for the subscription.
2425924285
SubscriptionRampInterval:
2426024286
type: object
2426124287
title: Subscription Ramp Interval
@@ -25134,6 +25160,7 @@ components:
2513425160
format: date-time
2513525161
description: When the current settings were updated in Recurly.
2513625162
DunningInterval:
25163+
type: object
2513725164
properties:
2513825165
days:
2513925166
type: integer
@@ -25158,6 +25185,7 @@ components:
2515825185
items:
2515925186
type: string
2516025187
DunningCampaignsBulkUpdateResponse:
25188+
type: object
2516125189
properties:
2516225190
object:
2516325191
type: string
@@ -26011,6 +26039,7 @@ components:
2601126039
format: date-time
2601226040
description: When the invoice template was updated in Recurly.
2601326041
PaymentMethod:
26042+
type: object
2601426043
properties:
2601526044
object:
2601626045
"$ref": "#/components/schemas/PaymentMethodEnum"
@@ -27161,6 +27190,7 @@ components:
2716127190
- amazon
2716227191
- amazon_billing_agreement
2716327192
- apple_pay
27193+
- apple_pay_merchant_token
2716427194
- bank_account_info
2716527195
- braintree_apple_pay
2716627196
- check

subscription_shipping_create.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
// need and we will usher them to the appropriate places.
55
package recurly
66

7-
import ()
7+
import (
8+
"time"
9+
)
810

911
type SubscriptionShippingCreate struct {
1012
Address *ShippingAddressCreate `json:"address,omitempty"`
@@ -20,4 +22,7 @@ type SubscriptionShippingCreate struct {
2022

2123
// Assigns the subscription's shipping cost. If this is greater than zero then a `method_id` or `method_code` is required.
2224
Amount *float64 `json:"amount,omitempty"`
25+
26+
// The expected date of the first delivery for the subscription.
27+
ExpectedFirstDeliveryAt *time.Time `json:"expected_first_delivery_at,omitempty"`
2328
}

subscription_shipping_purchase.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
// need and we will usher them to the appropriate places.
55
package recurly
66

7-
import ()
7+
import (
8+
"time"
9+
)
810

911
type SubscriptionShippingPurchase struct {
1012

@@ -16,4 +18,7 @@ type SubscriptionShippingPurchase struct {
1618

1719
// Assigns the subscription's shipping cost. If this is greater than zero then a `method_id` or `method_code` is required.
1820
Amount *float64 `json:"amount,omitempty"`
21+
22+
// The expected date of the first delivery for the subscription.
23+
ExpectedFirstDeliveryAt *time.Time `json:"expected_first_delivery_at,omitempty"`
1924
}

0 commit comments

Comments
 (0)