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 Updates for API version v2019-10-10 #43

Merged
merged 1 commit into from
Nov 13, 2019
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
14,341 changes: 14,341 additions & 0 deletions openapi/api.yaml

Large diffs are not rendered by default.

188 changes: 111 additions & 77 deletions src/main/java/com/recurly/v3/Client.java

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/requests/AccountCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ public class AccountCreate extends Request {
@Expose
private Boolean taxExempt;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/** A secondary value for the account. */
@SerializedName("username")
@Expose
Expand Down Expand Up @@ -366,6 +374,23 @@ public void setTaxExempt(final Boolean taxExempt) {
this.taxExempt = taxExempt;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}

/** A secondary value for the account. */
public String getUsername() {
return this.username;
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/requests/AccountPurchase.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ public class AccountPurchase extends Request {
@Expose
private Boolean taxExempt;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/** A secondary value for the account. */
@SerializedName("username")
@Expose
Expand Down Expand Up @@ -377,6 +385,23 @@ public void setTaxExempt(final Boolean taxExempt) {
this.taxExempt = taxExempt;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}

/** A secondary value for the account. */
public String getUsername() {
return this.username;
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/requests/AccountUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ public class AccountUpdate extends Request {
@Expose
private Boolean taxExempt;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/** A secondary value for the account. */
@SerializedName("username")
@Expose
Expand Down Expand Up @@ -322,6 +330,23 @@ public void setTaxExempt(final Boolean taxExempt) {
this.taxExempt = taxExempt;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}

/** A secondary value for the account. */
public String getUsername() {
return this.username;
Expand Down
49 changes: 49 additions & 0 deletions src/main/java/com/recurly/v3/requests/BillingInfoCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,27 @@ public class BillingInfoCreate extends Request {
@Expose
private String paypalBillingAgreementId;

/**
* A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or
* authentication challenge.
*/
@SerializedName("three_d_secure_action_result_token_id")
@Expose
private String threeDSecureActionResultTokenId;

/** A token [generated by Recurly.js](https://docs.recurly.com/js/#getting-a-token). */
@SerializedName("token_id")
@Expose
private String tokenId;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/** VAT number */
@SerializedName("vat_number")
@Expose
Expand Down Expand Up @@ -193,6 +209,22 @@ public void setPaypalBillingAgreementId(final String paypalBillingAgreementId) {
this.paypalBillingAgreementId = paypalBillingAgreementId;
}

/**
* A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or
* authentication challenge.
*/
public String getThreeDSecureActionResultTokenId() {
return this.threeDSecureActionResultTokenId;
}

/**
* @param threeDSecureActionResultTokenId A token generated by Recurly.js after completing a 3-D
* Secure device fingerprinting or authentication challenge.
*/
public void setThreeDSecureActionResultTokenId(final String threeDSecureActionResultTokenId) {
this.threeDSecureActionResultTokenId = threeDSecureActionResultTokenId;
}

/** A token [generated by Recurly.js](https://docs.recurly.com/js/#getting-a-token). */
public String getTokenId() {
return this.tokenId;
Expand All @@ -205,6 +237,23 @@ public void setTokenId(final String tokenId) {
this.tokenId = tokenId;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}

/** VAT number */
public String getVatNumber() {
return this.vatNumber;
Expand Down
63 changes: 63 additions & 0 deletions src/main/java/com/recurly/v3/requests/InvoiceCollect.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/**
* This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
* make by hand will be lost. If you wish to make a change to this file, please create a Github
* issue explaining the changes you need and we will usher them to the appropriate places.
*/
package com.recurly.v3.requests;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;

public class InvoiceCollect extends Request {

/**
* A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or
* authentication challenge.
*/
@SerializedName("three_d_secure_action_result_token_id")
@Expose
private String threeDSecureActionResultTokenId;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/**
* A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or
* authentication challenge.
*/
public String getThreeDSecureActionResultTokenId() {
return this.threeDSecureActionResultTokenId;
}

/**
* @param threeDSecureActionResultTokenId A token generated by Recurly.js after completing a 3-D
* Secure device fingerprinting or authentication challenge.
*/
public void setThreeDSecureActionResultTokenId(final String threeDSecureActionResultTokenId) {
this.threeDSecureActionResultTokenId = threeDSecureActionResultTokenId;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}
}
25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/requests/PurchaseCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ public class PurchaseCreate extends Request {
@Expose
private String termsAndConditions;

/**
* 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.
*/
@SerializedName("transaction_type")
@Expose
private String transactionType;

/** VAT reverse charge notes for cross border European tax settlement. */
@SerializedName("vat_reverse_charge_notes")
@Expose
Expand Down Expand Up @@ -261,6 +269,23 @@ public void setTermsAndConditions(final String termsAndConditions) {
this.termsAndConditions = termsAndConditions;
}

/**
* 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.
*/
public String getTransactionType() {
return this.transactionType;
}

/**
* @param transactionType 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.
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}

/** VAT reverse charge notes for cross border European tax settlement. */
public String getVatReverseChargeNotes() {
return this.vatReverseChargeNotes;
Expand Down
44 changes: 44 additions & 0 deletions src/main/java/com/recurly/v3/requests/SubscriptionCancel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
* make by hand will be lost. If you wish to make a change to this file, please create a Github
* issue explaining the changes you need and we will usher them to the appropriate places.
*/
package com.recurly.v3.requests;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;

public class SubscriptionCancel extends Request {

/**
* The timeframe parameter controls when the expiration takes place. The `bill_date` timeframe
* causes the subscription to expire when the subscription is scheduled to bill next. The
* `term_end` timeframe causes the subscription to continue to bill until the end of the
* subscription term, then expire.
*/
@SerializedName("timeframe")
@Expose
private String timeframe;

/**
* The timeframe parameter controls when the expiration takes place. The `bill_date` timeframe
* causes the subscription to expire when the subscription is scheduled to bill next. The
* `term_end` timeframe causes the subscription to continue to bill until the end of the
* subscription term, then expire.
*/
public String getTimeframe() {
return this.timeframe;
}

/**
* @param timeframe The timeframe parameter controls when the expiration takes place. The
* `bill_date` timeframe causes the subscription to expire when the subscription is scheduled
* to bill next. The `term_end` timeframe causes the subscription to continue to bill until
* the end of the subscription term, then expire.
*/
public void setTimeframe(final String timeframe) {
this.timeframe = timeframe;
}
}
Loading