Skip to content

Update all services #1355

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

Merged
merged 1 commit into from
Sep 16, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ public AdditionalData3DSecure allow3DS2(String allow3DS2) {
}

/**
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
* @return allow3DS2
* @deprecated
**/
@Deprecated
@ApiModelProperty(value = "Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. ")
@ApiModelProperty(value = "Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. ")
@JsonProperty(JSON_PROPERTY_ALLOW3_D_S2)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -126,7 +126,7 @@ public String getAllow3DS2() {


/**
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
*
* @param allow3DS2
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber(String lodging
}

/**
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
* @return lodgingCustomerServiceTollFreeNumber
**/
@ApiModelProperty(value = "The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.")
@ApiModelProperty(value = "The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.")
@JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -214,7 +214,7 @@ public String getLodgingCustomerServiceTollFreeNumber() {


/**
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
*
* @param lodgingCustomerServiceTollFreeNumber
*/
Expand Down Expand Up @@ -291,10 +291,10 @@ public AdditionalDataLodging lodgingFolioNumber(String lodgingFolioNumber) {
}

/**
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.
* @return lodgingFolioNumber
**/
@ApiModelProperty(value = "The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.")
@ApiModelProperty(value = "The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.")
@JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -304,7 +304,7 @@ public String getLodgingFolioNumber() {


/**
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.
*
* @param lodgingFolioNumber
*/
Expand Down Expand Up @@ -411,10 +411,10 @@ public AdditionalDataLodging lodgingPropertyPhoneNumber(String lodgingPropertyPh
}

/**
* The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
* @return lodgingPropertyPhoneNumber
**/
@ApiModelProperty(value = "The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.")
@ApiModelProperty(value = "The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.")
@JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -424,7 +424,7 @@ public String getLodgingPropertyPhoneNumber() {


/**
* The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
*
* @param lodgingPropertyPhoneNumber
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,25 @@
* CheckoutBankTransferAction
*/
@JsonPropertyOrder({
CheckoutBankTransferAction.JSON_PROPERTY_ACCOUNT_NUMBER,
CheckoutBankTransferAction.JSON_PROPERTY_BENEFICIARY,
CheckoutBankTransferAction.JSON_PROPERTY_BIC,
CheckoutBankTransferAction.JSON_PROPERTY_DOWNLOAD_URL,
CheckoutBankTransferAction.JSON_PROPERTY_IBAN,
CheckoutBankTransferAction.JSON_PROPERTY_PAYMENT_METHOD_TYPE,
CheckoutBankTransferAction.JSON_PROPERTY_REFERENCE,
CheckoutBankTransferAction.JSON_PROPERTY_ROUTING_NUMBER,
CheckoutBankTransferAction.JSON_PROPERTY_SHOPPER_EMAIL,
CheckoutBankTransferAction.JSON_PROPERTY_SORT_CODE,
CheckoutBankTransferAction.JSON_PROPERTY_TOTAL_AMOUNT,
CheckoutBankTransferAction.JSON_PROPERTY_TYPE,
CheckoutBankTransferAction.JSON_PROPERTY_URL
})

public class CheckoutBankTransferAction {
public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
private String accountNumber;

public static final String JSON_PROPERTY_BENEFICIARY = "beneficiary";
private String beneficiary;

Expand All @@ -63,9 +69,15 @@ public class CheckoutBankTransferAction {
public static final String JSON_PROPERTY_REFERENCE = "reference";
private String reference;

public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber";
private String routingNumber;

public static final String JSON_PROPERTY_SHOPPER_EMAIL = "shopperEmail";
private String shopperEmail;

public static final String JSON_PROPERTY_SORT_CODE = "sortCode";
private String sortCode;

public static final String JSON_PROPERTY_TOTAL_AMOUNT = "totalAmount";
private Amount totalAmount;

Expand Down Expand Up @@ -111,6 +123,36 @@ public static TypeEnum fromValue(String value) {
public CheckoutBankTransferAction() {
}

public CheckoutBankTransferAction accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}

/**
* The account number of the bank transfer.
* @return accountNumber
**/
@ApiModelProperty(value = "The account number of the bank transfer.")
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getAccountNumber() {
return accountNumber;
}


/**
* The account number of the bank transfer.
*
* @param accountNumber
*/
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}


public CheckoutBankTransferAction beneficiary(String beneficiary) {
this.beneficiary = beneficiary;
return this;
Expand Down Expand Up @@ -291,6 +333,36 @@ public void setReference(String reference) {
}


public CheckoutBankTransferAction routingNumber(String routingNumber) {
this.routingNumber = routingNumber;
return this;
}

/**
* The routing number of the bank transfer.
* @return routingNumber
**/
@ApiModelProperty(value = "The routing number of the bank transfer.")
@JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getRoutingNumber() {
return routingNumber;
}


/**
* The routing number of the bank transfer.
*
* @param routingNumber
*/
@JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRoutingNumber(String routingNumber) {
this.routingNumber = routingNumber;
}


public CheckoutBankTransferAction shopperEmail(String shopperEmail) {
this.shopperEmail = shopperEmail;
return this;
Expand Down Expand Up @@ -321,6 +393,36 @@ public void setShopperEmail(String shopperEmail) {
}


public CheckoutBankTransferAction sortCode(String sortCode) {
this.sortCode = sortCode;
return this;
}

/**
* The sort code of the bank transfer.
* @return sortCode
**/
@ApiModelProperty(value = "The sort code of the bank transfer.")
@JsonProperty(JSON_PROPERTY_SORT_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getSortCode() {
return sortCode;
}


/**
* The sort code of the bank transfer.
*
* @param sortCode
*/
@JsonProperty(JSON_PROPERTY_SORT_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSortCode(String sortCode) {
this.sortCode = sortCode;
}


public CheckoutBankTransferAction totalAmount(Amount totalAmount) {
this.totalAmount = totalAmount;
return this;
Expand Down Expand Up @@ -423,34 +525,40 @@ public boolean equals(Object o) {
return false;
}
CheckoutBankTransferAction checkoutBankTransferAction = (CheckoutBankTransferAction) o;
return Objects.equals(this.beneficiary, checkoutBankTransferAction.beneficiary) &&
return Objects.equals(this.accountNumber, checkoutBankTransferAction.accountNumber) &&
Objects.equals(this.beneficiary, checkoutBankTransferAction.beneficiary) &&
Objects.equals(this.bic, checkoutBankTransferAction.bic) &&
Objects.equals(this.downloadUrl, checkoutBankTransferAction.downloadUrl) &&
Objects.equals(this.iban, checkoutBankTransferAction.iban) &&
Objects.equals(this.paymentMethodType, checkoutBankTransferAction.paymentMethodType) &&
Objects.equals(this.reference, checkoutBankTransferAction.reference) &&
Objects.equals(this.routingNumber, checkoutBankTransferAction.routingNumber) &&
Objects.equals(this.shopperEmail, checkoutBankTransferAction.shopperEmail) &&
Objects.equals(this.sortCode, checkoutBankTransferAction.sortCode) &&
Objects.equals(this.totalAmount, checkoutBankTransferAction.totalAmount) &&
Objects.equals(this.type, checkoutBankTransferAction.type) &&
Objects.equals(this.url, checkoutBankTransferAction.url);
}

@Override
public int hashCode() {
return Objects.hash(beneficiary, bic, downloadUrl, iban, paymentMethodType, reference, shopperEmail, totalAmount, type, url);
return Objects.hash(accountNumber, beneficiary, bic, downloadUrl, iban, paymentMethodType, reference, routingNumber, shopperEmail, sortCode, totalAmount, type, url);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CheckoutBankTransferAction {\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" beneficiary: ").append(toIndentedString(beneficiary)).append("\n");
sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" paymentMethodType: ").append(toIndentedString(paymentMethodType)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
sb.append(" shopperEmail: ").append(toIndentedString(shopperEmail)).append("\n");
sb.append(" sortCode: ").append(toIndentedString(sortCode)).append("\n");
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).append("\n");
Expand Down
Loading
Loading