Skip to content

Commit b76a4dc

Browse files
author
Recurly Integrations
authored
Generated Latest Changes for v2021-02-25
1 parent 3bd4b79 commit b76a4dc

10 files changed

Lines changed: 151 additions & 12 deletions

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

src/main/java/com/recurly/v3/Constants.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,9 @@ public enum PaymentMethod {
14141414
@SerializedName("apple_pay")
14151415
APPLE_PAY,
14161416

1417+
@SerializedName("apple_pay_merchant_token")
1418+
APPLE_PAY_MERCHANT_TOKEN,
1419+
14171420
@SerializedName("bank_account_info")
14181421
BANK_ACCOUNT_INFO,
14191422

src/main/java/com/recurly/v3/requests/AccountAcquisitionUpdate.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@
1010
import com.recurly.v3.Constants;
1111
import com.recurly.v3.Request;
1212
import com.recurly.v3.resources.*;
13+
import org.joda.time.DateTime;
1314

1415
public class AccountAcquisitionUpdate extends Request {
1516

17+
/**
18+
* Date the account was first created if different than the account.created_at. ie Importing
19+
* accounts.
20+
*/
21+
@SerializedName("acquired_at")
22+
@Expose
23+
private DateTime acquiredAt;
24+
1625
/**
1726
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
1827
*/
@@ -37,6 +46,22 @@ public class AccountAcquisitionUpdate extends Request {
3746
@Expose
3847
private String subchannel;
3948

49+
/**
50+
* Date the account was first created if different than the account.created_at. ie Importing
51+
* accounts.
52+
*/
53+
public DateTime getAcquiredAt() {
54+
return this.acquiredAt;
55+
}
56+
57+
/**
58+
* @param acquiredAt Date the account was first created if different than the account.created_at.
59+
* ie Importing accounts.
60+
*/
61+
public void setAcquiredAt(final DateTime acquiredAt) {
62+
this.acquiredAt = acquiredAt;
63+
}
64+
4065
/**
4166
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
4267
*/

src/main/java/com/recurly/v3/requests/BillingInfoCreate.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ public class BillingInfoCreate extends Request {
2828
@Expose
2929
private Address address;
3030

31+
/**
32+
* The Adyen Risk Profile Reference ID is used to identify the risk profile for the payment
33+
* method.
34+
*/
35+
@SerializedName("adyen_risk_profile_reference_id")
36+
@Expose
37+
private String adyenRiskProfileReferenceId;
38+
3139
/** Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js. */
3240
@SerializedName("amazon_billing_agreement_id")
3341
@Expose
@@ -286,6 +294,22 @@ public void setAddress(final Address address) {
286294
this.address = address;
287295
}
288296

297+
/**
298+
* The Adyen Risk Profile Reference ID is used to identify the risk profile for the payment
299+
* method.
300+
*/
301+
public String getAdyenRiskProfileReferenceId() {
302+
return this.adyenRiskProfileReferenceId;
303+
}
304+
305+
/**
306+
* @param adyenRiskProfileReferenceId The Adyen Risk Profile Reference ID is used to identify the
307+
* risk profile for the payment method.
308+
*/
309+
public void setAdyenRiskProfileReferenceId(final String adyenRiskProfileReferenceId) {
310+
this.adyenRiskProfileReferenceId = adyenRiskProfileReferenceId;
311+
}
312+
289313
/** Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js. */
290314
public String getAmazonBillingAgreementId() {
291315
return this.amazonBillingAgreementId;

src/main/java/com/recurly/v3/requests/ExternalProductReferenceBase.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExternalProductReferenceBase extends Request {
1515
/** Represents the connection type. One of the connection types of your enabled App Connectors */
1616
@SerializedName("external_connection_type")
1717
@Expose
18-
private ExternalProductReferenceConnectionType externalConnectionType;
18+
private String externalConnectionType;
1919

2020
/**
2121
* A code which associates the external product to a corresponding object or resource in an
@@ -26,16 +26,15 @@ public class ExternalProductReferenceBase extends Request {
2626
private String referenceCode;
2727

2828
/** Represents the connection type. One of the connection types of your enabled App Connectors */
29-
public ExternalProductReferenceConnectionType getExternalConnectionType() {
29+
public String getExternalConnectionType() {
3030
return this.externalConnectionType;
3131
}
3232

3333
/**
3434
* @param externalConnectionType Represents the connection type. One of the connection types of
3535
* your enabled App Connectors
3636
*/
37-
public void setExternalConnectionType(
38-
final ExternalProductReferenceConnectionType externalConnectionType) {
37+
public void setExternalConnectionType(final String externalConnectionType) {
3938
this.externalConnectionType = externalConnectionType;
4039
}
4140

src/main/java/com/recurly/v3/requests/ExternalProductReferenceCreate.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExternalProductReferenceCreate extends Request {
1515
/** Represents the connection type. One of the connection types of your enabled App Connectors */
1616
@SerializedName("external_connection_type")
1717
@Expose
18-
private ExternalProductReferenceConnectionType externalConnectionType;
18+
private String externalConnectionType;
1919

2020
/**
2121
* A code which associates the external product to a corresponding object or resource in an
@@ -26,16 +26,15 @@ public class ExternalProductReferenceCreate extends Request {
2626
private String referenceCode;
2727

2828
/** Represents the connection type. One of the connection types of your enabled App Connectors */
29-
public ExternalProductReferenceConnectionType getExternalConnectionType() {
29+
public String getExternalConnectionType() {
3030
return this.externalConnectionType;
3131
}
3232

3333
/**
3434
* @param externalConnectionType Represents the connection type. One of the connection types of
3535
* your enabled App Connectors
3636
*/
37-
public void setExternalConnectionType(
38-
final ExternalProductReferenceConnectionType externalConnectionType) {
37+
public void setExternalConnectionType(final String externalConnectionType) {
3938
this.externalConnectionType = externalConnectionType;
4039
}
4140

src/main/java/com/recurly/v3/requests/ExternalProductReferenceUpdate.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExternalProductReferenceUpdate extends Request {
1515
/** Represents the connection type. One of the connection types of your enabled App Connectors */
1616
@SerializedName("external_connection_type")
1717
@Expose
18-
private ExternalProductReferenceConnectionType externalConnectionType;
18+
private String externalConnectionType;
1919

2020
/**
2121
* A code which associates the external product to a corresponding object or resource in an
@@ -26,16 +26,15 @@ public class ExternalProductReferenceUpdate extends Request {
2626
private String referenceCode;
2727

2828
/** Represents the connection type. One of the connection types of your enabled App Connectors */
29-
public ExternalProductReferenceConnectionType getExternalConnectionType() {
29+
public String getExternalConnectionType() {
3030
return this.externalConnectionType;
3131
}
3232

3333
/**
3434
* @param externalConnectionType Represents the connection type. One of the connection types of
3535
* your enabled App Connectors
3636
*/
37-
public void setExternalConnectionType(
38-
final ExternalProductReferenceConnectionType externalConnectionType) {
37+
public void setExternalConnectionType(final String externalConnectionType) {
3938
this.externalConnectionType = externalConnectionType;
4039
}
4140

src/main/java/com/recurly/v3/requests/SubscriptionShippingCreate.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.recurly.v3.Request;
1111
import com.recurly.v3.resources.*;
1212
import java.math.BigDecimal;
13+
import org.joda.time.DateTime;
1314

1415
public class SubscriptionShippingCreate extends Request {
1516

@@ -33,6 +34,11 @@ public class SubscriptionShippingCreate extends Request {
3334
@Expose
3435
private BigDecimal amount;
3536

37+
/** The expected date of the first delivery for the subscription. */
38+
@SerializedName("expected_first_delivery_at")
39+
@Expose
40+
private DateTime expectedFirstDeliveryAt;
41+
3642
/**
3743
* The code of the shipping method used to deliver the subscription. If `method_id` and
3844
* `method_code` are both present, `method_id` will be used.
@@ -90,6 +96,18 @@ public void setAmount(final BigDecimal amount) {
9096
this.amount = amount;
9197
}
9298

99+
/** The expected date of the first delivery for the subscription. */
100+
public DateTime getExpectedFirstDeliveryAt() {
101+
return this.expectedFirstDeliveryAt;
102+
}
103+
104+
/**
105+
* @param expectedFirstDeliveryAt The expected date of the first delivery for the subscription.
106+
*/
107+
public void setExpectedFirstDeliveryAt(final DateTime expectedFirstDeliveryAt) {
108+
this.expectedFirstDeliveryAt = expectedFirstDeliveryAt;
109+
}
110+
93111
/**
94112
* The code of the shipping method used to deliver the subscription. If `method_id` and
95113
* `method_code` are both present, `method_id` will be used.

src/main/java/com/recurly/v3/requests/SubscriptionShippingPurchase.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.recurly.v3.Request;
1111
import com.recurly.v3.resources.*;
1212
import java.math.BigDecimal;
13+
import org.joda.time.DateTime;
1314

1415
public class SubscriptionShippingPurchase extends Request {
1516

@@ -21,6 +22,11 @@ public class SubscriptionShippingPurchase extends Request {
2122
@Expose
2223
private BigDecimal amount;
2324

25+
/** The expected date of the first delivery for the subscription. */
26+
@SerializedName("expected_first_delivery_at")
27+
@Expose
28+
private DateTime expectedFirstDeliveryAt;
29+
2430
/**
2531
* The code of the shipping method used to deliver the subscription. If `method_id` and
2632
* `method_code` are both present, `method_id` will be used.
@@ -53,6 +59,18 @@ public void setAmount(final BigDecimal amount) {
5359
this.amount = amount;
5460
}
5561

62+
/** The expected date of the first delivery for the subscription. */
63+
public DateTime getExpectedFirstDeliveryAt() {
64+
return this.expectedFirstDeliveryAt;
65+
}
66+
67+
/**
68+
* @param expectedFirstDeliveryAt The expected date of the first delivery for the subscription.
69+
*/
70+
public void setExpectedFirstDeliveryAt(final DateTime expectedFirstDeliveryAt) {
71+
this.expectedFirstDeliveryAt = expectedFirstDeliveryAt;
72+
}
73+
5674
/**
5775
* The code of the shipping method used to deliver the subscription. If `method_id` and
5876
* `method_code` are both present, `method_id` will be used.

src/main/java/com/recurly/v3/resources/AccountAcquisition.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ public class AccountAcquisition extends Resource {
1818
@Expose
1919
private AccountMini account;
2020

21+
/**
22+
* Date the account was first created if different than the account.created_at. ie Importing
23+
* accounts.
24+
*/
25+
@SerializedName("acquired_at")
26+
@Expose
27+
private DateTime acquiredAt;
28+
2129
/**
2230
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
2331
*/
@@ -71,6 +79,22 @@ public void setAccount(final AccountMini account) {
7179
this.account = account;
7280
}
7381

82+
/**
83+
* Date the account was first created if different than the account.created_at. ie Importing
84+
* accounts.
85+
*/
86+
public DateTime getAcquiredAt() {
87+
return this.acquiredAt;
88+
}
89+
90+
/**
91+
* @param acquiredAt Date the account was first created if different than the account.created_at.
92+
* ie Importing accounts.
93+
*/
94+
public void setAcquiredAt(final DateTime acquiredAt) {
95+
this.acquiredAt = acquiredAt;
96+
}
97+
7498
/**
7599
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
76100
*/

0 commit comments

Comments
 (0)