Skip to content
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
30 changes: 30 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17689,6 +17689,11 @@ components:
type: string
description: An arbitrary identifier for the marketing campaign that led
to the acquisition of this account.
acquired_at:
type: string
format: date-time
description: Date the account was first created if different than the account.created_at.
ie Importing accounts.
AccountAcquisitionReadOnly:
type: object
properties:
Expand Down Expand Up @@ -18998,6 +19003,11 @@ components:
fraud_session_id:
type: string
title: Fraud Session ID
adyen_risk_profile_reference_id:
type: string
title: Adyen Risk Profile Reference ID
description: The Adyen Risk Profile Reference ID is used to identify the
risk profile for the payment method.
transaction_type:
description: An optional type designation for the payment gateway transaction
created by this request. Supports 'moto' value, which is the acronym for
Expand Down Expand Up @@ -19943,6 +19953,12 @@ components:
object:
title: Object type
type: string
has_more:
type: boolean
description: Indicates there are more results on subsequent pages.
next:
type: string
description: Path to subsequent page of results.
data:
title: Performance Obligation
type: array
Expand Down Expand Up @@ -24218,6 +24234,11 @@ components:
format: float
title: Assigns the subscription's shipping cost. If this is greater than
zero then a `method_id` or `method_code` is required.
expected_first_delivery_at:
type: string
format: date-time
title: Expected first delivery date
description: The expected date of the first delivery for the subscription.
SubscriptionShippingUpdate:
type: object
title: Subscription shipping details
Expand Down Expand Up @@ -24256,6 +24277,11 @@ components:
format: float
title: Assigns the subscription's shipping cost. If this is greater than
zero then a `method_id` or `method_code` is required.
expected_first_delivery_at:
type: string
format: date-time
title: Expected first delivery date
description: The expected date of the first delivery for the subscription.
SubscriptionRampInterval:
type: object
title: Subscription Ramp Interval
Expand Down Expand Up @@ -25134,6 +25160,7 @@ components:
format: date-time
description: When the current settings were updated in Recurly.
DunningInterval:
type: object
properties:
days:
type: integer
Expand All @@ -25158,6 +25185,7 @@ components:
items:
type: string
DunningCampaignsBulkUpdateResponse:
type: object
properties:
object:
type: string
Expand Down Expand Up @@ -26011,6 +26039,7 @@ components:
format: date-time
description: When the invoice template was updated in Recurly.
PaymentMethod:
type: object
properties:
object:
"$ref": "#/components/schemas/PaymentMethodEnum"
Expand Down Expand Up @@ -27161,6 +27190,7 @@ components:
- amazon
- amazon_billing_agreement
- apple_pay
- apple_pay_merchant_token
- bank_account_info
- braintree_apple_pay
- check
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/recurly/v3/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,9 @@ public enum PaymentMethod {
@SerializedName("apple_pay")
APPLE_PAY,

@SerializedName("apple_pay_merchant_token")
APPLE_PAY_MERCHANT_TOKEN,

@SerializedName("bank_account_info")
BANK_ACCOUNT_INFO,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
import com.recurly.v3.Constants;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;
import org.joda.time.DateTime;

public class AccountAcquisitionUpdate extends Request {

/**
* Date the account was first created if different than the account.created_at. ie Importing
* accounts.
*/
@SerializedName("acquired_at")
@Expose
private DateTime acquiredAt;

/**
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
*/
Expand All @@ -37,6 +46,22 @@ public class AccountAcquisitionUpdate extends Request {
@Expose
private String subchannel;

/**
* Date the account was first created if different than the account.created_at. ie Importing
* accounts.
*/
public DateTime getAcquiredAt() {
return this.acquiredAt;
}

/**
* @param acquiredAt Date the account was first created if different than the account.created_at.
* ie Importing accounts.
*/
public void setAcquiredAt(final DateTime acquiredAt) {
this.acquiredAt = acquiredAt;
}

/**
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
*/
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/BillingInfoCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ public class BillingInfoCreate extends Request {
@Expose
private Address address;

/**
* The Adyen Risk Profile Reference ID is used to identify the risk profile for the payment
* method.
*/
@SerializedName("adyen_risk_profile_reference_id")
@Expose
private String adyenRiskProfileReferenceId;

/** Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js. */
@SerializedName("amazon_billing_agreement_id")
@Expose
Expand Down Expand Up @@ -286,6 +294,22 @@ public void setAddress(final Address address) {
this.address = address;
}

/**
* The Adyen Risk Profile Reference ID is used to identify the risk profile for the payment
* method.
*/
public String getAdyenRiskProfileReferenceId() {
return this.adyenRiskProfileReferenceId;
}

/**
* @param adyenRiskProfileReferenceId The Adyen Risk Profile Reference ID is used to identify the
* risk profile for the payment method.
*/
public void setAdyenRiskProfileReferenceId(final String adyenRiskProfileReferenceId) {
this.adyenRiskProfileReferenceId = adyenRiskProfileReferenceId;
}

/** Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js. */
public String getAmazonBillingAgreementId() {
return this.amazonBillingAgreementId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ExternalProductReferenceBase extends Request {
/** Represents the connection type. One of the connection types of your enabled App Connectors */
@SerializedName("external_connection_type")
@Expose
private ExternalProductReferenceConnectionType externalConnectionType;
private String externalConnectionType;

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

/** Represents the connection type. One of the connection types of your enabled App Connectors */
public ExternalProductReferenceConnectionType getExternalConnectionType() {
public String getExternalConnectionType() {
return this.externalConnectionType;
}

/**
* @param externalConnectionType Represents the connection type. One of the connection types of
* your enabled App Connectors
*/
public void setExternalConnectionType(
final ExternalProductReferenceConnectionType externalConnectionType) {
public void setExternalConnectionType(final String externalConnectionType) {
this.externalConnectionType = externalConnectionType;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ExternalProductReferenceCreate extends Request {
/** Represents the connection type. One of the connection types of your enabled App Connectors */
@SerializedName("external_connection_type")
@Expose
private ExternalProductReferenceConnectionType externalConnectionType;
private String externalConnectionType;

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

/** Represents the connection type. One of the connection types of your enabled App Connectors */
public ExternalProductReferenceConnectionType getExternalConnectionType() {
public String getExternalConnectionType() {
return this.externalConnectionType;
}

/**
* @param externalConnectionType Represents the connection type. One of the connection types of
* your enabled App Connectors
*/
public void setExternalConnectionType(
final ExternalProductReferenceConnectionType externalConnectionType) {
public void setExternalConnectionType(final String externalConnectionType) {
this.externalConnectionType = externalConnectionType;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ExternalProductReferenceUpdate extends Request {
/** Represents the connection type. One of the connection types of your enabled App Connectors */
@SerializedName("external_connection_type")
@Expose
private ExternalProductReferenceConnectionType externalConnectionType;
private String externalConnectionType;

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

/** Represents the connection type. One of the connection types of your enabled App Connectors */
public ExternalProductReferenceConnectionType getExternalConnectionType() {
public String getExternalConnectionType() {
return this.externalConnectionType;
}

/**
* @param externalConnectionType Represents the connection type. One of the connection types of
* your enabled App Connectors
*/
public void setExternalConnectionType(
final ExternalProductReferenceConnectionType externalConnectionType) {
public void setExternalConnectionType(final String externalConnectionType) {
this.externalConnectionType = externalConnectionType;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;
import java.math.BigDecimal;
import org.joda.time.DateTime;

public class SubscriptionShippingCreate extends Request {

Expand All @@ -33,6 +34,11 @@ public class SubscriptionShippingCreate extends Request {
@Expose
private BigDecimal amount;

/** The expected date of the first delivery for the subscription. */
@SerializedName("expected_first_delivery_at")
@Expose
private DateTime expectedFirstDeliveryAt;

/**
* The code of the shipping method used to deliver the subscription. If `method_id` and
* `method_code` are both present, `method_id` will be used.
Expand Down Expand Up @@ -90,6 +96,18 @@ public void setAmount(final BigDecimal amount) {
this.amount = amount;
}

/** The expected date of the first delivery for the subscription. */
public DateTime getExpectedFirstDeliveryAt() {
return this.expectedFirstDeliveryAt;
}

/**
* @param expectedFirstDeliveryAt The expected date of the first delivery for the subscription.
*/
public void setExpectedFirstDeliveryAt(final DateTime expectedFirstDeliveryAt) {
this.expectedFirstDeliveryAt = expectedFirstDeliveryAt;
}

/**
* The code of the shipping method used to deliver the subscription. If `method_id` and
* `method_code` are both present, `method_id` will be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;
import java.math.BigDecimal;
import org.joda.time.DateTime;

public class SubscriptionShippingPurchase extends Request {

Expand All @@ -21,6 +22,11 @@ public class SubscriptionShippingPurchase extends Request {
@Expose
private BigDecimal amount;

/** The expected date of the first delivery for the subscription. */
@SerializedName("expected_first_delivery_at")
@Expose
private DateTime expectedFirstDeliveryAt;

/**
* The code of the shipping method used to deliver the subscription. If `method_id` and
* `method_code` are both present, `method_id` will be used.
Expand Down Expand Up @@ -53,6 +59,18 @@ public void setAmount(final BigDecimal amount) {
this.amount = amount;
}

/** The expected date of the first delivery for the subscription. */
public DateTime getExpectedFirstDeliveryAt() {
return this.expectedFirstDeliveryAt;
}

/**
* @param expectedFirstDeliveryAt The expected date of the first delivery for the subscription.
*/
public void setExpectedFirstDeliveryAt(final DateTime expectedFirstDeliveryAt) {
this.expectedFirstDeliveryAt = expectedFirstDeliveryAt;
}

/**
* The code of the shipping method used to deliver the subscription. If `method_id` and
* `method_code` are both present, `method_id` will be used.
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/resources/AccountAcquisition.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ public class AccountAcquisition extends Resource {
@Expose
private AccountMini account;

/**
* Date the account was first created if different than the account.created_at. ie Importing
* accounts.
*/
@SerializedName("acquired_at")
@Expose
private DateTime acquiredAt;

/**
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
*/
Expand Down Expand Up @@ -71,6 +79,22 @@ public void setAccount(final AccountMini account) {
this.account = account;
}

/**
* Date the account was first created if different than the account.created_at. ie Importing
* accounts.
*/
public DateTime getAcquiredAt() {
return this.acquiredAt;
}

/**
* @param acquiredAt Date the account was first created if different than the account.created_at.
* ie Importing accounts.
*/
public void setAcquiredAt(final DateTime acquiredAt) {
this.acquiredAt = acquiredAt;
}

/**
* An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
*/
Expand Down
Loading