diff --git a/src/main/java/com/adyen/model/acswebhooks/Amount.java b/src/main/java/com/adyen/model/acswebhooks/Amount.java index 70a60115f..18759a15f 100644 --- a/src/main/java/com/adyen/model/acswebhooks/Amount.java +++ b/src/main/java/com/adyen/model/acswebhooks/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/AuthenticationInfo.java b/src/main/java/com/adyen/model/acswebhooks/AuthenticationInfo.java index 16083d714..40ec8ab96 100644 --- a/src/main/java/com/adyen/model/acswebhooks/AuthenticationInfo.java +++ b/src/main/java/com/adyen/model/acswebhooks/AuthenticationInfo.java @@ -444,456 +444,501 @@ public static TypeEnum fromValue(String value) { public AuthenticationInfo() { } + /** + * Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction. + * + * @param acsTransId + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo acsTransId(String acsTransId) { this.acsTransId = acsTransId; return this; } - /** + /** * Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction. * @return acsTransId - **/ + */ @ApiModelProperty(required = true, value = "Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction.") @JsonProperty(JSON_PROPERTY_ACS_TRANS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsTransId() { return acsTransId; } - - /** - * Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction. - * - * @param acsTransId - */ + /** + * Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction. + * + * @param acsTransId + */ @JsonProperty(JSON_PROPERTY_ACS_TRANS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsTransId(String acsTransId) { this.acsTransId = acsTransId; } - + /** + * challenge + * + * @param challenge + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo challenge(ChallengeInfo challenge) { this.challenge = challenge; return this; } - /** - * Get challenge + /** + * challenge * @return challenge - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CHALLENGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeInfo getChallenge() { return challenge; } - - /** - * challenge - * - * @param challenge - */ + /** + * challenge + * + * @param challenge + */ @JsonProperty(JSON_PROPERTY_CHALLENGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallenge(ChallengeInfo challenge) { this.challenge = challenge; } - + /** + * Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) + * + * @param challengeIndicator + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo challengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; return this; } - /** + /** * Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) * @return challengeIndicator - **/ + */ @ApiModelProperty(required = true, value = "Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) ") @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeIndicatorEnum getChallengeIndicator() { return challengeIndicator; } - - /** - * Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) - * - * @param challengeIndicator - */ + /** + * Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) + * + * @param challengeIndicator + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; } - + /** + * Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param createdAt + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param createdAt - */ + /** + * Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available) + * + * @param deviceChannel + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo deviceChannel(DeviceChannelEnum deviceChannel) { this.deviceChannel = deviceChannel; return this; } - /** + /** * Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available) * @return deviceChannel - **/ + */ @ApiModelProperty(required = true, value = "Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available)") @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeviceChannelEnum getDeviceChannel() { return deviceChannel; } - - /** - * Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available) - * - * @param deviceChannel - */ + /** + * Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available) + * + * @param deviceChannel + */ @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceChannel(DeviceChannelEnum deviceChannel) { this.deviceChannel = deviceChannel; } - + /** + * Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction. + * + * @param dsTransID + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(required = true, value = "Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction. - * - * @param dsTransID - */ + /** + * Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** + * + * @param exemptionIndicator + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo exemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; return this; } - /** + /** * Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** * @return exemptionIndicator - **/ + */ @ApiModelProperty(value = "Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** ") @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExemptionIndicatorEnum getExemptionIndicator() { return exemptionIndicator; } - - /** - * Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** - * - * @param exemptionIndicator - */ + /** + * Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** + * + * @param exemptionIndicator + */ @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; } - + /** + * Indicates if the purchase was in the PSD2 scope. + * + * @param inPSD2Scope + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo inPSD2Scope(Boolean inPSD2Scope) { this.inPSD2Scope = inPSD2Scope; return this; } - /** + /** * Indicates if the purchase was in the PSD2 scope. * @return inPSD2Scope - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the purchase was in the PSD2 scope.") @JsonProperty(JSON_PROPERTY_IN_P_S_D2_SCOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getInPSD2Scope() { return inPSD2Scope; } - - /** - * Indicates if the purchase was in the PSD2 scope. - * - * @param inPSD2Scope - */ + /** + * Indicates if the purchase was in the PSD2 scope. + * + * @param inPSD2Scope + */ @JsonProperty(JSON_PROPERTY_IN_P_S_D2_SCOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInPSD2Scope(Boolean inPSD2Scope) { this.inPSD2Scope = inPSD2Scope; } - + /** + * Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment** + * + * @param messageCategory + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo messageCategory(MessageCategoryEnum messageCategory) { this.messageCategory = messageCategory; return this; } - /** + /** * Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment** * @return messageCategory - **/ + */ @ApiModelProperty(required = true, value = "Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment**") @JsonProperty(JSON_PROPERTY_MESSAGE_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MessageCategoryEnum getMessageCategory() { return messageCategory; } - - /** - * Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment** - * - * @param messageCategory - */ + /** + * Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment** + * + * @param messageCategory + */ @JsonProperty(JSON_PROPERTY_MESSAGE_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageCategory(MessageCategoryEnum messageCategory) { this.messageCategory = messageCategory; } - + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. * @return messageVersion - **/ + */ @ApiModelProperty(required = true, value = "The `messageVersion` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. - * - * @param messageVersion - */ + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * Risk score calculated from the transaction rules. + * + * @param riskScore + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo riskScore(Integer riskScore) { this.riskScore = riskScore; return this; } - /** + /** * Risk score calculated from the transaction rules. * @return riskScore - **/ + */ @ApiModelProperty(value = "Risk score calculated from the transaction rules.") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getRiskScore() { return riskScore; } - - /** - * Risk score calculated from the transaction rules. - * - * @param riskScore - */ + /** + * Risk score calculated from the transaction rules. + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(Integer riskScore) { this.riskScore = riskScore; } - + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo threeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; return this; } - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. * @return threeDSServerTransID - **/ + */ @ApiModelProperty(required = true, value = "The `threeDSServerTransID` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSServerTransID() { return threeDSServerTransID; } - - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. - * - * @param threeDSServerTransID - */ + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; } - + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. + * + * @param transStatus + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo transStatus(TransStatusEnum transStatus) { this.transStatus = transStatus; return this; } - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. * @return transStatus - **/ + */ @ApiModelProperty(required = true, value = "The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. ") @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransStatusEnum getTransStatus() { return transStatus; } - - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. - * - * @param transStatus - */ + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. + * + * @param transStatus + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatus(TransStatusEnum transStatus) { this.transStatus = transStatus; } - + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo transStatusReason(TransStatusReasonEnum transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). * @return transStatusReason - **/ + */ @ApiModelProperty(value = "Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransStatusReasonEnum getTransStatusReason() { return transStatusReason; } - - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). - * - * @param transStatusReason - */ + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(TransStatusReasonEnum transStatusReason) { this.transStatusReason = transStatusReason; } - + /** + * The type of authentication performed. Possible values: * **frictionless** * **challenge** + * + * @param type + * @return the current {@code AuthenticationInfo} instance, allowing for method chaining + */ public AuthenticationInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of authentication performed. Possible values: * **frictionless** * **challenge** * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of authentication performed. Possible values: * **frictionless** * **challenge**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of authentication performed. Possible values: * **frictionless** * **challenge** - * - * @param type - */ + /** + * The type of authentication performed. Possible values: * **frictionless** * **challenge** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AuthenticationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationData.java b/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationData.java index 107c727c8..4d480f631 100644 --- a/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationData.java +++ b/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationData.java @@ -100,186 +100,204 @@ public static StatusEnum fromValue(String value) { public AuthenticationNotificationData() { } + /** + * authentication + * + * @param authentication + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData authentication(AuthenticationInfo authentication) { this.authentication = authentication; return this; } - /** - * Get authentication + /** + * authentication * @return authentication - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationInfo getAuthentication() { return authentication; } - - /** - * authentication - * - * @param authentication - */ + /** + * authentication + * + * @param authentication + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthentication(AuthenticationInfo authentication) { this.authentication = authentication; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Unique identifier of the authentication. + * + * @param id + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the authentication. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the authentication.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the authentication. - * - * @param id - */ + /** + * Unique identifier of the authentication. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Unique identifier of the payment instrument that was used for the authentication. + * + * @param paymentInstrumentId + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * Unique identifier of the payment instrument that was used for the authentication. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the payment instrument that was used for the authentication.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * Unique identifier of the payment instrument that was used for the authentication. - * - * @param paymentInstrumentId - */ + /** + * Unique identifier of the payment instrument that was used for the authentication. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * purchase + * + * @param purchase + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData purchase(PurchaseInfo purchase) { this.purchase = purchase; return this; } - /** - * Get purchase + /** + * purchase * @return purchase - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PurchaseInfo getPurchase() { return purchase; } - - /** - * purchase - * - * @param purchase - */ + /** + * purchase + * + * @param purchase + */ @JsonProperty(JSON_PROPERTY_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchase(PurchaseInfo purchase) { this.purchase = purchase; } - + /** + * Outcome of the authentication. Allowed values: * authenticated * rejected * error + * + * @param status + * @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining + */ public AuthenticationNotificationData status(StatusEnum status) { this.status = status; return this; } - /** + /** * Outcome of the authentication. Allowed values: * authenticated * rejected * error * @return status - **/ + */ @ApiModelProperty(required = true, value = "Outcome of the authentication. Allowed values: * authenticated * rejected * error") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * Outcome of the authentication. Allowed values: * authenticated * rejected * error - * - * @param status - */ + /** + * Outcome of the authentication. Allowed values: * authenticated * rejected * error + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this AuthenticationNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationRequest.java b/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationRequest.java index eec1f4a9f..f2c77ea18 100644 --- a/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationRequest.java +++ b/src/main/java/com/adyen/model/acswebhooks/AuthenticationNotificationRequest.java @@ -83,96 +83,105 @@ public static TypeEnum fromValue(String value) { public AuthenticationNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code AuthenticationNotificationRequest} instance, allowing for method chaining + */ public AuthenticationNotificationRequest data(AuthenticationNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(AuthenticationNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code AuthenticationNotificationRequest} instance, allowing for method chaining + */ public AuthenticationNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code AuthenticationNotificationRequest} instance, allowing for method chaining + */ public AuthenticationNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AuthenticationNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/BalancePlatformNotificationResponse.java b/src/main/java/com/adyen/model/acswebhooks/BalancePlatformNotificationResponse.java index 9c15b89a6..10c21a34c 100644 --- a/src/main/java/com/adyen/model/acswebhooks/BalancePlatformNotificationResponse.java +++ b/src/main/java/com/adyen/model/acswebhooks/BalancePlatformNotificationResponse.java @@ -41,36 +41,39 @@ public class BalancePlatformNotificationResponse { public BalancePlatformNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code BalancePlatformNotificationResponse} instance, allowing for method chaining + */ public BalancePlatformNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this BalancePlatformNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java b/src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java index 1bbdacec4..c1fad6dba 100644 --- a/src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java +++ b/src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java @@ -142,186 +142,204 @@ public static FlowEnum fromValue(String value) { public ChallengeInfo() { } + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo challengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; return this; } - /** + /** * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). * @return challengeCancel - **/ + */ @ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).") @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeCancelEnum getChallengeCancel() { return challengeCancel; } - - /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). - * - * @param challengeCancel - */ + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; } - + /** + * The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow + * + * @param flow + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo flow(FlowEnum flow) { this.flow = flow; return this; } - /** + /** * The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow * @return flow - **/ + */ @ApiModelProperty(required = true, value = "The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow") @JsonProperty(JSON_PROPERTY_FLOW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FlowEnum getFlow() { return flow; } - - /** - * The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow - * - * @param flow - */ + /** + * The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow + * + * @param flow + */ @JsonProperty(JSON_PROPERTY_FLOW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFlow(FlowEnum flow) { this.flow = flow; } - + /** + * The last time of interaction with the challenge. + * + * @param lastInteraction + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo lastInteraction(OffsetDateTime lastInteraction) { this.lastInteraction = lastInteraction; return this; } - /** + /** * The last time of interaction with the challenge. * @return lastInteraction - **/ + */ @ApiModelProperty(required = true, value = "The last time of interaction with the challenge.") @JsonProperty(JSON_PROPERTY_LAST_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLastInteraction() { return lastInteraction; } - - /** - * The last time of interaction with the challenge. - * - * @param lastInteraction - */ + /** + * The last time of interaction with the challenge. + * + * @param lastInteraction + */ @JsonProperty(JSON_PROPERTY_LAST_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastInteraction(OffsetDateTime lastInteraction) { this.lastInteraction = lastInteraction; } - + /** + * The last four digits of the phone number used in the challenge. + * + * @param phoneNumber + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** + /** * The last four digits of the phone number used in the challenge. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "The last four digits of the phone number used in the challenge.") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The last four digits of the phone number used in the challenge. - * - * @param phoneNumber - */ + /** + * The last four digits of the phone number used in the challenge. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * The number of times the one-time password (OTP) was resent during the challenge. + * + * @param resends + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo resends(Integer resends) { this.resends = resends; return this; } - /** + /** * The number of times the one-time password (OTP) was resent during the challenge. * @return resends - **/ + */ @ApiModelProperty(value = "The number of times the one-time password (OTP) was resent during the challenge.") @JsonProperty(JSON_PROPERTY_RESENDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getResends() { return resends; } - - /** - * The number of times the one-time password (OTP) was resent during the challenge. - * - * @param resends - */ + /** + * The number of times the one-time password (OTP) was resent during the challenge. + * + * @param resends + */ @JsonProperty(JSON_PROPERTY_RESENDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResends(Integer resends) { this.resends = resends; } - + /** + * The number of retries used in the challenge. + * + * @param retries + * @return the current {@code ChallengeInfo} instance, allowing for method chaining + */ public ChallengeInfo retries(Integer retries) { this.retries = retries; return this; } - /** + /** * The number of retries used in the challenge. * @return retries - **/ + */ @ApiModelProperty(value = "The number of retries used in the challenge.") @JsonProperty(JSON_PROPERTY_RETRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getRetries() { return retries; } - - /** - * The number of retries used in the challenge. - * - * @param retries - */ + /** + * The number of retries used in the challenge. + * + * @param retries + */ @JsonProperty(JSON_PROPERTY_RETRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetries(Integer retries) { this.retries = retries; } - /** * Return true if this ChallengeInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/PurchaseInfo.java b/src/main/java/com/adyen/model/acswebhooks/PurchaseInfo.java index 67f06066c..508c94dfb 100644 --- a/src/main/java/com/adyen/model/acswebhooks/PurchaseInfo.java +++ b/src/main/java/com/adyen/model/acswebhooks/PurchaseInfo.java @@ -50,96 +50,105 @@ public class PurchaseInfo { public PurchaseInfo() { } + /** + * Date of the purchase. + * + * @param date + * @return the current {@code PurchaseInfo} instance, allowing for method chaining + */ public PurchaseInfo date(String date) { this.date = date; return this; } - /** + /** * Date of the purchase. * @return date - **/ + */ @ApiModelProperty(required = true, value = "Date of the purchase.") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDate() { return date; } - - /** - * Date of the purchase. - * - * @param date - */ + /** + * Date of the purchase. + * + * @param date + */ @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDate(String date) { this.date = date; } - + /** + * Name of the merchant. + * + * @param merchantName + * @return the current {@code PurchaseInfo} instance, allowing for method chaining + */ public PurchaseInfo merchantName(String merchantName) { this.merchantName = merchantName; return this; } - /** + /** * Name of the merchant. * @return merchantName - **/ + */ @ApiModelProperty(required = true, value = "Name of the merchant.") @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantName() { return merchantName; } - - /** - * Name of the merchant. - * - * @param merchantName - */ + /** + * Name of the merchant. + * + * @param merchantName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantName(String merchantName) { this.merchantName = merchantName; } - + /** + * originalAmount + * + * @param originalAmount + * @return the current {@code PurchaseInfo} instance, allowing for method chaining + */ public PurchaseInfo originalAmount(Amount originalAmount) { this.originalAmount = originalAmount; return this; } - /** - * Get originalAmount + /** + * originalAmount * @return originalAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getOriginalAmount() { return originalAmount; } - - /** - * originalAmount - * - * @param originalAmount - */ + /** + * originalAmount + * + * @param originalAmount + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalAmount(Amount originalAmount) { this.originalAmount = originalAmount; } - /** * Return true if this PurchaseInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/acswebhooks/Resource.java b/src/main/java/com/adyen/model/acswebhooks/Resource.java index f0bcffdd8..f878f0362 100644 --- a/src/main/java/com/adyen/model/acswebhooks/Resource.java +++ b/src/main/java/com/adyen/model/acswebhooks/Resource.java @@ -50,96 +50,105 @@ public class Resource { public Resource() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this Resource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balancecontrol/Amount.java b/src/main/java/com/adyen/model/balancecontrol/Amount.java index ec0a1399a..a86927449 100644 --- a/src/main/java/com/adyen/model/balancecontrol/Amount.java +++ b/src/main/java/com/adyen/model/balancecontrol/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balancecontrol/BalanceTransferRequest.java b/src/main/java/com/adyen/model/balancecontrol/BalanceTransferRequest.java index af4732408..0e0063059 100644 --- a/src/main/java/com/adyen/model/balancecontrol/BalanceTransferRequest.java +++ b/src/main/java/com/adyen/model/balancecontrol/BalanceTransferRequest.java @@ -105,186 +105,204 @@ public static TypeEnum fromValue(String value) { public BalanceTransferRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. + * + * @param description + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest description(String description) { this.description = description; return this; } - /** + /** * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. - * - * @param description - */ + /** + * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the source merchant account from which funds are deducted. + * + * @param fromMerchant + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest fromMerchant(String fromMerchant) { this.fromMerchant = fromMerchant; return this; } - /** + /** * The unique identifier of the source merchant account from which funds are deducted. * @return fromMerchant - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the source merchant account from which funds are deducted.") @JsonProperty(JSON_PROPERTY_FROM_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFromMerchant() { return fromMerchant; } - - /** - * The unique identifier of the source merchant account from which funds are deducted. - * - * @param fromMerchant - */ + /** + * The unique identifier of the source merchant account from which funds are deducted. + * + * @param fromMerchant + */ @JsonProperty(JSON_PROPERTY_FROM_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFromMerchant(String fromMerchant) { this.fromMerchant = fromMerchant; } - + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest reference(String reference) { this.reference = reference; return this; } - /** - * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. - * - * @param reference - */ + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The unique identifier of the destination merchant account from which funds are transferred. + * + * @param toMerchant + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest toMerchant(String toMerchant) { this.toMerchant = toMerchant; return this; } - /** + /** * The unique identifier of the destination merchant account from which funds are transferred. * @return toMerchant - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the destination merchant account from which funds are transferred.") @JsonProperty(JSON_PROPERTY_TO_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToMerchant() { return toMerchant; } - - /** - * The unique identifier of the destination merchant account from which funds are transferred. - * - * @param toMerchant - */ + /** + * The unique identifier of the destination merchant account from which funds are transferred. + * + * @param toMerchant + */ @JsonProperty(JSON_PROPERTY_TO_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToMerchant(String toMerchant) { this.toMerchant = toMerchant; } - + /** + * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. + * + * @param type + * @return the current {@code BalanceTransferRequest} instance, allowing for method chaining + */ public BalanceTransferRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. - * - * @param type - */ + /** + * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BalanceTransferRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balancecontrol/BalanceTransferResponse.java b/src/main/java/com/adyen/model/balancecontrol/BalanceTransferResponse.java index 0fc21837d..8a35579b3 100644 --- a/src/main/java/com/adyen/model/balancecontrol/BalanceTransferResponse.java +++ b/src/main/java/com/adyen/model/balancecontrol/BalanceTransferResponse.java @@ -157,276 +157,303 @@ public static TypeEnum fromValue(String value) { public BalanceTransferResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The date when the balance transfer was requested. + * + * @param createdAt + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * The date when the balance transfer was requested. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "The date when the balance transfer was requested.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * The date when the balance transfer was requested. - * - * @param createdAt - */ + /** + * The date when the balance transfer was requested. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. + * + * @param description + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse description(String description) { this.description = description; return this; } - /** + /** * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. - * - * @param description - */ + /** + * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the source merchant account from which funds are deducted. + * + * @param fromMerchant + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse fromMerchant(String fromMerchant) { this.fromMerchant = fromMerchant; return this; } - /** + /** * The unique identifier of the source merchant account from which funds are deducted. * @return fromMerchant - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the source merchant account from which funds are deducted.") @JsonProperty(JSON_PROPERTY_FROM_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFromMerchant() { return fromMerchant; } - - /** - * The unique identifier of the source merchant account from which funds are deducted. - * - * @param fromMerchant - */ + /** + * The unique identifier of the source merchant account from which funds are deducted. + * + * @param fromMerchant + */ @JsonProperty(JSON_PROPERTY_FROM_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFromMerchant(String fromMerchant) { this.fromMerchant = fromMerchant; } - + /** + * Adyen's 16-character string reference associated with the balance transfer. + * + * @param pspReference + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the balance transfer. + /** + * Adyen's 16-character string reference associated with the balance transfer. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character string reference associated with the balance transfer.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the balance transfer. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the balance transfer. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse reference(String reference) { this.reference = reference; return this; } - /** - * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. - * - * @param reference - */ + /** + * A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**. + * + * @param status + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**. - * - * @param status - */ + /** + * The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The unique identifier of the destination merchant account from which funds are transferred. + * + * @param toMerchant + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse toMerchant(String toMerchant) { this.toMerchant = toMerchant; return this; } - /** + /** * The unique identifier of the destination merchant account from which funds are transferred. * @return toMerchant - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the destination merchant account from which funds are transferred.") @JsonProperty(JSON_PROPERTY_TO_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToMerchant() { return toMerchant; } - - /** - * The unique identifier of the destination merchant account from which funds are transferred. - * - * @param toMerchant - */ + /** + * The unique identifier of the destination merchant account from which funds are transferred. + * + * @param toMerchant + */ @JsonProperty(JSON_PROPERTY_TO_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToMerchant(String toMerchant) { this.toMerchant = toMerchant; } - + /** + * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. + * + * @param type + * @return the current {@code BalanceTransferResponse} instance, allowing for method chaining + */ public BalanceTransferResponse type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. - * - * @param type - */ + /** + * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BalanceTransferResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java index 0d2178ef7..6fe82d2c1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public AULocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification bsbCode(String bsbCode) { this.bsbCode = bsbCode; return this; } - /** + /** * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. * @return bsbCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBsbCode() { return bsbCode; } - - /** - * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. - * - * @param bsbCode - */ + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + */ @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBsbCode(String bsbCode) { this.bsbCode = bsbCode; } - + /** + * **auLocal** + * + * @param type + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **auLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**auLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **auLocal** - * - * @param type - */ + /** + * **auLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AccountHolder.java b/src/main/java/com/adyen/model/balanceplatform/AccountHolder.java index 4917af816..01788673c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AccountHolder.java +++ b/src/main/java/com/adyen/model/balanceplatform/AccountHolder.java @@ -61,7 +61,7 @@ public class AccountHolder { private Map capabilities = null; public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails"; - @Deprecated + @Deprecated // deprecated private ContactDetails contactDetails; public static final String JSON_PROPERTY_DESCRIPTION = "description"; @@ -134,36 +134,45 @@ public static StatusEnum fromValue(String value) { public AccountHolder() { } + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. - * - * @param balancePlatform - */ + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -177,57 +186,63 @@ public AccountHolder putCapabilitiesItem(String key, AccountHolderCapability cap return this; } - /** + /** * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * contactDetails + * + * @param contactDetails + * @return the current {@code AccountHolder} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public AccountHolder contactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; return this; } - /** - * Get contactDetails + /** + * contactDetails * @return contactDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContactDetails getContactDetails() { return contactDetails; } - - /** - * contactDetails - * - * @param contactDetails - */ + /** + * contactDetails + * + * @param contactDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -235,97 +250,111 @@ public void setContactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; } - + /** + * Your description for the account holder. + * + * @param description + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder description(String description) { this.description = description; return this; } - /** + /** * Your description for the account holder. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the account holder. - * - * @param description - */ + /** + * Your description for the account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the account holder. + * + * @param id + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the account holder. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the account holder.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the account holder. - * - * @param id - */ + /** + * The unique identifier of the account holder. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder metadata(Map metadata) { this.metadata = metadata; return this; @@ -339,181 +368,199 @@ public AccountHolder putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder migratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; return this; } - /** + /** * The unique identifier of the migrated account holder in the classic integration. * @return migratedAccountHolderCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountHolderCode() { return migratedAccountHolderCode; } - - /** - * The unique identifier of the migrated account holder in the classic integration. - * - * @param migratedAccountHolderCode - */ + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; } - + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder primaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; return this; } - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. * @return primaryBalanceAccount - **/ + */ @ApiModelProperty(value = "The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request.") @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPrimaryBalanceAccount() { return primaryBalanceAccount; } - - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. - * - * @param primaryBalanceAccount - */ + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + */ @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrimaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; } - + /** + * Your reference for the account holder. + * + * @param reference + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the account holder. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the account holder.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the account holder. - * - * @param reference - */ + /** + * Your reference for the account holder. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. * @return status - **/ + */ @ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. - * - * @param status - */ + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder verificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; return this; @@ -527,31 +574,28 @@ public AccountHolder addVerificationDeadlinesItem(VerificationDeadline verificat return this; } - /** + /** * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. * @return verificationDeadlines - **/ + */ @ApiModelProperty(value = "List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.") @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationDeadlines() { return verificationDeadlines; } - - /** - * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. - * - * @param verificationDeadlines - */ + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; } - /** * Return true if this AccountHolder object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AccountHolderCapability.java b/src/main/java/com/adyen/model/balanceplatform/AccountHolderCapability.java index 681ad5fe5..adbec2731 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AccountHolderCapability.java +++ b/src/main/java/com/adyen/model/balanceplatform/AccountHolderCapability.java @@ -199,126 +199,144 @@ public static VerificationStatusEnum fromValue(String value) { public AccountHolderCapability() { } + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. - * - * @param allowed - */ + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AllowedLevelEnum getAllowedLevel() { return allowedLevel; } - - /** - * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * allowedSettings + * + * @param allowedSettings + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; return this; } - /** - * Get allowedSettings + /** + * allowedSettings * @return allowedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getAllowedSettings() { return allowedSettings; } - - /** - * allowedSettings - * - * @param allowedSettings - */ + /** + * allowedSettings + * + * @param allowedSettings + */ @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; } - + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. - * - * @param enabled - */ + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * Contains verification errors and the actions that you can take to resolve them. + * + * @param problems + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability problems(List problems) { this.problems = problems; return this; @@ -332,121 +350,133 @@ public AccountHolderCapability addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * Contains verification errors and the actions that you can take to resolve them. * @return problems - **/ + */ @ApiModelProperty(value = "Contains verification errors and the actions that you can take to resolve them.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * Contains verification errors and the actions that you can take to resolve them. - * - * @param problems - */ + /** + * Contains verification errors and the actions that you can take to resolve them. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requested(Boolean requested) { this.requested = requested; return this; } - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. - * - * @param requested - */ + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(value = "The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestedLevelEnum getRequestedLevel() { return requestedLevel; } - - /** - * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * requestedSettings + * + * @param requestedSettings + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; return this; } - /** - * Get requestedSettings + /** + * requestedSettings * @return requestedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getRequestedSettings() { return requestedSettings; } - - /** - * requestedSettings - * - * @param requestedSettings - */ + /** + * requestedSettings + * + * @param requestedSettings + */ @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; } - + /** + * Contains the status of the transfer instruments associated with this capability. + * + * @param transferInstruments + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability transferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; return this; @@ -460,61 +490,61 @@ public AccountHolderCapability addTransferInstrumentsItem(AccountSupportingEntit return this; } - /** + /** * Contains the status of the transfer instruments associated with this capability. * @return transferInstruments - **/ + */ @ApiModelProperty(value = "Contains the status of the transfer instruments associated with this capability. ") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransferInstruments() { return transferInstruments; } - - /** - * Contains the status of the transfer instruments associated with this capability. - * - * @param transferInstruments - */ + /** + * Contains the status of the transfer instruments associated with this capability. + * + * @param transferInstruments + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; } - + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this AccountHolderCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AccountHolderInfo.java b/src/main/java/com/adyen/model/balanceplatform/AccountHolderInfo.java index ceca15d95..231986471 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AccountHolderInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/AccountHolderInfo.java @@ -55,7 +55,7 @@ public class AccountHolderInfo { private Map capabilities = null; public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails"; - @Deprecated + @Deprecated // deprecated private ContactDetails contactDetails; public static final String JSON_PROPERTY_DESCRIPTION = "description"; @@ -79,36 +79,45 @@ public class AccountHolderInfo { public AccountHolderInfo() { } + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. - * - * @param balancePlatform - */ + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -122,57 +131,63 @@ public AccountHolderInfo putCapabilitiesItem(String key, AccountHolderCapability return this; } - /** + /** * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * contactDetails + * + * @param contactDetails + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public AccountHolderInfo contactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; return this; } - /** - * Get contactDetails + /** + * contactDetails * @return contactDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContactDetails getContactDetails() { return contactDetails; } - - /** - * contactDetails - * - * @param contactDetails - */ + /** + * contactDetails + * + * @param contactDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -180,67 +195,78 @@ public void setContactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; } - + /** + * Your description for the account holder. + * + * @param description + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo description(String description) { this.description = description; return this; } - /** + /** * Your description for the account holder. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the account holder. - * - * @param description - */ + /** + * Your description for the account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo metadata(Map metadata) { this.metadata = metadata; return this; @@ -254,121 +280,127 @@ public AccountHolderInfo putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo migratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; return this; } - /** + /** * The unique identifier of the migrated account holder in the classic integration. * @return migratedAccountHolderCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountHolderCode() { return migratedAccountHolderCode; } - - /** - * The unique identifier of the migrated account holder in the classic integration. - * - * @param migratedAccountHolderCode - */ + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; } - + /** + * Your reference for the account holder. + * + * @param reference + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the account holder. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the account holder.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the account holder. - * - * @param reference - */ + /** + * Your reference for the account holder. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code AccountHolderInfo} instance, allowing for method chaining + */ public AccountHolderInfo timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this AccountHolderInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AccountHolderUpdateRequest.java b/src/main/java/com/adyen/model/balanceplatform/AccountHolderUpdateRequest.java index c64c16a78..713de12e4 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AccountHolderUpdateRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/AccountHolderUpdateRequest.java @@ -59,7 +59,7 @@ public class AccountHolderUpdateRequest { private Map capabilities = null; public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails"; - @Deprecated + @Deprecated // deprecated private ContactDetails contactDetails; public static final String JSON_PROPERTY_DESCRIPTION = "description"; @@ -126,36 +126,45 @@ public static StatusEnum fromValue(String value) { public AccountHolderUpdateRequest() { } + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. - * - * @param balancePlatform - */ + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -169,57 +178,63 @@ public AccountHolderUpdateRequest putCapabilitiesItem(String key, AccountHolderC return this; } - /** + /** * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * contactDetails + * + * @param contactDetails + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public AccountHolderUpdateRequest contactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; return this; } - /** - * Get contactDetails + /** + * contactDetails * @return contactDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContactDetails getContactDetails() { return contactDetails; } - - /** - * contactDetails - * - * @param contactDetails - */ + /** + * contactDetails + * + * @param contactDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -227,37 +242,45 @@ public void setContactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; } - + /** + * Your description for the account holder. + * + * @param description + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for the account holder. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the account holder. - * - * @param description - */ + /** + * Your description for the account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -271,181 +294,199 @@ public AccountHolderUpdateRequest putMetadataItem(String key, String metadataIte return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest migratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; return this; } - /** + /** * The unique identifier of the migrated account holder in the classic integration. * @return migratedAccountHolderCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountHolderCode() { return migratedAccountHolderCode; } - - /** - * The unique identifier of the migrated account holder in the classic integration. - * - * @param migratedAccountHolderCode - */ + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; } - + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest primaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; return this; } - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. * @return primaryBalanceAccount - **/ + */ @ApiModelProperty(value = "The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request.") @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPrimaryBalanceAccount() { return primaryBalanceAccount; } - - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. - * - * @param primaryBalanceAccount - */ + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + */ @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrimaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; } - + /** + * Your reference for the account holder. + * + * @param reference + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the account holder. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the account holder.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the account holder. - * - * @param reference - */ + /** + * Your reference for the account holder. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. * @return status - **/ + */ @ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. - * - * @param status - */ + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + * @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining + */ public AccountHolderUpdateRequest verificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; return this; @@ -459,31 +500,28 @@ public AccountHolderUpdateRequest addVerificationDeadlinesItem(VerificationDeadl return this; } - /** + /** * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. * @return verificationDeadlines - **/ + */ @ApiModelProperty(value = "List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.") @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationDeadlines() { return verificationDeadlines; } - - /** - * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. - * - * @param verificationDeadlines - */ + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; } - /** * Return true if this AccountHolderUpdateRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AccountSupportingEntityCapability.java b/src/main/java/com/adyen/model/balanceplatform/AccountSupportingEntityCapability.java index c4c779696..76a550950 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AccountSupportingEntityCapability.java +++ b/src/main/java/com/adyen/model/balanceplatform/AccountSupportingEntityCapability.java @@ -182,216 +182,237 @@ public static VerificationStatusEnum fromValue(String value) { public AccountSupportingEntityCapability() { } + /** + * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. - * - * @param allowed - */ + /** + * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability allowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AllowedLevelEnum getAllowedLevel() { return allowedLevel; } - - /** - * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. - * - * @param enabled - */ + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * The ID of the supporting entity. + * + * @param id + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability id(String id) { this.id = id; return this; } - /** + /** * The ID of the supporting entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the supporting entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the supporting entity. - * - * @param id - */ + /** + * The ID of the supporting entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability requested(Boolean requested) { this.requested = requested; return this; } - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. - * - * @param requested - */ + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability requestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(value = "The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestedLevelEnum getRequestedLevel() { return requestedLevel; } - - /** - * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this AccountSupportingEntityCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/ActiveNetworkTokensRestriction.java b/src/main/java/com/adyen/model/balanceplatform/ActiveNetworkTokensRestriction.java index a31c5d9ca..71e6a846d 100644 --- a/src/main/java/com/adyen/model/balanceplatform/ActiveNetworkTokensRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/ActiveNetworkTokensRestriction.java @@ -45,66 +45,72 @@ public class ActiveNetworkTokensRestriction { public ActiveNetworkTokensRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code ActiveNetworkTokensRestriction} instance, allowing for method chaining + */ public ActiveNetworkTokensRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * The number of tokens. + * + * @param value + * @return the current {@code ActiveNetworkTokensRestriction} instance, allowing for method chaining + */ public ActiveNetworkTokensRestriction value(Integer value) { this.value = value; return this; } - /** + /** * The number of tokens. * @return value - **/ + */ @ApiModelProperty(value = "The number of tokens.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getValue() { return value; } - - /** - * The number of tokens. - * - * @param value - */ + /** + * The number of tokens. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Integer value) { this.value = value; } - /** * Return true if this ActiveNetworkTokensRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AdditionalBankIdentification.java b/src/main/java/com/adyen/model/balanceplatform/AdditionalBankIdentification.java index 0604f31c8..f360595d9 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AdditionalBankIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/AdditionalBankIdentification.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public AdditionalBankIdentification() { } + /** + * The value of the additional bank identification. + * + * @param code + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification code(String code) { this.code = code; return this; } - /** + /** * The value of the additional bank identification. * @return code - **/ + */ @ApiModelProperty(value = "The value of the additional bank identification.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The value of the additional bank identification. - * - * @param code - */ + /** + * The value of the additional bank identification. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. * @return type - **/ + */ @ApiModelProperty(value = "The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. - * - * @param type - */ + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AdditionalBankIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Address.java b/src/main/java/com/adyen/model/balanceplatform/Address.java index b7e0b6f1d..364d4ee05 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Address.java +++ b/src/main/java/com/adyen/model/balanceplatform/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java b/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java index ff93845e0..a538e8bb6 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java @@ -125,36 +125,45 @@ public static TypeEnum fromValue(String value) { public AddressRequirement() { } + /** + * Specifies the required address related fields for a particular route. + * + * @param description + * @return the current {@code AddressRequirement} instance, allowing for method chaining + */ public AddressRequirement description(String description) { this.description = description; return this; } - /** + /** * Specifies the required address related fields for a particular route. * @return description - **/ + */ @ApiModelProperty(value = "Specifies the required address related fields for a particular route.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Specifies the required address related fields for a particular route. - * - * @param description - */ + /** + * Specifies the required address related fields for a particular route. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * List of address fields. + * + * @param requiredAddressFields + * @return the current {@code AddressRequirement} instance, allowing for method chaining + */ public AddressRequirement requiredAddressFields(List requiredAddressFields) { this.requiredAddressFields = requiredAddressFields; return this; @@ -168,61 +177,61 @@ public AddressRequirement addRequiredAddressFieldsItem(RequiredAddressFieldsEnum return this; } - /** + /** * List of address fields. * @return requiredAddressFields - **/ + */ @ApiModelProperty(value = "List of address fields.") @JsonProperty(JSON_PROPERTY_REQUIRED_ADDRESS_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRequiredAddressFields() { return requiredAddressFields; } - - /** - * List of address fields. - * - * @param requiredAddressFields - */ + /** + * List of address fields. + * + * @param requiredAddressFields + */ @JsonProperty(JSON_PROPERTY_REQUIRED_ADDRESS_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequiredAddressFields(List requiredAddressFields) { this.requiredAddressFields = requiredAddressFields; } - + /** + * **addressRequirement** + * + * @param type + * @return the current {@code AddressRequirement} instance, allowing for method chaining + */ public AddressRequirement type(TypeEnum type) { this.type = type; return this; } - /** + /** * **addressRequirement** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**addressRequirement**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **addressRequirement** - * - * @param type - */ + /** + * **addressRequirement** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AddressRequirement object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Amount.java b/src/main/java/com/adyen/model/balanceplatform/Amount.java index a58dddbbd..e36609eb9 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Amount.java +++ b/src/main/java/com/adyen/model/balanceplatform/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java b/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java index a7cb9a13c..78c616d8e 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java @@ -86,126 +86,138 @@ public static TypeEnum fromValue(String value) { public AmountMinMaxRequirement() { } + /** + * Specifies the eligible amounts for a particular route. + * + * @param description + * @return the current {@code AmountMinMaxRequirement} instance, allowing for method chaining + */ public AmountMinMaxRequirement description(String description) { this.description = description; return this; } - /** + /** * Specifies the eligible amounts for a particular route. * @return description - **/ + */ @ApiModelProperty(value = "Specifies the eligible amounts for a particular route.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Specifies the eligible amounts for a particular route. - * - * @param description - */ + /** + * Specifies the eligible amounts for a particular route. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Maximum amount. + * + * @param max + * @return the current {@code AmountMinMaxRequirement} instance, allowing for method chaining + */ public AmountMinMaxRequirement max(Long max) { this.max = max; return this; } - /** + /** * Maximum amount. * @return max - **/ + */ @ApiModelProperty(value = "Maximum amount.") @JsonProperty(JSON_PROPERTY_MAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getMax() { return max; } - - /** - * Maximum amount. - * - * @param max - */ + /** + * Maximum amount. + * + * @param max + */ @JsonProperty(JSON_PROPERTY_MAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMax(Long max) { this.max = max; } - + /** + * Minimum amount. + * + * @param min + * @return the current {@code AmountMinMaxRequirement} instance, allowing for method chaining + */ public AmountMinMaxRequirement min(Long min) { this.min = min; return this; } - /** + /** * Minimum amount. * @return min - **/ + */ @ApiModelProperty(value = "Minimum amount.") @JsonProperty(JSON_PROPERTY_MIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getMin() { return min; } - - /** - * Minimum amount. - * - * @param min - */ + /** + * Minimum amount. + * + * @param min + */ @JsonProperty(JSON_PROPERTY_MIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMin(Long min) { this.min = min; } - + /** + * **amountMinMaxRequirement** + * + * @param type + * @return the current {@code AmountMinMaxRequirement} instance, allowing for method chaining + */ public AmountMinMaxRequirement type(TypeEnum type) { this.type = type; return this; } - /** + /** * **amountMinMaxRequirement** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**amountMinMaxRequirement**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **amountMinMaxRequirement** - * - * @param type - */ + /** + * **amountMinMaxRequirement** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AmountMinMaxRequirement object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Authentication.java b/src/main/java/com/adyen/model/balanceplatform/Authentication.java index da54f4ecb..059dbe6d1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Authentication.java +++ b/src/main/java/com/adyen/model/balanceplatform/Authentication.java @@ -50,96 +50,105 @@ public class Authentication { public Authentication() { } + /** + * The email address where the one-time password (OTP) is sent. + * + * @param email + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication email(String email) { this.email = email; return this; } - /** + /** * The email address where the one-time password (OTP) is sent. * @return email - **/ + */ @ApiModelProperty(value = "The email address where the one-time password (OTP) is sent.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address where the one-time password (OTP) is sent. - * - * @param email - */ + /** + * The email address where the one-time password (OTP) is sent. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + * + * @param password + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication password(String password) { this.password = password; return this; } - /** - * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** * @return password - **/ + */ @ApiModelProperty(value = "The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó**") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** - * - * @param password - */ + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * phone + * + * @param phone + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication phone(Phone phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(Phone phone) { this.phone = phone; } - /** * Return true if this Authentication object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java index 5ae5b4f8d..bd0e37e41 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java @@ -90,156 +90,171 @@ public static TypeEnum fromValue(String value) { public BRLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 3-digit bank code, with leading zeros. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit bank code, with leading zeros.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 3-digit bank code, with leading zeros. - * - * @param bankCode - */ + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification branchNumber(String branchNumber) { this.branchNumber = branchNumber; return this; } - /** + /** * The bank account branch number, without separators or whitespace. * @return branchNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account branch number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBranchNumber() { return branchNumber; } - - /** - * The bank account branch number, without separators or whitespace. - * - * @param branchNumber - */ + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + */ @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBranchNumber(String branchNumber) { this.branchNumber = branchNumber; } - + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification ispb(String ispb) { this.ispb = ispb; return this; } - /** + /** * The 8-digit ISPB, with leading zeros. * @return ispb - **/ + */ @ApiModelProperty(value = "The 8-digit ISPB, with leading zeros.") @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIspb() { return ispb; } - - /** - * The 8-digit ISPB, with leading zeros. - * - * @param ispb - */ + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + */ @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIspb(String ispb) { this.ispb = ispb; } - + /** + * **brLocal** + * + * @param type + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **brLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**brLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **brLocal** - * - * @param type - */ + /** + * **brLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BRLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Balance.java b/src/main/java/com/adyen/model/balanceplatform/Balance.java index 8eb2c926a..3dfbde604 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Balance.java +++ b/src/main/java/com/adyen/model/balanceplatform/Balance.java @@ -57,156 +57,171 @@ public class Balance { public Balance() { } + /** + * The current balance minus any reserved balance. + * + * @param available + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance available(Long available) { this.available = available; return this; } - /** + /** * The current balance minus any reserved balance. * @return available - **/ + */ @ApiModelProperty(required = true, value = "The current balance minus any reserved balance.") @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getAvailable() { return available; } - - /** - * The current balance minus any reserved balance. - * - * @param available - */ + /** + * The current balance minus any reserved balance. + * + * @param available + */ @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvailable(Long available) { this.available = available; } - + /** + * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. + * + * @param balance + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance balance(Long balance) { this.balance = balance; return this; } - /** + /** * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. * @return balance - **/ + */ @ApiModelProperty(required = true, value = "The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out.") @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getBalance() { return balance; } - - /** - * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. - * - * @param balance - */ + /** + * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. + * + * @param balance + */ @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalance(Long balance) { this.balance = balance; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. + * + * @param currency + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). + * + * @param pending + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance pending(Long pending) { this.pending = pending; return this; } - /** + /** * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). * @return pending - **/ + */ @ApiModelProperty(value = "The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds).") @JsonProperty(JSON_PROPERTY_PENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getPending() { return pending; } - - /** - * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). - * - * @param pending - */ + /** + * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). + * + * @param pending + */ @JsonProperty(JSON_PROPERTY_PENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPending(Long pending) { this.pending = pending; } - + /** + * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). + * + * @param reserved + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance reserved(Long reserved) { this.reserved = reserved; return this; } - /** + /** * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). * @return reserved - **/ + */ @ApiModelProperty(required = true, value = "The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing).") @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReserved() { return reserved; } - - /** - * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). - * - * @param reserved - */ + /** + * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). + * + * @param reserved + */ @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReserved(Long reserved) { this.reserved = reserved; } - /** * Return true if this Balance object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalanceAccount.java b/src/main/java/com/adyen/model/balanceplatform/BalanceAccount.java index ec4663ff3..913f15e80 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalanceAccount.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalanceAccount.java @@ -126,36 +126,45 @@ public static StatusEnum fromValue(String value) { public BalanceAccount() { } + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. * @return accountHolderId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. - * - * @param accountHolderId - */ + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * List of balances with the amount and currency. + * + * @param balances + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount balances(List balances) { this.balances = balances; return this; @@ -169,121 +178,133 @@ public BalanceAccount addBalancesItem(Balance balancesItem) { return this; } - /** + /** * List of balances with the amount and currency. * @return balances - **/ + */ @ApiModelProperty(value = "List of balances with the amount and currency.") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalances() { return balances; } - - /** - * List of balances with the amount and currency. - * - * @param balances - */ + /** + * List of balances with the amount and currency. + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(List balances) { this.balances = balances; } - + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount defaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; return this; } - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. * @return defaultCurrencyCode - **/ + */ @ApiModelProperty(value = "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.") @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefaultCurrencyCode() { return defaultCurrencyCode; } - - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. - * - * @param defaultCurrencyCode - */ + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + */ @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; } - + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount description(String description) { this.description = description; return this; } - /** + /** * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. - * - * @param description - */ + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the balance account. + * + * @param id + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the balance account. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the balance account. - * - * @param id - */ + /** + * The unique identifier of the balance account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount metadata(Map metadata) { this.metadata = metadata; return this; @@ -297,181 +318,193 @@ public BalanceAccount putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount migratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; return this; } - /** + /** * The unique identifier of the account of the migrated account holder in the classic integration. * @return migratedAccountCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the account of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountCode() { return migratedAccountCode; } - - /** - * The unique identifier of the account of the migrated account holder in the classic integration. - * - * @param migratedAccountCode - */ + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; } - + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount platformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; return this; } - /** - * Get platformPaymentConfiguration + /** + * platformPaymentConfiguration * @return platformPaymentConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentConfiguration getPlatformPaymentConfiguration() { return platformPaymentConfiguration; } - - /** - * platformPaymentConfiguration - * - * @param platformPaymentConfiguration - */ + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; } - + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the balance account, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the balance account, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the balance account, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the balance account, set to **active** by default. + * + * @param status + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the balance account, set to **active** by default. * @return status - **/ + */ @ApiModelProperty(value = "The status of the balance account, set to **active** by default. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the balance account, set to **active** by default. - * - * @param status - */ + /** + * The status of the balance account, set to **active** by default. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this BalanceAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountBase.java b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountBase.java index 4af313de1..9571a7b6f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountBase.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountBase.java @@ -120,126 +120,144 @@ public static StatusEnum fromValue(String value) { public BalanceAccountBase() { } + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. * @return accountHolderId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. - * - * @param accountHolderId - */ + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase defaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; return this; } - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. * @return defaultCurrencyCode - **/ + */ @ApiModelProperty(value = "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.") @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefaultCurrencyCode() { return defaultCurrencyCode; } - - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. - * - * @param defaultCurrencyCode - */ + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + */ @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; } - + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase description(String description) { this.description = description; return this; } - /** + /** * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. - * - * @param description - */ + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the balance account. + * + * @param id + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the balance account. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the balance account. - * - * @param id - */ + /** + * The unique identifier of the balance account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase metadata(Map metadata) { this.metadata = metadata; return this; @@ -253,181 +271,193 @@ public BalanceAccountBase putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase migratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; return this; } - /** + /** * The unique identifier of the account of the migrated account holder in the classic integration. * @return migratedAccountCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the account of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountCode() { return migratedAccountCode; } - - /** - * The unique identifier of the account of the migrated account holder in the classic integration. - * - * @param migratedAccountCode - */ + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; } - + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase platformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; return this; } - /** - * Get platformPaymentConfiguration + /** + * platformPaymentConfiguration * @return platformPaymentConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentConfiguration getPlatformPaymentConfiguration() { return platformPaymentConfiguration; } - - /** - * platformPaymentConfiguration - * - * @param platformPaymentConfiguration - */ + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; } - + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the balance account, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the balance account, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the balance account, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the balance account, set to **active** by default. + * + * @param status + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the balance account, set to **active** by default. * @return status - **/ + */ @ApiModelProperty(value = "The status of the balance account, set to **active** by default. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the balance account, set to **active** by default. - * - * @param status - */ + /** + * The status of the balance account, set to **active** by default. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code BalanceAccountBase} instance, allowing for method chaining + */ public BalanceAccountBase timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this BalanceAccountBase object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountInfo.java b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountInfo.java index c18f87442..91ef40b8e 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountInfo.java @@ -73,96 +73,111 @@ public class BalanceAccountInfo { public BalanceAccountInfo() { } + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. * @return accountHolderId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. - * - * @param accountHolderId - */ + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo defaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; return this; } - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. * @return defaultCurrencyCode - **/ + */ @ApiModelProperty(value = "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.") @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefaultCurrencyCode() { return defaultCurrencyCode; } - - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. - * - * @param defaultCurrencyCode - */ + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + */ @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; } - + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo description(String description) { this.description = description; return this; } - /** + /** * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. - * - * @param description - */ + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo metadata(Map metadata) { this.metadata = metadata; return this; @@ -176,151 +191,160 @@ public BalanceAccountInfo putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo migratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; return this; } - /** + /** * The unique identifier of the account of the migrated account holder in the classic integration. * @return migratedAccountCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the account of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountCode() { return migratedAccountCode; } - - /** - * The unique identifier of the account of the migrated account holder in the classic integration. - * - * @param migratedAccountCode - */ + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; } - + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo platformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; return this; } - /** - * Get platformPaymentConfiguration + /** + * platformPaymentConfiguration * @return platformPaymentConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentConfiguration getPlatformPaymentConfiguration() { return platformPaymentConfiguration; } - - /** - * platformPaymentConfiguration - * - * @param platformPaymentConfiguration - */ + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; } - + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the balance account, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the balance account, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the balance account, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code BalanceAccountInfo} instance, allowing for method chaining + */ public BalanceAccountInfo timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this BalanceAccountInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountUpdateRequest.java b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountUpdateRequest.java index 0c532c2ea..bcf29868b 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalanceAccountUpdateRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalanceAccountUpdateRequest.java @@ -108,66 +108,78 @@ public static StatusEnum fromValue(String value) { public BalanceAccountUpdateRequest() { } + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. * @return accountHolderId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. - * - * @param accountHolderId - */ + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest description(String description) { this.description = description; return this; } - /** + /** * A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder. - * - * @param description - */ + /** + * A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -181,151 +193,160 @@ public BalanceAccountUpdateRequest putMetadataItem(String key, String metadataIt return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest platformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; return this; } - /** - * Get platformPaymentConfiguration + /** + * platformPaymentConfiguration * @return platformPaymentConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentConfiguration getPlatformPaymentConfiguration() { return platformPaymentConfiguration; } - - /** - * platformPaymentConfiguration - * - * @param platformPaymentConfiguration - */ + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; } - + /** + * Your reference to the balance account. + * + * @param reference + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference to the balance account. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference to the balance account.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference to the balance account. - * - * @param reference - */ + /** + * Your reference to the balance account. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **closed**, **suspended**. + * + * @param status + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **closed**, **suspended**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **closed**, **suspended**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **closed**, **suspended**. - * - * @param status - */ + /** + * The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **closed**, **suspended**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code BalanceAccountUpdateRequest} instance, allowing for method chaining + */ public BalanceAccountUpdateRequest timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this BalanceAccountUpdateRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalancePlatform.java b/src/main/java/com/adyen/model/balanceplatform/BalancePlatform.java index bae18bb70..a009780bd 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalancePlatform.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalancePlatform.java @@ -49,96 +49,105 @@ public class BalancePlatform { public BalancePlatform() { } + /** + * Your description of the balance platform. + * + * @param description + * @return the current {@code BalancePlatform} instance, allowing for method chaining + */ public BalancePlatform description(String description) { this.description = description; return this; } - /** + /** * Your description of the balance platform. * @return description - **/ + */ @ApiModelProperty(value = "Your description of the balance platform.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description of the balance platform. - * - * @param description - */ + /** + * Your description of the balance platform. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the balance platform. + * + * @param id + * @return the current {@code BalancePlatform} instance, allowing for method chaining + */ public BalancePlatform id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the balance platform. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the balance platform. - * - * @param id - */ + /** + * The unique identifier of the balance platform. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**. + * + * @param status + * @return the current {@code BalancePlatform} instance, allowing for method chaining + */ public BalancePlatform status(String status) { this.status = status; return this; } - /** + /** * The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**. - * - * @param status - */ + /** + * The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this BalancePlatform object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BalanceSweepConfigurationsResponse.java b/src/main/java/com/adyen/model/balanceplatform/BalanceSweepConfigurationsResponse.java index a54d4b19f..233690177 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BalanceSweepConfigurationsResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/BalanceSweepConfigurationsResponse.java @@ -52,66 +52,78 @@ public class BalanceSweepConfigurationsResponse { public BalanceSweepConfigurationsResponse() { } + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code BalanceSweepConfigurationsResponse} instance, allowing for method chaining + */ public BalanceSweepConfigurationsResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code BalanceSweepConfigurationsResponse} instance, allowing for method chaining + */ public BalanceSweepConfigurationsResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - + /** + * List of sweeps associated with the balance account. + * + * @param sweeps + * @return the current {@code BalanceSweepConfigurationsResponse} instance, allowing for method chaining + */ public BalanceSweepConfigurationsResponse sweeps(List sweeps) { this.sweeps = sweeps; return this; @@ -122,31 +134,28 @@ public BalanceSweepConfigurationsResponse addSweepsItem(SweepConfigurationV2 swe return this; } - /** + /** * List of sweeps associated with the balance account. * @return sweeps - **/ + */ @ApiModelProperty(required = true, value = "List of sweeps associated with the balance account.") @JsonProperty(JSON_PROPERTY_SWEEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSweeps() { return sweeps; } - - /** - * List of sweeps associated with the balance account. - * - * @param sweeps - */ + /** + * List of sweeps associated with the balance account. + * + * @param sweeps + */ @JsonProperty(JSON_PROPERTY_SWEEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSweeps(List sweeps) { this.sweeps = sweeps; } - /** * Return true if this BalanceSweepConfigurationsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccount.java b/src/main/java/com/adyen/model/balanceplatform/BankAccount.java index 1ecd6e5a3..eeb973a49 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccount.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccount.java @@ -42,36 +42,39 @@ public class BankAccount { public BankAccount() { } + /** + * accountIdentification + * + * @param accountIdentification + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount accountIdentification(BankAccountAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; return this; } - /** - * Get accountIdentification + /** + * accountIdentification * @return accountIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountAccountIdentification getAccountIdentification() { return accountIdentification; } - - /** - * accountIdentification - * - * @param accountIdentification - */ + /** + * accountIdentification + * + * @param accountIdentification + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentification(BankAccountAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; } - /** * Return true if this BankAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccountDetails.java b/src/main/java/com/adyen/model/balanceplatform/BankAccountDetails.java index 41c34ac55..66fdedbe7 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccountDetails.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccountDetails.java @@ -33,6 +33,7 @@ @JsonPropertyOrder({ BankAccountDetails.JSON_PROPERTY_ACCOUNT_NUMBER, BankAccountDetails.JSON_PROPERTY_ACCOUNT_TYPE, + BankAccountDetails.JSON_PROPERTY_BRANCH_NUMBER, BankAccountDetails.JSON_PROPERTY_FORM_FACTOR, BankAccountDetails.JSON_PROPERTY_IBAN, BankAccountDetails.JSON_PROPERTY_ROUTING_NUMBER, @@ -47,6 +48,9 @@ public class BankAccountDetails { public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; private String accountType; + public static final String JSON_PROPERTY_BRANCH_NUMBER = "branchNumber"; + private String branchNumber; + public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; private String formFactor; @@ -65,216 +69,270 @@ public class BankAccountDetails { public BankAccountDetails() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails accountType(String accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(String accountType) { this.accountType = accountType; } + /** + * The bank account branch number, without separators or whitespace + * + * @param branchNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ + public BankAccountDetails branchNumber(String branchNumber) { + this.branchNumber = branchNumber; + return this; + } + + /** + * The bank account branch number, without separators or whitespace + * @return branchNumber + */ + @ApiModelProperty(value = "The bank account branch number, without separators or whitespace") + @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBranchNumber() { + return branchNumber; + } + + /** + * The bank account branch number, without separators or whitespace + * + * @param branchNumber + */ + @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBranchNumber(String branchNumber) { + this.branchNumber = branchNumber; + } + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails formFactor(String formFactor) { this.formFactor = formFactor; return this; } - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor - **/ + */ @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFormFactor() { return formFactor; } - - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. - * - * @param formFactor - */ + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(String formFactor) { this.formFactor = formFactor; } - + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(value = "The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(value = "The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **iban** or **usLocal** or **ukLocal** + * + * @param type + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails type(String type) { this.type = type; return this; } - /** + /** * **iban** or **usLocal** or **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban** or **usLocal** or **ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * **iban** or **usLocal** or **ukLocal** - * - * @param type - */ + /** + * **iban** or **usLocal** or **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this BankAccountDetails object is equal to o. */ @@ -289,6 +347,7 @@ public boolean equals(Object o) { BankAccountDetails bankAccountDetails = (BankAccountDetails) o; return Objects.equals(this.accountNumber, bankAccountDetails.accountNumber) && Objects.equals(this.accountType, bankAccountDetails.accountType) && + Objects.equals(this.branchNumber, bankAccountDetails.branchNumber) && Objects.equals(this.formFactor, bankAccountDetails.formFactor) && Objects.equals(this.iban, bankAccountDetails.iban) && Objects.equals(this.routingNumber, bankAccountDetails.routingNumber) && @@ -298,7 +357,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountNumber, accountType, formFactor, iban, routingNumber, sortCode, type); + return Objects.hash(accountNumber, accountType, branchNumber, formFactor, iban, routingNumber, sortCode, type); } @Override @@ -307,6 +366,7 @@ public String toString() { sb.append("class BankAccountDetails {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + sb.append(" branchNumber: ").append(toIndentedString(branchNumber)).append("\n"); sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java index 04a73d4fb..6478fdda5 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java @@ -149,6 +149,12 @@ public static TypeEnum fromValue(String value) { public BankAccountIdentificationTypeRequirement() { } + /** + * List of bank account identification types: eg.; [iban , numberAndBic] + * + * @param bankAccountIdentificationTypes + * @return the current {@code BankAccountIdentificationTypeRequirement} instance, allowing for method chaining + */ public BankAccountIdentificationTypeRequirement bankAccountIdentificationTypes(List bankAccountIdentificationTypes) { this.bankAccountIdentificationTypes = bankAccountIdentificationTypes; return this; @@ -162,91 +168,94 @@ public BankAccountIdentificationTypeRequirement addBankAccountIdentificationType return this; } - /** + /** * List of bank account identification types: eg.; [iban , numberAndBic] * @return bankAccountIdentificationTypes - **/ + */ @ApiModelProperty(value = "List of bank account identification types: eg.; [iban , numberAndBic]") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_IDENTIFICATION_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBankAccountIdentificationTypes() { return bankAccountIdentificationTypes; } - - /** - * List of bank account identification types: eg.; [iban , numberAndBic] - * - * @param bankAccountIdentificationTypes - */ + /** + * List of bank account identification types: eg.; [iban , numberAndBic] + * + * @param bankAccountIdentificationTypes + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_IDENTIFICATION_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountIdentificationTypes(List bankAccountIdentificationTypes) { this.bankAccountIdentificationTypes = bankAccountIdentificationTypes; } - + /** + * Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer. + * + * @param description + * @return the current {@code BankAccountIdentificationTypeRequirement} instance, allowing for method chaining + */ public BankAccountIdentificationTypeRequirement description(String description) { this.description = description; return this; } - /** + /** * Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer. * @return description - **/ + */ @ApiModelProperty(value = "Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer. - * - * @param description - */ + /** + * Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * **bankAccountIdentificationTypeRequirement** + * + * @param type + * @return the current {@code BankAccountIdentificationTypeRequirement} instance, allowing for method chaining + */ public BankAccountIdentificationTypeRequirement type(TypeEnum type) { this.type = type; return this; } - /** + /** * **bankAccountIdentificationTypeRequirement** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**bankAccountIdentificationTypeRequirement**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **bankAccountIdentificationTypeRequirement** - * - * @param type - */ + /** + * **bankAccountIdentificationTypeRequirement** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BankAccountIdentificationTypeRequirement object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationValidationRequest.java b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationValidationRequest.java index 6f4fbf59e..0b369a8fe 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationValidationRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationValidationRequest.java @@ -42,36 +42,39 @@ public class BankAccountIdentificationValidationRequest { public BankAccountIdentificationValidationRequest() { } + /** + * accountIdentification + * + * @param accountIdentification + * @return the current {@code BankAccountIdentificationValidationRequest} instance, allowing for method chaining + */ public BankAccountIdentificationValidationRequest accountIdentification(BankAccountIdentificationValidationRequestAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; return this; } - /** - * Get accountIdentification + /** + * accountIdentification * @return accountIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountIdentificationValidationRequestAccountIdentification getAccountIdentification() { return accountIdentification; } - - /** - * accountIdentification - * - * @param accountIdentification - */ + /** + * accountIdentification + * + * @param accountIdentification + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentification(BankAccountIdentificationValidationRequestAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; } - /** * Return true if this BankAccountIdentificationValidationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccountModel.java b/src/main/java/com/adyen/model/balanceplatform/BankAccountModel.java index d318b9c30..f65a79c61 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccountModel.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccountModel.java @@ -78,36 +78,39 @@ public static FormFactorEnum fromValue(String value) { public BankAccountModel() { } + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + * @return the current {@code BankAccountModel} instance, allowing for method chaining + */ public BankAccountModel formFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; return this; } - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor - **/ + */ @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FormFactorEnum getFormFactor() { return formFactor; } - - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. - * - * @param formFactor - */ + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; } - /** * Return true if this BankAccountModel object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BankIdentification.java b/src/main/java/com/adyen/model/balanceplatform/BankIdentification.java index a5d24ef6e..c52c7bdfe 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankIdentification.java @@ -86,96 +86,105 @@ public static IdentificationTypeEnum fromValue(String value) { public BankIdentification() { } + /** + * Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + * @return the current {@code BankIdentification} instance, allowing for method chaining + */ public BankIdentification country(String country) { this.country = country; return this; } - /** + /** * Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. * @return country - **/ + */ @ApiModelProperty(value = "Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. - * - * @param country - */ + /** + * Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The bank identification code. + * + * @param identification + * @return the current {@code BankIdentification} instance, allowing for method chaining + */ public BankIdentification identification(String identification) { this.identification = identification; return this; } - /** + /** * The bank identification code. * @return identification - **/ + */ @ApiModelProperty(value = "The bank identification code.") @JsonProperty(JSON_PROPERTY_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIdentification() { return identification; } - - /** - * The bank identification code. - * - * @param identification - */ + /** + * The bank identification code. + * + * @param identification + */ @JsonProperty(JSON_PROPERTY_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdentification(String identification) { this.identification = identification; } - + /** + * The type of the identification. Possible values: **iban**, **routingNumber**, **sortCode**. + * + * @param identificationType + * @return the current {@code BankIdentification} instance, allowing for method chaining + */ public BankIdentification identificationType(IdentificationTypeEnum identificationType) { this.identificationType = identificationType; return this; } - /** + /** * The type of the identification. Possible values: **iban**, **routingNumber**, **sortCode**. * @return identificationType - **/ + */ @ApiModelProperty(value = "The type of the identification. Possible values: **iban**, **routingNumber**, **sortCode**.") @JsonProperty(JSON_PROPERTY_IDENTIFICATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IdentificationTypeEnum getIdentificationType() { return identificationType; } - - /** - * The type of the identification. Possible values: **iban**, **routingNumber**, **sortCode**. - * - * @param identificationType - */ + /** + * The type of the identification. Possible values: **iban**, **routingNumber**, **sortCode**. + * + * @param identificationType + */ @JsonProperty(JSON_PROPERTY_IDENTIFICATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdentificationType(IdentificationTypeEnum identificationType) { this.identificationType = identificationType; } - /** * Return true if this BankIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BrandVariantsRestriction.java b/src/main/java/com/adyen/model/balanceplatform/BrandVariantsRestriction.java index 5387c4f21..7cd1fc7f6 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BrandVariantsRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/BrandVariantsRestriction.java @@ -47,36 +47,45 @@ public class BrandVariantsRestriction { public BrandVariantsRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code BrandVariantsRestriction} instance, allowing for method chaining + */ public BrandVariantsRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, **visacredit**, **visadebit**, **visaprepaid**. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**. + * + * @param value + * @return the current {@code BrandVariantsRestriction} instance, allowing for method chaining + */ public BrandVariantsRestriction value(List value) { this.value = value; return this; @@ -90,31 +99,28 @@ public BrandVariantsRestriction addValueItem(String valueItem) { return this; } - /** + /** * List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, **visacredit**, **visadebit**, **visaprepaid**. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**. * @return value - **/ + */ @ApiModelProperty(value = "List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, **visacredit**, **visadebit**, **visaprepaid**. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, **visacredit**, **visadebit**, **visaprepaid**. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**. - * - * @param value - */ + /** + * List of card brand variants. Possible values: - **mc**, **mccredit**, **mccommercialcredit_b2b**, **mcdebit**, **mcbusinessdebit**, **mcbusinessworlddebit**, **mcprepaid**, **mcmaestro** - **visa**, **visacredit**, **visadebit**, **visaprepaid**. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use **mc**. The rule is applied to all payment instruments under **mc**, such as **mcbusinessdebit** and **mcdebit**. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this BrandVariantsRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/BulkAddress.java b/src/main/java/com/adyen/model/balanceplatform/BulkAddress.java index 012df1c1f..7b5c0503c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BulkAddress.java +++ b/src/main/java/com/adyen/model/balanceplatform/BulkAddress.java @@ -73,276 +73,303 @@ public class BulkAddress { public BulkAddress() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The name of the company. + * + * @param company + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress company(String company) { this.company = company; return this; } - /** + /** * The name of the company. * @return company - **/ + */ @ApiModelProperty(value = "The name of the company.") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompany() { return company; } - - /** - * The name of the company. - * - * @param company - */ + /** + * The name of the company. + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(String company) { this.company = company; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. + * + * @param country + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress country(String country) { this.country = country; return this; } - /** + /** * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The email address. + * + * @param email + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress email(String email) { this.email = email; return this; } - /** + /** * The email address. * @return email - **/ + */ @ApiModelProperty(value = "The email address.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address. - * - * @param email - */ + /** + * The email address. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The house number or name. + * + * @param houseNumberOrName + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The house number or name. * @return houseNumberOrName - **/ + */ @ApiModelProperty(value = "The house number or name.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The house number or name. - * - * @param houseNumberOrName - */ + /** + * The house number or name. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * The full telephone number. + * + * @param mobile + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress mobile(String mobile) { this.mobile = mobile; return this; } - /** + /** * The full telephone number. * @return mobile - **/ + */ @ApiModelProperty(value = "The full telephone number.") @JsonProperty(JSON_PROPERTY_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMobile() { return mobile; } - - /** - * The full telephone number. - * - * @param mobile - */ + /** + * The full telephone number. + * + * @param mobile + */ @JsonProperty(JSON_PROPERTY_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobile(String mobile) { this.mobile = mobile; } - + /** + * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. + * + * @param postalCode + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. + * + * @param stateOrProvince + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** + /** * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The streetname of the house. + * + * @param street + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress street(String street) { this.street = street; return this; } - /** + /** * The streetname of the house. * @return street - **/ + */ @ApiModelProperty(value = "The streetname of the house.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The streetname of the house. - * - * @param street - */ + /** + * The streetname of the house. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this BulkAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java index 21d6f2ae1..5d66aea56 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java @@ -125,156 +125,171 @@ public static TypeEnum fromValue(String value) { public CALocalAccountIdentification() { } + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 5- to 12-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5- to 12-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 5- to 12-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification institutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; return this; } - /** + /** * The 3-digit institution number, without separators or whitespace. * @return institutionNumber - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit institution number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstitutionNumber() { return institutionNumber; } - - /** - * The 3-digit institution number, without separators or whitespace. - * - * @param institutionNumber - */ + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + */ @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstitutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; } - + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification transitNumber(String transitNumber) { this.transitNumber = transitNumber; return this; } - /** + /** * The 5-digit transit number, without separators or whitespace. * @return transitNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5-digit transit number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransitNumber() { return transitNumber; } - - /** - * The 5-digit transit number, without separators or whitespace. - * - * @param transitNumber - */ + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + */ @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransitNumber(String transitNumber) { this.transitNumber = transitNumber; } - + /** + * **caLocal** + * + * @param type + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **caLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**caLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **caLocal** - * - * @param type - */ + /** + * **caLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CALocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java index 47c003b34..94a51f5de 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public CZLocalAccountIdentification() { } + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) - * - * @param accountNumber - */ + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Kód banky), without separators or whitespace. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Kód banky), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Kód banky), without separators or whitespace. - * - * @param bankCode - */ + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **czLocal** + * + * @param type + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **czLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**czLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **czLocal** - * - * @param type - */ + /** + * **czLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblem.java b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblem.java index f022a45da..e1ad76c7f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblem.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblem.java @@ -49,36 +49,45 @@ public class CapabilityProblem { public CapabilityProblem() { } + /** + * entity + * + * @param entity + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem entity(CapabilityProblemEntity entity) { this.entity = entity; return this; } - /** - * Get entity + /** + * entity * @return entity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntity getEntity() { return entity; } - - /** - * entity - * - * @param entity - */ + /** + * entity + * + * @param entity + */ @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntity(CapabilityProblemEntity entity) { this.entity = entity; } - + /** + * Contains information about the verification error. + * + * @param verificationErrors + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem verificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; return this; @@ -92,31 +101,28 @@ public CapabilityProblem addVerificationErrorsItem(VerificationError verificatio return this; } - /** + /** * Contains information about the verification error. * @return verificationErrors - **/ + */ @ApiModelProperty(value = "Contains information about the verification error.") @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationErrors() { return verificationErrors; } - - /** - * Contains information about the verification error. - * - * @param verificationErrors - */ + /** + * Contains information about the verification error. + * + * @param verificationErrors + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; } - /** * Return true if this CapabilityProblem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntity.java b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntity.java index 1a53cdd1f..5f94669b2 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntity.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntity.java @@ -93,6 +93,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntity() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity documents(List documents) { this.documents = documents; return this; @@ -106,121 +112,127 @@ public CapabilityProblemEntity addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * owner + * + * @param owner + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity owner(CapabilityProblemEntityRecursive owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * owner * @return owner - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntityRecursive getOwner() { return owner; } - - /** - * owner - * - * @param owner - */ + /** + * owner + * + * @param owner + */ @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwner(CapabilityProblemEntityRecursive owner) { this.owner = owner; } - + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. * @return type - **/ + */ @ApiModelProperty(value = "Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - * - * @param type - */ + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntityRecursive.java b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntityRecursive.java index ea1715646..77c72d4b8 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntityRecursive.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapabilityProblemEntityRecursive.java @@ -89,6 +89,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntityRecursive() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive documents(List documents) { this.documents = documents; return this; @@ -102,91 +108,94 @@ public CapabilityProblemEntityRecursive addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. * @return type - **/ + */ @ApiModelProperty(value = "Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - * - * @param type - */ + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapabilitySettings.java b/src/main/java/com/adyen/model/balanceplatform/CapabilitySettings.java index 8f45338f2..4c6c7dcd2 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapabilitySettings.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapabilitySettings.java @@ -136,6 +136,12 @@ public static IntervalEnum fromValue(String value) { public CapabilitySettings() { } + /** + * + * + * @param amountPerIndustry + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings amountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; return this; @@ -149,61 +155,67 @@ public CapabilitySettings putAmountPerIndustryItem(String key, Amount amountPerI return this; } - /** + /** * * @return amountPerIndustry - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAmountPerIndustry() { return amountPerIndustry; } - - /** - * - * - * @param amountPerIndustry - */ + /** + * + * + * @param amountPerIndustry + */ @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; } - + /** + * + * + * @param authorizedCardUsers + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings authorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; return this; } - /** + /** * * @return authorizedCardUsers - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthorizedCardUsers() { return authorizedCardUsers; } - - /** - * - * - * @param authorizedCardUsers - */ + /** + * + * + * @param authorizedCardUsers + */ @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; } - + /** + * + * + * @param fundingSource + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings fundingSource(List fundingSource) { this.fundingSource = fundingSource; return this; @@ -217,91 +229,94 @@ public CapabilitySettings addFundingSourceItem(FundingSourceEnum fundingSourceIt return this; } - /** + /** * * @return fundingSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFundingSource() { return fundingSource; } - - /** - * - * - * @param fundingSource - */ + /** + * + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(List fundingSource) { this.fundingSource = fundingSource; } - + /** + * + * + * @param interval + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings interval(IntervalEnum interval) { this.interval = interval; return this; } - /** + /** * * @return interval - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IntervalEnum getInterval() { return interval; } - - /** - * - * - * @param interval - */ + /** + * + * + * @param interval + */ @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterval(IntervalEnum interval) { this.interval = interval; } - + /** + * maxAmount + * + * @param maxAmount + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings maxAmount(Amount maxAmount) { this.maxAmount = maxAmount; return this; } - /** - * Get maxAmount + /** + * maxAmount * @return maxAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getMaxAmount() { return maxAmount; } - - /** - * maxAmount - * - * @param maxAmount - */ + /** + * maxAmount + * + * @param maxAmount + */ @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxAmount(Amount maxAmount) { this.maxAmount = maxAmount; } - /** * Return true if this CapabilitySettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapitalBalance.java b/src/main/java/com/adyen/model/balanceplatform/CapitalBalance.java index e0f4690e4..1d5fc65cb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapitalBalance.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapitalBalance.java @@ -53,126 +53,138 @@ public class CapitalBalance { public CapitalBalance() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Fee amount. + * + * @param fee + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance fee(Long fee) { this.fee = fee; return this; } - /** + /** * Fee amount. * @return fee - **/ + */ @ApiModelProperty(required = true, value = "Fee amount.") @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getFee() { return fee; } - - /** - * Fee amount. - * - * @param fee - */ + /** + * Fee amount. + * + * @param fee + */ @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFee(Long fee) { this.fee = fee; } - + /** + * Principal amount. + * + * @param principal + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance principal(Long principal) { this.principal = principal; return this; } - /** + /** * Principal amount. * @return principal - **/ + */ @ApiModelProperty(required = true, value = "Principal amount.") @JsonProperty(JSON_PROPERTY_PRINCIPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getPrincipal() { return principal; } - - /** - * Principal amount. - * - * @param principal - */ + /** + * Principal amount. + * + * @param principal + */ @JsonProperty(JSON_PROPERTY_PRINCIPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrincipal(Long principal) { this.principal = principal; } - + /** + * Total amount. A sum of principal amount and fee amount. + * + * @param total + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance total(Long total) { this.total = total; return this; } - /** + /** * Total amount. A sum of principal amount and fee amount. * @return total - **/ + */ @ApiModelProperty(required = true, value = "Total amount. A sum of principal amount and fee amount.") @JsonProperty(JSON_PROPERTY_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getTotal() { return total; } - - /** - * Total amount. A sum of principal amount and fee amount. - * - * @param total - */ + /** + * Total amount. A sum of principal amount and fee amount. + * + * @param total + */ @JsonProperty(JSON_PROPERTY_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotal(Long total) { this.total = total; } - /** * Return true if this CapitalBalance object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CapitalGrantAccount.java b/src/main/java/com/adyen/model/balanceplatform/CapitalGrantAccount.java index d11978881..afe056819 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CapitalGrantAccount.java +++ b/src/main/java/com/adyen/model/balanceplatform/CapitalGrantAccount.java @@ -57,6 +57,12 @@ public class CapitalGrantAccount { public CapitalGrantAccount() { } + /** + * The balances of the grant account. + * + * @param balances + * @return the current {@code CapitalGrantAccount} instance, allowing for method chaining + */ public CapitalGrantAccount balances(List balances) { this.balances = balances; return this; @@ -70,91 +76,100 @@ public CapitalGrantAccount addBalancesItem(CapitalBalance balancesItem) { return this; } - /** + /** * The balances of the grant account. * @return balances - **/ + */ @ApiModelProperty(value = "The balances of the grant account.") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalances() { return balances; } - - /** - * The balances of the grant account. - * - * @param balances - */ + /** + * The balances of the grant account. + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(List balances) { this.balances = balances; } - + /** + * The unique identifier of the balance account used to fund the grant. + * + * @param fundingBalanceAccountId + * @return the current {@code CapitalGrantAccount} instance, allowing for method chaining + */ public CapitalGrantAccount fundingBalanceAccountId(String fundingBalanceAccountId) { this.fundingBalanceAccountId = fundingBalanceAccountId; return this; } - /** + /** * The unique identifier of the balance account used to fund the grant. * @return fundingBalanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account used to fund the grant.") @JsonProperty(JSON_PROPERTY_FUNDING_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingBalanceAccountId() { return fundingBalanceAccountId; } - - /** - * The unique identifier of the balance account used to fund the grant. - * - * @param fundingBalanceAccountId - */ + /** + * The unique identifier of the balance account used to fund the grant. + * + * @param fundingBalanceAccountId + */ @JsonProperty(JSON_PROPERTY_FUNDING_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingBalanceAccountId(String fundingBalanceAccountId) { this.fundingBalanceAccountId = fundingBalanceAccountId; } - + /** + * The identifier of the grant account. + * + * @param id + * @return the current {@code CapitalGrantAccount} instance, allowing for method chaining + */ public CapitalGrantAccount id(String id) { this.id = id; return this; } - /** + /** * The identifier of the grant account. * @return id - **/ + */ @ApiModelProperty(value = "The identifier of the grant account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The identifier of the grant account. - * - * @param id - */ + /** + * The identifier of the grant account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The limits of the grant account. + * + * @param limits + * @return the current {@code CapitalGrantAccount} instance, allowing for method chaining + */ public CapitalGrantAccount limits(List limits) { this.limits = limits; return this; @@ -168,31 +183,28 @@ public CapitalGrantAccount addLimitsItem(GrantLimit limitsItem) { return this; } - /** + /** * The limits of the grant account. * @return limits - **/ + */ @ApiModelProperty(value = "The limits of the grant account.") @JsonProperty(JSON_PROPERTY_LIMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLimits() { return limits; } - - /** - * The limits of the grant account. - * - * @param limits - */ + /** + * The limits of the grant account. + * + * @param limits + */ @JsonProperty(JSON_PROPERTY_LIMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLimits(List limits) { this.limits = limits; } - /** * Return true if this CapitalGrantAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Card.java b/src/main/java/com/adyen/model/balanceplatform/Card.java index a6bad554d..88cb16a53 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Card.java +++ b/src/main/java/com/adyen/model/balanceplatform/Card.java @@ -130,396 +130,435 @@ public static FormFactorEnum fromValue(String value) { public Card() { } + /** + * authentication + * + * @param authentication + * @return the current {@code Card} instance, allowing for method chaining + */ public Card authentication(Authentication authentication) { this.authentication = authentication; return this; } - /** - * Get authentication + /** + * authentication * @return authentication - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Authentication getAuthentication() { return authentication; } - - /** - * authentication - * - * @param authentication - */ + /** + * authentication + * + * @param authentication + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthentication(Authentication authentication) { this.authentication = authentication; } - + /** + * The bank identification number (BIN) of the card number. + * + * @param bin + * @return the current {@code Card} instance, allowing for method chaining + */ public Card bin(String bin) { this.bin = bin; return this; } - /** + /** * The bank identification number (BIN) of the card number. * @return bin - **/ + */ @ApiModelProperty(value = "The bank identification number (BIN) of the card number.") @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBin() { return bin; } - - /** - * The bank identification number (BIN) of the card number. - * - * @param bin - */ + /** + * The bank identification number (BIN) of the card number. + * + * @param bin + */ @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBin(String bin) { this.bin = bin; } - + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + * @return the current {@code Card} instance, allowing for method chaining + */ public Card brand(String brand) { this.brand = brand; return this; } - /** + /** * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. * @return brand - **/ + */ @ApiModelProperty(required = true, value = "The brand of the physical or the virtual card. Possible values: **visa**, **mc**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. - * - * @param brand - */ + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + * @return the current {@code Card} instance, allowing for method chaining + */ public Card brandVariant(String brandVariant) { this.brandVariant = brandVariant; return this; } - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return brandVariant - **/ + */ @ApiModelProperty(required = true, value = "The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrandVariant() { return brandVariant; } - - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param brandVariant - */ + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + */ @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandVariant(String brandVariant) { this.brandVariant = brandVariant; } - + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardholderName(String cardholderName) { this.cardholderName = cardholderName; return this; } - /** + /** * The name of the cardholder. Maximum length: 26 characters. * @return cardholderName - **/ + */ @ApiModelProperty(required = true, value = "The name of the cardholder. Maximum length: 26 characters.") @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardholderName() { return cardholderName; } - - /** - * The name of the cardholder. Maximum length: 26 characters. - * - * @param cardholderName - */ + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + */ @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardholderName(String cardholderName) { this.cardholderName = cardholderName; } - + /** + * configuration + * + * @param configuration + * @return the current {@code Card} instance, allowing for method chaining + */ public Card configuration(CardConfiguration configuration) { this.configuration = configuration; return this; } - /** - * Get configuration + /** + * configuration * @return configuration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardConfiguration getConfiguration() { return configuration; } - - /** - * configuration - * - * @param configuration - */ + /** + * configuration + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(CardConfiguration configuration) { this.configuration = configuration; } - + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. * @return cvc - **/ + */ @ApiModelProperty(value = "The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. - * - * @param cvc - */ + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * deliveryContact + * + * @param deliveryContact + * @return the current {@code Card} instance, allowing for method chaining + */ public Card deliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; return this; } - /** - * Get deliveryContact + /** + * deliveryContact * @return deliveryContact - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryContact getDeliveryContact() { return deliveryContact; } - - /** - * deliveryContact - * - * @param deliveryContact - */ + /** + * deliveryContact + * + * @param deliveryContact + */ @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; } - + /** + * expiration + * + * @param expiration + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiration(Expiry expiration) { this.expiration = expiration; return this; } - /** - * Get expiration + /** + * expiration * @return expiration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Expiry getExpiration() { return expiration; } - - /** - * expiration - * - * @param expiration - */ + /** + * expiration + * + * @param expiration + */ @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiration(Expiry expiration) { this.expiration = expiration; } - + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + * @return the current {@code Card} instance, allowing for method chaining + */ public Card formFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; return this; } - /** + /** * The form factor of the card. Possible values: **virtual**, **physical**. * @return formFactor - **/ + */ @ApiModelProperty(required = true, value = "The form factor of the card. Possible values: **virtual**, **physical**.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FormFactorEnum getFormFactor() { return formFactor; } - - /** - * The form factor of the card. Possible values: **virtual**, **physical**. - * - * @param formFactor - */ + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; } - + /** + * Last last four digits of the card number. + * + * @param lastFour + * @return the current {@code Card} instance, allowing for method chaining + */ public Card lastFour(String lastFour) { this.lastFour = lastFour; return this; } - /** + /** * Last last four digits of the card number. * @return lastFour - **/ + */ @ApiModelProperty(value = "Last last four digits of the card number.") @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastFour() { return lastFour; } - - /** - * Last last four digits of the card number. - * - * @param lastFour - */ + /** + * Last last four digits of the card number. + * + * @param lastFour + */ @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastFour(String lastFour) { this.lastFour = lastFour; } - + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** - * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. * @return number - **/ + */ @ApiModelProperty(required = true, value = "The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. - * - * @param number - */ + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + * @return the current {@code Card} instance, allowing for method chaining + */ public Card threeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; return this; } - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return threeDSecure - **/ + */ @ApiModelProperty(value = "Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSecure() { return threeDSecure; } - - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param threeDSecure - */ + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + */ @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CardConfiguration.java b/src/main/java/com/adyen/model/balanceplatform/CardConfiguration.java index c9e461ec4..184e44f10 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CardConfiguration.java +++ b/src/main/java/com/adyen/model/balanceplatform/CardConfiguration.java @@ -94,426 +94,468 @@ public class CardConfiguration { public CardConfiguration() { } + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + * + * @param activation + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration activation(String activation) { this.activation = activation; return this; } - /** - * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. * @return activation - **/ + */ @ApiModelProperty(value = "Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.") @JsonProperty(JSON_PROPERTY_ACTIVATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getActivation() { return activation; } - - /** - * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. - * - * @param activation - */ + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + * + * @param activation + */ @JsonProperty(JSON_PROPERTY_ACTIVATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActivation(String activation) { this.activation = activation; } - + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + * + * @param activationUrl + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration activationUrl(String activationUrl) { this.activationUrl = activationUrl; return this; } - /** - * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. * @return activationUrl - **/ + */ @ApiModelProperty(value = "Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.") @JsonProperty(JSON_PROPERTY_ACTIVATION_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getActivationUrl() { return activationUrl; } - - /** - * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. - * - * @param activationUrl - */ + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + * + * @param activationUrl + */ @JsonProperty(JSON_PROPERTY_ACTIVATION_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActivationUrl(String activationUrl) { this.activationUrl = activationUrl; } - + /** + * bulkAddress + * + * @param bulkAddress + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration bulkAddress(BulkAddress bulkAddress) { this.bulkAddress = bulkAddress; return this; } - /** - * Get bulkAddress + /** + * bulkAddress * @return bulkAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BULK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BulkAddress getBulkAddress() { return bulkAddress; } - - /** - * bulkAddress - * - * @param bulkAddress - */ + /** + * bulkAddress + * + * @param bulkAddress + */ @JsonProperty(JSON_PROPERTY_BULK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBulkAddress(BulkAddress bulkAddress) { this.bulkAddress = bulkAddress; } - + /** + * The ID of the card image. This is the image that will be printed on the full front of the card. + * + * @param cardImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration cardImageId(String cardImageId) { this.cardImageId = cardImageId; return this; } - /** + /** * The ID of the card image. This is the image that will be printed on the full front of the card. * @return cardImageId - **/ + */ @ApiModelProperty(value = "The ID of the card image. This is the image that will be printed on the full front of the card.") @JsonProperty(JSON_PROPERTY_CARD_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardImageId() { return cardImageId; } - - /** - * The ID of the card image. This is the image that will be printed on the full front of the card. - * - * @param cardImageId - */ + /** + * The ID of the card image. This is the image that will be printed on the full front of the card. + * + * @param cardImageId + */ @JsonProperty(JSON_PROPERTY_CARD_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardImageId(String cardImageId) { this.cardImageId = cardImageId; } - + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + * + * @param carrier + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration carrier(String carrier) { this.carrier = carrier; return this; } - /** - * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. * @return carrier - **/ + */ @ApiModelProperty(value = "Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.") @JsonProperty(JSON_PROPERTY_CARRIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarrier() { return carrier; } - - /** - * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. - * - * @param carrier - */ + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + * + * @param carrier + */ @JsonProperty(JSON_PROPERTY_CARRIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarrier(String carrier) { this.carrier = carrier; } - + /** + * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. + * + * @param carrierImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration carrierImageId(String carrierImageId) { this.carrierImageId = carrierImageId; return this; } - /** + /** * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. * @return carrierImageId - **/ + */ @ApiModelProperty(value = "The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.") @JsonProperty(JSON_PROPERTY_CARRIER_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarrierImageId() { return carrierImageId; } - - /** - * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. - * - * @param carrierImageId - */ + /** + * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. + * + * @param carrierImageId + */ @JsonProperty(JSON_PROPERTY_CARRIER_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarrierImageId(String carrierImageId) { this.carrierImageId = carrierImageId; } - + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + * + * @param configurationProfileId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration configurationProfileId(String configurationProfileId) { this.configurationProfileId = configurationProfileId; return this; } - /** - * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. * @return configurationProfileId - **/ + */ @ApiModelProperty(required = true, value = "The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.") @JsonProperty(JSON_PROPERTY_CONFIGURATION_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConfigurationProfileId() { return configurationProfileId; } - - /** - * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. - * - * @param configurationProfileId - */ + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + * + * @param configurationProfileId + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfigurationProfileId(String configurationProfileId) { this.configurationProfileId = configurationProfileId; } - + /** + * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. + * + * @param currency + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. * @return currency - **/ + */ @ApiModelProperty(value = "The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. - * - * @param currency - */ + /** + * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. + * + * @param envelope + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration envelope(String envelope) { this.envelope = envelope; return this; } - /** - * Overrides the envelope design ID defined in the `configurationProfileId`. + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. * @return envelope - **/ + */ @ApiModelProperty(value = "Overrides the envelope design ID defined in the `configurationProfileId`. ") @JsonProperty(JSON_PROPERTY_ENVELOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvelope() { return envelope; } - - /** - * Overrides the envelope design ID defined in the `configurationProfileId`. - * - * @param envelope - */ + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. + * + * @param envelope + */ @JsonProperty(JSON_PROPERTY_ENVELOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvelope(String envelope) { this.envelope = envelope; } - + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + * + * @param insert + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration insert(String insert) { this.insert = insert; return this; } - /** - * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. * @return insert - **/ + */ @ApiModelProperty(value = "Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.") @JsonProperty(JSON_PROPERTY_INSERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInsert() { return insert; } - - /** - * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. - * - * @param insert - */ + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + * + * @param insert + */ @JsonProperty(JSON_PROPERTY_INSERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInsert(String insert) { this.insert = insert; } - + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. + * + * @param language + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration language(String language) { this.language = language; return this; } - /** + /** * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. * @return language - **/ + */ @ApiModelProperty(value = "The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. - * - * @param language - */ + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. + * + * @param logoImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration logoImageId(String logoImageId) { this.logoImageId = logoImageId; return this; } - /** + /** * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. * @return logoImageId - **/ + */ @ApiModelProperty(value = "The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.") @JsonProperty(JSON_PROPERTY_LOGO_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogoImageId() { return logoImageId; } - - /** - * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. - * - * @param logoImageId - */ + /** + * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. + * + * @param logoImageId + */ @JsonProperty(JSON_PROPERTY_LOGO_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogoImageId(String logoImageId) { this.logoImageId = logoImageId; } - + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + * + * @param pinMailer + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration pinMailer(String pinMailer) { this.pinMailer = pinMailer; return this; } - /** - * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. * @return pinMailer - **/ + */ @ApiModelProperty(value = "Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.") @JsonProperty(JSON_PROPERTY_PIN_MAILER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPinMailer() { return pinMailer; } - - /** - * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. - * - * @param pinMailer - */ + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + * + * @param pinMailer + */ @JsonProperty(JSON_PROPERTY_PIN_MAILER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPinMailer(String pinMailer) { this.pinMailer = pinMailer; } - + /** + * Overrides the logistics company defined in the `configurationProfileId`. + * + * @param shipmentMethod + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration shipmentMethod(String shipmentMethod) { this.shipmentMethod = shipmentMethod; return this; } - /** - * Overrides the logistics company defined in the `configurationProfileId`. + /** + * Overrides the logistics company defined in the `configurationProfileId`. * @return shipmentMethod - **/ + */ @ApiModelProperty(value = "Overrides the logistics company defined in the `configurationProfileId`.") @JsonProperty(JSON_PROPERTY_SHIPMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipmentMethod() { return shipmentMethod; } - - /** - * Overrides the logistics company defined in the `configurationProfileId`. - * - * @param shipmentMethod - */ + /** + * Overrides the logistics company defined in the `configurationProfileId`. + * + * @param shipmentMethod + */ @JsonProperty(JSON_PROPERTY_SHIPMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipmentMethod(String shipmentMethod) { this.shipmentMethod = shipmentMethod; } - /** * Return true if this CardConfiguration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CardInfo.java b/src/main/java/com/adyen/model/balanceplatform/CardInfo.java index 1da915443..d030b525c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CardInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/CardInfo.java @@ -109,246 +109,270 @@ public static FormFactorEnum fromValue(String value) { public CardInfo() { } + /** + * authentication + * + * @param authentication + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo authentication(Authentication authentication) { this.authentication = authentication; return this; } - /** - * Get authentication + /** + * authentication * @return authentication - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Authentication getAuthentication() { return authentication; } - - /** - * authentication - * - * @param authentication - */ + /** + * authentication + * + * @param authentication + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthentication(Authentication authentication) { this.authentication = authentication; } - + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo brand(String brand) { this.brand = brand; return this; } - /** + /** * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. * @return brand - **/ + */ @ApiModelProperty(required = true, value = "The brand of the physical or the virtual card. Possible values: **visa**, **mc**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. - * - * @param brand - */ + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo brandVariant(String brandVariant) { this.brandVariant = brandVariant; return this; } - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return brandVariant - **/ + */ @ApiModelProperty(required = true, value = "The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrandVariant() { return brandVariant; } - - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param brandVariant - */ + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + */ @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandVariant(String brandVariant) { this.brandVariant = brandVariant; } - + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo cardholderName(String cardholderName) { this.cardholderName = cardholderName; return this; } - /** + /** * The name of the cardholder. Maximum length: 26 characters. * @return cardholderName - **/ + */ @ApiModelProperty(required = true, value = "The name of the cardholder. Maximum length: 26 characters.") @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardholderName() { return cardholderName; } - - /** - * The name of the cardholder. Maximum length: 26 characters. - * - * @param cardholderName - */ + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + */ @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardholderName(String cardholderName) { this.cardholderName = cardholderName; } - + /** + * configuration + * + * @param configuration + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo configuration(CardConfiguration configuration) { this.configuration = configuration; return this; } - /** - * Get configuration + /** + * configuration * @return configuration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardConfiguration getConfiguration() { return configuration; } - - /** - * configuration - * - * @param configuration - */ + /** + * configuration + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(CardConfiguration configuration) { this.configuration = configuration; } - + /** + * deliveryContact + * + * @param deliveryContact + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo deliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; return this; } - /** - * Get deliveryContact + /** + * deliveryContact * @return deliveryContact - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryContact getDeliveryContact() { return deliveryContact; } - - /** - * deliveryContact - * - * @param deliveryContact - */ + /** + * deliveryContact + * + * @param deliveryContact + */ @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; } - + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo formFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; return this; } - /** + /** * The form factor of the card. Possible values: **virtual**, **physical**. * @return formFactor - **/ + */ @ApiModelProperty(required = true, value = "The form factor of the card. Possible values: **virtual**, **physical**.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FormFactorEnum getFormFactor() { return formFactor; } - - /** - * The form factor of the card. Possible values: **virtual**, **physical**. - * - * @param formFactor - */ + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; } - + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + * @return the current {@code CardInfo} instance, allowing for method chaining + */ public CardInfo threeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; return this; } - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return threeDSecure - **/ + */ @ApiModelProperty(value = "Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSecure() { return threeDSecure; } - - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param threeDSecure - */ + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + */ @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; } - /** * Return true if this CardInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CardOrder.java b/src/main/java/com/adyen/model/balanceplatform/CardOrder.java index 801239458..9ec24f746 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CardOrder.java +++ b/src/main/java/com/adyen/model/balanceplatform/CardOrder.java @@ -105,246 +105,270 @@ public static StatusEnum fromValue(String value) { public CardOrder() { } + /** + * The date when the card order is created. + * + * @param beginDate + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder beginDate(OffsetDateTime beginDate) { this.beginDate = beginDate; return this; } - /** + /** * The date when the card order is created. * @return beginDate - **/ + */ @ApiModelProperty(value = "The date when the card order is created.") @JsonProperty(JSON_PROPERTY_BEGIN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getBeginDate() { return beginDate; } - - /** - * The date when the card order is created. - * - * @param beginDate - */ + /** + * The date when the card order is created. + * + * @param beginDate + */ @JsonProperty(JSON_PROPERTY_BEGIN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBeginDate(OffsetDateTime beginDate) { this.beginDate = beginDate; } - + /** + * The unique identifier of the card manufacturer profile. + * + * @param cardManufacturingProfileId + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder cardManufacturingProfileId(String cardManufacturingProfileId) { this.cardManufacturingProfileId = cardManufacturingProfileId; return this; } - /** + /** * The unique identifier of the card manufacturer profile. * @return cardManufacturingProfileId - **/ + */ @ApiModelProperty(value = "The unique identifier of the card manufacturer profile.") @JsonProperty(JSON_PROPERTY_CARD_MANUFACTURING_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardManufacturingProfileId() { return cardManufacturingProfileId; } - - /** - * The unique identifier of the card manufacturer profile. - * - * @param cardManufacturingProfileId - */ + /** + * The unique identifier of the card manufacturer profile. + * + * @param cardManufacturingProfileId + */ @JsonProperty(JSON_PROPERTY_CARD_MANUFACTURING_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardManufacturingProfileId(String cardManufacturingProfileId) { this.cardManufacturingProfileId = cardManufacturingProfileId; } - + /** + * The date when the card order processing ends. + * + * @param closedDate + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder closedDate(OffsetDateTime closedDate) { this.closedDate = closedDate; return this; } - /** + /** * The date when the card order processing ends. * @return closedDate - **/ + */ @ApiModelProperty(value = "The date when the card order processing ends.") @JsonProperty(JSON_PROPERTY_CLOSED_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getClosedDate() { return closedDate; } - - /** - * The date when the card order processing ends. - * - * @param closedDate - */ + /** + * The date when the card order processing ends. + * + * @param closedDate + */ @JsonProperty(JSON_PROPERTY_CLOSED_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClosedDate(OffsetDateTime closedDate) { this.closedDate = closedDate; } - + /** + * The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`. + * + * @param endDate + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder endDate(OffsetDateTime endDate) { this.endDate = endDate; return this; } - /** - * The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`. + /** + * The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`. * @return endDate - **/ + */ @ApiModelProperty(value = "The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.") @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEndDate() { return endDate; } - - /** - * The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`. - * - * @param endDate - */ + /** + * The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`. + * + * @param endDate + */ @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndDate(OffsetDateTime endDate) { this.endDate = endDate; } - + /** + * The unique identifier of the card order. + * + * @param id + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the card order. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the card order.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the card order. - * - * @param id - */ + /** + * The unique identifier of the card order. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The date when the card order processing begins. + * + * @param lockDate + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder lockDate(OffsetDateTime lockDate) { this.lockDate = lockDate; return this; } - /** + /** * The date when the card order processing begins. * @return lockDate - **/ + */ @ApiModelProperty(value = "The date when the card order processing begins.") @JsonProperty(JSON_PROPERTY_LOCK_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLockDate() { return lockDate; } - - /** - * The date when the card order processing begins. - * - * @param lockDate - */ + /** + * The date when the card order processing begins. + * + * @param lockDate + */ @JsonProperty(JSON_PROPERTY_LOCK_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLockDate(OffsetDateTime lockDate) { this.lockDate = lockDate; } - + /** + * The service center. + * + * @param serviceCenter + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder serviceCenter(String serviceCenter) { this.serviceCenter = serviceCenter; return this; } - /** + /** * The service center. * @return serviceCenter - **/ + */ @ApiModelProperty(value = "The service center.") @JsonProperty(JSON_PROPERTY_SERVICE_CENTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getServiceCenter() { return serviceCenter; } - - /** - * The service center. - * - * @param serviceCenter - */ + /** + * The service center. + * + * @param serviceCenter + */ @JsonProperty(JSON_PROPERTY_SERVICE_CENTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setServiceCenter(String serviceCenter) { this.serviceCenter = serviceCenter; } - + /** + * The status of the card order. Possible values: **Open**, **Closed**. + * + * @param status + * @return the current {@code CardOrder} instance, allowing for method chaining + */ public CardOrder status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the card order. Possible values: **Open**, **Closed**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the card order. Possible values: **Open**, **Closed**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the card order. Possible values: **Open**, **Closed**. - * - * @param status - */ + /** + * The status of the card order. Possible values: **Open**, **Closed**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this CardOrder object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CardOrderItem.java b/src/main/java/com/adyen/model/balanceplatform/CardOrderItem.java index 6bbaf4bd3..92ed4c325 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CardOrderItem.java +++ b/src/main/java/com/adyen/model/balanceplatform/CardOrderItem.java @@ -71,246 +71,270 @@ public class CardOrderItem { public CardOrderItem() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * card + * + * @param card + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem card(CardOrderItemDeliveryStatus card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardOrderItemDeliveryStatus getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(CardOrderItemDeliveryStatus card) { this.card = card; } - + /** + * The unique identifier of the card order item. + * + * @param cardOrderItemId + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem cardOrderItemId(String cardOrderItemId) { this.cardOrderItemId = cardOrderItemId; return this; } - /** + /** * The unique identifier of the card order item. * @return cardOrderItemId - **/ + */ @ApiModelProperty(value = "The unique identifier of the card order item.") @JsonProperty(JSON_PROPERTY_CARD_ORDER_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardOrderItemId() { return cardOrderItemId; } - - /** - * The unique identifier of the card order item. - * - * @param cardOrderItemId - */ + /** + * The unique identifier of the card order item. + * + * @param cardOrderItemId + */ @JsonProperty(JSON_PROPERTY_CARD_ORDER_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardOrderItemId(String cardOrderItemId) { this.cardOrderItemId = cardOrderItemId; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the payment instrument related to the card order item. + * + * @param paymentInstrumentId + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument related to the card order item. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the payment instrument related to the card order item.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument related to the card order item. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument related to the card order item. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * pin + * + * @param pin + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem pin(CardOrderItemDeliveryStatus pin) { this.pin = pin; return this; } - /** - * Get pin + /** + * pin * @return pin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardOrderItemDeliveryStatus getPin() { return pin; } - - /** - * pin - * - * @param pin - */ + /** + * pin + * + * @param pin + */ @JsonProperty(JSON_PROPERTY_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPin(CardOrderItemDeliveryStatus pin) { this.pin = pin; } - + /** + * The shipping method used to deliver the card or the PIN. + * + * @param shippingMethod + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem shippingMethod(String shippingMethod) { this.shippingMethod = shippingMethod; return this; } - /** + /** * The shipping method used to deliver the card or the PIN. * @return shippingMethod - **/ + */ @ApiModelProperty(value = "The shipping method used to deliver the card or the PIN.") @JsonProperty(JSON_PROPERTY_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShippingMethod() { return shippingMethod; } - - /** - * The shipping method used to deliver the card or the PIN. - * - * @param shippingMethod - */ + /** + * The shipping method used to deliver the card or the PIN. + * + * @param shippingMethod + */ @JsonProperty(JSON_PROPERTY_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShippingMethod(String shippingMethod) { this.shippingMethod = shippingMethod; } - /** * Return true if this CardOrderItem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CardOrderItemDeliveryStatus.java b/src/main/java/com/adyen/model/balanceplatform/CardOrderItemDeliveryStatus.java index ef5e274dc..d4d184bdf 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CardOrderItemDeliveryStatus.java +++ b/src/main/java/com/adyen/model/balanceplatform/CardOrderItemDeliveryStatus.java @@ -96,96 +96,105 @@ public static StatusEnum fromValue(String value) { public CardOrderItemDeliveryStatus() { } + /** + * An error message. + * + * @param errorMessage + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } - /** + /** * An error message. * @return errorMessage - **/ + */ @ApiModelProperty(value = "An error message.") @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorMessage() { return errorMessage; } - - /** - * An error message. - * - * @param errorMessage - */ + /** + * An error message. + * + * @param errorMessage + */ @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - + /** + * The status of the PIN delivery. + * + * @param status + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the PIN delivery. * @return status - **/ + */ @ApiModelProperty(value = "The status of the PIN delivery.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the PIN delivery. - * - * @param status - */ + /** + * The status of the PIN delivery. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The tracking number of the PIN delivery. + * + * @param trackingNumber + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus trackingNumber(String trackingNumber) { this.trackingNumber = trackingNumber; return this; } - /** + /** * The tracking number of the PIN delivery. * @return trackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number of the PIN delivery.") @JsonProperty(JSON_PROPERTY_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTrackingNumber() { return trackingNumber; } - - /** - * The tracking number of the PIN delivery. - * - * @param trackingNumber - */ + /** + * The tracking number of the PIN delivery. + * + * @param trackingNumber + */ @JsonProperty(JSON_PROPERTY_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingNumber(String trackingNumber) { this.trackingNumber = trackingNumber; } - /** * Return true if this CardOrderItemDeliveryStatus object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/ContactDetails.java b/src/main/java/com/adyen/model/balanceplatform/ContactDetails.java index 2a3ddefdd..f0aade0bb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/ContactDetails.java +++ b/src/main/java/com/adyen/model/balanceplatform/ContactDetails.java @@ -31,7 +31,7 @@ /** * ContactDetails - * @deprecated + * @deprecated */ @Deprecated @JsonPropertyOrder({ @@ -57,126 +57,138 @@ public class ContactDetails { public ContactDetails() { } + /** + * address + * + * @param address + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The email address of the account holder. + * + * @param email + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails email(String email) { this.email = email; return this; } - /** + /** * The email address of the account holder. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the account holder.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the account holder. - * - * @param email - */ + /** + * The email address of the account holder. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * phone + * + * @param phone + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails phone(Phone phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(Phone phone) { this.phone = phone; } - + /** + * The URL of the account holder's website. + * + * @param webAddress + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails webAddress(String webAddress) { this.webAddress = webAddress; return this; } - /** - * The URL of the account holder's website. + /** + * The URL of the account holder's website. * @return webAddress - **/ + */ @ApiModelProperty(value = "The URL of the account holder's website.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddress() { return webAddress; } - - /** - * The URL of the account holder's website. - * - * @param webAddress - */ + /** + * The URL of the account holder's website. + * + * @param webAddress + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddress(String webAddress) { this.webAddress = webAddress; } - /** * Return true if this ContactDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Counterparty.java b/src/main/java/com/adyen/model/balanceplatform/Counterparty.java index 56ea21449..b1cac56aa 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Counterparty.java +++ b/src/main/java/com/adyen/model/balanceplatform/Counterparty.java @@ -46,66 +46,72 @@ public class Counterparty { public Counterparty() { } + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code Counterparty} instance, allowing for method chaining + */ public Counterparty bankAccount(BankAccount bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccount bankAccount) { this.bankAccount = bankAccount; } - + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * + * @param transferInstrumentId + * @return the current {@code Counterparty} instance, allowing for method chaining + */ public Counterparty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this Counterparty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CounterpartyBankRestriction.java b/src/main/java/com/adyen/model/balanceplatform/CounterpartyBankRestriction.java index d2a498263..6ec69626a 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CounterpartyBankRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/CounterpartyBankRestriction.java @@ -48,36 +48,45 @@ public class CounterpartyBankRestriction { public CounterpartyBankRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code CounterpartyBankRestriction} instance, allowing for method chaining + */ public CounterpartyBankRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of counterparty Bank Institutions and the operation. + * + * @param value + * @return the current {@code CounterpartyBankRestriction} instance, allowing for method chaining + */ public CounterpartyBankRestriction value(List value) { this.value = value; return this; @@ -91,31 +100,28 @@ public CounterpartyBankRestriction addValueItem(BankIdentification valueItem) { return this; } - /** + /** * List of counterparty Bank Institutions and the operation. * @return value - **/ + */ @ApiModelProperty(value = "List of counterparty Bank Institutions and the operation.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of counterparty Bank Institutions and the operation. - * - * @param value - */ + /** + * List of counterparty Bank Institutions and the operation. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this CounterpartyBankRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CountriesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/CountriesRestriction.java index d6a8fc06d..90eaf9209 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CountriesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/CountriesRestriction.java @@ -47,36 +47,45 @@ public class CountriesRestriction { public CountriesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code CountriesRestriction} instance, allowing for method chaining + */ public CountriesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + * + * @param value + * @return the current {@code CountriesRestriction} instance, allowing for method chaining + */ public CountriesRestriction value(List value) { this.value = value; return this; @@ -90,31 +99,28 @@ public CountriesRestriction addValueItem(String valueItem) { return this; } - /** + /** * List of two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. * @return value - **/ + */ @ApiModelProperty(value = "List of two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. - * - * @param value - */ + /** + * List of two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this CountriesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java b/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java index 139daa73d..66556184c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java @@ -152,6 +152,8 @@ public static PrioritiesEnum fromValue(String value) { * The reason for disabling the sweep. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -174,18 +176,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -315,126 +323,144 @@ public static TypeEnum fromValue(String value) { public CreateSweepConfigurationV2() { } + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + * + * @param category + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 category(CategoryEnum category) { this.category = category; return this; } - /** - * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. * @return category - **/ + */ @ApiModelProperty(value = "The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. - * - * @param category - */ + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 counterparty(SweepCounterparty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepCounterparty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(SweepCounterparty counterparty) { this.counterparty = counterparty; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). + * + * @param currency + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + * + * @param description + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 description(String description) { this.description = description; return this; } - /** - * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. * @return description - **/ + */ @ApiModelProperty(value = "The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. - * - * @param description - */ + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 priorities(List priorities) { this.priorities = priorities; return this; @@ -448,301 +474,325 @@ public CreateSweepConfigurationV2 addPrioritiesItem(PrioritiesEnum prioritiesIte return this; } - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). * @return priorities - **/ + */ @ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - + /** + * The reason for disabling the sweep. + * + * @param reason + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for disabling the sweep. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for disabling the sweep.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for disabling the sweep. - * - * @param reason - */ + /** + * The reason for disabling the sweep. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the sweep configuration. + * + * @param reference + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the sweep configuration. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the sweep configuration.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the sweep configuration. - * - * @param reference - */ + /** + * Your reference for the sweep configuration. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** + /** * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = "The reference sent to or received from the counterparty. Only alphanumeric characters are allowed.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. - * - * @param referenceForBeneficiary - */ + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } - + /** + * schedule + * + * @param schedule + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 schedule(SweepSchedule schedule) { this.schedule = schedule; return this; } - /** - * Get schedule + /** + * schedule * @return schedule - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepSchedule getSchedule() { return schedule; } - - /** - * schedule - * - * @param schedule - */ + /** + * schedule + * + * @param schedule + */ @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedule(SweepSchedule schedule) { this.schedule = schedule; } - + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. * @return status - **/ + */ @ApiModelProperty(value = "The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. - * - * @param status - */ + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * sweepAmount + * + * @param sweepAmount + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 sweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; return this; } - /** - * Get sweepAmount + /** + * sweepAmount * @return sweepAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSweepAmount() { return sweepAmount; } - - /** - * sweepAmount - * - * @param sweepAmount - */ + /** + * sweepAmount + * + * @param sweepAmount + */ @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; } - + /** + * targetAmount + * + * @param targetAmount + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 targetAmount(Amount targetAmount) { this.targetAmount = targetAmount; return this; } - /** - * Get targetAmount + /** + * targetAmount * @return targetAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTargetAmount() { return targetAmount; } - - /** - * targetAmount - * - * @param targetAmount - */ + /** + * targetAmount + * + * @param targetAmount + */ @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAmount(Amount targetAmount) { this.targetAmount = targetAmount; } - + /** + * triggerAmount + * + * @param triggerAmount + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 triggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; return this; } - /** - * Get triggerAmount + /** + * triggerAmount * @return triggerAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTriggerAmount() { return triggerAmount; } - - /** - * triggerAmount - * - * @param triggerAmount - */ + /** + * triggerAmount + * + * @param triggerAmount + */ @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; } - + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + * @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining + */ public CreateSweepConfigurationV2 type(TypeEnum type) { this.type = type; return this; } - /** + /** * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. * @return type - **/ + */ @ApiModelProperty(value = "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. - * - * @param type - */ + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CreateSweepConfigurationV2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java index 7cb3fc094..b6fcb235a 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public DKLocalAccountIdentification() { } + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). - * - * @param accountNumber - */ + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Registreringsnummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). - * - * @param bankCode - */ + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **dkLocal** + * + * @param type + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**dkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dkLocal** - * - * @param type - */ + /** + * **dkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DayOfWeekRestriction.java b/src/main/java/com/adyen/model/balanceplatform/DayOfWeekRestriction.java index ddb1760ff..79a6122b8 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DayOfWeekRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/DayOfWeekRestriction.java @@ -92,36 +92,45 @@ public static ValueEnum fromValue(String value) { public DayOfWeekRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code DayOfWeekRestriction} instance, allowing for method chaining + */ public DayOfWeekRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. + * + * @param value + * @return the current {@code DayOfWeekRestriction} instance, allowing for method chaining + */ public DayOfWeekRestriction value(List value) { this.value = value; return this; @@ -135,31 +144,28 @@ public DayOfWeekRestriction addValueItem(ValueEnum valueItem) { return this; } - /** + /** * List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. * @return value - **/ + */ @ApiModelProperty(value = "List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. - * - * @param value - */ + /** + * List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this DayOfWeekRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DelegatedAuthenticationData.java b/src/main/java/com/adyen/model/balanceplatform/DelegatedAuthenticationData.java index c6a2a6478..9922a16fa 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DelegatedAuthenticationData.java +++ b/src/main/java/com/adyen/model/balanceplatform/DelegatedAuthenticationData.java @@ -41,36 +41,39 @@ public class DelegatedAuthenticationData { public DelegatedAuthenticationData() { } + /** + * A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK. + * + * @param sdkOutput + * @return the current {@code DelegatedAuthenticationData} instance, allowing for method chaining + */ public DelegatedAuthenticationData sdkOutput(String sdkOutput) { this.sdkOutput = sdkOutput; return this; } - /** + /** * A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK. * @return sdkOutput - **/ + */ @ApiModelProperty(required = true, value = "A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK.") @JsonProperty(JSON_PROPERTY_SDK_OUTPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkOutput() { return sdkOutput; } - - /** - * A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK. - * - * @param sdkOutput - */ + /** + * A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK. + * + * @param sdkOutput + */ @JsonProperty(JSON_PROPERTY_SDK_OUTPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkOutput(String sdkOutput) { this.sdkOutput = sdkOutput; } - /** * Return true if this DelegatedAuthenticationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DeliveryAddress.java b/src/main/java/com/adyen/model/balanceplatform/DeliveryAddress.java index ec1f95080..2641319c6 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DeliveryAddress.java +++ b/src/main/java/com/adyen/model/balanceplatform/DeliveryAddress.java @@ -65,216 +65,237 @@ public class DeliveryAddress { public DeliveryAddress() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. + * + * @param line1 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line1(String line1) { this.line1 = line1; return this; } - /** + /** * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. * @return line1 - **/ + */ @ApiModelProperty(value = "The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. - * - * @param line1 - */ + /** + * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. + * + * @param line2 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line2(String line2) { this.line2 = line2; return this; } - /** + /** * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. * @return line2 - **/ + */ @ApiModelProperty(value = "The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. - * - * @param line2 - */ + /** + * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * Additional information about the delivery address. + * + * @param line3 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line3(String line3) { this.line3 = line3; return this; } - /** + /** * Additional information about the delivery address. * @return line3 - **/ + */ @ApiModelProperty(value = "Additional information about the delivery address.") @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine3() { return line3; } - - /** - * Additional information about the delivery address. - * - * @param line3 - */ + /** + * Additional information about the delivery address. + * + * @param line3 + */ @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine3(String line3) { this.line3 = line3; } - + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this DeliveryAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DeliveryContact.java b/src/main/java/com/adyen/model/balanceplatform/DeliveryContact.java index dc34dc829..4ab04e751 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DeliveryContact.java +++ b/src/main/java/com/adyen/model/balanceplatform/DeliveryContact.java @@ -68,216 +68,237 @@ public class DeliveryContact { public DeliveryContact() { } + /** + * address + * + * @param address + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact address(DeliveryAddress address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(DeliveryAddress address) { this.address = address; } - + /** + * The company name of the contact. + * + * @param company + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact company(String company) { this.company = company; return this; } - /** + /** * The company name of the contact. * @return company - **/ + */ @ApiModelProperty(value = "The company name of the contact.") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompany() { return company; } - - /** - * The company name of the contact. - * - * @param company - */ + /** + * The company name of the contact. + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(String company) { this.company = company; } - + /** + * The email address of the contact. + * + * @param email + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact email(String email) { this.email = email; return this; } - /** + /** * The email address of the contact. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the contact.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the contact. - * - * @param email - */ + /** + * The email address of the contact. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + * + * @param fullPhoneNumber + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact fullPhoneNumber(String fullPhoneNumber) { this.fullPhoneNumber = fullPhoneNumber; return this; } - /** - * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" * @return fullPhoneNumber - **/ + */ @ApiModelProperty(value = "The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"") @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFullPhoneNumber() { return fullPhoneNumber; } - - /** - * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" - * - * @param fullPhoneNumber - */ + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + * + * @param fullPhoneNumber + */ @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullPhoneNumber(String fullPhoneNumber) { this.fullPhoneNumber = fullPhoneNumber; } - + /** + * name + * + * @param name + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * phoneNumber + * + * @param phoneNumber + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact phoneNumber(PhoneNumber phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * Get phoneNumber + /** + * phoneNumber * @return phoneNumber - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PhoneNumber getPhoneNumber() { return phoneNumber; } - - /** - * phoneNumber - * - * @param phoneNumber - */ + /** + * phoneNumber + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(PhoneNumber phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * The URL of the contact's website. + * + * @param webAddress + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact webAddress(String webAddress) { this.webAddress = webAddress; return this; } - /** - * The URL of the contact's website. + /** + * The URL of the contact's website. * @return webAddress - **/ + */ @ApiModelProperty(value = "The URL of the contact's website.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddress() { return webAddress; } - - /** - * The URL of the contact's website. - * - * @param webAddress - */ + /** + * The URL of the contact's website. + * + * @param webAddress + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddress(String webAddress) { this.webAddress = webAddress; } - /** * Return true if this DeliveryContact object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Device.java b/src/main/java/com/adyen/model/balanceplatform/Device.java index dc8ba1e6d..01f052bf7 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Device.java +++ b/src/main/java/com/adyen/model/balanceplatform/Device.java @@ -90,126 +90,138 @@ public static TypeEnum fromValue(String value) { public Device() { } + /** + * The unique identifier of the SCA device. + * + * @param id + * @return the current {@code Device} instance, allowing for method chaining + */ public Device id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the SCA device. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the SCA device.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the SCA device. - * - * @param id - */ + /** + * The unique identifier of the SCA device. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The name of the SCA device. You can show this name to your user to help them identify the device. + * + * @param name + * @return the current {@code Device} instance, allowing for method chaining + */ public Device name(String name) { this.name = name; return this; } - /** + /** * The name of the SCA device. You can show this name to your user to help them identify the device. * @return name - **/ + */ @ApiModelProperty(value = "The name of the SCA device. You can show this name to your user to help them identify the device.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the SCA device. You can show this name to your user to help them identify the device. - * - * @param name - */ + /** + * The name of the SCA device. You can show this name to your user to help them identify the device. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The unique identifier of the payment instrument that is associated with the SCA device. + * + * @param paymentInstrumentId + * @return the current {@code Device} instance, allowing for method chaining + */ public Device paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument that is associated with the SCA device. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the payment instrument that is associated with the SCA device.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument that is associated with the SCA device. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument that is associated with the SCA device. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * The type of device. Possible values: **ios**, **android**, **browser**. + * + * @param type + * @return the current {@code Device} instance, allowing for method chaining + */ public Device type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of device. Possible values: **ios**, **android**, **browser**. * @return type - **/ + */ @ApiModelProperty(value = "The type of device. Possible values: **ios**, **android**, **browser**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of device. Possible values: **ios**, **android**, **browser**. - * - * @param type - */ + /** + * The type of device. Possible values: **ios**, **android**, **browser**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Device object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DeviceInfo.java b/src/main/java/com/adyen/model/balanceplatform/DeviceInfo.java index 1f532ab49..954e2b3a1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DeviceInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/DeviceInfo.java @@ -83,246 +83,276 @@ public class DeviceInfo { public DeviceInfo() { } + /** + * The technology used to capture the card details. + * + * @param cardCaptureTechnology + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo cardCaptureTechnology(String cardCaptureTechnology) { this.cardCaptureTechnology = cardCaptureTechnology; return this; } - /** + /** * The technology used to capture the card details. * @return cardCaptureTechnology - **/ + */ @ApiModelProperty(value = "The technology used to capture the card details.") @JsonProperty(JSON_PROPERTY_CARD_CAPTURE_TECHNOLOGY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardCaptureTechnology() { return cardCaptureTechnology; } - - /** - * The technology used to capture the card details. - * - * @param cardCaptureTechnology - */ + /** + * The technology used to capture the card details. + * + * @param cardCaptureTechnology + */ @JsonProperty(JSON_PROPERTY_CARD_CAPTURE_TECHNOLOGY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardCaptureTechnology(String cardCaptureTechnology) { this.cardCaptureTechnology = cardCaptureTechnology; } - + /** + * The name of the device. + * + * @param deviceName + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo deviceName(String deviceName) { this.deviceName = deviceName; return this; } - /** + /** * The name of the device. * @return deviceName - **/ + */ @ApiModelProperty(value = "The name of the device.") @JsonProperty(JSON_PROPERTY_DEVICE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceName() { return deviceName; } - - /** - * The name of the device. - * - * @param deviceName - */ + /** + * The name of the device. + * + * @param deviceName + */ @JsonProperty(JSON_PROPERTY_DEVICE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceName(String deviceName) { this.deviceName = deviceName; } - + /** + * The form factor of the device to be provisioned. + * + * @param formFactor + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo formFactor(String formFactor) { this.formFactor = formFactor; return this; } - /** + /** * The form factor of the device to be provisioned. * @return formFactor - **/ + */ @ApiModelProperty(value = "The form factor of the device to be provisioned.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFormFactor() { return formFactor; } - - /** - * The form factor of the device to be provisioned. - * - * @param formFactor - */ + /** + * The form factor of the device to be provisioned. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(String formFactor) { this.formFactor = formFactor; } - + /** + * The IMEI number of the device being provisioned. + * + * @param imei + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo imei(String imei) { this.imei = imei; return this; } - /** + /** * The IMEI number of the device being provisioned. * @return imei - **/ + */ @ApiModelProperty(value = "The IMEI number of the device being provisioned.") @JsonProperty(JSON_PROPERTY_IMEI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getImei() { return imei; } - - /** - * The IMEI number of the device being provisioned. - * - * @param imei - */ + /** + * The IMEI number of the device being provisioned. + * + * @param imei + */ @JsonProperty(JSON_PROPERTY_IMEI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setImei(String imei) { this.imei = imei; } - + /** + * The 2-digit device type provided on the ISO messages that the token is being provisioned to. + * + * @param isoDeviceType + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo isoDeviceType(String isoDeviceType) { this.isoDeviceType = isoDeviceType; return this; } - /** + /** * The 2-digit device type provided on the ISO messages that the token is being provisioned to. * @return isoDeviceType - **/ + */ @ApiModelProperty(value = "The 2-digit device type provided on the ISO messages that the token is being provisioned to.") @JsonProperty(JSON_PROPERTY_ISO_DEVICE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIsoDeviceType() { return isoDeviceType; } - - /** - * The 2-digit device type provided on the ISO messages that the token is being provisioned to. - * - * @param isoDeviceType - */ + /** + * The 2-digit device type provided on the ISO messages that the token is being provisioned to. + * + * @param isoDeviceType + */ @JsonProperty(JSON_PROPERTY_ISO_DEVICE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsoDeviceType(String isoDeviceType) { this.isoDeviceType = isoDeviceType; } - + /** + * The MSISDN of the device being provisioned. + * + * @param msisdn + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo msisdn(String msisdn) { this.msisdn = msisdn; return this; } - /** + /** * The MSISDN of the device being provisioned. * @return msisdn - **/ + */ @ApiModelProperty(value = "The MSISDN of the device being provisioned.") @JsonProperty(JSON_PROPERTY_MSISDN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMsisdn() { return msisdn; } - - /** - * The MSISDN of the device being provisioned. - * - * @param msisdn - */ + /** + * The MSISDN of the device being provisioned. + * + * @param msisdn + */ @JsonProperty(JSON_PROPERTY_MSISDN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMsisdn(String msisdn) { this.msisdn = msisdn; } - + /** + * The name of the device operating system. + * + * @param osName + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo osName(String osName) { this.osName = osName; return this; } - /** + /** * The name of the device operating system. * @return osName - **/ + */ @ApiModelProperty(value = "The name of the device operating system.") @JsonProperty(JSON_PROPERTY_OS_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsName() { return osName; } - - /** - * The name of the device operating system. - * - * @param osName - */ + /** + * The name of the device operating system. + * + * @param osName + */ @JsonProperty(JSON_PROPERTY_OS_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsName(String osName) { this.osName = osName; } - + /** + * The version of the device operating system. + * + * @param osVersion + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo osVersion(String osVersion) { this.osVersion = osVersion; return this; } - /** + /** * The version of the device operating system. * @return osVersion - **/ + */ @ApiModelProperty(value = "The version of the device operating system.") @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsVersion() { return osVersion; } - - /** - * The version of the device operating system. - * - * @param osVersion - */ + /** + * The version of the device operating system. + * + * @param osVersion + */ @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - + /** + * Different types of payments supported for the network token. + * + * @param paymentTypes + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo paymentTypes(List paymentTypes) { this.paymentTypes = paymentTypes; return this; @@ -336,91 +366,94 @@ public DeviceInfo addPaymentTypesItem(String paymentTypesItem) { return this; } - /** + /** * Different types of payments supported for the network token. * @return paymentTypes - **/ + */ @ApiModelProperty(value = "Different types of payments supported for the network token.") @JsonProperty(JSON_PROPERTY_PAYMENT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPaymentTypes() { return paymentTypes; } - - /** - * Different types of payments supported for the network token. - * - * @param paymentTypes - */ + /** + * Different types of payments supported for the network token. + * + * @param paymentTypes + */ @JsonProperty(JSON_PROPERTY_PAYMENT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentTypes(List paymentTypes) { this.paymentTypes = paymentTypes; } - + /** + * The serial number of the device. + * + * @param serialNumber + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } - /** + /** * The serial number of the device. * @return serialNumber - **/ + */ @ApiModelProperty(value = "The serial number of the device.") @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSerialNumber() { return serialNumber; } - - /** - * The serial number of the device. - * - * @param serialNumber - */ + /** + * The serial number of the device. + * + * @param serialNumber + */ @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } - + /** + * The architecture or technology used for network token storage. + * + * @param storageTechnology + * @return the current {@code DeviceInfo} instance, allowing for method chaining + */ public DeviceInfo storageTechnology(String storageTechnology) { this.storageTechnology = storageTechnology; return this; } - /** + /** * The architecture or technology used for network token storage. * @return storageTechnology - **/ + */ @ApiModelProperty(value = "The architecture or technology used for network token storage.") @JsonProperty(JSON_PROPERTY_STORAGE_TECHNOLOGY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStorageTechnology() { return storageTechnology; } - - /** - * The architecture or technology used for network token storage. - * - * @param storageTechnology - */ + /** + * The architecture or technology used for network token storage. + * + * @param storageTechnology + */ @JsonProperty(JSON_PROPERTY_STORAGE_TECHNOLOGY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorageTechnology(String storageTechnology) { this.storageTechnology = storageTechnology; } - /** * Return true if this DeviceInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/DifferentCurrenciesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/DifferentCurrenciesRestriction.java index 3a96f2a96..983b8e163 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DifferentCurrenciesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/DifferentCurrenciesRestriction.java @@ -45,66 +45,72 @@ public class DifferentCurrenciesRestriction { public DifferentCurrenciesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code DifferentCurrenciesRestriction} instance, allowing for method chaining + */ public DifferentCurrenciesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * Checks the currency of the payment against the currency of the payment instrument. Possible values: - **true**: The currency of the payment is different from the currency of the payment instrument. - **false**: The currencies are the same. + * + * @param value + * @return the current {@code DifferentCurrenciesRestriction} instance, allowing for method chaining + */ public DifferentCurrenciesRestriction value(Boolean value) { this.value = value; return this; } - /** + /** * Checks the currency of the payment against the currency of the payment instrument. Possible values: - **true**: The currency of the payment is different from the currency of the payment instrument. - **false**: The currencies are the same. * @return value - **/ + */ @ApiModelProperty(value = "Checks the currency of the payment against the currency of the payment instrument. Possible values: - **true**: The currency of the payment is different from the currency of the payment instrument. - **false**: The currencies are the same. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getValue() { return value; } - - /** - * Checks the currency of the payment against the currency of the payment instrument. Possible values: - **true**: The currency of the payment is different from the currency of the payment instrument. - **false**: The currencies are the same. - * - * @param value - */ + /** + * Checks the currency of the payment against the currency of the payment instrument. Possible values: - **true**: The currency of the payment is different from the currency of the payment instrument. - **false**: The currencies are the same. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Boolean value) { this.value = value; } - /** * Return true if this DifferentCurrenciesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Duration.java b/src/main/java/com/adyen/model/balanceplatform/Duration.java index 905379e16..25b41b324 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Duration.java +++ b/src/main/java/com/adyen/model/balanceplatform/Duration.java @@ -86,66 +86,72 @@ public static UnitEnum fromValue(String value) { public Duration() { } + /** + * The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months** + * + * @param unit + * @return the current {@code Duration} instance, allowing for method chaining + */ public Duration unit(UnitEnum unit) { this.unit = unit; return this; } - /** - * The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months** + /** + * The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months** * @return unit - **/ + */ @ApiModelProperty(value = "The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months**") @JsonProperty(JSON_PROPERTY_UNIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UnitEnum getUnit() { return unit; } - - /** - * The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months** - * - * @param unit - */ + /** + * The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**. Possible values: **minutes**, **hours**, **days**, **weeks**, or **months** + * + * @param unit + */ @JsonProperty(JSON_PROPERTY_UNIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUnit(UnitEnum unit) { this.unit = unit; } - + /** + * The length of time by the unit. For example, 5 days. The maximum duration is 90 days or an equivalent in other units. For example, 3 months. + * + * @param value + * @return the current {@code Duration} instance, allowing for method chaining + */ public Duration value(Integer value) { this.value = value; return this; } - /** + /** * The length of time by the unit. For example, 5 days. The maximum duration is 90 days or an equivalent in other units. For example, 3 months. * @return value - **/ + */ @ApiModelProperty(value = "The length of time by the unit. For example, 5 days. The maximum duration is 90 days or an equivalent in other units. For example, 3 months.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getValue() { return value; } - - /** - * The length of time by the unit. For example, 5 days. The maximum duration is 90 days or an equivalent in other units. For example, 3 months. - * - * @param value - */ + /** + * The length of time by the unit. For example, 5 days. The maximum duration is 90 days or an equivalent in other units. For example, 3 months. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Integer value) { this.value = value; } - /** * Return true if this Duration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/EntryModesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/EntryModesRestriction.java index fdae449b8..487ecd3f1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/EntryModesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/EntryModesRestriction.java @@ -96,36 +96,45 @@ public static ValueEnum fromValue(String value) { public EntryModesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code EntryModesRestriction} instance, allowing for method chaining + */ public EntryModesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. + * + * @param value + * @return the current {@code EntryModesRestriction} instance, allowing for method chaining + */ public EntryModesRestriction value(List value) { this.value = value; return this; @@ -139,31 +148,28 @@ public EntryModesRestriction addValueItem(ValueEnum valueItem) { return this; } - /** + /** * List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. * @return value - **/ + */ @ApiModelProperty(value = "List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. - * - * @param value - */ + /** + * List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this EntryModesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Expiry.java b/src/main/java/com/adyen/model/balanceplatform/Expiry.java index fa45b7a2f..0471f45b7 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Expiry.java +++ b/src/main/java/com/adyen/model/balanceplatform/Expiry.java @@ -45,66 +45,72 @@ public class Expiry { public Expiry() { } + /** + * The month in which the card will expire. + * + * @param month + * @return the current {@code Expiry} instance, allowing for method chaining + */ public Expiry month(String month) { this.month = month; return this; } - /** + /** * The month in which the card will expire. * @return month - **/ + */ @ApiModelProperty(value = "The month in which the card will expire.") @JsonProperty(JSON_PROPERTY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMonth() { return month; } - - /** - * The month in which the card will expire. - * - * @param month - */ + /** + * The month in which the card will expire. + * + * @param month + */ @JsonProperty(JSON_PROPERTY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMonth(String month) { this.month = month; } - + /** + * The year in which the card will expire. + * + * @param year + * @return the current {@code Expiry} instance, allowing for method chaining + */ public Expiry year(String year) { this.year = year; return this; } - /** + /** * The year in which the card will expire. * @return year - **/ + */ @ApiModelProperty(value = "The year in which the card will expire.") @JsonProperty(JSON_PROPERTY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getYear() { return year; } - - /** - * The year in which the card will expire. - * - * @param year - */ + /** + * The year in which the card will expire. + * + * @param year + */ @JsonProperty(JSON_PROPERTY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setYear(String year) { this.year = year; } - /** * Return true if this Expiry object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Fee.java b/src/main/java/com/adyen/model/balanceplatform/Fee.java index f280994bb..2706da3fc 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Fee.java +++ b/src/main/java/com/adyen/model/balanceplatform/Fee.java @@ -42,36 +42,39 @@ public class Fee { public Fee() { } + /** + * amount + * + * @param amount + * @return the current {@code Fee} instance, allowing for method chaining + */ public Fee amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this Fee object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/GetNetworkTokenResponse.java b/src/main/java/com/adyen/model/balanceplatform/GetNetworkTokenResponse.java index 4d313b7bf..1efb2f631 100644 --- a/src/main/java/com/adyen/model/balanceplatform/GetNetworkTokenResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/GetNetworkTokenResponse.java @@ -42,36 +42,39 @@ public class GetNetworkTokenResponse { public GetNetworkTokenResponse() { } + /** + * token + * + * @param token + * @return the current {@code GetNetworkTokenResponse} instance, allowing for method chaining + */ public GetNetworkTokenResponse token(NetworkToken token) { this.token = token; return this; } - /** - * Get token + /** + * token * @return token - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkToken getToken() { return token; } - - /** - * token - * - * @param token - */ + /** + * token + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(NetworkToken token) { this.token = token; } - /** * Return true if this GetNetworkTokenResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/GetTaxFormResponse.java b/src/main/java/com/adyen/model/balanceplatform/GetTaxFormResponse.java index ce2963cdf..ad560d623 100644 --- a/src/main/java/com/adyen/model/balanceplatform/GetTaxFormResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/GetTaxFormResponse.java @@ -78,66 +78,72 @@ public static ContentTypeEnum fromValue(String value) { public GetTaxFormResponse() { } + /** + * The content of the tax form in Base64 format. + * + * @param content + * @return the current {@code GetTaxFormResponse} instance, allowing for method chaining + */ public GetTaxFormResponse content(byte[] content) { this.content = content; return this; } - /** + /** * The content of the tax form in Base64 format. * @return content - **/ + */ @ApiModelProperty(required = true, value = "The content of the tax form in Base64 format.") @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getContent() { return content; } - - /** - * The content of the tax form in Base64 format. - * - * @param content - */ + /** + * The content of the tax form in Base64 format. + * + * @param content + */ @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContent(byte[] content) { this.content = content; } - + /** + * The content type of the tax form. Possible values: * **application/pdf** + * + * @param contentType + * @return the current {@code GetTaxFormResponse} instance, allowing for method chaining + */ public GetTaxFormResponse contentType(ContentTypeEnum contentType) { this.contentType = contentType; return this; } - /** + /** * The content type of the tax form. Possible values: * **application/pdf** * @return contentType - **/ + */ @ApiModelProperty(value = "The content type of the tax form. Possible values: * **application/pdf** ") @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContentTypeEnum getContentType() { return contentType; } - - /** - * The content type of the tax form. Possible values: * **application/pdf** - * - * @param contentType - */ + /** + * The content type of the tax form. Possible values: * **application/pdf** + * + * @param contentType + */ @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContentType(ContentTypeEnum contentType) { this.contentType = contentType; } - /** * Return true if this GetTaxFormResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/GrantLimit.java b/src/main/java/com/adyen/model/balanceplatform/GrantLimit.java index 5974b1a44..fd5e8f2d6 100644 --- a/src/main/java/com/adyen/model/balanceplatform/GrantLimit.java +++ b/src/main/java/com/adyen/model/balanceplatform/GrantLimit.java @@ -42,36 +42,39 @@ public class GrantLimit { public GrantLimit() { } + /** + * amount + * + * @param amount + * @return the current {@code GrantLimit} instance, allowing for method chaining + */ public GrantLimit amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this GrantLimit object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/GrantOffer.java b/src/main/java/com/adyen/model/balanceplatform/GrantOffer.java index f1655152f..7ecf1f2da 100644 --- a/src/main/java/com/adyen/model/balanceplatform/GrantOffer.java +++ b/src/main/java/com/adyen/model/balanceplatform/GrantOffer.java @@ -108,246 +108,270 @@ public static ContractTypeEnum fromValue(String value) { public GrantOffer() { } + /** + * The identifier of the account holder to which the grant is offered. + * + * @param accountHolderId + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The identifier of the account holder to which the grant is offered. * @return accountHolderId - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the account holder to which the grant is offered.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The identifier of the account holder to which the grant is offered. - * - * @param accountHolderId - */ + /** + * The identifier of the account holder to which the grant is offered. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * amount + * + * @param amount + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The contract type of the grant offer. Possible value: **cashAdvance**, **loan**. + * + * @param contractType + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer contractType(ContractTypeEnum contractType) { this.contractType = contractType; return this; } - /** + /** * The contract type of the grant offer. Possible value: **cashAdvance**, **loan**. * @return contractType - **/ + */ @ApiModelProperty(value = "The contract type of the grant offer. Possible value: **cashAdvance**, **loan**.") @JsonProperty(JSON_PROPERTY_CONTRACT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractTypeEnum getContractType() { return contractType; } - - /** - * The contract type of the grant offer. Possible value: **cashAdvance**, **loan**. - * - * @param contractType - */ + /** + * The contract type of the grant offer. Possible value: **cashAdvance**, **loan**. + * + * @param contractType + */ @JsonProperty(JSON_PROPERTY_CONTRACT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContractType(ContractTypeEnum contractType) { this.contractType = contractType; } - + /** + * The end date of the grant offer validity period. + * + * @param expiresAt + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The end date of the grant offer validity period. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The end date of the grant offer validity period.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The end date of the grant offer validity period. - * - * @param expiresAt - */ + /** + * The end date of the grant offer validity period. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - + /** + * fee + * + * @param fee + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer fee(Fee fee) { this.fee = fee; return this; } - /** - * Get fee + /** + * fee * @return fee - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Fee getFee() { return fee; } - - /** - * fee - * - * @param fee - */ + /** + * fee + * + * @param fee + */ @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFee(Fee fee) { this.fee = fee; } - + /** + * The unique identifier of the grant offer. + * + * @param id + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the grant offer. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the grant offer.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the grant offer. - * - * @param id - */ + /** + * The unique identifier of the grant offer. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * repayment + * + * @param repayment + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer repayment(Repayment repayment) { this.repayment = repayment; return this; } - /** - * Get repayment + /** + * repayment * @return repayment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REPAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Repayment getRepayment() { return repayment; } - - /** - * repayment - * - * @param repayment - */ + /** + * repayment + * + * @param repayment + */ @JsonProperty(JSON_PROPERTY_REPAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRepayment(Repayment repayment) { this.repayment = repayment; } - + /** + * The starting date of the grant offer validity period. + * + * @param startsAt + * @return the current {@code GrantOffer} instance, allowing for method chaining + */ public GrantOffer startsAt(OffsetDateTime startsAt) { this.startsAt = startsAt; return this; } - /** + /** * The starting date of the grant offer validity period. * @return startsAt - **/ + */ @ApiModelProperty(value = "The starting date of the grant offer validity period.") @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getStartsAt() { return startsAt; } - - /** - * The starting date of the grant offer validity period. - * - * @param startsAt - */ + /** + * The starting date of the grant offer validity period. + * + * @param startsAt + */ @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartsAt(OffsetDateTime startsAt) { this.startsAt = startsAt; } - /** * Return true if this GrantOffer object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/GrantOffers.java b/src/main/java/com/adyen/model/balanceplatform/GrantOffers.java index aa75a2717..dfbb0c994 100644 --- a/src/main/java/com/adyen/model/balanceplatform/GrantOffers.java +++ b/src/main/java/com/adyen/model/balanceplatform/GrantOffers.java @@ -44,6 +44,12 @@ public class GrantOffers { public GrantOffers() { } + /** + * A list of available grant offers. + * + * @param grantOffers + * @return the current {@code GrantOffers} instance, allowing for method chaining + */ public GrantOffers grantOffers(List grantOffers) { this.grantOffers = grantOffers; return this; @@ -54,31 +60,28 @@ public GrantOffers addGrantOffersItem(GrantOffer grantOffersItem) { return this; } - /** + /** * A list of available grant offers. * @return grantOffers - **/ + */ @ApiModelProperty(required = true, value = "A list of available grant offers.") @JsonProperty(JSON_PROPERTY_GRANT_OFFERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGrantOffers() { return grantOffers; } - - /** - * A list of available grant offers. - * - * @param grantOffers - */ + /** + * A list of available grant offers. + * + * @param grantOffers + */ @JsonProperty(JSON_PROPERTY_GRANT_OFFERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantOffers(List grantOffers) { this.grantOffers = grantOffers; } - /** * Return true if this GrantOffers object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java index b651eab43..c895d079c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public HKLocalAccountIdentification() { } + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. - * - * @param accountNumber - */ + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification clearingCode(String clearingCode) { this.clearingCode = clearingCode; return this; } - /** + /** * The 3-digit clearing code, without separators or whitespace. * @return clearingCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit clearing code, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingCode() { return clearingCode; } - - /** - * The 3-digit clearing code, without separators or whitespace. - * - * @param clearingCode - */ + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + */ @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingCode(String clearingCode) { this.clearingCode = clearingCode; } - + /** + * **hkLocal** + * + * @param type + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **hkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**hkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **hkLocal** - * - * @param type - */ + /** + * **hkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java index b1ecf77ac..aeee32e5f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public HULocalAccountIdentification() { } + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 24-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 24-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 24-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **huLocal** + * + * @param type + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **huLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**huLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **huLocal** - * - * @param type - */ + /** + * **huLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Href.java b/src/main/java/com/adyen/model/balanceplatform/Href.java index 758ed673c..d9b165b53 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Href.java +++ b/src/main/java/com/adyen/model/balanceplatform/Href.java @@ -41,36 +41,39 @@ public class Href { public Href() { } + /** + * href + * + * @param href + * @return the current {@code Href} instance, allowing for method chaining + */ public Href href(String href) { this.href = href; return this; } - /** - * Get href + /** + * href * @return href - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHref() { return href; } - - /** - * href - * - * @param href - */ + /** + * href + * + * @param href + */ @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHref(String href) { this.href = href; } - /** * Return true if this Href object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java index 678d8768c..a76942676 100644 --- a/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * **iban** + * + * @param type + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **iban** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **iban** - * - * @param type - */ + /** + * **iban** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IbanAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/InternationalTransactionRestriction.java b/src/main/java/com/adyen/model/balanceplatform/InternationalTransactionRestriction.java index 98f810576..f5439742d 100644 --- a/src/main/java/com/adyen/model/balanceplatform/InternationalTransactionRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/InternationalTransactionRestriction.java @@ -45,66 +45,72 @@ public class InternationalTransactionRestriction { public InternationalTransactionRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code InternationalTransactionRestriction} instance, allowing for method chaining + */ public InternationalTransactionRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * Boolean indicating whether transaction is an international transaction. Possible values: - **true**: The transaction is an international transaction. - **false**: The transaction is a domestic transaction. + * + * @param value + * @return the current {@code InternationalTransactionRestriction} instance, allowing for method chaining + */ public InternationalTransactionRestriction value(Boolean value) { this.value = value; return this; } - /** + /** * Boolean indicating whether transaction is an international transaction. Possible values: - **true**: The transaction is an international transaction. - **false**: The transaction is a domestic transaction. * @return value - **/ + */ @ApiModelProperty(value = "Boolean indicating whether transaction is an international transaction. Possible values: - **true**: The transaction is an international transaction. - **false**: The transaction is a domestic transaction. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getValue() { return value; } - - /** - * Boolean indicating whether transaction is an international transaction. Possible values: - **true**: The transaction is an international transaction. - **false**: The transaction is a domestic transaction. - * - * @param value - */ + /** + * Boolean indicating whether transaction is an international transaction. Possible values: - **true**: The transaction is an international transaction. - **false**: The transaction is a domestic transaction. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Boolean value) { this.value = value; } - /** * Return true if this InternationalTransactionRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/InvalidField.java b/src/main/java/com/adyen/model/balanceplatform/InvalidField.java index ab0f50d58..2b4b7702c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/InvalidField.java +++ b/src/main/java/com/adyen/model/balanceplatform/InvalidField.java @@ -49,96 +49,105 @@ public class InvalidField { public InvalidField() { } + /** + * Description of the validation error. + * + * @param message + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField message(String message) { this.message = message; return this; } - /** + /** * Description of the validation error. * @return message - **/ + */ @ApiModelProperty(required = true, value = "Description of the validation error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * Description of the validation error. - * - * @param message - */ + /** + * Description of the validation error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The field that has an invalid value. + * + * @param name + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField name(String name) { this.name = name; return this; } - /** + /** * The field that has an invalid value. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The field that has an invalid value.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The field that has an invalid value. - * - * @param name - */ + /** + * The field that has an invalid value. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The invalid value. + * + * @param value + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField value(String value) { this.value = value; return this; } - /** + /** * The invalid value. * @return value - **/ + */ @ApiModelProperty(required = true, value = "The invalid value.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The invalid value. - * - * @param value - */ + /** + * The invalid value. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this InvalidField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Link.java b/src/main/java/com/adyen/model/balanceplatform/Link.java index e5c4c0367..aedadf9c5 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Link.java +++ b/src/main/java/com/adyen/model/balanceplatform/Link.java @@ -58,156 +58,171 @@ public class Link { public Link() { } + /** + * first + * + * @param first + * @return the current {@code Link} instance, allowing for method chaining + */ public Link first(Href first) { this.first = first; return this; } - /** - * Get first + /** + * first * @return first - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FIRST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Href getFirst() { return first; } - - /** - * first - * - * @param first - */ + /** + * first + * + * @param first + */ @JsonProperty(JSON_PROPERTY_FIRST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirst(Href first) { this.first = first; } - + /** + * last + * + * @param last + * @return the current {@code Link} instance, allowing for method chaining + */ public Link last(Href last) { this.last = last; return this; } - /** - * Get last + /** + * last * @return last - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LAST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Href getLast() { return last; } - - /** - * last - * - * @param last - */ + /** + * last + * + * @param last + */ @JsonProperty(JSON_PROPERTY_LAST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLast(Href last) { this.last = last; } - + /** + * next + * + * @param next + * @return the current {@code Link} instance, allowing for method chaining + */ public Link next(Href next) { this.next = next; return this; } - /** - * Get next + /** + * next * @return next - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Href getNext() { return next; } - - /** - * next - * - * @param next - */ + /** + * next + * + * @param next + */ @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNext(Href next) { this.next = next; } - + /** + * previous + * + * @param previous + * @return the current {@code Link} instance, allowing for method chaining + */ public Link previous(Href previous) { this.previous = previous; return this; } - /** - * Get previous + /** + * previous * @return previous - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Href getPrevious() { return previous; } - - /** - * previous - * - * @param previous - */ + /** + * previous + * + * @param previous + */ @JsonProperty(JSON_PROPERTY_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrevious(Href previous) { this.previous = previous; } - + /** + * self + * + * @param self + * @return the current {@code Link} instance, allowing for method chaining + */ public Link self(Href self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Href getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(Href self) { this.self = self; } - /** * Return true if this Link object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/ListNetworkTokensResponse.java b/src/main/java/com/adyen/model/balanceplatform/ListNetworkTokensResponse.java index c8da6b95f..5a5510d6c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/ListNetworkTokensResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/ListNetworkTokensResponse.java @@ -44,6 +44,12 @@ public class ListNetworkTokensResponse { public ListNetworkTokensResponse() { } + /** + * List of network tokens. + * + * @param networkTokens + * @return the current {@code ListNetworkTokensResponse} instance, allowing for method chaining + */ public ListNetworkTokensResponse networkTokens(List networkTokens) { this.networkTokens = networkTokens; return this; @@ -57,31 +63,28 @@ public ListNetworkTokensResponse addNetworkTokensItem(NetworkToken networkTokens return this; } - /** + /** * List of network tokens. * @return networkTokens - **/ + */ @ApiModelProperty(value = "List of network tokens.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKENS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getNetworkTokens() { return networkTokens; } - - /** - * List of network tokens. - * - * @param networkTokens - */ + /** + * List of network tokens. + * + * @param networkTokens + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKENS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokens(List networkTokens) { this.networkTokens = networkTokens; } - /** * Return true if this ListNetworkTokensResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MatchingTransactionsRestriction.java b/src/main/java/com/adyen/model/balanceplatform/MatchingTransactionsRestriction.java index 5180b8f7c..a7a78f35c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MatchingTransactionsRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/MatchingTransactionsRestriction.java @@ -45,66 +45,72 @@ public class MatchingTransactionsRestriction { public MatchingTransactionsRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code MatchingTransactionsRestriction} instance, allowing for method chaining + */ public MatchingTransactionsRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * The number of transactions. + * + * @param value + * @return the current {@code MatchingTransactionsRestriction} instance, allowing for method chaining + */ public MatchingTransactionsRestriction value(Integer value) { this.value = value; return this; } - /** + /** * The number of transactions. * @return value - **/ + */ @ApiModelProperty(value = "The number of transactions.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getValue() { return value; } - - /** - * The number of transactions. - * - * @param value - */ + /** + * The number of transactions. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Integer value) { this.value = value; } - /** * Return true if this MatchingTransactionsRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MatchingValuesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/MatchingValuesRestriction.java index 9fb154382..3950a2707 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MatchingValuesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/MatchingValuesRestriction.java @@ -88,36 +88,45 @@ public static ValueEnum fromValue(String value) { public MatchingValuesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code MatchingValuesRestriction} instance, allowing for method chaining + */ public MatchingValuesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code MatchingValuesRestriction} instance, allowing for method chaining + */ public MatchingValuesRestriction value(List value) { this.value = value; return this; @@ -131,31 +140,28 @@ public MatchingValuesRestriction addValueItem(ValueEnum valueItem) { return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this MatchingValuesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MccsRestriction.java b/src/main/java/com/adyen/model/balanceplatform/MccsRestriction.java index 293929088..de3800feb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MccsRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/MccsRestriction.java @@ -47,36 +47,45 @@ public class MccsRestriction { public MccsRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code MccsRestriction} instance, allowing for method chaining + */ public MccsRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of merchant category codes (MCCs). + * + * @param value + * @return the current {@code MccsRestriction} instance, allowing for method chaining + */ public MccsRestriction value(List value) { this.value = value; return this; @@ -90,31 +99,28 @@ public MccsRestriction addValueItem(String valueItem) { return this; } - /** + /** * List of merchant category codes (MCCs). * @return value - **/ + */ @ApiModelProperty(value = "List of merchant category codes (MCCs).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of merchant category codes (MCCs). - * - * @param value - */ + /** + * List of merchant category codes (MCCs). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this MccsRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MerchantAcquirerPair.java b/src/main/java/com/adyen/model/balanceplatform/MerchantAcquirerPair.java index 09d17b6ca..9ddd85770 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MerchantAcquirerPair.java +++ b/src/main/java/com/adyen/model/balanceplatform/MerchantAcquirerPair.java @@ -45,66 +45,72 @@ public class MerchantAcquirerPair { public MerchantAcquirerPair() { } + /** + * The acquirer ID. + * + * @param acquirerId + * @return the current {@code MerchantAcquirerPair} instance, allowing for method chaining + */ public MerchantAcquirerPair acquirerId(String acquirerId) { this.acquirerId = acquirerId; return this; } - /** + /** * The acquirer ID. * @return acquirerId - **/ + */ @ApiModelProperty(value = "The acquirer ID.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerId() { return acquirerId; } - - /** - * The acquirer ID. - * - * @param acquirerId - */ + /** + * The acquirer ID. + * + * @param acquirerId + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerId(String acquirerId) { this.acquirerId = acquirerId; } - + /** + * The merchant identification number (MID). + * + * @param merchantId + * @return the current {@code MerchantAcquirerPair} instance, allowing for method chaining + */ public MerchantAcquirerPair merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The merchant identification number (MID). * @return merchantId - **/ + */ @ApiModelProperty(value = "The merchant identification number (MID).") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The merchant identification number (MID). - * - * @param merchantId - */ + /** + * The merchant identification number (MID). + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - /** * Return true if this MerchantAcquirerPair object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MerchantNamesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/MerchantNamesRestriction.java index 7f96a0862..029d8bfe2 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MerchantNamesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/MerchantNamesRestriction.java @@ -48,36 +48,45 @@ public class MerchantNamesRestriction { public MerchantNamesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code MerchantNamesRestriction} instance, allowing for method chaining + */ public MerchantNamesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code MerchantNamesRestriction} instance, allowing for method chaining + */ public MerchantNamesRestriction value(List value) { this.value = value; return this; @@ -91,31 +100,28 @@ public MerchantNamesRestriction addValueItem(StringMatch valueItem) { return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this MerchantNamesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/MerchantsRestriction.java b/src/main/java/com/adyen/model/balanceplatform/MerchantsRestriction.java index 7829dc260..c0ac3a267 100644 --- a/src/main/java/com/adyen/model/balanceplatform/MerchantsRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/MerchantsRestriction.java @@ -48,36 +48,45 @@ public class MerchantsRestriction { public MerchantsRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code MerchantsRestriction} instance, allowing for method chaining + */ public MerchantsRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of merchant ID and acquirer ID pairs. + * + * @param value + * @return the current {@code MerchantsRestriction} instance, allowing for method chaining + */ public MerchantsRestriction value(List value) { this.value = value; return this; @@ -91,31 +100,28 @@ public MerchantsRestriction addValueItem(MerchantAcquirerPair valueItem) { return this; } - /** + /** * List of merchant ID and acquirer ID pairs. * @return value - **/ + */ @ApiModelProperty(value = "List of merchant ID and acquirer ID pairs.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of merchant ID and acquirer ID pairs. - * - * @param value - */ + /** + * List of merchant ID and acquirer ID pairs. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this MerchantsRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java index ce3ed1f40..5b94355eb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NOLocalAccountIdentification() { } + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 11-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 11-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 11-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **noLocal** + * + * @param type + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **noLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**noLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **noLocal** - * - * @param type - */ + /** + * **noLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NOLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java index 8ef51c8b3..01887495e 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NZLocalAccountIdentification() { } + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. - * - * @param accountNumber - */ + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **nzLocal** + * + * @param type + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **nzLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**nzLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **nzLocal** - * - * @param type - */ + /** + * **nzLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Name.java b/src/main/java/com/adyen/model/balanceplatform/Name.java index cb4f7a614..c72ce6c6a 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Name.java +++ b/src/main/java/com/adyen/model/balanceplatform/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/NetworkToken.java b/src/main/java/com/adyen/model/balanceplatform/NetworkToken.java index e1226efaf..e44a0ecac 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NetworkToken.java +++ b/src/main/java/com/adyen/model/balanceplatform/NetworkToken.java @@ -110,246 +110,270 @@ public static StatusEnum fromValue(String value) { public NetworkToken() { } + /** + * The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**. + * + * @param brandVariant + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken brandVariant(String brandVariant) { this.brandVariant = brandVariant; return this; } - /** + /** * The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**. * @return brandVariant - **/ + */ @ApiModelProperty(value = "The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**.") @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrandVariant() { return brandVariant; } - - /** - * The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**. - * - * @param brandVariant - */ + /** + * The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**. + * + * @param brandVariant + */ @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandVariant(String brandVariant) { this.brandVariant = brandVariant; } - + /** + * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. + * + * @param creationDate + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. * @return creationDate - **/ + */ @ApiModelProperty(value = "Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**..") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. - * - * @param creationDate - */ + /** + * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * device + * + * @param device + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken device(DeviceInfo device) { this.device = device; return this; } - /** - * Get device + /** + * device * @return device - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeviceInfo getDevice() { return device; } - - /** - * device - * - * @param device - */ + /** + * device + * + * @param device + */ @JsonProperty(JSON_PROPERTY_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDevice(DeviceInfo device) { this.device = device; } - + /** + * The unique identifier of the network token. + * + * @param id + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the network token. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the network token.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the network token. - * - * @param id - */ + /** + * The unique identifier of the network token. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the payment instrument to which this network token belongs to. + * + * @param paymentInstrumentId + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument to which this network token belongs to. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the payment instrument to which this network token belongs to.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument to which this network token belongs to. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument to which this network token belongs to. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**. + * + * @param status + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**. - * - * @param status - */ + /** + * The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The last four digits of the network token `id`. + * + * @param tokenLastFour + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken tokenLastFour(String tokenLastFour) { this.tokenLastFour = tokenLastFour; return this; } - /** - * The last four digits of the network token `id`. + /** + * The last four digits of the network token `id`. * @return tokenLastFour - **/ + */ @ApiModelProperty(value = "The last four digits of the network token `id`.") @JsonProperty(JSON_PROPERTY_TOKEN_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenLastFour() { return tokenLastFour; } - - /** - * The last four digits of the network token `id`. - * - * @param tokenLastFour - */ + /** + * The last four digits of the network token `id`. + * + * @param tokenLastFour + */ @JsonProperty(JSON_PROPERTY_TOKEN_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenLastFour(String tokenLastFour) { this.tokenLastFour = tokenLastFour; } - + /** + * The type of wallet the network token is associated with. For example, **applePay**. + * + * @param type + * @return the current {@code NetworkToken} instance, allowing for method chaining + */ public NetworkToken type(String type) { this.type = type; return this; } - /** + /** * The type of wallet the network token is associated with. For example, **applePay**. * @return type - **/ + */ @ApiModelProperty(value = "The type of wallet the network token is associated with. For example, **applePay**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of wallet the network token is associated with. For example, **applePay**. - * - * @param type - */ + /** + * The type of wallet the network token is associated with. For example, **applePay**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this NetworkToken object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java index 459543759..d979ee19b 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java @@ -87,126 +87,138 @@ public static TypeEnum fromValue(String value) { public NumberAndBicAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. The length and format depends on the bank or country. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace. The length and format depends on the bank or country.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. The length and format depends on the bank or country. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; return this; } - /** - * Get additionalBankIdentification + /** + * additionalBankIdentification * @return additionalBankIdentification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalBankIdentification getAdditionalBankIdentification() { return additionalBankIdentification; } - - /** - * additionalBankIdentification - * - * @param additionalBankIdentification - */ + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **numberAndBic** + * + * @param type + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **numberAndBic** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**numberAndBic**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **numberAndBic** - * - * @param type - */ + /** + * **numberAndBic** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NumberAndBicAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java index d9d38b521..6d6fcd6fe 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public PLLocalAccountIdentification() { } + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **plLocal** + * + * @param type + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **plLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**plLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **plLocal** - * - * @param type - */ + /** + * **plLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PLLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaginatedAccountHoldersResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaginatedAccountHoldersResponse.java index 01285a781..118cc228f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaginatedAccountHoldersResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaginatedAccountHoldersResponse.java @@ -52,6 +52,12 @@ public class PaginatedAccountHoldersResponse { public PaginatedAccountHoldersResponse() { } + /** + * List of account holders. + * + * @param accountHolders + * @return the current {@code PaginatedAccountHoldersResponse} instance, allowing for method chaining + */ public PaginatedAccountHoldersResponse accountHolders(List accountHolders) { this.accountHolders = accountHolders; return this; @@ -62,91 +68,94 @@ public PaginatedAccountHoldersResponse addAccountHoldersItem(AccountHolder accou return this; } - /** + /** * List of account holders. * @return accountHolders - **/ + */ @ApiModelProperty(required = true, value = "List of account holders.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountHolders() { return accountHolders; } - - /** - * List of account holders. - * - * @param accountHolders - */ + /** + * List of account holders. + * + * @param accountHolders + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolders(List accountHolders) { this.accountHolders = accountHolders; } - + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code PaginatedAccountHoldersResponse} instance, allowing for method chaining + */ public PaginatedAccountHoldersResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code PaginatedAccountHoldersResponse} instance, allowing for method chaining + */ public PaginatedAccountHoldersResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - /** * Return true if this PaginatedAccountHoldersResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaginatedBalanceAccountsResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaginatedBalanceAccountsResponse.java index 48163a12a..54e6f0d08 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaginatedBalanceAccountsResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaginatedBalanceAccountsResponse.java @@ -52,6 +52,12 @@ public class PaginatedBalanceAccountsResponse { public PaginatedBalanceAccountsResponse() { } + /** + * List of balance accounts. + * + * @param balanceAccounts + * @return the current {@code PaginatedBalanceAccountsResponse} instance, allowing for method chaining + */ public PaginatedBalanceAccountsResponse balanceAccounts(List balanceAccounts) { this.balanceAccounts = balanceAccounts; return this; @@ -62,91 +68,94 @@ public PaginatedBalanceAccountsResponse addBalanceAccountsItem(BalanceAccountBas return this; } - /** + /** * List of balance accounts. * @return balanceAccounts - **/ + */ @ApiModelProperty(required = true, value = "List of balance accounts.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalanceAccounts() { return balanceAccounts; } - - /** - * List of balance accounts. - * - * @param balanceAccounts - */ + /** + * List of balance accounts. + * + * @param balanceAccounts + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccounts(List balanceAccounts) { this.balanceAccounts = balanceAccounts; } - + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code PaginatedBalanceAccountsResponse} instance, allowing for method chaining + */ public PaginatedBalanceAccountsResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code PaginatedBalanceAccountsResponse} instance, allowing for method chaining + */ public PaginatedBalanceAccountsResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - /** * Return true if this PaginatedBalanceAccountsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderItemResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderItemResponse.java index 985684a51..42536c313 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderItemResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderItemResponse.java @@ -52,6 +52,12 @@ public class PaginatedGetCardOrderItemResponse { public PaginatedGetCardOrderItemResponse() { } + /** + * List of card order items in the card order batch. + * + * @param data + * @return the current {@code PaginatedGetCardOrderItemResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderItemResponse data(List data) { this.data = data; return this; @@ -62,91 +68,94 @@ public PaginatedGetCardOrderItemResponse addDataItem(CardOrderItem dataItem) { return this; } - /** + /** * List of card order items in the card order batch. * @return data - **/ + */ @ApiModelProperty(required = true, value = "List of card order items in the card order batch.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of card order items in the card order batch. - * - * @param data - */ + /** + * List of card order items in the card order batch. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code PaginatedGetCardOrderItemResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderItemResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code PaginatedGetCardOrderItemResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderItemResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - /** * Return true if this PaginatedGetCardOrderItemResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderResponse.java index b0baa8073..545d75966 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaginatedGetCardOrderResponse.java @@ -52,6 +52,12 @@ public class PaginatedGetCardOrderResponse { public PaginatedGetCardOrderResponse() { } + /** + * Contains objects with information about card orders. + * + * @param cardOrders + * @return the current {@code PaginatedGetCardOrderResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderResponse cardOrders(List cardOrders) { this.cardOrders = cardOrders; return this; @@ -65,91 +71,94 @@ public PaginatedGetCardOrderResponse addCardOrdersItem(CardOrder cardOrdersItem) return this; } - /** + /** * Contains objects with information about card orders. * @return cardOrders - **/ + */ @ApiModelProperty(value = "Contains objects with information about card orders.") @JsonProperty(JSON_PROPERTY_CARD_ORDERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCardOrders() { return cardOrders; } - - /** - * Contains objects with information about card orders. - * - * @param cardOrders - */ + /** + * Contains objects with information about card orders. + * + * @param cardOrders + */ @JsonProperty(JSON_PROPERTY_CARD_ORDERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardOrders(List cardOrders) { this.cardOrders = cardOrders; } - + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code PaginatedGetCardOrderResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code PaginatedGetCardOrderResponse} instance, allowing for method chaining + */ public PaginatedGetCardOrderResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - /** * Return true if this PaginatedGetCardOrderResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaginatedPaymentInstrumentsResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaginatedPaymentInstrumentsResponse.java index f86d1373a..dd3723b79 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaginatedPaymentInstrumentsResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaginatedPaymentInstrumentsResponse.java @@ -52,66 +52,78 @@ public class PaginatedPaymentInstrumentsResponse { public PaginatedPaymentInstrumentsResponse() { } + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + * @return the current {@code PaginatedPaymentInstrumentsResponse} instance, allowing for method chaining + */ public PaginatedPaymentInstrumentsResponse hasNext(Boolean hasNext) { this.hasNext = hasNext; return this; } - /** + /** * Indicates whether there are more items on the next page. * @return hasNext - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the next page.") @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasNext() { return hasNext; } - - /** - * Indicates whether there are more items on the next page. - * - * @param hasNext - */ + /** + * Indicates whether there are more items on the next page. + * + * @param hasNext + */ @JsonProperty(JSON_PROPERTY_HAS_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasNext(Boolean hasNext) { this.hasNext = hasNext; } - + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + * @return the current {@code PaginatedPaymentInstrumentsResponse} instance, allowing for method chaining + */ public PaginatedPaymentInstrumentsResponse hasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; return this; } - /** + /** * Indicates whether there are more items on the previous page. * @return hasPrevious - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether there are more items on the previous page.") @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPrevious() { return hasPrevious; } - - /** - * Indicates whether there are more items on the previous page. - * - * @param hasPrevious - */ + /** + * Indicates whether there are more items on the previous page. + * + * @param hasPrevious + */ @JsonProperty(JSON_PROPERTY_HAS_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPrevious(Boolean hasPrevious) { this.hasPrevious = hasPrevious; } - + /** + * List of payment instruments associated with the balance account. + * + * @param paymentInstruments + * @return the current {@code PaginatedPaymentInstrumentsResponse} instance, allowing for method chaining + */ public PaginatedPaymentInstrumentsResponse paymentInstruments(List paymentInstruments) { this.paymentInstruments = paymentInstruments; return this; @@ -122,31 +134,28 @@ public PaginatedPaymentInstrumentsResponse addPaymentInstrumentsItem(PaymentInst return this; } - /** + /** * List of payment instruments associated with the balance account. * @return paymentInstruments - **/ + */ @ApiModelProperty(required = true, value = "List of payment instruments associated with the balance account.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPaymentInstruments() { return paymentInstruments; } - - /** - * List of payment instruments associated with the balance account. - * - * @param paymentInstruments - */ + /** + * List of payment instruments associated with the balance account. + * + * @param paymentInstruments + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstruments(List paymentInstruments) { this.paymentInstruments = paymentInstruments; } - /** * Return true if this PaginatedPaymentInstrumentsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrument.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrument.java index fdcdccdac..f1058f2e4 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrument.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrument.java @@ -53,7 +53,7 @@ public class PaymentInstrument { public static final String JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS = "additionalBankAccountIdentifications"; - @Deprecated + @Deprecated // deprecated since Configuration API v2: Please use `bankAccount` object instead private List additionalBankAccountIdentifications = null; public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID = "balanceAccountId"; @@ -218,6 +218,15 @@ public static TypeEnum fromValue(String value) { public PaymentInstrument() { } + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated public PaymentInstrument additionalBankAccountIdentifications(List additionalBankAccountIdentifications) { this.additionalBankAccountIdentifications = additionalBankAccountIdentifications; @@ -232,26 +241,29 @@ public PaymentInstrument addAdditionalBankAccountIdentificationsItem(PaymentInst return this; } - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. * @return additionalBankAccountIdentifications - * @deprecated - **/ + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated @ApiModelProperty(value = "Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAdditionalBankAccountIdentifications() { return additionalBankAccountIdentifications; } - - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. - * - * @param additionalBankAccountIdentifications - */ + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -259,367 +271,402 @@ public void setAdditionalBankAccountIdentifications(List properties) { this.properties = properties; return this; @@ -167,91 +182,94 @@ public PaymentInstrumentGroup putPropertiesItem(String key, String propertiesIte return this; } - /** + /** * Properties of the payment instrument group. * @return properties - **/ + */ @ApiModelProperty(value = "Properties of the payment instrument group.") @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getProperties() { return properties; } - - /** - * Properties of the payment instrument group. - * - * @param properties - */ + /** + * Properties of the payment instrument group. + * + * @param properties + */ @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProperties(Map properties) { this.properties = properties; } - + /** + * Your reference for the payment instrument group. + * + * @param reference + * @return the current {@code PaymentInstrumentGroup} instance, allowing for method chaining + */ public PaymentInstrumentGroup reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment instrument group. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment instrument group.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment instrument group. - * - * @param reference - */ + /** + * Your reference for the payment instrument group. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The tx variant of the payment instrument group. + * + * @param txVariant + * @return the current {@code PaymentInstrumentGroup} instance, allowing for method chaining + */ public PaymentInstrumentGroup txVariant(String txVariant) { this.txVariant = txVariant; return this; } - /** + /** * The tx variant of the payment instrument group. * @return txVariant - **/ + */ @ApiModelProperty(required = true, value = "The tx variant of the payment instrument group.") @JsonProperty(JSON_PROPERTY_TX_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxVariant() { return txVariant; } - - /** - * The tx variant of the payment instrument group. - * - * @param txVariant - */ + /** + * The tx variant of the payment instrument group. + * + * @param txVariant + */ @JsonProperty(JSON_PROPERTY_TX_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxVariant(String txVariant) { this.txVariant = txVariant; } - /** * Return true if this PaymentInstrumentGroup object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentGroupInfo.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentGroupInfo.java index 1f25abfcf..ae16b0387 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentGroupInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentGroupInfo.java @@ -60,66 +60,78 @@ public class PaymentInstrumentGroupInfo { public PaymentInstrumentGroupInfo() { } + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs. + * + * @param balancePlatform + * @return the current {@code PaymentInstrumentGroupInfo} instance, allowing for method chaining + */ public PaymentInstrumentGroupInfo balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs. * @return balancePlatform - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs. - * - * @param balancePlatform - */ + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Your description for the payment instrument group. + * + * @param description + * @return the current {@code PaymentInstrumentGroupInfo} instance, allowing for method chaining + */ public PaymentInstrumentGroupInfo description(String description) { this.description = description; return this; } - /** + /** * Your description for the payment instrument group. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the payment instrument group.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the payment instrument group. - * - * @param description - */ + /** + * Your description for the payment instrument group. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Properties of the payment instrument group. + * + * @param properties + * @return the current {@code PaymentInstrumentGroupInfo} instance, allowing for method chaining + */ public PaymentInstrumentGroupInfo properties(Map properties) { this.properties = properties; return this; @@ -133,91 +145,94 @@ public PaymentInstrumentGroupInfo putPropertiesItem(String key, String propertie return this; } - /** + /** * Properties of the payment instrument group. * @return properties - **/ + */ @ApiModelProperty(value = "Properties of the payment instrument group.") @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getProperties() { return properties; } - - /** - * Properties of the payment instrument group. - * - * @param properties - */ + /** + * Properties of the payment instrument group. + * + * @param properties + */ @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProperties(Map properties) { this.properties = properties; } - + /** + * Your reference for the payment instrument group. + * + * @param reference + * @return the current {@code PaymentInstrumentGroupInfo} instance, allowing for method chaining + */ public PaymentInstrumentGroupInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment instrument group. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment instrument group.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment instrument group. - * - * @param reference - */ + /** + * Your reference for the payment instrument group. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The tx variant of the payment instrument group. + * + * @param txVariant + * @return the current {@code PaymentInstrumentGroupInfo} instance, allowing for method chaining + */ public PaymentInstrumentGroupInfo txVariant(String txVariant) { this.txVariant = txVariant; return this; } - /** + /** * The tx variant of the payment instrument group. * @return txVariant - **/ + */ @ApiModelProperty(required = true, value = "The tx variant of the payment instrument group.") @JsonProperty(JSON_PROPERTY_TX_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxVariant() { return txVariant; } - - /** - * The tx variant of the payment instrument group. - * - * @param txVariant - */ + /** + * The tx variant of the payment instrument group. + * + * @param txVariant + */ @JsonProperty(JSON_PROPERTY_TX_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxVariant(String txVariant) { this.txVariant = txVariant; } - /** * Return true if this PaymentInstrumentGroupInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentInfo.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentInfo.java index 5707e98ae..2bb3180e7 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentInfo.java @@ -206,336 +206,369 @@ public static TypeEnum fromValue(String value) { public PaymentInstrumentInfo() { } + /** + * The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. + * + * @param balanceAccountId + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. * @return balanceAccountId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo bankAccount(BankAccountModel bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountModel getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountModel bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo card(CardInfo card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardInfo getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(CardInfo card) { this.card = card; } - + /** + * Your description for the payment instrument, maximum 300 characters. + * + * @param description + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo description(String description) { this.description = description; return this; } - /** + /** * Your description for the payment instrument, maximum 300 characters. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the payment instrument, maximum 300 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the payment instrument, maximum 300 characters. - * - * @param description - */ + /** + * Your description for the payment instrument, maximum 300 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. + * + * @param issuingCountryCode + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo issuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. * @return issuingCountryCode - **/ + */ @ApiModelProperty(required = true, value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.") @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingCountryCode() { return issuingCountryCode; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. - * - * @param issuingCountryCode - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. + * + * @param issuingCountryCode + */ @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; } - + /** + * The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs. + * + * @param paymentInstrumentGroupId + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo paymentInstrumentGroupId(String paymentInstrumentGroupId) { this.paymentInstrumentGroupId = paymentInstrumentGroupId; return this; } - /** + /** * The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs. * @return paymentInstrumentGroupId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_GROUP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentGroupId() { return paymentInstrumentGroupId; } - - /** - * The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs. - * - * @param paymentInstrumentGroupId - */ + /** + * The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs. + * + * @param paymentInstrumentGroupId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_GROUP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentGroupId(String paymentInstrumentGroupId) { this.paymentInstrumentGroupId = paymentInstrumentGroupId; } - + /** + * Your reference for the payment instrument, maximum 150 characters. + * + * @param reference + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment instrument, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment instrument, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment instrument, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the payment instrument, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * + * @param status + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. * @return status - **/ + */ @ApiModelProperty(value = "The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. - * - * @param status - */ + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The status comment provides additional information for the statusReason of the payment instrument. + * + * @param statusComment + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo statusComment(String statusComment) { this.statusComment = statusComment; return this; } - /** + /** * The status comment provides additional information for the statusReason of the payment instrument. * @return statusComment - **/ + */ @ApiModelProperty(value = "The status comment provides additional information for the statusReason of the payment instrument.") @JsonProperty(JSON_PROPERTY_STATUS_COMMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatusComment() { return statusComment; } - - /** - * The status comment provides additional information for the statusReason of the payment instrument. - * - * @param statusComment - */ + /** + * The status comment provides additional information for the statusReason of the payment instrument. + * + * @param statusComment + */ @JsonProperty(JSON_PROPERTY_STATUS_COMMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatusComment(String statusComment) { this.statusComment = statusComment; } - + /** + * The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + * + * @param statusReason + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo statusReason(StatusReasonEnum statusReason) { this.statusReason = statusReason; return this; } - /** - * The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + /** + * The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. * @return statusReason - **/ + */ @ApiModelProperty(value = "The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.") @JsonProperty(JSON_PROPERTY_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusReasonEnum getStatusReason() { return statusReason; } - - /** - * The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. - * - * @param statusReason - */ + /** + * The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + * + * @param statusReason + */ @JsonProperty(JSON_PROPERTY_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatusReason(StatusReasonEnum statusReason) { this.statusReason = statusReason; } - + /** + * Type of payment instrument. Possible value: **card**, **bankAccount**. + * + * @param type + * @return the current {@code PaymentInstrumentInfo} instance, allowing for method chaining + */ public PaymentInstrumentInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of payment instrument. Possible value: **card**, **bankAccount**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of payment instrument. Possible value: **card**, **bankAccount**. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of payment instrument. Possible value: **card**, **bankAccount**. - * - * @param type - */ + /** + * Type of payment instrument. Possible value: **card**, **bankAccount**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentInstrumentInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java index ce381b755..f2d5ffae6 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java @@ -131,66 +131,78 @@ public static TypeEnum fromValue(String value) { public PaymentInstrumentRequirement() { } + /** + * Specifies the requirements for the payment instrument that need to be included in the request for a particular route. + * + * @param description + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement description(String description) { this.description = description; return this; } - /** + /** * Specifies the requirements for the payment instrument that need to be included in the request for a particular route. * @return description - **/ + */ @ApiModelProperty(value = "Specifies the requirements for the payment instrument that need to be included in the request for a particular route.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Specifies the requirements for the payment instrument that need to be included in the request for a particular route. - * - * @param description - */ + /** + * Specifies the requirements for the payment instrument that need to be included in the request for a particular route. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. + * + * @param issuingCountryCode + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement issuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. * @return issuingCountryCode - **/ + */ @ApiModelProperty(value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.") @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingCountryCode() { return issuingCountryCode; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. - * - * @param issuingCountryCode - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. + * + * @param issuingCountryCode + */ @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; } - + /** + * The two-character ISO-3166-1 alpha-2 country code list for payment instruments. + * + * @param issuingCountryCodes + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement issuingCountryCodes(List issuingCountryCodes) { this.issuingCountryCodes = issuingCountryCodes; return this; @@ -204,121 +216,127 @@ public PaymentInstrumentRequirement addIssuingCountryCodesItem(String issuingCou return this; } - /** + /** * The two-character ISO-3166-1 alpha-2 country code list for payment instruments. * @return issuingCountryCodes - **/ + */ @ApiModelProperty(value = "The two-character ISO-3166-1 alpha-2 country code list for payment instruments.") @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIssuingCountryCodes() { return issuingCountryCodes; } - - /** - * The two-character ISO-3166-1 alpha-2 country code list for payment instruments. - * - * @param issuingCountryCodes - */ + /** + * The two-character ISO-3166-1 alpha-2 country code list for payment instruments. + * + * @param issuingCountryCodes + */ @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCountryCodes(List issuingCountryCodes) { this.issuingCountryCodes = issuingCountryCodes; } - + /** + * Specifies if the requirement only applies to transfers to another balance platform. + * + * @param onlyForCrossBalancePlatform + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement onlyForCrossBalancePlatform(Boolean onlyForCrossBalancePlatform) { this.onlyForCrossBalancePlatform = onlyForCrossBalancePlatform; return this; } - /** + /** * Specifies if the requirement only applies to transfers to another balance platform. * @return onlyForCrossBalancePlatform - **/ + */ @ApiModelProperty(value = "Specifies if the requirement only applies to transfers to another balance platform.") @JsonProperty(JSON_PROPERTY_ONLY_FOR_CROSS_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getOnlyForCrossBalancePlatform() { return onlyForCrossBalancePlatform; } - - /** - * Specifies if the requirement only applies to transfers to another balance platform. - * - * @param onlyForCrossBalancePlatform - */ + /** + * Specifies if the requirement only applies to transfers to another balance platform. + * + * @param onlyForCrossBalancePlatform + */ @JsonProperty(JSON_PROPERTY_ONLY_FOR_CROSS_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOnlyForCrossBalancePlatform(Boolean onlyForCrossBalancePlatform) { this.onlyForCrossBalancePlatform = onlyForCrossBalancePlatform; } - + /** + * The type of the payment instrument. For example, \"BankAccount\" or \"Card\". + * + * @param paymentInstrumentType + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement paymentInstrumentType(PaymentInstrumentTypeEnum paymentInstrumentType) { this.paymentInstrumentType = paymentInstrumentType; return this; } - /** - * The type of the payment instrument. For example, \"BankAccount\" or \"Card\". + /** + * The type of the payment instrument. For example, \"BankAccount\" or \"Card\". * @return paymentInstrumentType - **/ + */ @ApiModelProperty(value = "The type of the payment instrument. For example, \"BankAccount\" or \"Card\".") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrumentTypeEnum getPaymentInstrumentType() { return paymentInstrumentType; } - - /** - * The type of the payment instrument. For example, \"BankAccount\" or \"Card\". - * - * @param paymentInstrumentType - */ + /** + * The type of the payment instrument. For example, \"BankAccount\" or \"Card\". + * + * @param paymentInstrumentType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentType(PaymentInstrumentTypeEnum paymentInstrumentType) { this.paymentInstrumentType = paymentInstrumentType; } - + /** + * **paymentInstrumentRequirement** + * + * @param type + * @return the current {@code PaymentInstrumentRequirement} instance, allowing for method chaining + */ public PaymentInstrumentRequirement type(TypeEnum type) { this.type = type; return this; } - /** + /** * **paymentInstrumentRequirement** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**paymentInstrumentRequirement**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **paymentInstrumentRequirement** - * - * @param type - */ + /** + * **paymentInstrumentRequirement** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentInstrumentRequirement object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealInfo.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealInfo.java index 06b3eb1da..5a25748ba 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealInfo.java @@ -50,96 +50,105 @@ public class PaymentInstrumentRevealInfo { public PaymentInstrumentRevealInfo() { } + /** + * The CVC2 value of the card. + * + * @param cvc + * @return the current {@code PaymentInstrumentRevealInfo} instance, allowing for method chaining + */ public PaymentInstrumentRevealInfo cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The CVC2 value of the card. * @return cvc - **/ + */ @ApiModelProperty(required = true, value = "The CVC2 value of the card.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The CVC2 value of the card. - * - * @param cvc - */ + /** + * The CVC2 value of the card. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * expiration + * + * @param expiration + * @return the current {@code PaymentInstrumentRevealInfo} instance, allowing for method chaining + */ public PaymentInstrumentRevealInfo expiration(Expiry expiration) { this.expiration = expiration; return this; } - /** - * Get expiration + /** + * expiration * @return expiration - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Expiry getExpiration() { return expiration; } - - /** - * expiration - * - * @param expiration - */ + /** + * expiration + * + * @param expiration + */ @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiration(Expiry expiration) { this.expiration = expiration; } - + /** + * The primary account number (PAN) of the card. + * + * @param pan + * @return the current {@code PaymentInstrumentRevealInfo} instance, allowing for method chaining + */ public PaymentInstrumentRevealInfo pan(String pan) { this.pan = pan; return this; } - /** + /** * The primary account number (PAN) of the card. * @return pan - **/ + */ @ApiModelProperty(required = true, value = "The primary account number (PAN) of the card.") @JsonProperty(JSON_PROPERTY_PAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPan() { return pan; } - - /** - * The primary account number (PAN) of the card. - * - * @param pan - */ + /** + * The primary account number (PAN) of the card. + * + * @param pan + */ @JsonProperty(JSON_PROPERTY_PAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPan(String pan) { this.pan = pan; } - /** * Return true if this PaymentInstrumentRevealInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealRequest.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealRequest.java index db0c6a91e..13e476725 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealRequest.java @@ -45,66 +45,72 @@ public class PaymentInstrumentRevealRequest { public PaymentInstrumentRevealRequest() { } + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + * @return the current {@code PaymentInstrumentRevealRequest} instance, allowing for method chaining + */ public PaymentInstrumentRevealRequest encryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; return this; } - /** + /** * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. * @return encryptedKey - **/ + */ @ApiModelProperty(required = true, value = "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedKey() { return encryptedKey; } - - /** - * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. - * - * @param encryptedKey - */ + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; } - + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + * @return the current {@code PaymentInstrumentRevealRequest} instance, allowing for method chaining + */ public PaymentInstrumentRevealRequest paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the payment instrument, which is the card for which you are managing the PIN.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - /** * Return true if this PaymentInstrumentRevealRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealResponse.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealResponse.java index 08ead8403..1771f5575 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRevealResponse.java @@ -41,36 +41,39 @@ public class PaymentInstrumentRevealResponse { public PaymentInstrumentRevealResponse() { } + /** + * The data encrypted using the `encryptedKey`. + * + * @param encryptedData + * @return the current {@code PaymentInstrumentRevealResponse} instance, allowing for method chaining + */ public PaymentInstrumentRevealResponse encryptedData(String encryptedData) { this.encryptedData = encryptedData; return this; } - /** - * The data encrypted using the `encryptedKey`. + /** + * The data encrypted using the `encryptedKey`. * @return encryptedData - **/ + */ @ApiModelProperty(required = true, value = "The data encrypted using the `encryptedKey`.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedData() { return encryptedData; } - - /** - * The data encrypted using the `encryptedKey`. - * - * @param encryptedData - */ + /** + * The data encrypted using the `encryptedKey`. + * + * @param encryptedData + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedData(String encryptedData) { this.encryptedData = encryptedData; } - /** * Return true if this PaymentInstrumentRevealResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentUpdateRequest.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentUpdateRequest.java index f09d5ec60..a1b12eda7 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentUpdateRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentUpdateRequest.java @@ -146,156 +146,171 @@ public static StatusReasonEnum fromValue(String value) { public PaymentInstrumentUpdateRequest() { } + /** + * The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status. + * + * @param balanceAccountId + * @return the current {@code PaymentInstrumentUpdateRequest} instance, allowing for method chaining + */ public PaymentInstrumentUpdateRequest balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** - * The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status. + /** + * The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the balance account associated with this payment instrument. >You can only change the balance account ID if the payment instrument has **inactive** status. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * card + * + * @param card + * @return the current {@code PaymentInstrumentUpdateRequest} instance, allowing for method chaining + */ public PaymentInstrumentUpdateRequest card(CardInfo card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardInfo getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(CardInfo card) { this.card = card; } - + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * + * @param status + * @return the current {@code PaymentInstrumentUpdateRequest} instance, allowing for method chaining + */ public PaymentInstrumentUpdateRequest status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. * @return status - **/ + */ @ApiModelProperty(value = "The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. - * - * @param status - */ + /** + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * Comment for the status of the payment instrument. Required if `statusReason` is **other**. + * + * @param statusComment + * @return the current {@code PaymentInstrumentUpdateRequest} instance, allowing for method chaining + */ public PaymentInstrumentUpdateRequest statusComment(String statusComment) { this.statusComment = statusComment; return this; } - /** - * Comment for the status of the payment instrument. Required if `statusReason` is **other**. + /** + * Comment for the status of the payment instrument. Required if `statusReason` is **other**. * @return statusComment - **/ + */ @ApiModelProperty(value = "Comment for the status of the payment instrument. Required if `statusReason` is **other**.") @JsonProperty(JSON_PROPERTY_STATUS_COMMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatusComment() { return statusComment; } - - /** - * Comment for the status of the payment instrument. Required if `statusReason` is **other**. - * - * @param statusComment - */ + /** + * Comment for the status of the payment instrument. Required if `statusReason` is **other**. + * + * @param statusComment + */ @JsonProperty(JSON_PROPERTY_STATUS_COMMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatusComment(String statusComment) { this.statusComment = statusComment; } - + /** + * The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + * + * @param statusReason + * @return the current {@code PaymentInstrumentUpdateRequest} instance, allowing for method chaining + */ public PaymentInstrumentUpdateRequest statusReason(StatusReasonEnum statusReason) { this.statusReason = statusReason; return this; } - /** - * The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + /** + * The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. * @return statusReason - **/ + */ @ApiModelProperty(value = "The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.") @JsonProperty(JSON_PROPERTY_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusReasonEnum getStatusReason() { return statusReason; } - - /** - * The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. - * - * @param statusReason - */ + /** + * The reason for updating the status of the payment instrument. Possible values: **lost**, **stolen**, **damaged**, **suspectedFraud**, **expired**, **endOfLife**, **accountClosure**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change. + * + * @param statusReason + */ @JsonProperty(JSON_PROPERTY_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatusReason(StatusReasonEnum statusReason) { this.statusReason = statusReason; } - /** * Return true if this PaymentInstrumentUpdateRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Phone.java b/src/main/java/com/adyen/model/balanceplatform/Phone.java index 0f2f1e09a..fc59fcc66 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Phone.java +++ b/src/main/java/com/adyen/model/balanceplatform/Phone.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public Phone() { } + /** + * The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**. + * + * @param number + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone number(String number) { this.number = number; return this; } - /** - * The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**. + /** + * The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**. * @return number - **/ + */ @ApiModelProperty(required = true, value = "The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**. - * - * @param number - */ + /** + * The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * Type of phone number. Possible values: **Landline**, **Mobile**. + * + * @param type + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of phone number. Possible values: **Landline**, **Mobile**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of phone number. Possible values: **Landline**, **Mobile**. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of phone number. Possible values: **Landline**, **Mobile**. - * - * @param type - */ + /** + * Type of phone number. Possible values: **Landline**, **Mobile**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Phone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PhoneNumber.java b/src/main/java/com/adyen/model/balanceplatform/PhoneNumber.java index cfdfc58db..14cf96868 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PhoneNumber.java +++ b/src/main/java/com/adyen/model/balanceplatform/PhoneNumber.java @@ -88,96 +88,105 @@ public static PhoneTypeEnum fromValue(String value) { public PhoneNumber() { } + /** + * The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**. + * + * @param phoneCountryCode + * @return the current {@code PhoneNumber} instance, allowing for method chaining + */ public PhoneNumber phoneCountryCode(String phoneCountryCode) { this.phoneCountryCode = phoneCountryCode; return this; } - /** + /** * The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**. * @return phoneCountryCode - **/ + */ @ApiModelProperty(value = "The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**.") @JsonProperty(JSON_PROPERTY_PHONE_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneCountryCode() { return phoneCountryCode; } - - /** - * The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**. - * - * @param phoneCountryCode - */ + /** + * The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**. + * + * @param phoneCountryCode + */ @JsonProperty(JSON_PROPERTY_PHONE_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneCountryCode(String phoneCountryCode) { this.phoneCountryCode = phoneCountryCode; } - + /** + * The phone number. The inclusion of the phone number country code is not necessary. + * + * @param phoneNumber + * @return the current {@code PhoneNumber} instance, allowing for method chaining + */ public PhoneNumber phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** + /** * The phone number. The inclusion of the phone number country code is not necessary. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "The phone number. The inclusion of the phone number country code is not necessary.") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The phone number. The inclusion of the phone number country code is not necessary. - * - * @param phoneNumber - */ + /** + * The phone number. The inclusion of the phone number country code is not necessary. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**. + * + * @param phoneType + * @return the current {@code PhoneNumber} instance, allowing for method chaining + */ public PhoneNumber phoneType(PhoneTypeEnum phoneType) { this.phoneType = phoneType; return this; } - /** + /** * The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**. * @return phoneType - **/ + */ @ApiModelProperty(value = "The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**.") @JsonProperty(JSON_PROPERTY_PHONE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PhoneTypeEnum getPhoneType() { return phoneType; } - - /** - * The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**. - * - * @param phoneType - */ + /** + * The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**. + * + * @param phoneType + */ @JsonProperty(JSON_PROPERTY_PHONE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneType(PhoneTypeEnum phoneType) { this.phoneType = phoneType; } - /** * Return true if this PhoneNumber object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PinChangeRequest.java b/src/main/java/com/adyen/model/balanceplatform/PinChangeRequest.java index f0cd62e1e..d89d95eec 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PinChangeRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/PinChangeRequest.java @@ -53,126 +53,138 @@ public class PinChangeRequest { public PinChangeRequest() { } + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + * @return the current {@code PinChangeRequest} instance, allowing for method chaining + */ public PinChangeRequest encryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; return this; } - /** + /** * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. * @return encryptedKey - **/ + */ @ApiModelProperty(required = true, value = "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedKey() { return encryptedKey; } - - /** - * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. - * - * @param encryptedKey - */ + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; } - + /** + * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). + * + * @param encryptedPinBlock + * @return the current {@code PinChangeRequest} instance, allowing for method chaining + */ public PinChangeRequest encryptedPinBlock(String encryptedPinBlock) { this.encryptedPinBlock = encryptedPinBlock; return this; } - /** + /** * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). * @return encryptedPinBlock - **/ + */ @ApiModelProperty(required = true, value = "The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).") @JsonProperty(JSON_PROPERTY_ENCRYPTED_PIN_BLOCK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedPinBlock() { return encryptedPinBlock; } - - /** - * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). - * - * @param encryptedPinBlock - */ + /** + * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). + * + * @param encryptedPinBlock + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_PIN_BLOCK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedPinBlock(String encryptedPinBlock) { this.encryptedPinBlock = encryptedPinBlock; } - + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + * @return the current {@code PinChangeRequest} instance, allowing for method chaining + */ public PinChangeRequest paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the payment instrument, which is the card for which you are managing the PIN.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * The 16-digit token that you used to generate the `encryptedPinBlock`. + * + * @param token + * @return the current {@code PinChangeRequest} instance, allowing for method chaining + */ public PinChangeRequest token(String token) { this.token = token; return this; } - /** - * The 16-digit token that you used to generate the `encryptedPinBlock`. + /** + * The 16-digit token that you used to generate the `encryptedPinBlock`. * @return token - **/ + */ @ApiModelProperty(required = true, value = "The 16-digit token that you used to generate the `encryptedPinBlock`.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * The 16-digit token that you used to generate the `encryptedPinBlock`. - * - * @param token - */ + /** + * The 16-digit token that you used to generate the `encryptedPinBlock`. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - /** * Return true if this PinChangeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PinChangeResponse.java b/src/main/java/com/adyen/model/balanceplatform/PinChangeResponse.java index 77e358b58..5bfc7f292 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PinChangeResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PinChangeResponse.java @@ -78,36 +78,39 @@ public static StatusEnum fromValue(String value) { public PinChangeResponse() { } + /** + * The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**. + * + * @param status + * @return the current {@code PinChangeResponse} instance, allowing for method chaining + */ public PinChangeResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**. - * - * @param status - */ + /** + * The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this PinChangeResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PlatformPaymentConfiguration.java b/src/main/java/com/adyen/model/balanceplatform/PlatformPaymentConfiguration.java index 0f9bfb106..d1cbd1025 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PlatformPaymentConfiguration.java +++ b/src/main/java/com/adyen/model/balanceplatform/PlatformPaymentConfiguration.java @@ -45,66 +45,72 @@ public class PlatformPaymentConfiguration { public PlatformPaymentConfiguration() { } + /** + * Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**. + * + * @param salesDayClosingTime + * @return the current {@code PlatformPaymentConfiguration} instance, allowing for method chaining + */ public PlatformPaymentConfiguration salesDayClosingTime(String salesDayClosingTime) { this.salesDayClosingTime = salesDayClosingTime; return this; } - /** - * Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**. + /** + * Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**. * @return salesDayClosingTime - **/ + */ @ApiModelProperty(value = "Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**.") @JsonProperty(JSON_PROPERTY_SALES_DAY_CLOSING_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSalesDayClosingTime() { return salesDayClosingTime; } - - /** - * Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**. - * - * @param salesDayClosingTime - */ + /** + * Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**. + * + * @param salesDayClosingTime + */ @JsonProperty(JSON_PROPERTY_SALES_DAY_CLOSING_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSalesDayClosingTime(String salesDayClosingTime) { this.salesDayClosingTime = salesDayClosingTime; } - + /** + * Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**. + * + * @param settlementDelayDays + * @return the current {@code PlatformPaymentConfiguration} instance, allowing for method chaining + */ public PlatformPaymentConfiguration settlementDelayDays(Integer settlementDelayDays) { this.settlementDelayDays = settlementDelayDays; return this; } - /** - * Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**. + /** + * Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**. * @return settlementDelayDays - **/ - @ApiModelProperty(value = "Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.") + */ + @ApiModelProperty(value = "Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.") @JsonProperty(JSON_PROPERTY_SETTLEMENT_DELAY_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSettlementDelayDays() { return settlementDelayDays; } - - /** - * Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**. - * - * @param settlementDelayDays - */ + /** + * Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**. + * + * @param settlementDelayDays + */ @JsonProperty(JSON_PROPERTY_SETTLEMENT_DELAY_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSettlementDelayDays(Integer settlementDelayDays) { this.settlementDelayDays = settlementDelayDays; } - /** * Return true if this PlatformPaymentConfiguration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/ProcessingTypesRestriction.java b/src/main/java/com/adyen/model/balanceplatform/ProcessingTypesRestriction.java index 058b8dcec..b08af6b2c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/ProcessingTypesRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/ProcessingTypesRestriction.java @@ -94,36 +94,45 @@ public static ValueEnum fromValue(String value) { public ProcessingTypesRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code ProcessingTypesRestriction} instance, allowing for method chaining + */ public ProcessingTypesRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. + * + * @param value + * @return the current {@code ProcessingTypesRestriction} instance, allowing for method chaining + */ public ProcessingTypesRestriction value(List value) { this.value = value; return this; @@ -137,31 +146,28 @@ public ProcessingTypesRestriction addValueItem(ValueEnum valueItem) { return this; } - /** + /** * List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. * @return value - **/ + */ @ApiModelProperty(value = "List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. ") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValue() { return value; } - - /** - * List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. - * - * @param value - */ + /** + * List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(List value) { this.value = value; } - /** * Return true if this ProcessingTypesRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/PublicKeyResponse.java b/src/main/java/com/adyen/model/balanceplatform/PublicKeyResponse.java index e0a7b9017..3530fa9be 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PublicKeyResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/PublicKeyResponse.java @@ -45,66 +45,72 @@ public class PublicKeyResponse { public PublicKeyResponse() { } + /** + * The public key you need for encrypting a symmetric session key. + * + * @param publicKey + * @return the current {@code PublicKeyResponse} instance, allowing for method chaining + */ public PublicKeyResponse publicKey(String publicKey) { this.publicKey = publicKey; return this; } - /** + /** * The public key you need for encrypting a symmetric session key. * @return publicKey - **/ + */ @ApiModelProperty(required = true, value = "The public key you need for encrypting a symmetric session key.") @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPublicKey() { return publicKey; } - - /** - * The public key you need for encrypting a symmetric session key. - * - * @param publicKey - */ + /** + * The public key you need for encrypting a symmetric session key. + * + * @param publicKey + */ @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPublicKey(String publicKey) { this.publicKey = publicKey; } - + /** + * The expiry date of the public key. + * + * @param publicKeyExpiryDate + * @return the current {@code PublicKeyResponse} instance, allowing for method chaining + */ public PublicKeyResponse publicKeyExpiryDate(String publicKeyExpiryDate) { this.publicKeyExpiryDate = publicKeyExpiryDate; return this; } - /** + /** * The expiry date of the public key. * @return publicKeyExpiryDate - **/ + */ @ApiModelProperty(required = true, value = "The expiry date of the public key.") @JsonProperty(JSON_PROPERTY_PUBLIC_KEY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPublicKeyExpiryDate() { return publicKeyExpiryDate; } - - /** - * The expiry date of the public key. - * - * @param publicKeyExpiryDate - */ + /** + * The expiry date of the public key. + * + * @param publicKeyExpiryDate + */ @JsonProperty(JSON_PROPERTY_PUBLIC_KEY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPublicKeyExpiryDate(String publicKeyExpiryDate) { this.publicKeyExpiryDate = publicKeyExpiryDate; } - /** * Return true if this PublicKeyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RegisterSCAFinalResponse.java b/src/main/java/com/adyen/model/balanceplatform/RegisterSCAFinalResponse.java index 139d68b79..a0523d4be 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RegisterSCAFinalResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/RegisterSCAFinalResponse.java @@ -41,36 +41,39 @@ public class RegisterSCAFinalResponse { public RegisterSCAFinalResponse() { } + /** + * Specifies if the registration was initiated successfully. + * + * @param success + * @return the current {@code RegisterSCAFinalResponse} instance, allowing for method chaining + */ public RegisterSCAFinalResponse success(Boolean success) { this.success = success; return this; } - /** + /** * Specifies if the registration was initiated successfully. * @return success - **/ + */ @ApiModelProperty(value = "Specifies if the registration was initiated successfully.") @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuccess() { return success; } - - /** - * Specifies if the registration was initiated successfully. - * - * @param success - */ + /** + * Specifies if the registration was initiated successfully. + * + * @param success + */ @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuccess(Boolean success) { this.success = success; } - /** * Return true if this RegisterSCAFinalResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RegisterSCARequest.java b/src/main/java/com/adyen/model/balanceplatform/RegisterSCARequest.java index 09f483407..a8e344dec 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RegisterSCARequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/RegisterSCARequest.java @@ -32,11 +32,15 @@ * RegisterSCARequest */ @JsonPropertyOrder({ + RegisterSCARequest.JSON_PROPERTY_NAME, RegisterSCARequest.JSON_PROPERTY_PAYMENT_INSTRUMENT_ID, RegisterSCARequest.JSON_PROPERTY_STRONG_CUSTOMER_AUTHENTICATION }) public class RegisterSCARequest { + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID = "paymentInstrumentId"; private String paymentInstrumentId; @@ -46,66 +50,105 @@ public class RegisterSCARequest { public RegisterSCARequest() { } + /** + * The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one. + * + * @param name + * @return the current {@code RegisterSCARequest} instance, allowing for method chaining + */ + public RegisterSCARequest name(String name) { + this.name = name; + return this; + } + + /** + * The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one. + * @return name + */ + @ApiModelProperty(value = "The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one.") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + /** + * The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one. + * + * @param name + */ + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + /** + * The unique identifier of the payment instrument for which you are registering the SCA device. + * + * @param paymentInstrumentId + * @return the current {@code RegisterSCARequest} instance, allowing for method chaining + */ public RegisterSCARequest paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument for which you are registering the SCA device. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the payment instrument for which you are registering the SCA device.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument for which you are registering the SCA device. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument for which you are registering the SCA device. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * strongCustomerAuthentication + * + * @param strongCustomerAuthentication + * @return the current {@code RegisterSCARequest} instance, allowing for method chaining + */ public RegisterSCARequest strongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication) { this.strongCustomerAuthentication = strongCustomerAuthentication; return this; } - /** - * Get strongCustomerAuthentication + /** + * strongCustomerAuthentication * @return strongCustomerAuthentication - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRONG_CUSTOMER_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DelegatedAuthenticationData getStrongCustomerAuthentication() { return strongCustomerAuthentication; } - - /** - * strongCustomerAuthentication - * - * @param strongCustomerAuthentication - */ + /** + * strongCustomerAuthentication + * + * @param strongCustomerAuthentication + */ @JsonProperty(JSON_PROPERTY_STRONG_CUSTOMER_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStrongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication) { this.strongCustomerAuthentication = strongCustomerAuthentication; } - /** * Return true if this RegisterSCARequest object is equal to o. */ @@ -118,19 +161,21 @@ public boolean equals(Object o) { return false; } RegisterSCARequest registerSCARequest = (RegisterSCARequest) o; - return Objects.equals(this.paymentInstrumentId, registerSCARequest.paymentInstrumentId) && + return Objects.equals(this.name, registerSCARequest.name) && + Objects.equals(this.paymentInstrumentId, registerSCARequest.paymentInstrumentId) && Objects.equals(this.strongCustomerAuthentication, registerSCARequest.strongCustomerAuthentication); } @Override public int hashCode() { - return Objects.hash(paymentInstrumentId, strongCustomerAuthentication); + return Objects.hash(name, paymentInstrumentId, strongCustomerAuthentication); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RegisterSCARequest {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); sb.append(" strongCustomerAuthentication: ").append(toIndentedString(strongCustomerAuthentication)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/balanceplatform/RegisterSCAResponse.java b/src/main/java/com/adyen/model/balanceplatform/RegisterSCAResponse.java index 812dfb86c..3fc468004 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RegisterSCAResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/RegisterSCAResponse.java @@ -53,126 +53,138 @@ public class RegisterSCAResponse { public RegisterSCAResponse() { } + /** + * The unique identifier of the SCA device you are registering. + * + * @param id + * @return the current {@code RegisterSCAResponse} instance, allowing for method chaining + */ public RegisterSCAResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the SCA device you are registering. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the SCA device you are registering.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the SCA device you are registering. - * - * @param id - */ + /** + * The unique identifier of the SCA device you are registering. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the payment instrument for which you are registering the SCA device. + * + * @param paymentInstrumentId + * @return the current {@code RegisterSCAResponse} instance, allowing for method chaining + */ public RegisterSCAResponse paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument for which you are registering the SCA device. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the payment instrument for which you are registering the SCA device.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument for which you are registering the SCA device. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument for which you are registering the SCA device. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * A string that you must pass to the authentication SDK to continue with the registration process. + * + * @param sdkInput + * @return the current {@code RegisterSCAResponse} instance, allowing for method chaining + */ public RegisterSCAResponse sdkInput(String sdkInput) { this.sdkInput = sdkInput; return this; } - /** + /** * A string that you must pass to the authentication SDK to continue with the registration process. * @return sdkInput - **/ + */ @ApiModelProperty(value = "A string that you must pass to the authentication SDK to continue with the registration process.") @JsonProperty(JSON_PROPERTY_SDK_INPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkInput() { return sdkInput; } - - /** - * A string that you must pass to the authentication SDK to continue with the registration process. - * - * @param sdkInput - */ + /** + * A string that you must pass to the authentication SDK to continue with the registration process. + * + * @param sdkInput + */ @JsonProperty(JSON_PROPERTY_SDK_INPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkInput(String sdkInput) { this.sdkInput = sdkInput; } - + /** + * Specifies if the registration was initiated successfully. + * + * @param success + * @return the current {@code RegisterSCAResponse} instance, allowing for method chaining + */ public RegisterSCAResponse success(Boolean success) { this.success = success; return this; } - /** + /** * Specifies if the registration was initiated successfully. * @return success - **/ + */ @ApiModelProperty(value = "Specifies if the registration was initiated successfully.") @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuccess() { return success; } - - /** - * Specifies if the registration was initiated successfully. - * - * @param success - */ + /** + * Specifies if the registration was initiated successfully. + * + * @param success + */ @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuccess(Boolean success) { this.success = success; } - /** * Return true if this RegisterSCAResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RemediatingAction.java b/src/main/java/com/adyen/model/balanceplatform/RemediatingAction.java index d79fe062e..33c8dc2ee 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RemediatingAction.java +++ b/src/main/java/com/adyen/model/balanceplatform/RemediatingAction.java @@ -45,66 +45,72 @@ public class RemediatingAction { public RemediatingAction() { } + /** + * The remediating action code. + * + * @param code + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction code(String code) { this.code = code; return this; } - /** + /** * The remediating action code. * @return code - **/ + */ @ApiModelProperty(value = "The remediating action code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The remediating action code. - * - * @param code - */ + /** + * The remediating action code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of how you can resolve the verification error. + * + * @param message + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction message(String message) { this.message = message; return this; } - /** + /** * A description of how you can resolve the verification error. * @return message - **/ + */ @ApiModelProperty(value = "A description of how you can resolve the verification error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of how you can resolve the verification error. - * - * @param message - */ + /** + * A description of how you can resolve the verification error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - /** * Return true if this RemediatingAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/Repayment.java b/src/main/java/com/adyen/model/balanceplatform/Repayment.java index 7f09987e8..28bc71a58 100644 --- a/src/main/java/com/adyen/model/balanceplatform/Repayment.java +++ b/src/main/java/com/adyen/model/balanceplatform/Repayment.java @@ -51,96 +51,105 @@ public class Repayment { public Repayment() { } + /** + * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). + * + * @param basisPoints + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment basisPoints(Integer basisPoints) { this.basisPoints = basisPoints; return this; } - /** + /** * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). * @return basisPoints - **/ + */ @ApiModelProperty(required = true, value = "The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).") @JsonProperty(JSON_PROPERTY_BASIS_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasisPoints() { return basisPoints; } - - /** - * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). - * - * @param basisPoints - */ + /** + * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). + * + * @param basisPoints + */ @JsonProperty(JSON_PROPERTY_BASIS_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasisPoints(Integer basisPoints) { this.basisPoints = basisPoints; } - + /** + * term + * + * @param term + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment term(RepaymentTerm term) { this.term = term; return this; } - /** - * Get term + /** + * term * @return term - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TERM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RepaymentTerm getTerm() { return term; } - - /** - * term - * - * @param term - */ + /** + * term + * + * @param term + */ @JsonProperty(JSON_PROPERTY_TERM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerm(RepaymentTerm term) { this.term = term; } - + /** + * threshold + * + * @param threshold + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment threshold(ThresholdRepayment threshold) { this.threshold = threshold; return this; } - /** - * Get threshold + /** + * threshold * @return threshold - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THRESHOLD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThresholdRepayment getThreshold() { return threshold; } - - /** - * threshold - * - * @param threshold - */ + /** + * threshold + * + * @param threshold + */ @JsonProperty(JSON_PROPERTY_THRESHOLD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreshold(ThresholdRepayment threshold) { this.threshold = threshold; } - /** * Return true if this Repayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RepaymentTerm.java b/src/main/java/com/adyen/model/balanceplatform/RepaymentTerm.java index 9f065cf4e..381bee695 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RepaymentTerm.java +++ b/src/main/java/com/adyen/model/balanceplatform/RepaymentTerm.java @@ -45,66 +45,72 @@ public class RepaymentTerm { public RepaymentTerm() { } + /** + * The estimated term for repaying the grant, in days. + * + * @param estimatedDays + * @return the current {@code RepaymentTerm} instance, allowing for method chaining + */ public RepaymentTerm estimatedDays(Integer estimatedDays) { this.estimatedDays = estimatedDays; return this; } - /** + /** * The estimated term for repaying the grant, in days. * @return estimatedDays - **/ + */ @ApiModelProperty(required = true, value = "The estimated term for repaying the grant, in days.") @JsonProperty(JSON_PROPERTY_ESTIMATED_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getEstimatedDays() { return estimatedDays; } - - /** - * The estimated term for repaying the grant, in days. - * - * @param estimatedDays - */ + /** + * The estimated term for repaying the grant, in days. + * + * @param estimatedDays + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedDays(Integer estimatedDays) { this.estimatedDays = estimatedDays; } - + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + * + * @param maximumDays + * @return the current {@code RepaymentTerm} instance, allowing for method chaining + */ public RepaymentTerm maximumDays(Integer maximumDays) { this.maximumDays = maximumDays; return this; } - /** - * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. * @return maximumDays - **/ + */ @ApiModelProperty(value = "The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**.") @JsonProperty(JSON_PROPERTY_MAXIMUM_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMaximumDays() { return maximumDays; } - - /** - * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. - * - * @param maximumDays - */ + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + * + * @param maximumDays + */ @JsonProperty(JSON_PROPERTY_MAXIMUM_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaximumDays(Integer maximumDays) { this.maximumDays = maximumDays; } - /** * Return true if this RepaymentTerm object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RestServiceError.java b/src/main/java/com/adyen/model/balanceplatform/RestServiceError.java index 9040f13b6..894dd3378 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RestServiceError.java +++ b/src/main/java/com/adyen/model/balanceplatform/RestServiceError.java @@ -76,96 +76,111 @@ public class RestServiceError { public RestServiceError() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(required = true, value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * A code that identifies the problem type. + * + * @param errorCode + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * A code that identifies the problem type. * @return errorCode - **/ + */ @ApiModelProperty(required = true, value = "A code that identifies the problem type.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * A code that identifies the problem type. - * - * @param errorCode - */ + /** + * A code that identifies the problem type. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError instance(String instance) { this.instance = instance; return this; } - /** + /** * A unique URI that identifies the specific occurrence of the problem. * @return instance - **/ + */ @ApiModelProperty(value = "A unique URI that identifies the specific occurrence of the problem.") @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstance() { return instance; } - - /** - * A unique URI that identifies the specific occurrence of the problem. - * - * @param instance - */ + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + */ @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstance(String instance) { this.instance = instance; } - + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError invalidFields(List invalidFields) { this.invalidFields = invalidFields; return this; @@ -179,181 +194,193 @@ public RestServiceError addInvalidFieldsItem(InvalidField invalidFieldsItem) { return this; } - /** + /** * Detailed explanation of each validation error, when applicable. * @return invalidFields - **/ + */ @ApiModelProperty(value = "Detailed explanation of each validation error, when applicable.") @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInvalidFields() { return invalidFields; } - - /** - * Detailed explanation of each validation error, when applicable. - * - * @param invalidFields - */ + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + */ @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvalidFields(List invalidFields) { this.invalidFields = invalidFields; } - + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError requestId(String requestId) { this.requestId = requestId; return this; } - /** - * A unique reference for the request, essentially the same as `pspReference`. + /** + * A unique reference for the request, essentially the same as `pspReference`. * @return requestId - **/ + */ @ApiModelProperty(value = "A unique reference for the request, essentially the same as `pspReference`.") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * A unique reference for the request, essentially the same as `pspReference`. - * - * @param requestId - */ + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * response + * + * @param response + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError response(Object response) { this.response = response; return this; } - /** - * Get response + /** + * response * @return response - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getResponse() { return response; } - - /** - * response - * - * @param response - */ + /** + * response + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(Object response) { this.response = response; } - + /** + * The HTTP status code. + * + * @param status + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP status code. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The HTTP status code.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP status code. - * - * @param status - */ + /** + * The HTTP status code. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(required = true, value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError type(String type) { this.type = type; return this; } - /** + /** * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. * @return type - **/ + */ @ApiModelProperty(required = true, value = "A URI that identifies the problem type, pointing to human-readable documentation on this problem type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. - * - * @param type - */ + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this RestServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RevealPinRequest.java b/src/main/java/com/adyen/model/balanceplatform/RevealPinRequest.java index 8d045b9fb..cb0517e4d 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RevealPinRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/RevealPinRequest.java @@ -45,66 +45,72 @@ public class RevealPinRequest { public RevealPinRequest() { } + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + * @return the current {@code RevealPinRequest} instance, allowing for method chaining + */ public RevealPinRequest encryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; return this; } - /** + /** * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. * @return encryptedKey - **/ + */ @ApiModelProperty(required = true, value = "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedKey() { return encryptedKey; } - - /** - * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. - * - * @param encryptedKey - */ + /** + * The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen. + * + * @param encryptedKey + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedKey(String encryptedKey) { this.encryptedKey = encryptedKey; } - + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + * @return the current {@code RevealPinRequest} instance, allowing for method chaining + */ public RevealPinRequest paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the payment instrument, which is the card for which you are managing the PIN.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument, which is the card for which you are managing the PIN. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - /** * Return true if this RevealPinRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RevealPinResponse.java b/src/main/java/com/adyen/model/balanceplatform/RevealPinResponse.java index bb058930b..36e08699d 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RevealPinResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/RevealPinResponse.java @@ -45,66 +45,72 @@ public class RevealPinResponse { public RevealPinResponse() { } + /** + * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). + * + * @param encryptedPinBlock + * @return the current {@code RevealPinResponse} instance, allowing for method chaining + */ public RevealPinResponse encryptedPinBlock(String encryptedPinBlock) { this.encryptedPinBlock = encryptedPinBlock; return this; } - /** + /** * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). * @return encryptedPinBlock - **/ + */ @ApiModelProperty(required = true, value = "The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).") @JsonProperty(JSON_PROPERTY_ENCRYPTED_PIN_BLOCK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedPinBlock() { return encryptedPinBlock; } - - /** - * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). - * - * @param encryptedPinBlock - */ + /** + * The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block). + * + * @param encryptedPinBlock + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_PIN_BLOCK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedPinBlock(String encryptedPinBlock) { this.encryptedPinBlock = encryptedPinBlock; } - + /** + * The 16-digit token that you need to extract the `encryptedPinBlock`. + * + * @param token + * @return the current {@code RevealPinResponse} instance, allowing for method chaining + */ public RevealPinResponse token(String token) { this.token = token; return this; } - /** - * The 16-digit token that you need to extract the `encryptedPinBlock`. + /** + * The 16-digit token that you need to extract the `encryptedPinBlock`. * @return token - **/ + */ @ApiModelProperty(required = true, value = "The 16-digit token that you need to extract the `encryptedPinBlock`.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * The 16-digit token that you need to extract the `encryptedPinBlock`. - * - * @param token - */ + /** + * The 16-digit token that you need to extract the `encryptedPinBlock`. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - /** * Return true if this RevealPinResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RiskScores.java b/src/main/java/com/adyen/model/balanceplatform/RiskScores.java index d45a17b16..340f846cc 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RiskScores.java +++ b/src/main/java/com/adyen/model/balanceplatform/RiskScores.java @@ -45,66 +45,72 @@ public class RiskScores { public RiskScores() { } + /** + * Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk). + * + * @param mastercard + * @return the current {@code RiskScores} instance, allowing for method chaining + */ public RiskScores mastercard(Integer mastercard) { this.mastercard = mastercard; return this; } - /** + /** * Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk). * @return mastercard - **/ + */ @ApiModelProperty(value = "Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk).") @JsonProperty(JSON_PROPERTY_MASTERCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMastercard() { return mastercard; } - - /** - * Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk). - * - * @param mastercard - */ + /** + * Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk). + * + * @param mastercard + */ @JsonProperty(JSON_PROPERTY_MASTERCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMastercard(Integer mastercard) { this.mastercard = mastercard; } - + /** + * Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk). + * + * @param visa + * @return the current {@code RiskScores} instance, allowing for method chaining + */ public RiskScores visa(Integer visa) { this.visa = visa; return this; } - /** + /** * Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk). * @return visa - **/ + */ @ApiModelProperty(value = "Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk).") @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getVisa() { return visa; } - - /** - * Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk). - * - * @param visa - */ + /** + * Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk). + * + * @param visa + */ @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisa(Integer visa) { this.visa = visa; } - /** * Return true if this RiskScores object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/RiskScoresRestriction.java b/src/main/java/com/adyen/model/balanceplatform/RiskScoresRestriction.java index c297cd321..60d7ac73a 100644 --- a/src/main/java/com/adyen/model/balanceplatform/RiskScoresRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/RiskScoresRestriction.java @@ -46,66 +46,72 @@ public class RiskScoresRestriction { public RiskScoresRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code RiskScoresRestriction} instance, allowing for method chaining + */ public RiskScoresRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code RiskScoresRestriction} instance, allowing for method chaining + */ public RiskScoresRestriction value(RiskScores value) { this.value = value; return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskScores getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(RiskScores value) { this.value = value; } - /** * Return true if this RiskScoresRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java index 5bd668dae..b15c5548c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SELocalAccountIdentification() { } + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. - * - * @param accountNumber - */ + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification clearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; return this; } - /** + /** * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. * @return clearingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingNumber() { return clearingNumber; } - - /** - * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. - * - * @param clearingNumber - */ + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + */ @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; } - + /** + * **seLocal** + * + * @param type + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **seLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**seLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **seLocal** - * - * @param type - */ + /** + * **seLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SELocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java index 62e1b7cd8..8614a55f1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SGLocalAccountIdentification() { } + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4- to 19-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 19-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4- to 19-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **sgLocal** + * + * @param type + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **sgLocal** * @return type - **/ + */ @ApiModelProperty(value = "**sgLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **sgLocal** - * - * @param type - */ + /** + * **sgLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SGLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SameAmountRestriction.java b/src/main/java/com/adyen/model/balanceplatform/SameAmountRestriction.java index 983e58a3d..0c770afcb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SameAmountRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/SameAmountRestriction.java @@ -45,66 +45,72 @@ public class SameAmountRestriction { public SameAmountRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code SameAmountRestriction} instance, allowing for method chaining + */ public SameAmountRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code SameAmountRestriction} instance, allowing for method chaining + */ public SameAmountRestriction value(Boolean value) { this.value = value; return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Boolean value) { this.value = value; } - /** * Return true if this SameAmountRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SameCounterpartyRestriction.java b/src/main/java/com/adyen/model/balanceplatform/SameCounterpartyRestriction.java index 10417a4b7..1e20419d2 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SameCounterpartyRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/SameCounterpartyRestriction.java @@ -45,66 +45,72 @@ public class SameCounterpartyRestriction { public SameCounterpartyRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code SameCounterpartyRestriction} instance, allowing for method chaining + */ public SameCounterpartyRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code SameCounterpartyRestriction} instance, allowing for method chaining + */ public SameCounterpartyRestriction value(Boolean value) { this.value = value; return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Boolean value) { this.value = value; } - /** * Return true if this SameCounterpartyRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SearchRegisteredDevicesResponse.java b/src/main/java/com/adyen/model/balanceplatform/SearchRegisteredDevicesResponse.java index e496158b9..e6b42f6d9 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SearchRegisteredDevicesResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/SearchRegisteredDevicesResponse.java @@ -57,6 +57,12 @@ public class SearchRegisteredDevicesResponse { public SearchRegisteredDevicesResponse() { } + /** + * Contains a list of registered SCA devices and their corresponding details. + * + * @param data + * @return the current {@code SearchRegisteredDevicesResponse} instance, allowing for method chaining + */ public SearchRegisteredDevicesResponse data(List data) { this.data = data; return this; @@ -70,121 +76,127 @@ public SearchRegisteredDevicesResponse addDataItem(Device dataItem) { return this; } - /** + /** * Contains a list of registered SCA devices and their corresponding details. * @return data - **/ + */ @ApiModelProperty(value = "Contains a list of registered SCA devices and their corresponding details.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Contains a list of registered SCA devices and their corresponding details. - * - * @param data - */ + /** + * Contains a list of registered SCA devices and their corresponding details. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * The total amount of registered SCA devices that match the query parameters. + * + * @param itemsTotal + * @return the current {@code SearchRegisteredDevicesResponse} instance, allowing for method chaining + */ public SearchRegisteredDevicesResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * The total amount of registered SCA devices that match the query parameters. * @return itemsTotal - **/ + */ @ApiModelProperty(value = "The total amount of registered SCA devices that match the query parameters.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * The total amount of registered SCA devices that match the query parameters. - * - * @param itemsTotal - */ + /** + * The total amount of registered SCA devices that match the query parameters. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * link + * + * @param link + * @return the current {@code SearchRegisteredDevicesResponse} instance, allowing for method chaining + */ public SearchRegisteredDevicesResponse link(Link link) { this.link = link; return this; } - /** - * Get link + /** + * link * @return link - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Link getLink() { return link; } - - /** - * link - * - * @param link - */ + /** + * link + * + * @param link + */ @JsonProperty(JSON_PROPERTY_LINK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLink(Link link) { this.link = link; } - + /** + * The total amount of list pages. + * + * @param pagesTotal + * @return the current {@code SearchRegisteredDevicesResponse} instance, allowing for method chaining + */ public SearchRegisteredDevicesResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * The total amount of list pages. * @return pagesTotal - **/ + */ @ApiModelProperty(value = "The total amount of list pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * The total amount of list pages. - * - * @param pagesTotal - */ + /** + * The total amount of list pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this SearchRegisteredDevicesResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/StringMatch.java b/src/main/java/com/adyen/model/balanceplatform/StringMatch.java index 23da3afb6..36f1a3058 100644 --- a/src/main/java/com/adyen/model/balanceplatform/StringMatch.java +++ b/src/main/java/com/adyen/model/balanceplatform/StringMatch.java @@ -84,66 +84,72 @@ public static OperationEnum fromValue(String value) { public StringMatch() { } + /** + * The type of string matching operation. Possible values: **startsWith**, **endsWith**, **isEqualTo**, **contains**, + * + * @param operation + * @return the current {@code StringMatch} instance, allowing for method chaining + */ public StringMatch operation(OperationEnum operation) { this.operation = operation; return this; } - /** + /** * The type of string matching operation. Possible values: **startsWith**, **endsWith**, **isEqualTo**, **contains**, * @return operation - **/ + */ @ApiModelProperty(value = "The type of string matching operation. Possible values: **startsWith**, **endsWith**, **isEqualTo**, **contains**,") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OperationEnum getOperation() { return operation; } - - /** - * The type of string matching operation. Possible values: **startsWith**, **endsWith**, **isEqualTo**, **contains**, - * - * @param operation - */ + /** + * The type of string matching operation. Possible values: **startsWith**, **endsWith**, **isEqualTo**, **contains**, + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(OperationEnum operation) { this.operation = operation; } - + /** + * The string to be matched. + * + * @param value + * @return the current {@code StringMatch} instance, allowing for method chaining + */ public StringMatch value(String value) { this.value = value; return this; } - /** + /** * The string to be matched. * @return value - **/ + */ @ApiModelProperty(value = "The string to be matched.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The string to be matched. - * - * @param value - */ + /** + * The string to be matched. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this StringMatch object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java b/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java index b9f0ade32..426fa1925 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java @@ -156,6 +156,8 @@ public static PrioritiesEnum fromValue(String value) { * The reason for disabling the sweep. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -178,18 +180,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -319,156 +327,177 @@ public static TypeEnum fromValue(String value) { public SweepConfigurationV2() { } + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + * + * @param category + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 category(CategoryEnum category) { this.category = category; return this; } - /** - * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. * @return category - **/ + */ @ApiModelProperty(value = "The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. - * - * @param category - */ + /** + * The type of transfer that results from the sweep. Possible values: - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. Required when setting `priorities`. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 counterparty(SweepCounterparty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepCounterparty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(SweepCounterparty counterparty) { this.counterparty = counterparty; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). + * + * @param currency + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + * + * @param description + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 description(String description) { this.description = description; return this; } - /** - * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. * @return description - **/ + */ @ApiModelProperty(value = "The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. - * - * @param description - */ + /** + * The message that will be used in the sweep transfer's description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the sweep. + * + * @param id + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the sweep. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the sweep.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the sweep. - * - * @param id - */ + /** + * The unique identifier of the sweep. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 priorities(List priorities) { this.priorities = priorities; return this; @@ -482,301 +511,325 @@ public SweepConfigurationV2 addPrioritiesItem(PrioritiesEnum prioritiesItem) { return this; } - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). * @return priorities - **/ + */ @ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - + /** + * The reason for disabling the sweep. + * + * @param reason + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for disabling the sweep. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for disabling the sweep.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for disabling the sweep. - * - * @param reason - */ + /** + * The reason for disabling the sweep. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the sweep configuration. + * + * @param reference + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the sweep configuration. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the sweep configuration.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the sweep configuration. - * - * @param reference - */ + /** + * Your reference for the sweep configuration. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** + /** * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = "The reference sent to or received from the counterparty. Only alphanumeric characters are allowed.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. - * - * @param referenceForBeneficiary - */ + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } - + /** + * schedule + * + * @param schedule + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 schedule(SweepSchedule schedule) { this.schedule = schedule; return this; } - /** - * Get schedule + /** + * schedule * @return schedule - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepSchedule getSchedule() { return schedule; } - - /** - * schedule - * - * @param schedule - */ + /** + * schedule + * + * @param schedule + */ @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedule(SweepSchedule schedule) { this.schedule = schedule; } - + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. * @return status - **/ + */ @ApiModelProperty(value = "The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. - * - * @param status - */ + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * sweepAmount + * + * @param sweepAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 sweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; return this; } - /** - * Get sweepAmount + /** + * sweepAmount * @return sweepAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSweepAmount() { return sweepAmount; } - - /** - * sweepAmount - * - * @param sweepAmount - */ + /** + * sweepAmount + * + * @param sweepAmount + */ @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; } - + /** + * targetAmount + * + * @param targetAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 targetAmount(Amount targetAmount) { this.targetAmount = targetAmount; return this; } - /** - * Get targetAmount + /** + * targetAmount * @return targetAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTargetAmount() { return targetAmount; } - - /** - * targetAmount - * - * @param targetAmount - */ + /** + * targetAmount + * + * @param targetAmount + */ @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAmount(Amount targetAmount) { this.targetAmount = targetAmount; } - + /** + * triggerAmount + * + * @param triggerAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 triggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; return this; } - /** - * Get triggerAmount + /** + * triggerAmount * @return triggerAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTriggerAmount() { return triggerAmount; } - - /** - * triggerAmount - * - * @param triggerAmount - */ + /** + * triggerAmount + * + * @param triggerAmount + */ @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; } - + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 type(TypeEnum type) { this.type = type; return this; } - /** + /** * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. * @return type - **/ + */ @ApiModelProperty(value = "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. - * - * @param type - */ + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SweepConfigurationV2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SweepCounterparty.java b/src/main/java/com/adyen/model/balanceplatform/SweepCounterparty.java index f81fc4ee2..24aeaf260 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SweepCounterparty.java +++ b/src/main/java/com/adyen/model/balanceplatform/SweepCounterparty.java @@ -49,96 +49,105 @@ public class SweepCounterparty { public SweepCounterparty() { } + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + * + * @param balanceAccountId + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** - * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + * + * @param merchantAccount + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** - * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. - * - * @param merchantAccount - */ + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + * + * @param transferInstrumentId + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** - * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this SweepCounterparty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/SweepSchedule.java b/src/main/java/com/adyen/model/balanceplatform/SweepSchedule.java index 0c632128e..4244752df 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SweepSchedule.java +++ b/src/main/java/com/adyen/model/balanceplatform/SweepSchedule.java @@ -86,66 +86,72 @@ public static TypeEnum fromValue(String value) { public SweepSchedule() { } + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + * + * @param cronExpression + * @return the current {@code SweepSchedule} instance, allowing for method chaining + */ public SweepSchedule cronExpression(String cronExpression) { this.cronExpression = cronExpression; return this; } - /** - * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. * @return cronExpression - **/ + */ @ApiModelProperty(value = "A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. ") @JsonProperty(JSON_PROPERTY_CRON_EXPRESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCronExpression() { return cronExpression; } - - /** - * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. - * - * @param cronExpression - */ + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + * + * @param cronExpression + */ @JsonProperty(JSON_PROPERTY_CRON_EXPRESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCronExpression(String cronExpression) { this.cronExpression = cronExpression; } - + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + * + * @param type + * @return the current {@code SweepSchedule} instance, allowing for method chaining + */ public SweepSchedule type(TypeEnum type) { this.type = type; return this; } - /** - * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. - * - * @param type - */ + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SweepSchedule object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/ThresholdRepayment.java b/src/main/java/com/adyen/model/balanceplatform/ThresholdRepayment.java index 7c4082e9b..69538e53f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/ThresholdRepayment.java +++ b/src/main/java/com/adyen/model/balanceplatform/ThresholdRepayment.java @@ -42,36 +42,39 @@ public class ThresholdRepayment { public ThresholdRepayment() { } + /** + * amount + * + * @param amount + * @return the current {@code ThresholdRepayment} instance, allowing for method chaining + */ public ThresholdRepayment amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this ThresholdRepayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TimeOfDay.java b/src/main/java/com/adyen/model/balanceplatform/TimeOfDay.java index ab6a91d9b..78c302199 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TimeOfDay.java +++ b/src/main/java/com/adyen/model/balanceplatform/TimeOfDay.java @@ -45,66 +45,72 @@ public class TimeOfDay { public TimeOfDay() { } + /** + * The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. + * + * @param endTime + * @return the current {@code TimeOfDay} instance, allowing for method chaining + */ public TimeOfDay endTime(String endTime) { this.endTime = endTime; return this; } - /** + /** * The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. * @return endTime - **/ + */ @ApiModelProperty(value = "The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. ") @JsonProperty(JSON_PROPERTY_END_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndTime() { return endTime; } - - /** - * The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. - * - * @param endTime - */ + /** + * The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. + * + * @param endTime + */ @JsonProperty(JSON_PROPERTY_END_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndTime(String endTime) { this.endTime = endTime; } - + /** + * The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. + * + * @param startTime + * @return the current {@code TimeOfDay} instance, allowing for method chaining + */ public TimeOfDay startTime(String startTime) { this.startTime = startTime; return this; } - /** + /** * The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. * @return startTime - **/ + */ @ApiModelProperty(value = "The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. ") @JsonProperty(JSON_PROPERTY_START_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartTime() { return startTime; } - - /** - * The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. - * - * @param startTime - */ + /** + * The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**. + * + * @param startTime + */ @JsonProperty(JSON_PROPERTY_START_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartTime(String startTime) { this.startTime = startTime; } - /** * Return true if this TimeOfDay object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TimeOfDayRestriction.java b/src/main/java/com/adyen/model/balanceplatform/TimeOfDayRestriction.java index af3cb10f3..6fb11dfd3 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TimeOfDayRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/TimeOfDayRestriction.java @@ -46,66 +46,72 @@ public class TimeOfDayRestriction { public TimeOfDayRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code TimeOfDayRestriction} instance, allowing for method chaining + */ public TimeOfDayRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code TimeOfDayRestriction} instance, allowing for method chaining + */ public TimeOfDayRestriction value(TimeOfDay value) { this.value = value; return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TimeOfDay getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(TimeOfDay value) { this.value = value; } - /** * Return true if this TimeOfDayRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TotalAmountRestriction.java b/src/main/java/com/adyen/model/balanceplatform/TotalAmountRestriction.java index 1b1fa9307..b60d2477e 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TotalAmountRestriction.java +++ b/src/main/java/com/adyen/model/balanceplatform/TotalAmountRestriction.java @@ -46,66 +46,72 @@ public class TotalAmountRestriction { public TotalAmountRestriction() { } + /** + * Defines how the condition must be evaluated. + * + * @param operation + * @return the current {@code TotalAmountRestriction} instance, allowing for method chaining + */ public TotalAmountRestriction operation(String operation) { this.operation = operation; return this; } - /** + /** * Defines how the condition must be evaluated. * @return operation - **/ + */ @ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.") @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOperation() { return operation; } - - /** - * Defines how the condition must be evaluated. - * - * @param operation - */ + /** + * Defines how the condition must be evaluated. + * + * @param operation + */ @JsonProperty(JSON_PROPERTY_OPERATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperation(String operation) { this.operation = operation; } - + /** + * value + * + * @param value + * @return the current {@code TotalAmountRestriction} instance, allowing for method chaining + */ public TotalAmountRestriction value(Amount value) { this.value = value; return this; } - /** - * Get value + /** + * value * @return value - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getValue() { return value; } - - /** - * value - * - * @param value - */ + /** + * value + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Amount value) { this.value = value; } - /** * Return true if this TotalAmountRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRule.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRule.java index 6cb7f816f..6c765d406 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRule.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRule.java @@ -70,7 +70,7 @@ public class TransactionRule { private TransactionRuleInterval interval; /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. */ public enum OutcomeTypeEnum { ENFORCESCA("enforceSCA"), @@ -248,426 +248,468 @@ public static TypeEnum fromValue(String value) { public TransactionRule() { } + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + * + * @param aggregationLevel + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule aggregationLevel(String aggregationLevel) { this.aggregationLevel = aggregationLevel; return this; } - /** - * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. * @return aggregationLevel - **/ + */ @ApiModelProperty(value = "The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**.") @JsonProperty(JSON_PROPERTY_AGGREGATION_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAggregationLevel() { return aggregationLevel; } - - /** - * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. - * - * @param aggregationLevel - */ + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + * + * @param aggregationLevel + */ @JsonProperty(JSON_PROPERTY_AGGREGATION_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAggregationLevel(String aggregationLevel) { this.aggregationLevel = aggregationLevel; } - + /** + * Your description for the transaction rule. + * + * @param description + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule description(String description) { this.description = description; return this; } - /** + /** * Your description for the transaction rule. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description for the transaction rule.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transaction rule. - * - * @param description - */ + /** + * Your description for the transaction rule. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * + * @param endDate + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule endDate(String endDate) { this.endDate = endDate; return this; } - /** + /** * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. * @return endDate - **/ + */ @ApiModelProperty(value = "The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**.") @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndDate() { return endDate; } - - /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. - * - * @param endDate - */ + /** + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * + * @param endDate + */ @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndDate(String endDate) { this.endDate = endDate; } - + /** + * entityKey + * + * @param entityKey + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule entityKey(TransactionRuleEntityKey entityKey) { this.entityKey = entityKey; return this; } - /** - * Get entityKey + /** + * entityKey * @return entityKey - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENTITY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleEntityKey getEntityKey() { return entityKey; } - - /** - * entityKey - * - * @param entityKey - */ + /** + * entityKey + * + * @param entityKey + */ @JsonProperty(JSON_PROPERTY_ENTITY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityKey(TransactionRuleEntityKey entityKey) { this.entityKey = entityKey; } - + /** + * The unique identifier of the transaction rule. + * + * @param id + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transaction rule. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the transaction rule.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transaction rule. - * - * @param id - */ + /** + * The unique identifier of the transaction rule. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * interval + * + * @param interval + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule interval(TransactionRuleInterval interval) { this.interval = interval; return this; } - /** - * Get interval + /** + * interval * @return interval - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleInterval getInterval() { return interval; } - - /** - * interval - * - * @param interval - */ + /** + * interval + * + * @param interval + */ @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterval(TransactionRuleInterval interval) { this.interval = interval; } - + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. + * + * @param outcomeType + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule outcomeType(OutcomeTypeEnum outcomeType) { this.outcomeType = outcomeType; return this; } - /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. * @return outcomeType - **/ - @ApiModelProperty(value = "The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined.") + */ + @ApiModelProperty(value = "The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**.") @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OutcomeTypeEnum getOutcomeType() { return outcomeType; } - - /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. - * - * @param outcomeType - */ + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. + * + * @param outcomeType + */ @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOutcomeType(OutcomeTypeEnum outcomeType) { this.outcomeType = outcomeType; } - + /** + * Your reference for the transaction rule. + * + * @param reference + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the transaction rule. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "Your reference for the transaction rule.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transaction rule. - * - * @param reference - */ + /** + * Your reference for the transaction rule. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. + * + * @param requestType + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule requestType(RequestTypeEnum requestType) { this.requestType = requestType; return this; } - /** + /** * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. * @return requestType - **/ + */ @ApiModelProperty(value = "Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**.") @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestTypeEnum getRequestType() { return requestType; } - - /** - * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. - * - * @param requestType - */ + /** + * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. + * + * @param requestType + */ @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestType(RequestTypeEnum requestType) { this.requestType = requestType; } - + /** + * ruleRestrictions + * + * @param ruleRestrictions + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule ruleRestrictions(TransactionRuleRestrictions ruleRestrictions) { this.ruleRestrictions = ruleRestrictions; return this; } - /** - * Get ruleRestrictions + /** + * ruleRestrictions * @return ruleRestrictions - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RULE_RESTRICTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleRestrictions getRuleRestrictions() { return ruleRestrictions; } - - /** - * ruleRestrictions - * - * @param ruleRestrictions - */ + /** + * ruleRestrictions + * + * @param ruleRestrictions + */ @JsonProperty(JSON_PROPERTY_RULE_RESTRICTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRuleRestrictions(TransactionRuleRestrictions ruleRestrictions) { this.ruleRestrictions = ruleRestrictions; } - + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + * + * @param score + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule score(Integer score) { this.score = score; return this; } - /** - * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. * @return score - **/ + */ @ApiModelProperty(value = "A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. - * - * @param score - */ + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * + * @param startDate + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule startDate(String startDate) { this.startDate = startDate; return this; } - /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. * @return startDate - **/ + */ @ApiModelProperty(value = "The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. ") @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartDate() { return startDate; } - - /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. - * - * @param startDate - */ + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * + * @param startDate + */ @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartDate(String startDate) { this.startDate = startDate; } - + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + * + * @param status + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. - * - * @param status - */ + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * + * @param type + * @return the current {@code TransactionRule} instance, allowing for method chaining + */ public TransactionRule type(TypeEnum type) { this.type = type; return this; } - /** + /** * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. - * - * @param type - */ + /** + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransactionRule object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleEntityKey.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleEntityKey.java index e3c5d9870..af435108b 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleEntityKey.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleEntityKey.java @@ -45,66 +45,72 @@ public class TransactionRuleEntityKey { public TransactionRuleEntityKey() { } + /** + * The unique identifier of the resource. + * + * @param entityReference + * @return the current {@code TransactionRuleEntityKey} instance, allowing for method chaining + */ public TransactionRuleEntityKey entityReference(String entityReference) { this.entityReference = entityReference; return this; } - /** + /** * The unique identifier of the resource. * @return entityReference - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ENTITY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEntityReference() { return entityReference; } - - /** - * The unique identifier of the resource. - * - * @param entityReference - */ + /** + * The unique identifier of the resource. + * + * @param entityReference + */ @JsonProperty(JSON_PROPERTY_ENTITY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityReference(String entityReference) { this.entityReference = entityReference; } - + /** + * The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**. + * + * @param entityType + * @return the current {@code TransactionRuleEntityKey} instance, allowing for method chaining + */ public TransactionRuleEntityKey entityType(String entityType) { this.entityType = entityType; return this; } - /** + /** * The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**. * @return entityType - **/ + */ @ApiModelProperty(value = "The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEntityType() { return entityType; } - - /** - * The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**. - * - * @param entityType - */ + /** + * The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(String entityType) { this.entityType = entityType; } - /** * Return true if this TransactionRuleEntityKey object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInfo.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInfo.java index 4b7624412..ed853a2eb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInfo.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInfo.java @@ -66,7 +66,7 @@ public class TransactionRuleInfo { private TransactionRuleInterval interval; /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. */ public enum OutcomeTypeEnum { ENFORCESCA("enforceSCA"), @@ -244,396 +244,435 @@ public static TypeEnum fromValue(String value) { public TransactionRuleInfo() { } + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + * + * @param aggregationLevel + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo aggregationLevel(String aggregationLevel) { this.aggregationLevel = aggregationLevel; return this; } - /** - * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. * @return aggregationLevel - **/ + */ @ApiModelProperty(value = "The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**.") @JsonProperty(JSON_PROPERTY_AGGREGATION_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAggregationLevel() { return aggregationLevel; } - - /** - * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. - * - * @param aggregationLevel - */ + /** + * The level at which data must be accumulated, used in rules with `type` **velocity** or **maxUsage**. The level must be the [same or lower in hierarchy](https://docs.adyen.com/issuing/transaction-rules#accumulate-data) than the `entityKey`. If not provided, by default, the rule will accumulate data at the **paymentInstrument** level. Possible values: **paymentInstrument**, **paymentInstrumentGroup**, **balanceAccount**, **accountHolder**, **balancePlatform**. + * + * @param aggregationLevel + */ @JsonProperty(JSON_PROPERTY_AGGREGATION_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAggregationLevel(String aggregationLevel) { this.aggregationLevel = aggregationLevel; } - + /** + * Your description for the transaction rule. + * + * @param description + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo description(String description) { this.description = description; return this; } - /** + /** * Your description for the transaction rule. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description for the transaction rule.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transaction rule. - * - * @param description - */ + /** + * Your description for the transaction rule. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * + * @param endDate + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo endDate(String endDate) { this.endDate = endDate; return this; } - /** + /** * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. * @return endDate - **/ + */ @ApiModelProperty(value = "The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**.") @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndDate() { return endDate; } - - /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. - * - * @param endDate - */ + /** + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * + * @param endDate + */ @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndDate(String endDate) { this.endDate = endDate; } - + /** + * entityKey + * + * @param entityKey + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo entityKey(TransactionRuleEntityKey entityKey) { this.entityKey = entityKey; return this; } - /** - * Get entityKey + /** + * entityKey * @return entityKey - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENTITY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleEntityKey getEntityKey() { return entityKey; } - - /** - * entityKey - * - * @param entityKey - */ + /** + * entityKey + * + * @param entityKey + */ @JsonProperty(JSON_PROPERTY_ENTITY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityKey(TransactionRuleEntityKey entityKey) { this.entityKey = entityKey; } - + /** + * interval + * + * @param interval + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo interval(TransactionRuleInterval interval) { this.interval = interval; return this; } - /** - * Get interval + /** + * interval * @return interval - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleInterval getInterval() { return interval; } - - /** - * interval - * - * @param interval - */ + /** + * interval + * + * @param interval + */ @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterval(TransactionRuleInterval interval) { this.interval = interval; } - + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. + * + * @param outcomeType + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo outcomeType(OutcomeTypeEnum outcomeType) { this.outcomeType = outcomeType; return this; } - /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. * @return outcomeType - **/ - @ApiModelProperty(value = "The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined.") + */ + @ApiModelProperty(value = "The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**.") @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OutcomeTypeEnum getOutcomeType() { return outcomeType; } - - /** - * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. If not provided, by default, this is set to **hardBlock**. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, the transaction is declined. - * - * @param outcomeType - */ + /** + * The [outcome](https://docs.adyen.com/issuing/transaction-rules#outcome) that will be applied when a transaction meets the conditions of the rule. Possible values: * **hardBlock**: the transaction is declined. * **scoreBased**: the transaction is assigned the `score` you specified. Adyen calculates the total score and if it exceeds 100, declines the Transaction. Default value: **hardBlock**. > **scoreBased** is not allowed when `requestType` is **bankTransfer**. + * + * @param outcomeType + */ @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOutcomeType(OutcomeTypeEnum outcomeType) { this.outcomeType = outcomeType; } - + /** + * Your reference for the transaction rule. + * + * @param reference + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the transaction rule. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "Your reference for the transaction rule.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transaction rule. - * - * @param reference - */ + /** + * Your reference for the transaction rule. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. + * + * @param requestType + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo requestType(RequestTypeEnum requestType) { this.requestType = requestType; return this; } - /** + /** * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. * @return requestType - **/ + */ @ApiModelProperty(value = "Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**.") @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestTypeEnum getRequestType() { return requestType; } - - /** - * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. - * - * @param requestType - */ + /** + * Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**. + * + * @param requestType + */ @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestType(RequestTypeEnum requestType) { this.requestType = requestType; } - + /** + * ruleRestrictions + * + * @param ruleRestrictions + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo ruleRestrictions(TransactionRuleRestrictions ruleRestrictions) { this.ruleRestrictions = ruleRestrictions; return this; } - /** - * Get ruleRestrictions + /** + * ruleRestrictions * @return ruleRestrictions - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RULE_RESTRICTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleRestrictions getRuleRestrictions() { return ruleRestrictions; } - - /** - * ruleRestrictions - * - * @param ruleRestrictions - */ + /** + * ruleRestrictions + * + * @param ruleRestrictions + */ @JsonProperty(JSON_PROPERTY_RULE_RESTRICTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRuleRestrictions(TransactionRuleRestrictions ruleRestrictions) { this.ruleRestrictions = ruleRestrictions; } - + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + * + * @param score + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo score(Integer score) { this.score = score; return this; } - /** - * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. * @return score - **/ + */ @ApiModelProperty(value = "A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. - * - * @param score - */ + /** + * A positive or negative score applied to the transaction if it meets the conditions of the rule. Required when `outcomeType` is **scoreBased**. The value must be between **-100** and **100**. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * + * @param startDate + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo startDate(String startDate) { this.startDate = startDate; return this; } - /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. * @return startDate - **/ + */ @ApiModelProperty(value = "The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. ") @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartDate() { return startDate; } - - /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. - * - * @param startDate - */ + /** + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * + * @param startDate + */ @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartDate(String startDate) { this.startDate = startDate; } - + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + * + * @param status + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. - * - * @param status - */ + /** + * The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * + * @param type + * @return the current {@code TransactionRuleInfo} instance, allowing for method chaining + */ public TransactionRuleInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. - * - * @param type - */ + /** + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransactionRuleInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInterval.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInterval.java index 55fc4caa1..812000a10 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInterval.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleInterval.java @@ -152,186 +152,204 @@ public static TypeEnum fromValue(String value) { public TransactionRuleInterval() { } + /** + * The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month. + * + * @param dayOfMonth + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval dayOfMonth(Integer dayOfMonth) { this.dayOfMonth = dayOfMonth; return this; } - /** - * The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month. + /** + * The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month. * @return dayOfMonth - **/ + */ @ApiModelProperty(value = "The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month.") @JsonProperty(JSON_PROPERTY_DAY_OF_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getDayOfMonth() { return dayOfMonth; } - - /** - * The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month. - * - * @param dayOfMonth - */ + /** + * The day of month, used when the `duration.unit` is **months**. If not provided, by default, this is set to **1**, the first day of the month. + * + * @param dayOfMonth + */ @JsonProperty(JSON_PROPERTY_DAY_OF_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDayOfMonth(Integer dayOfMonth) { this.dayOfMonth = dayOfMonth; } - + /** + * The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**. + * + * @param dayOfWeek + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval dayOfWeek(DayOfWeekEnum dayOfWeek) { this.dayOfWeek = dayOfWeek; return this; } - /** - * The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**. + /** + * The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**. * @return dayOfWeek - **/ + */ @ApiModelProperty(value = "The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**.") @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DayOfWeekEnum getDayOfWeek() { return dayOfWeek; } - - /** - * The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**. - * - * @param dayOfWeek - */ + /** + * The day of week, used when the `duration.unit` is **weeks**. If not provided, by default, this is set to **monday**. Possible values: **sunday**, **monday**, **tuesday**, **wednesday**, **thursday**, **friday**. + * + * @param dayOfWeek + */ @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDayOfWeek(DayOfWeekEnum dayOfWeek) { this.dayOfWeek = dayOfWeek; } - + /** + * duration + * + * @param duration + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval duration(Duration duration) { this.duration = duration; return this; } - /** - * Get duration + /** + * duration * @return duration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Duration getDuration() { return duration; } - - /** - * duration - * - * @param duration - */ + /** + * duration + * + * @param duration + */ @JsonProperty(JSON_PROPERTY_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDuration(Duration duration) { this.duration = duration; } - + /** + * The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**. + * + * @param timeOfDay + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval timeOfDay(String timeOfDay) { this.timeOfDay = timeOfDay; return this; } - /** - * The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**. + /** + * The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**. * @return timeOfDay - **/ + */ @ApiModelProperty(value = "The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**.") @JsonProperty(JSON_PROPERTY_TIME_OF_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeOfDay() { return timeOfDay; } - - /** - * The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**. - * - * @param timeOfDay - */ + /** + * The time of day, in **hh:mm:ss** format, used when the `duration.unit` is **hours**. If not provided, by default, this is set to **00:00:00**. + * + * @param timeOfDay + */ @JsonProperty(JSON_PROPERTY_TIME_OF_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeOfDay(String timeOfDay) { this.timeOfDay = timeOfDay; } - + /** + * The [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example, **Europe/Amsterdam**. By default, this is set to **UTC**. + * + * @param timeZone + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example, **Europe/Amsterdam**. By default, this is set to **UTC**. * @return timeZone - **/ + */ @ApiModelProperty(value = "The [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example, **Europe/Amsterdam**. By default, this is set to **UTC**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example, **Europe/Amsterdam**. By default, this is set to **UTC**. - * - * @param timeZone - */ + /** + * The [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For example, **Europe/Amsterdam**. By default, this is set to **UTC**. + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - + /** + * The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify. + * + * @param type + * @return the current {@code TransactionRuleInterval} instance, allowing for method chaining + */ public TransactionRuleInterval type(TypeEnum type) { this.type = type; return this; } - /** - * The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify. + /** + * The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify. - * - * @param type - */ + /** + * The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset. Possible values: * **perTransaction**: conditions are evaluated and the counters are reset for every transaction. * **daily**: the counters are reset daily at 00:00:00 CET. * **weekly**: the counters are reset every Monday at 00:00:00 CET. * **monthly**: the counters reset every first day of the month at 00:00:00 CET. * **lifetime**: conditions are applied to the lifetime of the payment instrument. * **rolling**: conditions are applied and the counters are reset based on a `duration`. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * **sliding**: conditions are applied and the counters are reset based on the current time and a `duration` that you specify. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransactionRuleInterval object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleResponse.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleResponse.java index 0371a7847..df39caa94 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleResponse.java @@ -42,36 +42,39 @@ public class TransactionRuleResponse { public TransactionRuleResponse() { } + /** + * transactionRule + * + * @param transactionRule + * @return the current {@code TransactionRuleResponse} instance, allowing for method chaining + */ public TransactionRuleResponse transactionRule(TransactionRule transactionRule) { this.transactionRule = transactionRule; return this; } - /** - * Get transactionRule + /** + * transactionRule * @return transactionRule - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRule getTransactionRule() { return transactionRule; } - - /** - * transactionRule - * - * @param transactionRule - */ + /** + * transactionRule + * + * @param transactionRule + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRule(TransactionRule transactionRule) { this.transactionRule = transactionRule; } - /** * Return true if this TransactionRuleResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleRestrictions.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleRestrictions.java index ea0f2958a..a0e6c8d17 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRuleRestrictions.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRuleRestrictions.java @@ -132,576 +132,633 @@ public class TransactionRuleRestrictions { public TransactionRuleRestrictions() { } + /** + * activeNetworkTokens + * + * @param activeNetworkTokens + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions activeNetworkTokens(ActiveNetworkTokensRestriction activeNetworkTokens) { this.activeNetworkTokens = activeNetworkTokens; return this; } - /** - * Get activeNetworkTokens + /** + * activeNetworkTokens * @return activeNetworkTokens - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTIVE_NETWORK_TOKENS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ActiveNetworkTokensRestriction getActiveNetworkTokens() { return activeNetworkTokens; } - - /** - * activeNetworkTokens - * - * @param activeNetworkTokens - */ + /** + * activeNetworkTokens + * + * @param activeNetworkTokens + */ @JsonProperty(JSON_PROPERTY_ACTIVE_NETWORK_TOKENS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActiveNetworkTokens(ActiveNetworkTokensRestriction activeNetworkTokens) { this.activeNetworkTokens = activeNetworkTokens; } - + /** + * brandVariants + * + * @param brandVariants + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions brandVariants(BrandVariantsRestriction brandVariants) { this.brandVariants = brandVariants; return this; } - /** - * Get brandVariants + /** + * brandVariants * @return brandVariants - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BRAND_VARIANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrandVariantsRestriction getBrandVariants() { return brandVariants; } - - /** - * brandVariants - * - * @param brandVariants - */ + /** + * brandVariants + * + * @param brandVariants + */ @JsonProperty(JSON_PROPERTY_BRAND_VARIANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandVariants(BrandVariantsRestriction brandVariants) { this.brandVariants = brandVariants; } - + /** + * counterpartyBank + * + * @param counterpartyBank + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions counterpartyBank(CounterpartyBankRestriction counterpartyBank) { this.counterpartyBank = counterpartyBank; return this; } - /** - * Get counterpartyBank + /** + * counterpartyBank * @return counterpartyBank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CounterpartyBankRestriction getCounterpartyBank() { return counterpartyBank; } - - /** - * counterpartyBank - * - * @param counterpartyBank - */ + /** + * counterpartyBank + * + * @param counterpartyBank + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterpartyBank(CounterpartyBankRestriction counterpartyBank) { this.counterpartyBank = counterpartyBank; } - + /** + * countries + * + * @param countries + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions countries(CountriesRestriction countries) { this.countries = countries; return this; } - /** - * Get countries + /** + * countries * @return countries - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CountriesRestriction getCountries() { return countries; } - - /** - * countries - * - * @param countries - */ + /** + * countries + * + * @param countries + */ @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountries(CountriesRestriction countries) { this.countries = countries; } - + /** + * dayOfWeek + * + * @param dayOfWeek + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions dayOfWeek(DayOfWeekRestriction dayOfWeek) { this.dayOfWeek = dayOfWeek; return this; } - /** - * Get dayOfWeek + /** + * dayOfWeek * @return dayOfWeek - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DayOfWeekRestriction getDayOfWeek() { return dayOfWeek; } - - /** - * dayOfWeek - * - * @param dayOfWeek - */ + /** + * dayOfWeek + * + * @param dayOfWeek + */ @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDayOfWeek(DayOfWeekRestriction dayOfWeek) { this.dayOfWeek = dayOfWeek; } - + /** + * differentCurrencies + * + * @param differentCurrencies + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions differentCurrencies(DifferentCurrenciesRestriction differentCurrencies) { this.differentCurrencies = differentCurrencies; return this; } - /** - * Get differentCurrencies + /** + * differentCurrencies * @return differentCurrencies - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DIFFERENT_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DifferentCurrenciesRestriction getDifferentCurrencies() { return differentCurrencies; } - - /** - * differentCurrencies - * - * @param differentCurrencies - */ + /** + * differentCurrencies + * + * @param differentCurrencies + */ @JsonProperty(JSON_PROPERTY_DIFFERENT_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDifferentCurrencies(DifferentCurrenciesRestriction differentCurrencies) { this.differentCurrencies = differentCurrencies; } - + /** + * entryModes + * + * @param entryModes + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions entryModes(EntryModesRestriction entryModes) { this.entryModes = entryModes; return this; } - /** - * Get entryModes + /** + * entryModes * @return entryModes - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENTRY_MODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntryModesRestriction getEntryModes() { return entryModes; } - - /** - * entryModes - * - * @param entryModes - */ + /** + * entryModes + * + * @param entryModes + */ @JsonProperty(JSON_PROPERTY_ENTRY_MODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntryModes(EntryModesRestriction entryModes) { this.entryModes = entryModes; } - + /** + * internationalTransaction + * + * @param internationalTransaction + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions internationalTransaction(InternationalTransactionRestriction internationalTransaction) { this.internationalTransaction = internationalTransaction; return this; } - /** - * Get internationalTransaction + /** + * internationalTransaction * @return internationalTransaction - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERNATIONAL_TRANSACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public InternationalTransactionRestriction getInternationalTransaction() { return internationalTransaction; } - - /** - * internationalTransaction - * - * @param internationalTransaction - */ + /** + * internationalTransaction + * + * @param internationalTransaction + */ @JsonProperty(JSON_PROPERTY_INTERNATIONAL_TRANSACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInternationalTransaction(InternationalTransactionRestriction internationalTransaction) { this.internationalTransaction = internationalTransaction; } - + /** + * matchingTransactions + * + * @param matchingTransactions + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions matchingTransactions(MatchingTransactionsRestriction matchingTransactions) { this.matchingTransactions = matchingTransactions; return this; } - /** - * Get matchingTransactions + /** + * matchingTransactions * @return matchingTransactions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MATCHING_TRANSACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MatchingTransactionsRestriction getMatchingTransactions() { return matchingTransactions; } - - /** - * matchingTransactions - * - * @param matchingTransactions - */ + /** + * matchingTransactions + * + * @param matchingTransactions + */ @JsonProperty(JSON_PROPERTY_MATCHING_TRANSACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMatchingTransactions(MatchingTransactionsRestriction matchingTransactions) { this.matchingTransactions = matchingTransactions; } - + /** + * matchingValues + * + * @param matchingValues + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions matchingValues(MatchingValuesRestriction matchingValues) { this.matchingValues = matchingValues; return this; } - /** - * Get matchingValues + /** + * matchingValues * @return matchingValues - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MATCHING_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MatchingValuesRestriction getMatchingValues() { return matchingValues; } - - /** - * matchingValues - * - * @param matchingValues - */ + /** + * matchingValues + * + * @param matchingValues + */ @JsonProperty(JSON_PROPERTY_MATCHING_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMatchingValues(MatchingValuesRestriction matchingValues) { this.matchingValues = matchingValues; } - + /** + * mccs + * + * @param mccs + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions mccs(MccsRestriction mccs) { this.mccs = mccs; return this; } - /** - * Get mccs + /** + * mccs * @return mccs - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MCCS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MccsRestriction getMccs() { return mccs; } - - /** - * mccs - * - * @param mccs - */ + /** + * mccs + * + * @param mccs + */ @JsonProperty(JSON_PROPERTY_MCCS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMccs(MccsRestriction mccs) { this.mccs = mccs; } - + /** + * merchantNames + * + * @param merchantNames + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions merchantNames(MerchantNamesRestriction merchantNames) { this.merchantNames = merchantNames; return this; } - /** - * Get merchantNames + /** + * merchantNames * @return merchantNames - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_NAMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantNamesRestriction getMerchantNames() { return merchantNames; } - - /** - * merchantNames - * - * @param merchantNames - */ + /** + * merchantNames + * + * @param merchantNames + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantNames(MerchantNamesRestriction merchantNames) { this.merchantNames = merchantNames; } - + /** + * merchants + * + * @param merchants + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions merchants(MerchantsRestriction merchants) { this.merchants = merchants; return this; } - /** - * Get merchants + /** + * merchants * @return merchants - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantsRestriction getMerchants() { return merchants; } - - /** - * merchants - * - * @param merchants - */ + /** + * merchants + * + * @param merchants + */ @JsonProperty(JSON_PROPERTY_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchants(MerchantsRestriction merchants) { this.merchants = merchants; } - + /** + * processingTypes + * + * @param processingTypes + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions processingTypes(ProcessingTypesRestriction processingTypes) { this.processingTypes = processingTypes; return this; } - /** - * Get processingTypes + /** + * processingTypes * @return processingTypes - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypesRestriction getProcessingTypes() { return processingTypes; } - - /** - * processingTypes - * - * @param processingTypes - */ + /** + * processingTypes + * + * @param processingTypes + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingTypes(ProcessingTypesRestriction processingTypes) { this.processingTypes = processingTypes; } - + /** + * riskScores + * + * @param riskScores + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions riskScores(RiskScoresRestriction riskScores) { this.riskScores = riskScores; return this; } - /** - * Get riskScores + /** + * riskScores * @return riskScores - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_SCORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskScoresRestriction getRiskScores() { return riskScores; } - - /** - * riskScores - * - * @param riskScores - */ + /** + * riskScores + * + * @param riskScores + */ @JsonProperty(JSON_PROPERTY_RISK_SCORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScores(RiskScoresRestriction riskScores) { this.riskScores = riskScores; } - + /** + * sameAmountRestriction + * + * @param sameAmountRestriction + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions sameAmountRestriction(SameAmountRestriction sameAmountRestriction) { this.sameAmountRestriction = sameAmountRestriction; return this; } - /** - * Get sameAmountRestriction + /** + * sameAmountRestriction * @return sameAmountRestriction - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SAME_AMOUNT_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SameAmountRestriction getSameAmountRestriction() { return sameAmountRestriction; } - - /** - * sameAmountRestriction - * - * @param sameAmountRestriction - */ + /** + * sameAmountRestriction + * + * @param sameAmountRestriction + */ @JsonProperty(JSON_PROPERTY_SAME_AMOUNT_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSameAmountRestriction(SameAmountRestriction sameAmountRestriction) { this.sameAmountRestriction = sameAmountRestriction; } - + /** + * sameCounterpartyRestriction + * + * @param sameCounterpartyRestriction + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions sameCounterpartyRestriction(SameCounterpartyRestriction sameCounterpartyRestriction) { this.sameCounterpartyRestriction = sameCounterpartyRestriction; return this; } - /** - * Get sameCounterpartyRestriction + /** + * sameCounterpartyRestriction * @return sameCounterpartyRestriction - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SAME_COUNTERPARTY_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SameCounterpartyRestriction getSameCounterpartyRestriction() { return sameCounterpartyRestriction; } - - /** - * sameCounterpartyRestriction - * - * @param sameCounterpartyRestriction - */ + /** + * sameCounterpartyRestriction + * + * @param sameCounterpartyRestriction + */ @JsonProperty(JSON_PROPERTY_SAME_COUNTERPARTY_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSameCounterpartyRestriction(SameCounterpartyRestriction sameCounterpartyRestriction) { this.sameCounterpartyRestriction = sameCounterpartyRestriction; } - + /** + * timeOfDay + * + * @param timeOfDay + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions timeOfDay(TimeOfDayRestriction timeOfDay) { this.timeOfDay = timeOfDay; return this; } - /** - * Get timeOfDay + /** + * timeOfDay * @return timeOfDay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TIME_OF_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TimeOfDayRestriction getTimeOfDay() { return timeOfDay; } - - /** - * timeOfDay - * - * @param timeOfDay - */ + /** + * timeOfDay + * + * @param timeOfDay + */ @JsonProperty(JSON_PROPERTY_TIME_OF_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeOfDay(TimeOfDayRestriction timeOfDay) { this.timeOfDay = timeOfDay; } - + /** + * totalAmount + * + * @param totalAmount + * @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining + */ public TransactionRuleRestrictions totalAmount(TotalAmountRestriction totalAmount) { this.totalAmount = totalAmount; return this; } - /** - * Get totalAmount + /** + * totalAmount * @return totalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TotalAmountRestriction getTotalAmount() { return totalAmount; } - - /** - * totalAmount - * - * @param totalAmount - */ + /** + * totalAmount + * + * @param totalAmount + */ @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalAmount(TotalAmountRestriction totalAmount) { this.totalAmount = totalAmount; } - /** * Return true if this TransactionRuleRestrictions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransactionRulesResponse.java b/src/main/java/com/adyen/model/balanceplatform/TransactionRulesResponse.java index c86e8ce19..34d331c61 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransactionRulesResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransactionRulesResponse.java @@ -44,6 +44,12 @@ public class TransactionRulesResponse { public TransactionRulesResponse() { } + /** + * List of transaction rules. + * + * @param transactionRules + * @return the current {@code TransactionRulesResponse} instance, allowing for method chaining + */ public TransactionRulesResponse transactionRules(List transactionRules) { this.transactionRules = transactionRules; return this; @@ -57,31 +63,28 @@ public TransactionRulesResponse addTransactionRulesItem(TransactionRule transact return this; } - /** + /** * List of transaction rules. * @return transactionRules - **/ + */ @ApiModelProperty(value = "List of transaction rules.") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransactionRules() { return transactionRules; } - - /** - * List of transaction rules. - * - * @param transactionRules - */ + /** + * List of transaction rules. + * + * @param transactionRules + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRules(List transactionRules) { this.transactionRules = transactionRules; } - /** * Return true if this TransactionRulesResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransferRoute.java b/src/main/java/com/adyen/model/balanceplatform/TransferRoute.java index 70be6d404..e7d0410bf 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransferRoute.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransferRoute.java @@ -152,126 +152,144 @@ public static PriorityEnum fromValue(String value) { public TransferRoute() { } + /** + * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. + * + * @param category + * @return the current {@code TransferRoute} instance, allowing for method chaining + */ public TransferRoute category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. * @return category - **/ + */ @ApiModelProperty(value = " The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. ") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - * - * @param category - */ + /** + * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. + * + * @param country + * @return the current {@code TransferRoute} instance, allowing for method chaining + */ public TransferRoute country(String country) { this.country = country; return this; } - /** + /** * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. * @return country - **/ + */ @ApiModelProperty(value = "The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. + * + * @param currency + * @return the current {@code TransferRoute} instance, allowing for method chaining + */ public TransferRoute currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. * @return currency - **/ + */ @ApiModelProperty(value = "The three-character ISO currency code of transfer. For example, **USD** or **EUR**.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. - * - * @param currency - */ + /** + * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + * @return the current {@code TransferRoute} instance, allowing for method chaining + */ public TransferRoute priority(PriorityEnum priority) { this.priority = priority; return this; } - /** + /** * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priority - **/ + */ @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priority - */ + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`. + * + * @param requirements + * @return the current {@code TransferRoute} instance, allowing for method chaining + */ public TransferRoute requirements(List requirements) { this.requirements = requirements; return this; @@ -285,31 +303,28 @@ public TransferRoute addRequirementsItem(TransferRouteRequirementsInner requirem return this; } - /** - * A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`. + /** + * A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`. * @return requirements - **/ + */ @ApiModelProperty(value = "A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`.") @JsonProperty(JSON_PROPERTY_REQUIREMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRequirements() { return requirements; } - - /** - * A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`. - * - * @param requirements - */ + /** + * A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`. + * + * @param requirements + */ @JsonProperty(JSON_PROPERTY_REQUIREMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirements(List requirements) { this.requirements = requirements; } - /** * Return true if this TransferRoute object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransferRouteRequest.java b/src/main/java/com/adyen/model/balanceplatform/TransferRouteRequest.java index 094918567..2176b7de4 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransferRouteRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransferRouteRequest.java @@ -144,186 +144,210 @@ public static PrioritiesEnum fromValue(String value) { public TransferRouteRequest() { } + /** + * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**. + * + * @param balanceAccountId + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** - * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**. + /** + * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). Required if `counterparty` is **transferInstrumentId**. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The unique identifier assigned to the balance platform associated with the account holder. + * + * @param balancePlatform + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier assigned to the balance platform associated with the account holder. * @return balancePlatform - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier assigned to the balance platform associated with the account holder.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier assigned to the balance platform associated with the account holder. - * - * @param balancePlatform - */ + /** + * The unique identifier assigned to the balance platform associated with the account holder. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. + * + * @param category + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. * @return category - **/ + */ @ApiModelProperty(required = true, value = " The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. ") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - * - * @param category - */ + /** + * The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest counterparty(Counterparty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Counterparty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(Counterparty counterparty) { this.counterparty = counterparty; } - + /** + * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request. + * + * @param country + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request. + /** + * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request. * @return country - **/ + */ @ApiModelProperty(value = "The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**. > Either `counterparty` or `country` field must be provided in a transfer route request. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. + * + * @param currency + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character ISO currency code of transfer. For example, **USD** or **EUR**.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. - * - * @param currency - */ + /** + * The three-character ISO currency code of transfer. For example, **USD** or **EUR**. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priorities + * @return the current {@code TransferRouteRequest} instance, allowing for method chaining + */ public TransferRouteRequest priorities(List priorities) { this.priorities = priorities; return this; @@ -337,31 +361,28 @@ public TransferRouteRequest addPrioritiesItem(PrioritiesEnum prioritiesItem) { return this; } - /** + /** * The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priorities - **/ + */ @ApiModelProperty(value = "The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - /** * Return true if this TransferRouteRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/TransferRouteResponse.java b/src/main/java/com/adyen/model/balanceplatform/TransferRouteResponse.java index 91d22bc4f..2d79ba82c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/TransferRouteResponse.java +++ b/src/main/java/com/adyen/model/balanceplatform/TransferRouteResponse.java @@ -44,6 +44,12 @@ public class TransferRouteResponse { public TransferRouteResponse() { } + /** + * List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer. + * + * @param transferRoutes + * @return the current {@code TransferRouteResponse} instance, allowing for method chaining + */ public TransferRouteResponse transferRoutes(List transferRoutes) { this.transferRoutes = transferRoutes; return this; @@ -57,31 +63,28 @@ public TransferRouteResponse addTransferRoutesItem(TransferRoute transferRoutesI return this; } - /** + /** * List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer. * @return transferRoutes - **/ + */ @ApiModelProperty(value = "List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer.") @JsonProperty(JSON_PROPERTY_TRANSFER_ROUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransferRoutes() { return transferRoutes; } - - /** - * List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer. - * - * @param transferRoutes - */ + /** + * List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer. + * + * @param transferRoutes + */ @JsonProperty(JSON_PROPERTY_TRANSFER_ROUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferRoutes(List transferRoutes) { this.transferRoutes = transferRoutes; } - /** * Return true if this TransferRouteResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java index 18453d51d..a9a212696 100644 --- a/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public UKLocalAccountIdentification() { } + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 8-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 8-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 8-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **ukLocal** + * + * @param type + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ukLocal** - * - * @param type - */ + /** + * **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java index 319689889..287652087 100644 --- a/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public USLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * **usLocal** + * + * @param type + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **usLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**usLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **usLocal** - * - * @param type - */ + /** + * **usLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this USLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/UpdateNetworkTokenRequest.java b/src/main/java/com/adyen/model/balanceplatform/UpdateNetworkTokenRequest.java index bc7d0b5c3..0205784f2 100644 --- a/src/main/java/com/adyen/model/balanceplatform/UpdateNetworkTokenRequest.java +++ b/src/main/java/com/adyen/model/balanceplatform/UpdateNetworkTokenRequest.java @@ -78,36 +78,39 @@ public static StatusEnum fromValue(String value) { public UpdateNetworkTokenRequest() { } + /** + * The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed. + * + * @param status + * @return the current {@code UpdateNetworkTokenRequest} instance, allowing for method chaining + */ public UpdateNetworkTokenRequest status(StatusEnum status) { this.status = status; return this; } - /** + /** * The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed. * @return status - **/ + */ @ApiModelProperty(value = "The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed. - * - * @param status - */ + /** + * The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this UpdateNetworkTokenRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/UpdatePaymentInstrument.java b/src/main/java/com/adyen/model/balanceplatform/UpdatePaymentInstrument.java index 355717b28..9dd8d7f23 100644 --- a/src/main/java/com/adyen/model/balanceplatform/UpdatePaymentInstrument.java +++ b/src/main/java/com/adyen/model/balanceplatform/UpdatePaymentInstrument.java @@ -53,7 +53,7 @@ public class UpdatePaymentInstrument { public static final String JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS = "additionalBankAccountIdentifications"; - @Deprecated + @Deprecated // deprecated since Configuration API v2: Please use `bankAccount` object instead private List additionalBankAccountIdentifications = null; public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID = "balanceAccountId"; @@ -218,6 +218,15 @@ public static TypeEnum fromValue(String value) { public UpdatePaymentInstrument() { } + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * @return the current {@code UpdatePaymentInstrument} instance, allowing for method chaining + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated public UpdatePaymentInstrument additionalBankAccountIdentifications(List additionalBankAccountIdentifications) { this.additionalBankAccountIdentifications = additionalBankAccountIdentifications; @@ -232,26 +241,29 @@ public UpdatePaymentInstrument addAdditionalBankAccountIdentificationsItem(Payme return this; } - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. * @return additionalBankAccountIdentifications - * @deprecated - **/ + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated @ApiModelProperty(value = "Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAdditionalBankAccountIdentifications() { return additionalBankAccountIdentifications; } - - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. - * - * @param additionalBankAccountIdentifications - */ + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -259,367 +271,402 @@ public void setAdditionalBankAccountIdentifications(List priorities) { this.priorities = priorities; return this; @@ -482,301 +511,325 @@ public UpdateSweepConfigurationV2 addPrioritiesItem(PrioritiesEnum prioritiesIte return this; } - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). * @return priorities - **/ + */ @ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - + /** + * The reason for disabling the sweep. + * + * @param reason + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for disabling the sweep. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for disabling the sweep.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for disabling the sweep. - * - * @param reason - */ + /** + * The reason for disabling the sweep. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the sweep configuration. + * + * @param reference + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the sweep configuration. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the sweep configuration.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the sweep configuration. - * - * @param reference - */ + /** + * Your reference for the sweep configuration. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** + /** * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = "The reference sent to or received from the counterparty. Only alphanumeric characters are allowed.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. - * - * @param referenceForBeneficiary - */ + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } - + /** + * schedule + * + * @param schedule + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 schedule(SweepSchedule schedule) { this.schedule = schedule; return this; } - /** - * Get schedule + /** + * schedule * @return schedule - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepSchedule getSchedule() { return schedule; } - - /** - * schedule - * - * @param schedule - */ + /** + * schedule + * + * @param schedule + */ @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedule(SweepSchedule schedule) { this.schedule = schedule; } - + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. * @return status - **/ + */ @ApiModelProperty(value = "The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. - * - * @param status - */ + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * sweepAmount + * + * @param sweepAmount + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 sweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; return this; } - /** - * Get sweepAmount + /** + * sweepAmount * @return sweepAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSweepAmount() { return sweepAmount; } - - /** - * sweepAmount - * - * @param sweepAmount - */ + /** + * sweepAmount + * + * @param sweepAmount + */ @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; } - + /** + * targetAmount + * + * @param targetAmount + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 targetAmount(Amount targetAmount) { this.targetAmount = targetAmount; return this; } - /** - * Get targetAmount + /** + * targetAmount * @return targetAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTargetAmount() { return targetAmount; } - - /** - * targetAmount - * - * @param targetAmount - */ + /** + * targetAmount + * + * @param targetAmount + */ @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAmount(Amount targetAmount) { this.targetAmount = targetAmount; } - + /** + * triggerAmount + * + * @param triggerAmount + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 triggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; return this; } - /** - * Get triggerAmount + /** + * triggerAmount * @return triggerAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTriggerAmount() { return triggerAmount; } - - /** - * triggerAmount - * - * @param triggerAmount - */ + /** + * triggerAmount + * + * @param triggerAmount + */ @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; } - + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + * @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining + */ public UpdateSweepConfigurationV2 type(TypeEnum type) { this.type = type; return this; } - /** + /** * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. * @return type - **/ + */ @ApiModelProperty(value = "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. - * - * @param type - */ + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UpdateSweepConfigurationV2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/VerificationDeadline.java b/src/main/java/com/adyen/model/balanceplatform/VerificationDeadline.java index 4bdd5416c..7bf6fd953 100644 --- a/src/main/java/com/adyen/model/balanceplatform/VerificationDeadline.java +++ b/src/main/java/com/adyen/model/balanceplatform/VerificationDeadline.java @@ -86,6 +86,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -183,6 +185,12 @@ public static CapabilitiesEnum fromValue(String value) { public VerificationDeadline() { } + /** + * The names of the capabilities to be disallowed. + * + * @param capabilities + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -193,31 +201,34 @@ public VerificationDeadline addCapabilitiesItem(CapabilitiesEnum capabilitiesIte return this; } - /** + /** * The names of the capabilities to be disallowed. * @return capabilities - **/ + */ @ApiModelProperty(required = true, value = "The names of the capabilities to be disallowed.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * The names of the capabilities to be disallowed. - * - * @param capabilities - */ + /** + * The names of the capabilities to be disallowed. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The unique identifiers of the bank account(s) that the deadline applies to + * + * @param entityIds + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline entityIds(List entityIds) { this.entityIds = entityIds; return this; @@ -231,61 +242,61 @@ public VerificationDeadline addEntityIdsItem(String entityIdsItem) { return this; } - /** + /** * The unique identifiers of the bank account(s) that the deadline applies to * @return entityIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the bank account(s) that the deadline applies to") @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityIds() { return entityIds; } - - /** - * The unique identifiers of the bank account(s) that the deadline applies to - * - * @param entityIds - */ + /** + * The unique identifiers of the bank account(s) that the deadline applies to + * + * @param entityIds + */ @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityIds(List entityIds) { this.entityIds = entityIds; } - + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date that verification is due by before capabilities are disallowed. * @return expiresAt - **/ + */ @ApiModelProperty(required = true, value = "The date that verification is due by before capabilities are disallowed.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date that verification is due by before capabilities are disallowed. - * - * @param expiresAt - */ + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - /** * Return true if this VerificationDeadline object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/VerificationError.java b/src/main/java/com/adyen/model/balanceplatform/VerificationError.java index 01961a67a..335512767 100644 --- a/src/main/java/com/adyen/model/balanceplatform/VerificationError.java +++ b/src/main/java/com/adyen/model/balanceplatform/VerificationError.java @@ -90,6 +90,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -233,6 +235,12 @@ public static TypeEnum fromValue(String value) { public VerificationError() { } + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -246,91 +254,100 @@ public VerificationError addCapabilitiesItem(CapabilitiesEnum capabilitiesItem) return this; } - /** + /** * Contains the capabilities that the verification error applies to. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains the capabilities that the verification error applies to.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains the capabilities that the verification error applies to. - * - * @param capabilities - */ + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of the error. + * + * @param message + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError message(String message) { this.message = message; return this; } - /** + /** * A description of the error. * @return message - **/ + */ @ApiModelProperty(value = "A description of the error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of the error. - * - * @param message - */ + /** + * A description of the error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -344,31 +361,34 @@ public VerificationError addRemediatingActionsItem(RemediatingAction remediating return this; } - /** + /** * Contains the actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "Contains the actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * Contains the actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - + /** + * Contains more granular information about the verification error. + * + * @param subErrors + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError subErrors(List subErrors) { this.subErrors = subErrors; return this; @@ -382,61 +402,61 @@ public VerificationError addSubErrorsItem(VerificationErrorRecursive subErrorsIt return this; } - /** + /** * Contains more granular information about the verification error. * @return subErrors - **/ + */ @ApiModelProperty(value = "Contains more granular information about the verification error.") @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubErrors() { return subErrors; } - - /** - * Contains more granular information about the verification error. - * - * @param subErrors - */ + /** + * Contains more granular information about the verification error. + * + * @param subErrors + */ @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubErrors(List subErrors) { this.subErrors = subErrors; } - + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: **invalidInput**, **dataMissing**. * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: **invalidInput**, **dataMissing**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: **invalidInput**, **dataMissing**. - * - * @param type - */ + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this VerificationError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/balanceplatform/VerificationErrorRecursive.java b/src/main/java/com/adyen/model/balanceplatform/VerificationErrorRecursive.java index 7caef8639..dd2cef4e8 100644 --- a/src/main/java/com/adyen/model/balanceplatform/VerificationErrorRecursive.java +++ b/src/main/java/com/adyen/model/balanceplatform/VerificationErrorRecursive.java @@ -89,6 +89,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -229,6 +231,12 @@ public static TypeEnum fromValue(String value) { public VerificationErrorRecursive() { } + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -242,121 +250,133 @@ public VerificationErrorRecursive addCapabilitiesItem(CapabilitiesEnum capabilit return this; } - /** + /** * Contains the capabilities that the verification error applies to. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains the capabilities that the verification error applies to.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains the capabilities that the verification error applies to. - * - * @param capabilities - */ + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of the error. + * + * @param message + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive message(String message) { this.message = message; return this; } - /** + /** * A description of the error. * @return message - **/ + */ @ApiModelProperty(value = "A description of the error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of the error. - * - * @param message - */ + /** + * A description of the error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: **invalidInput**, **dataMissing**. * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: **invalidInput**, **dataMissing**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: **invalidInput**, **dataMissing**. - * - * @param type - */ + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -370,31 +390,28 @@ public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction re return this; } - /** + /** * Contains the actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "Contains the actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * Contains the actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - /** * Return true if this VerificationError-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/Amount.java b/src/main/java/com/adyen/model/binlookup/Amount.java index e06251afc..a9d3e59cf 100644 --- a/src/main/java/com/adyen/model/binlookup/Amount.java +++ b/src/main/java/com/adyen/model/binlookup/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/BinDetail.java b/src/main/java/com/adyen/model/binlookup/BinDetail.java index 0b0256323..24655839c 100644 --- a/src/main/java/com/adyen/model/binlookup/BinDetail.java +++ b/src/main/java/com/adyen/model/binlookup/BinDetail.java @@ -41,36 +41,39 @@ public class BinDetail { public BinDetail() { } + /** + * The country where the card was issued. + * + * @param issuerCountry + * @return the current {@code BinDetail} instance, allowing for method chaining + */ public BinDetail issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The country where the card was issued. * @return issuerCountry - **/ + */ @ApiModelProperty(value = "The country where the card was issued.") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The country where the card was issued. - * - * @param issuerCountry - */ + /** + * The country where the card was issued. + * + * @param issuerCountry + */ @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - /** * Return true if this BinDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/CardBin.java b/src/main/java/com/adyen/model/binlookup/CardBin.java index 373b381d8..96265d866 100644 --- a/src/main/java/com/adyen/model/binlookup/CardBin.java +++ b/src/main/java/com/adyen/model/binlookup/CardBin.java @@ -81,336 +81,369 @@ public class CardBin { public CardBin() { } + /** + * The first 6 digit of the card number. Enable this field via merchant account settings. + * + * @param bin + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin bin(String bin) { this.bin = bin; return this; } - /** + /** * The first 6 digit of the card number. Enable this field via merchant account settings. * @return bin - **/ + */ @ApiModelProperty(value = "The first 6 digit of the card number. Enable this field via merchant account settings.") @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBin() { return bin; } - - /** - * The first 6 digit of the card number. Enable this field via merchant account settings. - * - * @param bin - */ + /** + * The first 6 digit of the card number. Enable this field via merchant account settings. + * + * @param bin + */ @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBin(String bin) { this.bin = bin; } - + /** + * If true, it indicates a commercial card. Enable this field via merchant account settings. + * + * @param commercial + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin commercial(Boolean commercial) { this.commercial = commercial; return this; } - /** + /** * If true, it indicates a commercial card. Enable this field via merchant account settings. * @return commercial - **/ + */ @ApiModelProperty(value = "If true, it indicates a commercial card. Enable this field via merchant account settings.") @JsonProperty(JSON_PROPERTY_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getCommercial() { return commercial; } - - /** - * If true, it indicates a commercial card. Enable this field via merchant account settings. - * - * @param commercial - */ + /** + * If true, it indicates a commercial card. Enable this field via merchant account settings. + * + * @param commercial + */ @JsonProperty(JSON_PROPERTY_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommercial(Boolean commercial) { this.commercial = commercial; } - + /** + * The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings. + * + * @param fundingSource + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** - * The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings. + /** + * The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings. - * - * @param fundingSource - */ + /** + * The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + * + * @param fundsAvailability + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin fundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; return this; } - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". * @return fundsAvailability - **/ + */ @ApiModelProperty(value = "Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".") @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundsAvailability() { return fundsAvailability; } - - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". - * - * @param fundsAvailability - */ + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + * + * @param fundsAvailability + */ @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; } - + /** + * The first 8 digit of the card number. Enable this field via merchant account settings. + * + * @param issuerBin + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin issuerBin(String issuerBin) { this.issuerBin = issuerBin; return this; } - /** + /** * The first 8 digit of the card number. Enable this field via merchant account settings. * @return issuerBin - **/ + */ @ApiModelProperty(value = "The first 8 digit of the card number. Enable this field via merchant account settings.") @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerBin() { return issuerBin; } - - /** - * The first 8 digit of the card number. Enable this field via merchant account settings. - * - * @param issuerBin - */ + /** + * The first 8 digit of the card number. Enable this field via merchant account settings. + * + * @param issuerBin + */ @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerBin(String issuerBin) { this.issuerBin = issuerBin; } - + /** + * The issuing bank of the card. + * + * @param issuingBank + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin issuingBank(String issuingBank) { this.issuingBank = issuingBank; return this; } - /** + /** * The issuing bank of the card. * @return issuingBank - **/ + */ @ApiModelProperty(value = "The issuing bank of the card.") @JsonProperty(JSON_PROPERTY_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingBank() { return issuingBank; } - - /** - * The issuing bank of the card. - * - * @param issuingBank - */ + /** + * The issuing bank of the card. + * + * @param issuingBank + */ @JsonProperty(JSON_PROPERTY_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingBank(String issuingBank) { this.issuingBank = issuingBank; } - + /** + * The country where the card was issued from. + * + * @param issuingCountry + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin issuingCountry(String issuingCountry) { this.issuingCountry = issuingCountry; return this; } - /** + /** * The country where the card was issued from. * @return issuingCountry - **/ + */ @ApiModelProperty(value = "The country where the card was issued from.") @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingCountry() { return issuingCountry; } - - /** - * The country where the card was issued from. - * - * @param issuingCountry - */ + /** + * The country where the card was issued from. + * + * @param issuingCountry + */ @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCountry(String issuingCountry) { this.issuingCountry = issuingCountry; } - + /** + * The currency of the card. + * + * @param issuingCurrency + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin issuingCurrency(String issuingCurrency) { this.issuingCurrency = issuingCurrency; return this; } - /** + /** * The currency of the card. * @return issuingCurrency - **/ + */ @ApiModelProperty(value = "The currency of the card.") @JsonProperty(JSON_PROPERTY_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingCurrency() { return issuingCurrency; } - - /** - * The currency of the card. - * - * @param issuingCurrency - */ + /** + * The currency of the card. + * + * @param issuingCurrency + */ @JsonProperty(JSON_PROPERTY_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCurrency(String issuingCurrency) { this.issuingCurrency = issuingCurrency; } - + /** + * The payment method associated with the card (e.g. visa, mc, or amex). + * + * @param paymentMethod + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method associated with the card (e.g. visa, mc, or amex). * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The payment method associated with the card (e.g. visa, mc, or amex).") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method associated with the card (e.g. visa, mc, or amex). - * - * @param paymentMethod - */ + /** + * The payment method associated with the card (e.g. visa, mc, or amex). + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + * + * @param payoutEligible + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin payoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; return this; } - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". * @return payoutEligible - **/ + */ @ApiModelProperty(value = "Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".") @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayoutEligible() { return payoutEligible; } - - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". - * - * @param payoutEligible - */ + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + * + * @param payoutEligible + */ @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; } - + /** + * The last four digits of the card number. + * + * @param summary + * @return the current {@code CardBin} instance, allowing for method chaining + */ public CardBin summary(String summary) { this.summary = summary; return this; } - /** + /** * The last four digits of the card number. * @return summary - **/ + */ @ApiModelProperty(value = "The last four digits of the card number.") @JsonProperty(JSON_PROPERTY_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSummary() { return summary; } - - /** - * The last four digits of the card number. - * - * @param summary - */ + /** + * The last four digits of the card number. + * + * @param summary + */ @JsonProperty(JSON_PROPERTY_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSummary(String summary) { this.summary = summary; } - /** * Return true if this CardBin object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/CostEstimateAssumptions.java b/src/main/java/com/adyen/model/binlookup/CostEstimateAssumptions.java index 732ad90b0..73876c92d 100644 --- a/src/main/java/com/adyen/model/binlookup/CostEstimateAssumptions.java +++ b/src/main/java/com/adyen/model/binlookup/CostEstimateAssumptions.java @@ -49,96 +49,105 @@ public class CostEstimateAssumptions { public CostEstimateAssumptions() { } + /** + * If true, the cardholder is expected to successfully authorise via 3D Secure. + * + * @param assume3DSecureAuthenticated + * @return the current {@code CostEstimateAssumptions} instance, allowing for method chaining + */ public CostEstimateAssumptions assume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated) { this.assume3DSecureAuthenticated = assume3DSecureAuthenticated; return this; } - /** + /** * If true, the cardholder is expected to successfully authorise via 3D Secure. * @return assume3DSecureAuthenticated - **/ + */ @ApiModelProperty(value = "If true, the cardholder is expected to successfully authorise via 3D Secure.") @JsonProperty(JSON_PROPERTY_ASSUME3_D_SECURE_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAssume3DSecureAuthenticated() { return assume3DSecureAuthenticated; } - - /** - * If true, the cardholder is expected to successfully authorise via 3D Secure. - * - * @param assume3DSecureAuthenticated - */ + /** + * If true, the cardholder is expected to successfully authorise via 3D Secure. + * + * @param assume3DSecureAuthenticated + */ @JsonProperty(JSON_PROPERTY_ASSUME3_D_SECURE_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated) { this.assume3DSecureAuthenticated = assume3DSecureAuthenticated; } - + /** + * If true, the transaction is expected to have valid Level 3 data. + * + * @param assumeLevel3Data + * @return the current {@code CostEstimateAssumptions} instance, allowing for method chaining + */ public CostEstimateAssumptions assumeLevel3Data(Boolean assumeLevel3Data) { this.assumeLevel3Data = assumeLevel3Data; return this; } - /** + /** * If true, the transaction is expected to have valid Level 3 data. * @return assumeLevel3Data - **/ + */ @ApiModelProperty(value = "If true, the transaction is expected to have valid Level 3 data.") @JsonProperty(JSON_PROPERTY_ASSUME_LEVEL3_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAssumeLevel3Data() { return assumeLevel3Data; } - - /** - * If true, the transaction is expected to have valid Level 3 data. - * - * @param assumeLevel3Data - */ + /** + * If true, the transaction is expected to have valid Level 3 data. + * + * @param assumeLevel3Data + */ @JsonProperty(JSON_PROPERTY_ASSUME_LEVEL3_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssumeLevel3Data(Boolean assumeLevel3Data) { this.assumeLevel3Data = assumeLevel3Data; } - + /** + * If not zero, the number of installments. + * + * @param installments + * @return the current {@code CostEstimateAssumptions} instance, allowing for method chaining + */ public CostEstimateAssumptions installments(Integer installments) { this.installments = installments; return this; } - /** + /** * If not zero, the number of installments. * @return installments - **/ + */ @ApiModelProperty(value = "If not zero, the number of installments.") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getInstallments() { return installments; } - - /** - * If not zero, the number of installments. - * - * @param installments - */ + /** + * If not zero, the number of installments. + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Integer installments) { this.installments = installments; } - /** * Return true if this CostEstimateAssumptions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/CostEstimateRequest.java b/src/main/java/com/adyen/model/binlookup/CostEstimateRequest.java index a4f602eff..33098ba0d 100644 --- a/src/main/java/com/adyen/model/binlookup/CostEstimateRequest.java +++ b/src/main/java/com/adyen/model/binlookup/CostEstimateRequest.java @@ -120,306 +120,336 @@ public static ShopperInteractionEnum fromValue(String value) { public CostEstimateRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * assumptions + * + * @param assumptions + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest assumptions(CostEstimateAssumptions assumptions) { this.assumptions = assumptions; return this; } - /** - * Get assumptions + /** + * assumptions * @return assumptions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ASSUMPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CostEstimateAssumptions getAssumptions() { return assumptions; } - - /** - * assumptions - * - * @param assumptions - */ + /** + * assumptions + * + * @param assumptions + */ @JsonProperty(JSON_PROPERTY_ASSUMPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssumptions(CostEstimateAssumptions assumptions) { this.assumptions = assumptions; } - + /** + * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + * + * @param cardNumber + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } - /** - * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + /** + * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. * @return cardNumber - **/ + */ @ApiModelProperty(value = "The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request.") @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardNumber() { return cardNumber; } - - /** - * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. - * - * @param cardNumber - */ + /** + * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + * + * @param cardNumber + */ @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - + /** + * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + * + * @param encryptedCardNumber + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest encryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; return this; } - /** - * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + /** + * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. * @return encryptedCardNumber - **/ + */ @ApiModelProperty(value = "Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedCardNumber() { return encryptedCardNumber; } - - /** - * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. - * - * @param encryptedCardNumber - */ + /** + * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request. + * + * @param encryptedCardNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; } - + /** + * The merchant account identifier you want to process the (transaction) request with. + * + * @param merchantAccount + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier you want to process the (transaction) request with. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier you want to process the (transaction) request with.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier you want to process the (transaction) request with. - * - * @param merchantAccount - */ + /** + * The merchant account identifier you want to process the (transaction) request with. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * merchantDetails + * + * @param merchantDetails + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest merchantDetails(MerchantDetails merchantDetails) { this.merchantDetails = merchantDetails; return this; } - /** - * Get merchantDetails + /** + * merchantDetails * @return merchantDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantDetails getMerchantDetails() { return merchantDetails; } - - /** - * merchantDetails - * - * @param merchantDetails - */ + /** + * merchantDetails + * + * @param merchantDetails + */ @JsonProperty(JSON_PROPERTY_MERCHANT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantDetails(MerchantDetails merchantDetails) { this.merchantDetails = merchantDetails; } - + /** + * recurring + * + * @param recurring + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code CostEstimateRequest} instance, allowing for method chaining + */ public CostEstimateRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this CostEstimateRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java b/src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java index cb0994b84..935b3bd0c 100644 --- a/src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java +++ b/src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java @@ -59,156 +59,171 @@ public class CostEstimateResponse { public CostEstimateResponse() { } + /** + * cardBin + * + * @param cardBin + * @return the current {@code CostEstimateResponse} instance, allowing for method chaining + */ public CostEstimateResponse cardBin(CardBin cardBin) { this.cardBin = cardBin; return this; } - /** - * Get cardBin + /** + * cardBin * @return cardBin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardBin getCardBin() { return cardBin; } - - /** - * cardBin - * - * @param cardBin - */ + /** + * cardBin + * + * @param cardBin + */ @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardBin(CardBin cardBin) { this.cardBin = cardBin; } - + /** + * costEstimateAmount + * + * @param costEstimateAmount + * @return the current {@code CostEstimateResponse} instance, allowing for method chaining + */ public CostEstimateResponse costEstimateAmount(Amount costEstimateAmount) { this.costEstimateAmount = costEstimateAmount; return this; } - /** - * Get costEstimateAmount + /** + * costEstimateAmount * @return costEstimateAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COST_ESTIMATE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCostEstimateAmount() { return costEstimateAmount; } - - /** - * costEstimateAmount - * - * @param costEstimateAmount - */ + /** + * costEstimateAmount + * + * @param costEstimateAmount + */ @JsonProperty(JSON_PROPERTY_COST_ESTIMATE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCostEstimateAmount(Amount costEstimateAmount) { this.costEstimateAmount = costEstimateAmount; } - + /** + * Adyen's 16-character reference associated with the request. + * + * @param costEstimateReference + * @return the current {@code CostEstimateResponse} instance, allowing for method chaining + */ public CostEstimateResponse costEstimateReference(String costEstimateReference) { this.costEstimateReference = costEstimateReference; return this; } - /** - * Adyen's 16-character reference associated with the request. + /** + * Adyen's 16-character reference associated with the request. * @return costEstimateReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the request.") @JsonProperty(JSON_PROPERTY_COST_ESTIMATE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCostEstimateReference() { return costEstimateReference; } - - /** - * Adyen's 16-character reference associated with the request. - * - * @param costEstimateReference - */ + /** + * Adyen's 16-character reference associated with the request. + * + * @param costEstimateReference + */ @JsonProperty(JSON_PROPERTY_COST_ESTIMATE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCostEstimateReference(String costEstimateReference) { this.costEstimateReference = costEstimateReference; } - + /** + * The result of the cost estimation. + * + * @param resultCode + * @return the current {@code CostEstimateResponse} instance, allowing for method chaining + */ public CostEstimateResponse resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The result of the cost estimation. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the cost estimation.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * The result of the cost estimation. - * - * @param resultCode - */ + /** + * The result of the cost estimation. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - + /** + * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on + * + * @param surchargeType + * @return the current {@code CostEstimateResponse} instance, allowing for method chaining + */ public CostEstimateResponse surchargeType(String surchargeType) { this.surchargeType = surchargeType; return this; } - /** - * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on + /** + * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on * @return surchargeType - **/ + */ @ApiModelProperty(value = "Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on") @JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSurchargeType() { return surchargeType; } - - /** - * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on - * - * @param surchargeType - */ + /** + * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on + * + * @param surchargeType + */ @JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSurchargeType(String surchargeType) { this.surchargeType = surchargeType; } - /** * Return true if this CostEstimateResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/DSPublicKeyDetail.java b/src/main/java/com/adyen/model/binlookup/DSPublicKeyDetail.java index d3f1cd2e2..8cfdd6914 100644 --- a/src/main/java/com/adyen/model/binlookup/DSPublicKeyDetail.java +++ b/src/main/java/com/adyen/model/binlookup/DSPublicKeyDetail.java @@ -57,156 +57,171 @@ public class DSPublicKeyDetail { public DSPublicKeyDetail() { } + /** + * Card brand. + * + * @param brand + * @return the current {@code DSPublicKeyDetail} instance, allowing for method chaining + */ public DSPublicKeyDetail brand(String brand) { this.brand = brand; return this; } - /** + /** * Card brand. * @return brand - **/ + */ @ApiModelProperty(value = "Card brand.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Card brand. - * - * @param brand - */ + /** + * Card brand. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * Directory Server (DS) identifier. + * + * @param directoryServerId + * @return the current {@code DSPublicKeyDetail} instance, allowing for method chaining + */ public DSPublicKeyDetail directoryServerId(String directoryServerId) { this.directoryServerId = directoryServerId; return this; } - /** + /** * Directory Server (DS) identifier. * @return directoryServerId - **/ + */ @ApiModelProperty(value = "Directory Server (DS) identifier.") @JsonProperty(JSON_PROPERTY_DIRECTORY_SERVER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDirectoryServerId() { return directoryServerId; } - - /** - * Directory Server (DS) identifier. - * - * @param directoryServerId - */ + /** + * Directory Server (DS) identifier. + * + * @param directoryServerId + */ @JsonProperty(JSON_PROPERTY_DIRECTORY_SERVER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirectoryServerId(String directoryServerId) { this.directoryServerId = directoryServerId; } - + /** + * The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases). + * + * @param fromSDKVersion + * @return the current {@code DSPublicKeyDetail} instance, allowing for method chaining + */ public DSPublicKeyDetail fromSDKVersion(String fromSDKVersion) { this.fromSDKVersion = fromSDKVersion; return this; } - /** + /** * The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases). * @return fromSDKVersion - **/ + */ @ApiModelProperty(value = "The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases).") @JsonProperty(JSON_PROPERTY_FROM_S_D_K_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFromSDKVersion() { return fromSDKVersion; } - - /** - * The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases). - * - * @param fromSDKVersion - */ + /** + * The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases). + * + * @param fromSDKVersion + */ @JsonProperty(JSON_PROPERTY_FROM_S_D_K_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFromSDKVersion(String fromSDKVersion) { this.fromSDKVersion = fromSDKVersion; } - + /** + * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. + * + * @param publicKey + * @return the current {@code DSPublicKeyDetail} instance, allowing for method chaining + */ public DSPublicKeyDetail publicKey(byte[] publicKey) { this.publicKey = publicKey; return this; } - /** + /** * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. * @return publicKey - **/ + */ @ApiModelProperty(value = "Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key.") @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getPublicKey() { return publicKey; } - - /** - * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. - * - * @param publicKey - */ + /** + * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. + * + * @param publicKey + */ @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPublicKey(byte[] publicKey) { this.publicKey = publicKey; } - + /** + * Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates. + * + * @param rootCertificates + * @return the current {@code DSPublicKeyDetail} instance, allowing for method chaining + */ public DSPublicKeyDetail rootCertificates(String rootCertificates) { this.rootCertificates = rootCertificates; return this; } - /** + /** * Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates. * @return rootCertificates - **/ + */ @ApiModelProperty(value = "Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates.") @JsonProperty(JSON_PROPERTY_ROOT_CERTIFICATES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRootCertificates() { return rootCertificates; } - - /** - * Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates. - * - * @param rootCertificates - */ + /** + * Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates. + * + * @param rootCertificates + */ @JsonProperty(JSON_PROPERTY_ROOT_CERTIFICATES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRootCertificates(String rootCertificates) { this.rootCertificates = rootCertificates; } - /** * Return true if this DSPublicKeyDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/MerchantDetails.java b/src/main/java/com/adyen/model/binlookup/MerchantDetails.java index 2a400e2b9..c97164cb7 100644 --- a/src/main/java/com/adyen/model/binlookup/MerchantDetails.java +++ b/src/main/java/com/adyen/model/binlookup/MerchantDetails.java @@ -49,96 +49,105 @@ public class MerchantDetails { public MerchantDetails() { } + /** + * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. + * + * @param countryCode + * @return the current {@code MerchantDetails} instance, allowing for method chaining + */ public MerchantDetails countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. + /** + * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. * @return countryCode - **/ + */ @ApiModelProperty(value = "2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. - * - * @param countryCode - */ + /** + * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * If true, indicates that the merchant is enrolled in 3D Secure for the card network. + * + * @param enrolledIn3DSecure + * @return the current {@code MerchantDetails} instance, allowing for method chaining + */ public MerchantDetails enrolledIn3DSecure(Boolean enrolledIn3DSecure) { this.enrolledIn3DSecure = enrolledIn3DSecure; return this; } - /** + /** * If true, indicates that the merchant is enrolled in 3D Secure for the card network. * @return enrolledIn3DSecure - **/ + */ @ApiModelProperty(value = "If true, indicates that the merchant is enrolled in 3D Secure for the card network.") @JsonProperty(JSON_PROPERTY_ENROLLED_IN3_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnrolledIn3DSecure() { return enrolledIn3DSecure; } - - /** - * If true, indicates that the merchant is enrolled in 3D Secure for the card network. - * - * @param enrolledIn3DSecure - */ + /** + * If true, indicates that the merchant is enrolled in 3D Secure for the card network. + * + * @param enrolledIn3DSecure + */ @JsonProperty(JSON_PROPERTY_ENROLLED_IN3_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnrolledIn3DSecure(Boolean enrolledIn3DSecure) { this.enrolledIn3DSecure = enrolledIn3DSecure; } - + /** + * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). + * + * @param mcc + * @return the current {@code MerchantDetails} instance, allowing for method chaining + */ public MerchantDetails mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). * @return mcc - **/ + */ @ApiModelProperty(value = "The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code).") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). - * - * @param mcc - */ + /** + * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - /** * Return true if this MerchantDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/Recurring.java b/src/main/java/com/adyen/model/binlookup/Recurring.java index 6a0950697..7487a6df0 100644 --- a/src/main/java/com/adyen/model/binlookup/Recurring.java +++ b/src/main/java/com/adyen/model/binlookup/Recurring.java @@ -134,156 +134,171 @@ public static TokenServiceEnum fromValue(String value) { public Recurring() { } + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring contract(ContractEnum contract) { this.contract = contract; return this; } - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * @return contract - **/ + */ @ApiModelProperty(value = "The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractEnum getContract() { return contract; } - - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). - * - * @param contract - */ + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(ContractEnum contract) { this.contract = contract; } - + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; return this; } - /** + /** * A descriptive name for this detail. * @return recurringDetailName - **/ + */ @ApiModelProperty(value = "A descriptive name for this detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailName() { return recurringDetailName; } - - /** - * A descriptive name for this detail. - * - * @param recurringDetailName - */ + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The name of the token service. + * + * @param tokenService + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring tokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; return this; } - /** + /** * The name of the token service. * @return tokenService - **/ + */ @ApiModelProperty(value = "The name of the token service.") @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenServiceEnum getTokenService() { return tokenService; } - - /** - * The name of the token service. - * - * @param tokenService - */ + /** + * The name of the token service. + * + * @param tokenService + */ @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; } - /** * Return true if this Recurring object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/ServiceError.java b/src/main/java/com/adyen/model/binlookup/ServiceError.java index 15f19e17c..444e543cb 100644 --- a/src/main/java/com/adyen/model/binlookup/ServiceError.java +++ b/src/main/java/com/adyen/model/binlookup/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/ThreeDS2CardRangeDetail.java b/src/main/java/com/adyen/model/binlookup/ThreeDS2CardRangeDetail.java index 0a5561dec..5e4d6044d 100644 --- a/src/main/java/com/adyen/model/binlookup/ThreeDS2CardRangeDetail.java +++ b/src/main/java/com/adyen/model/binlookup/ThreeDS2CardRangeDetail.java @@ -63,6 +63,12 @@ public class ThreeDS2CardRangeDetail { public ThreeDS2CardRangeDetail() { } + /** + * Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported) + * + * @param acsInfoInd + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail acsInfoInd(List acsInfoInd) { this.acsInfoInd = acsInfoInd; return this; @@ -76,121 +82,133 @@ public ThreeDS2CardRangeDetail addAcsInfoIndItem(String acsInfoIndItem) { return this; } - /** + /** * Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported) * @return acsInfoInd - **/ + */ @ApiModelProperty(value = "Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported)") @JsonProperty(JSON_PROPERTY_ACS_INFO_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAcsInfoInd() { return acsInfoInd; } - - /** - * Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported) - * - * @param acsInfoInd - */ + /** + * Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported) + * + * @param acsInfoInd + */ @JsonProperty(JSON_PROPERTY_ACS_INFO_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsInfoInd(List acsInfoInd) { this.acsInfoInd = acsInfoInd; } - + /** + * Card brand. + * + * @param brandCode + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail brandCode(String brandCode) { this.brandCode = brandCode; return this; } - /** + /** * Card brand. * @return brandCode - **/ + */ @ApiModelProperty(value = "Card brand.") @JsonProperty(JSON_PROPERTY_BRAND_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrandCode() { return brandCode; } - - /** - * Card brand. - * - * @param brandCode - */ + /** + * Card brand. + * + * @param brandCode + */ @JsonProperty(JSON_PROPERTY_BRAND_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandCode(String brandCode) { this.brandCode = brandCode; } - + /** + * BIN end range. + * + * @param endRange + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail endRange(String endRange) { this.endRange = endRange; return this; } - /** + /** * BIN end range. * @return endRange - **/ + */ @ApiModelProperty(value = "BIN end range.") @JsonProperty(JSON_PROPERTY_END_RANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndRange() { return endRange; } - - /** - * BIN end range. - * - * @param endRange - */ + /** + * BIN end range. + * + * @param endRange + */ @JsonProperty(JSON_PROPERTY_END_RANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndRange(String endRange) { this.endRange = endRange; } - + /** + * BIN start range. + * + * @param startRange + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail startRange(String startRange) { this.startRange = startRange; return this; } - /** + /** * BIN start range. * @return startRange - **/ + */ @ApiModelProperty(value = "BIN start range.") @JsonProperty(JSON_PROPERTY_START_RANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartRange() { return startRange; } - - /** - * BIN start range. - * - * @param startRange - */ + /** + * BIN start range. + * + * @param startRange + */ @JsonProperty(JSON_PROPERTY_START_RANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartRange(String startRange) { this.startRange = startRange; } - + /** + * Supported 3D Secure protocol versions + * + * @param threeDS2Versions + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail threeDS2Versions(List threeDS2Versions) { this.threeDS2Versions = threeDS2Versions; return this; @@ -204,61 +222,61 @@ public ThreeDS2CardRangeDetail addThreeDS2VersionsItem(String threeDS2VersionsIt return this; } - /** + /** * Supported 3D Secure protocol versions * @return threeDS2Versions - **/ + */ @ApiModelProperty(value = "Supported 3D Secure protocol versions") @JsonProperty(JSON_PROPERTY_THREE_D_S2_VERSIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThreeDS2Versions() { return threeDS2Versions; } - - /** - * Supported 3D Secure protocol versions - * - * @param threeDS2Versions - */ + /** + * Supported 3D Secure protocol versions + * + * @param threeDS2Versions + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_VERSIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Versions(List threeDS2Versions) { this.threeDS2Versions = threeDS2Versions; } - + /** + * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. + * + * @param threeDSMethodURL + * @return the current {@code ThreeDS2CardRangeDetail} instance, allowing for method chaining + */ public ThreeDS2CardRangeDetail threeDSMethodURL(String threeDSMethodURL) { this.threeDSMethodURL = threeDSMethodURL; return this; } - /** + /** * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. * @return threeDSMethodURL - **/ + */ @ApiModelProperty(value = "In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to.") @JsonProperty(JSON_PROPERTY_THREE_D_S_METHOD_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSMethodURL() { return threeDSMethodURL; } - - /** - * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. - * - * @param threeDSMethodURL - */ + /** + * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. + * + * @param threeDSMethodURL + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_METHOD_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSMethodURL(String threeDSMethodURL) { this.threeDSMethodURL = threeDSMethodURL; } - /** * Return true if this ThreeDS2CardRangeDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityRequest.java b/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityRequest.java index 454ecc899..c25ba15b7 100644 --- a/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityRequest.java +++ b/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityRequest.java @@ -65,6 +65,12 @@ public class ThreeDSAvailabilityRequest { public ThreeDSAvailabilityRequest() { } + /** + * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -78,31 +84,34 @@ public ThreeDSAvailabilityRequest putAdditionalDataItem(String key, String addit return this; } - /** - * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * List of brands. + * + * @param brands + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest brands(List brands) { this.brands = brands; return this; @@ -116,151 +125,160 @@ public ThreeDSAvailabilityRequest addBrandsItem(String brandsItem) { return this; } - /** + /** * List of brands. * @return brands - **/ + */ @ApiModelProperty(value = "List of brands.") @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBrands() { return brands; } - - /** - * List of brands. - * - * @param brands - */ + /** + * List of brands. + * + * @param brands + */ @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrands(List brands) { this.brands = brands; } - + /** + * Card number or BIN. + * + * @param cardNumber + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } - /** + /** * Card number or BIN. * @return cardNumber - **/ + */ @ApiModelProperty(value = "Card number or BIN.") @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardNumber() { return cardNumber; } - - /** - * Card number or BIN. - * - * @param cardNumber - */ + /** + * Card number or BIN. + * + * @param cardNumber + */ @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - + /** + * The merchant account identifier. + * + * @param merchantAccount + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier. - * - * @param merchantAccount - */ + /** + * The merchant account identifier. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * A recurring detail reference corresponding to a card. + * + * @param recurringDetailReference + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** + /** * A recurring detail reference corresponding to a card. * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "A recurring detail reference corresponding to a card.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * A recurring detail reference corresponding to a card. - * - * @param recurringDetailReference - */ + /** + * A recurring detail reference corresponding to a card. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + * + * @param shopperReference + * @return the current {@code ThreeDSAvailabilityRequest} instance, allowing for method chaining + */ public ThreeDSAvailabilityRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). * @return shopperReference - **/ + */ @ApiModelProperty(value = "The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID).") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). - * - * @param shopperReference - */ + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this ThreeDSAvailabilityRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityResponse.java b/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityResponse.java index 1a8f2bf44..cac1486c3 100644 --- a/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityResponse.java +++ b/src/main/java/com/adyen/model/binlookup/ThreeDSAvailabilityResponse.java @@ -62,36 +62,45 @@ public class ThreeDSAvailabilityResponse { public ThreeDSAvailabilityResponse() { } + /** + * binDetails + * + * @param binDetails + * @return the current {@code ThreeDSAvailabilityResponse} instance, allowing for method chaining + */ public ThreeDSAvailabilityResponse binDetails(BinDetail binDetails) { this.binDetails = binDetails; return this; } - /** - * Get binDetails + /** + * binDetails * @return binDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BIN_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BinDetail getBinDetails() { return binDetails; } - - /** - * binDetails - * - * @param binDetails - */ + /** + * binDetails + * + * @param binDetails + */ @JsonProperty(JSON_PROPERTY_BIN_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBinDetails(BinDetail binDetails) { this.binDetails = binDetails; } - + /** + * List of Directory Server (DS) public keys. + * + * @param dsPublicKeys + * @return the current {@code ThreeDSAvailabilityResponse} instance, allowing for method chaining + */ public ThreeDSAvailabilityResponse dsPublicKeys(List dsPublicKeys) { this.dsPublicKeys = dsPublicKeys; return this; @@ -105,61 +114,67 @@ public ThreeDSAvailabilityResponse addDsPublicKeysItem(DSPublicKeyDetail dsPubli return this; } - /** + /** * List of Directory Server (DS) public keys. * @return dsPublicKeys - **/ + */ @ApiModelProperty(value = "List of Directory Server (DS) public keys.") @JsonProperty(JSON_PROPERTY_DS_PUBLIC_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDsPublicKeys() { return dsPublicKeys; } - - /** - * List of Directory Server (DS) public keys. - * - * @param dsPublicKeys - */ + /** + * List of Directory Server (DS) public keys. + * + * @param dsPublicKeys + */ @JsonProperty(JSON_PROPERTY_DS_PUBLIC_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsPublicKeys(List dsPublicKeys) { this.dsPublicKeys = dsPublicKeys; } - + /** + * Indicator if 3D Secure 1 is supported. + * + * @param threeDS1Supported + * @return the current {@code ThreeDSAvailabilityResponse} instance, allowing for method chaining + */ public ThreeDSAvailabilityResponse threeDS1Supported(Boolean threeDS1Supported) { this.threeDS1Supported = threeDS1Supported; return this; } - /** + /** * Indicator if 3D Secure 1 is supported. * @return threeDS1Supported - **/ + */ @ApiModelProperty(value = "Indicator if 3D Secure 1 is supported.") @JsonProperty(JSON_PROPERTY_THREE_D_S1_SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDS1Supported() { return threeDS1Supported; } - - /** - * Indicator if 3D Secure 1 is supported. - * - * @param threeDS1Supported - */ + /** + * Indicator if 3D Secure 1 is supported. + * + * @param threeDS1Supported + */ @JsonProperty(JSON_PROPERTY_THREE_D_S1_SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS1Supported(Boolean threeDS1Supported) { this.threeDS1Supported = threeDS1Supported; } - + /** + * List of brand and card range pairs. + * + * @param threeDS2CardRangeDetails + * @return the current {@code ThreeDSAvailabilityResponse} instance, allowing for method chaining + */ public ThreeDSAvailabilityResponse threeDS2CardRangeDetails(List threeDS2CardRangeDetails) { this.threeDS2CardRangeDetails = threeDS2CardRangeDetails; return this; @@ -173,61 +188,61 @@ public ThreeDSAvailabilityResponse addThreeDS2CardRangeDetailsItem(ThreeDS2CardR return this; } - /** + /** * List of brand and card range pairs. * @return threeDS2CardRangeDetails - **/ + */ @ApiModelProperty(value = "List of brand and card range pairs.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_CARD_RANGE_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThreeDS2CardRangeDetails() { return threeDS2CardRangeDetails; } - - /** - * List of brand and card range pairs. - * - * @param threeDS2CardRangeDetails - */ + /** + * List of brand and card range pairs. + * + * @param threeDS2CardRangeDetails + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_CARD_RANGE_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2CardRangeDetails(List threeDS2CardRangeDetails) { this.threeDS2CardRangeDetails = threeDS2CardRangeDetails; } - + /** + * Indicator if 3D Secure 2 is supported. + * + * @param threeDS2supported + * @return the current {@code ThreeDSAvailabilityResponse} instance, allowing for method chaining + */ public ThreeDSAvailabilityResponse threeDS2supported(Boolean threeDS2supported) { this.threeDS2supported = threeDS2supported; return this; } - /** + /** * Indicator if 3D Secure 2 is supported. * @return threeDS2supported - **/ + */ @ApiModelProperty(value = "Indicator if 3D Secure 2 is supported.") @JsonProperty(JSON_PROPERTY_THREE_D_S2SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDS2supported() { return threeDS2supported; } - - /** - * Indicator if 3D Secure 2 is supported. - * - * @param threeDS2supported - */ + /** + * Indicator if 3D Secure 2 is supported. + * + * @param threeDS2supported + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2supported(Boolean threeDS2supported) { this.threeDS2supported = threeDS2supported; } - /** * Return true if this ThreeDSAvailabilityResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AccountInfo.java b/src/main/java/com/adyen/model/checkout/AccountInfo.java index 9dd3f8305..2a9e2d6b0 100644 --- a/src/main/java/com/adyen/model/checkout/AccountInfo.java +++ b/src/main/java/com/adyen/model/checkout/AccountInfo.java @@ -235,11 +235,11 @@ public static DeliveryAddressUsageIndicatorEnum fromValue(String value) { private DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator; public static final String JSON_PROPERTY_HOME_PHONE = "homePhone"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `ThreeDS2RequestData.homePhone` instead. private String homePhone; public static final String JSON_PROPERTY_MOBILE_PHONE = "mobilePhone"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `ThreeDS2RequestData.mobilePhone` instead. private String mobilePhone; public static final String JSON_PROPERTY_PASSWORD_CHANGE_DATE = "passwordChangeDate"; @@ -349,278 +349,314 @@ public static PaymentAccountIndicatorEnum fromValue(String value) { private Boolean suspiciousActivity; public static final String JSON_PROPERTY_WORK_PHONE = "workPhone"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `ThreeDS2RequestData.workPhone` instead. private String workPhone; public AccountInfo() { } + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountAgeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountAgeIndicator(AccountAgeIndicatorEnum accountAgeIndicator) { this.accountAgeIndicator = accountAgeIndicator; return this; } - /** - * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return accountAgeIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_ACCOUNT_AGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountAgeIndicatorEnum getAccountAgeIndicator() { return accountAgeIndicator; } - - /** - * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param accountAgeIndicator - */ + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountAgeIndicator + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_AGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountAgeIndicator(AccountAgeIndicatorEnum accountAgeIndicator) { this.accountAgeIndicator = accountAgeIndicator; } - + /** + * Date when the shopper's account was last changed. + * + * @param accountChangeDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountChangeDate(OffsetDateTime accountChangeDate) { this.accountChangeDate = accountChangeDate; return this; } - /** - * Date when the shopper's account was last changed. + /** + * Date when the shopper's account was last changed. * @return accountChangeDate - **/ + */ @ApiModelProperty(value = "Date when the shopper's account was last changed.") @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getAccountChangeDate() { return accountChangeDate; } - - /** - * Date when the shopper's account was last changed. - * - * @param accountChangeDate - */ + /** + * Date when the shopper's account was last changed. + * + * @param accountChangeDate + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountChangeDate(OffsetDateTime accountChangeDate) { this.accountChangeDate = accountChangeDate; } - + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountChangeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountChangeIndicator(AccountChangeIndicatorEnum accountChangeIndicator) { this.accountChangeIndicator = accountChangeIndicator; return this; } - /** - * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return accountChangeIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountChangeIndicatorEnum getAccountChangeIndicator() { return accountChangeIndicator; } - - /** - * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param accountChangeIndicator - */ + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountChangeIndicator + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountChangeIndicator(AccountChangeIndicatorEnum accountChangeIndicator) { this.accountChangeIndicator = accountChangeIndicator; } - + /** + * Date when the shopper's account was created. + * + * @param accountCreationDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountCreationDate(OffsetDateTime accountCreationDate) { this.accountCreationDate = accountCreationDate; return this; } - /** - * Date when the shopper's account was created. + /** + * Date when the shopper's account was created. * @return accountCreationDate - **/ + */ @ApiModelProperty(value = "Date when the shopper's account was created.") @JsonProperty(JSON_PROPERTY_ACCOUNT_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getAccountCreationDate() { return accountCreationDate; } - - /** - * Date when the shopper's account was created. - * - * @param accountCreationDate - */ + /** + * Date when the shopper's account was created. + * + * @param accountCreationDate + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountCreationDate(OffsetDateTime accountCreationDate) { this.accountCreationDate = accountCreationDate; } - + /** + * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit + * + * @param accountType + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit * @return accountType - **/ + */ @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit - * - * @param accountType - */ + /** + * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + * + * @param addCardAttemptsDay + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo addCardAttemptsDay(Integer addCardAttemptsDay) { this.addCardAttemptsDay = addCardAttemptsDay; return this; } - /** + /** * Number of attempts the shopper tried to add a card to their account in the last day. * @return addCardAttemptsDay - **/ + */ @ApiModelProperty(value = "Number of attempts the shopper tried to add a card to their account in the last day.") @JsonProperty(JSON_PROPERTY_ADD_CARD_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAddCardAttemptsDay() { return addCardAttemptsDay; } - - /** - * Number of attempts the shopper tried to add a card to their account in the last day. - * - * @param addCardAttemptsDay - */ + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + * + * @param addCardAttemptsDay + */ @JsonProperty(JSON_PROPERTY_ADD_CARD_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddCardAttemptsDay(Integer addCardAttemptsDay) { this.addCardAttemptsDay = addCardAttemptsDay; } - + /** + * Date the selected delivery address was first used. + * + * @param deliveryAddressUsageDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo deliveryAddressUsageDate(OffsetDateTime deliveryAddressUsageDate) { this.deliveryAddressUsageDate = deliveryAddressUsageDate; return this; } - /** + /** * Date the selected delivery address was first used. * @return deliveryAddressUsageDate - **/ + */ @ApiModelProperty(value = "Date the selected delivery address was first used.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryAddressUsageDate() { return deliveryAddressUsageDate; } - - /** - * Date the selected delivery address was first used. - * - * @param deliveryAddressUsageDate - */ + /** + * Date the selected delivery address was first used. + * + * @param deliveryAddressUsageDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressUsageDate(OffsetDateTime deliveryAddressUsageDate) { this.deliveryAddressUsageDate = deliveryAddressUsageDate; } - + /** + * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param deliveryAddressUsageIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo deliveryAddressUsageIndicator(DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator) { this.deliveryAddressUsageIndicator = deliveryAddressUsageIndicator; return this; } - /** + /** * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return deliveryAddressUsageIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddressUsageIndicatorEnum getDeliveryAddressUsageIndicator() { return deliveryAddressUsageIndicator; } - - /** - * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param deliveryAddressUsageIndicator - */ + /** + * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param deliveryAddressUsageIndicator + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressUsageIndicator(DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator) { this.deliveryAddressUsageIndicator = deliveryAddressUsageIndicator; } - + /** + * Shopper's home phone number (including the country code). + * + * @param homePhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated public AccountInfo homePhone(String homePhone) { this.homePhone = homePhone; return this; } - /** - * Shopper's home phone number (including the country code). + /** + * Shopper's home phone number (including the country code). * @return homePhone - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's home phone number (including the country code).") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHomePhone() { return homePhone; } - - /** - * Shopper's home phone number (including the country code). - * - * @param homePhone - */ + /** + * Shopper's home phone number (including the country code). + * + * @param homePhone + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -628,33 +664,44 @@ public void setHomePhone(String homePhone) { this.homePhone = homePhone; } - + /** + * Shopper's mobile phone number (including the country code). + * + * @param mobilePhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated public AccountInfo mobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Shopper's mobile phone number (including the country code). + /** + * Shopper's mobile phone number (including the country code). * @return mobilePhone - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's mobile phone number (including the country code).") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMobilePhone() { return mobilePhone; } - - /** - * Shopper's mobile phone number (including the country code). - * - * @param mobilePhone - */ + /** + * Shopper's mobile phone number (including the country code). + * + * @param mobilePhone + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -662,273 +709,308 @@ public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * Date when the shopper last changed their password. + * + * @param passwordChangeDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo passwordChangeDate(OffsetDateTime passwordChangeDate) { this.passwordChangeDate = passwordChangeDate; return this; } - /** + /** * Date when the shopper last changed their password. * @return passwordChangeDate - **/ + */ @ApiModelProperty(value = "Date when the shopper last changed their password.") @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPasswordChangeDate() { return passwordChangeDate; } - - /** - * Date when the shopper last changed their password. - * - * @param passwordChangeDate - */ + /** + * Date when the shopper last changed their password. + * + * @param passwordChangeDate + */ @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPasswordChangeDate(OffsetDateTime passwordChangeDate) { this.passwordChangeDate = passwordChangeDate; } - + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param passwordChangeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo passwordChangeIndicator(PasswordChangeIndicatorEnum passwordChangeIndicator) { this.passwordChangeIndicator = passwordChangeIndicator; return this; } - /** + /** * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return passwordChangeIndicator - **/ + */ @ApiModelProperty(value = "Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PasswordChangeIndicatorEnum getPasswordChangeIndicator() { return passwordChangeIndicator; } - - /** - * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param passwordChangeIndicator - */ + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param passwordChangeIndicator + */ @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPasswordChangeIndicator(PasswordChangeIndicatorEnum passwordChangeIndicator) { this.passwordChangeIndicator = passwordChangeIndicator; } - + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + * + * @param pastTransactionsDay + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo pastTransactionsDay(Integer pastTransactionsDay) { this.pastTransactionsDay = pastTransactionsDay; return this; } - /** + /** * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. * @return pastTransactionsDay - **/ + */ @ApiModelProperty(value = "Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.") @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPastTransactionsDay() { return pastTransactionsDay; } - - /** - * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. - * - * @param pastTransactionsDay - */ + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + * + * @param pastTransactionsDay + */ @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPastTransactionsDay(Integer pastTransactionsDay) { this.pastTransactionsDay = pastTransactionsDay; } - + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + * + * @param pastTransactionsYear + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo pastTransactionsYear(Integer pastTransactionsYear) { this.pastTransactionsYear = pastTransactionsYear; return this; } - /** + /** * Number of all transactions (successful and abandoned) from this shopper in the past year. * @return pastTransactionsYear - **/ + */ @ApiModelProperty(value = "Number of all transactions (successful and abandoned) from this shopper in the past year.") @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPastTransactionsYear() { return pastTransactionsYear; } - - /** - * Number of all transactions (successful and abandoned) from this shopper in the past year. - * - * @param pastTransactionsYear - */ + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + * + * @param pastTransactionsYear + */ @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPastTransactionsYear(Integer pastTransactionsYear) { this.pastTransactionsYear = pastTransactionsYear; } - + /** + * Date this payment method was added to the shopper's account. + * + * @param paymentAccountAge + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo paymentAccountAge(OffsetDateTime paymentAccountAge) { this.paymentAccountAge = paymentAccountAge; return this; } - /** - * Date this payment method was added to the shopper's account. + /** + * Date this payment method was added to the shopper's account. * @return paymentAccountAge - **/ + */ @ApiModelProperty(value = "Date this payment method was added to the shopper's account.") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPaymentAccountAge() { return paymentAccountAge; } - - /** - * Date this payment method was added to the shopper's account. - * - * @param paymentAccountAge - */ + /** + * Date this payment method was added to the shopper's account. + * + * @param paymentAccountAge + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountAge(OffsetDateTime paymentAccountAge) { this.paymentAccountAge = paymentAccountAge; } - + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param paymentAccountIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo paymentAccountIndicator(PaymentAccountIndicatorEnum paymentAccountIndicator) { this.paymentAccountIndicator = paymentAccountIndicator; return this; } - /** - * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return paymentAccountIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentAccountIndicatorEnum getPaymentAccountIndicator() { return paymentAccountIndicator; } - - /** - * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param paymentAccountIndicator - */ + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param paymentAccountIndicator + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountIndicator(PaymentAccountIndicatorEnum paymentAccountIndicator) { this.paymentAccountIndicator = paymentAccountIndicator; } - + /** + * Number of successful purchases in the last six months. + * + * @param purchasesLast6Months + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo purchasesLast6Months(Integer purchasesLast6Months) { this.purchasesLast6Months = purchasesLast6Months; return this; } - /** + /** * Number of successful purchases in the last six months. * @return purchasesLast6Months - **/ + */ @ApiModelProperty(value = "Number of successful purchases in the last six months.") @JsonProperty(JSON_PROPERTY_PURCHASES_LAST6_MONTHS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPurchasesLast6Months() { return purchasesLast6Months; } - - /** - * Number of successful purchases in the last six months. - * - * @param purchasesLast6Months - */ + /** + * Number of successful purchases in the last six months. + * + * @param purchasesLast6Months + */ @JsonProperty(JSON_PROPERTY_PURCHASES_LAST6_MONTHS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchasesLast6Months(Integer purchasesLast6Months) { this.purchasesLast6Months = purchasesLast6Months; } - + /** + * Whether suspicious activity was recorded on this account. + * + * @param suspiciousActivity + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo suspiciousActivity(Boolean suspiciousActivity) { this.suspiciousActivity = suspiciousActivity; return this; } - /** + /** * Whether suspicious activity was recorded on this account. * @return suspiciousActivity - **/ + */ @ApiModelProperty(value = "Whether suspicious activity was recorded on this account.") @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuspiciousActivity() { return suspiciousActivity; } - - /** - * Whether suspicious activity was recorded on this account. - * - * @param suspiciousActivity - */ + /** + * Whether suspicious activity was recorded on this account. + * + * @param suspiciousActivity + */ @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuspiciousActivity(Boolean suspiciousActivity) { this.suspiciousActivity = suspiciousActivity; } - + /** + * Shopper's work phone number (including the country code). + * + * @param workPhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated public AccountInfo workPhone(String workPhone) { this.workPhone = workPhone; return this; } - /** - * Shopper's work phone number (including the country code). + /** + * Shopper's work phone number (including the country code). * @return workPhone - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's work phone number (including the country code).") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWorkPhone() { return workPhone; } - - /** - * Shopper's work phone number (including the country code). - * - * @param workPhone - */ + /** + * Shopper's work phone number (including the country code). + * + * @param workPhone + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -936,7 +1018,6 @@ public void setWorkPhone(String workPhone) { this.workPhone = workPhone; } - /** * Return true if this AccountInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AcctInfo.java b/src/main/java/com/adyen/model/checkout/AcctInfo.java index 38a776fb8..08c92c196 100644 --- a/src/main/java/com/adyen/model/checkout/AcctInfo.java +++ b/src/main/java/com/adyen/model/checkout/AcctInfo.java @@ -372,486 +372,534 @@ public static SuspiciousAccActivityEnum fromValue(String value) { public AcctInfo() { } + /** + * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccAgeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccAgeInd(ChAccAgeIndEnum chAccAgeInd) { this.chAccAgeInd = chAccAgeInd; return this; } - /** + /** * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return chAccAgeInd - **/ + */ @ApiModelProperty(value = "Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_AGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccAgeIndEnum getChAccAgeInd() { return chAccAgeInd; } - - /** - * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param chAccAgeInd - */ + /** + * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccAgeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_AGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccAgeInd(ChAccAgeIndEnum chAccAgeInd) { this.chAccAgeInd = chAccAgeInd; } - + /** + * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** + * + * @param chAccChange + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccChange(String chAccChange) { this.chAccChange = chAccChange; return this; } - /** + /** * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** * @return chAccChange - **/ + */ @ApiModelProperty(value = "Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccChange() { return chAccChange; } - - /** - * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** - * - * @param chAccChange - */ + /** + * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** + * + * @param chAccChange + */ @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccChange(String chAccChange) { this.chAccChange = chAccChange; } - + /** + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param chAccChangeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccChangeInd(ChAccChangeIndEnum chAccChangeInd) { this.chAccChangeInd = chAccChangeInd; return this; } - /** + /** * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days * @return chAccChangeInd - **/ + */ @ApiModelProperty(value = "Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccChangeIndEnum getChAccChangeInd() { return chAccChangeInd; } - - /** - * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days - * - * @param chAccChangeInd - */ + /** + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param chAccChangeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccChangeInd(ChAccChangeIndEnum chAccChangeInd) { this.chAccChangeInd = chAccChangeInd; } - + /** + * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** + * + * @param chAccPwChange + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccPwChange(String chAccPwChange) { this.chAccPwChange = chAccPwChange; return this; } - /** + /** * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** * @return chAccPwChange - **/ + */ @ApiModelProperty(value = "Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccPwChange() { return chAccPwChange; } - - /** - * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** - * - * @param chAccPwChange - */ + /** + * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** + * + * @param chAccPwChange + */ @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccPwChange(String chAccPwChange) { this.chAccPwChange = chAccPwChange; } - + /** + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccPwChangeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccPwChangeInd(ChAccPwChangeIndEnum chAccPwChangeInd) { this.chAccPwChangeInd = chAccPwChangeInd; return this; } - /** + /** * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return chAccPwChangeInd - **/ + */ @ApiModelProperty(value = "Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccPwChangeIndEnum getChAccPwChangeInd() { return chAccPwChangeInd; } - - /** - * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param chAccPwChangeInd - */ + /** + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccPwChangeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccPwChangeInd(ChAccPwChangeIndEnum chAccPwChangeInd) { this.chAccPwChangeInd = chAccPwChangeInd; } - + /** + * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param chAccString + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccString(String chAccString) { this.chAccString = chAccString; return this; } - /** + /** * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** * @return chAccString - **/ + */ @ApiModelProperty(value = "Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccString() { return chAccString; } - - /** - * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param chAccString - */ + /** + * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param chAccString + */ @JsonProperty(JSON_PROPERTY_CH_ACC_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccString(String chAccString) { this.chAccString = chAccString; } - + /** + * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. + * + * @param nbPurchaseAccount + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo nbPurchaseAccount(String nbPurchaseAccount) { this.nbPurchaseAccount = nbPurchaseAccount; return this; } - /** + /** * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. * @return nbPurchaseAccount - **/ + */ @ApiModelProperty(value = "Number of purchases with this cardholder account during the previous six months. Max length: 4 characters.") @JsonProperty(JSON_PROPERTY_NB_PURCHASE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNbPurchaseAccount() { return nbPurchaseAccount; } - - /** - * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. - * - * @param nbPurchaseAccount - */ + /** + * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. + * + * @param nbPurchaseAccount + */ @JsonProperty(JSON_PROPERTY_NB_PURCHASE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNbPurchaseAccount(String nbPurchaseAccount) { this.nbPurchaseAccount = nbPurchaseAccount; } - + /** + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param paymentAccAge + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo paymentAccAge(String paymentAccAge) { this.paymentAccAge = paymentAccAge; return this; } - /** + /** * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** * @return paymentAccAge - **/ + */ @ApiModelProperty(value = "String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAccAge() { return paymentAccAge; } - - /** - * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param paymentAccAge - */ + /** + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param paymentAccAge + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccAge(String paymentAccAge) { this.paymentAccAge = paymentAccAge; } - + /** + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param paymentAccInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo paymentAccInd(PaymentAccIndEnum paymentAccInd) { this.paymentAccInd = paymentAccInd; return this; } - /** + /** * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return paymentAccInd - **/ + */ @ApiModelProperty(value = "Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentAccIndEnum getPaymentAccInd() { return paymentAccInd; } - - /** - * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param paymentAccInd - */ + /** + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param paymentAccInd + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccInd(PaymentAccIndEnum paymentAccInd) { this.paymentAccInd = paymentAccInd; } - + /** + * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. + * + * @param provisionAttemptsDay + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo provisionAttemptsDay(String provisionAttemptsDay) { this.provisionAttemptsDay = provisionAttemptsDay; return this; } - /** + /** * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. * @return provisionAttemptsDay - **/ + */ @ApiModelProperty(value = "Number of Add Card attempts in the last 24 hours. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_PROVISION_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProvisionAttemptsDay() { return provisionAttemptsDay; } - - /** - * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. - * - * @param provisionAttemptsDay - */ + /** + * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. + * + * @param provisionAttemptsDay + */ @JsonProperty(JSON_PROPERTY_PROVISION_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProvisionAttemptsDay(String provisionAttemptsDay) { this.provisionAttemptsDay = provisionAttemptsDay; } - + /** + * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param shipAddressUsage + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipAddressUsage(String shipAddressUsage) { this.shipAddressUsage = shipAddressUsage; return this; } - /** + /** * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** * @return shipAddressUsage - **/ + */ @ApiModelProperty(value = "String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipAddressUsage() { return shipAddressUsage; } - - /** - * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param shipAddressUsage - */ + /** + * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param shipAddressUsage + */ @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipAddressUsage(String shipAddressUsage) { this.shipAddressUsage = shipAddressUsage; } - + /** + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param shipAddressUsageInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipAddressUsageInd(ShipAddressUsageIndEnum shipAddressUsageInd) { this.shipAddressUsageInd = shipAddressUsageInd; return this; } - /** + /** * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days * @return shipAddressUsageInd - **/ + */ @ApiModelProperty(value = "Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days") @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShipAddressUsageIndEnum getShipAddressUsageInd() { return shipAddressUsageInd; } - - /** - * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days - * - * @param shipAddressUsageInd - */ + /** + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param shipAddressUsageInd + */ @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipAddressUsageInd(ShipAddressUsageIndEnum shipAddressUsageInd) { this.shipAddressUsageInd = shipAddressUsageInd; } - + /** + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name + * + * @param shipNameIndicator + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipNameIndicator(ShipNameIndicatorEnum shipNameIndicator) { this.shipNameIndicator = shipNameIndicator; return this; } - /** + /** * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name * @return shipNameIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name") @JsonProperty(JSON_PROPERTY_SHIP_NAME_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShipNameIndicatorEnum getShipNameIndicator() { return shipNameIndicator; } - - /** - * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name - * - * @param shipNameIndicator - */ + /** + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name + * + * @param shipNameIndicator + */ @JsonProperty(JSON_PROPERTY_SHIP_NAME_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipNameIndicator(ShipNameIndicatorEnum shipNameIndicator) { this.shipNameIndicator = shipNameIndicator; } - + /** + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed + * + * @param suspiciousAccActivity + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo suspiciousAccActivity(SuspiciousAccActivityEnum suspiciousAccActivity) { this.suspiciousAccActivity = suspiciousAccActivity; return this; } - /** + /** * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed * @return suspiciousAccActivity - **/ + */ @ApiModelProperty(value = "Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed") @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACC_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SuspiciousAccActivityEnum getSuspiciousAccActivity() { return suspiciousAccActivity; } - - /** - * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed - * - * @param suspiciousAccActivity - */ + /** + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed + * + * @param suspiciousAccActivity + */ @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACC_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuspiciousAccActivity(SuspiciousAccActivityEnum suspiciousAccActivity) { this.suspiciousAccActivity = suspiciousAccActivity; } - + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. + * + * @param txnActivityDay + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo txnActivityDay(String txnActivityDay) { this.txnActivityDay = txnActivityDay; return this; } - /** + /** * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. * @return txnActivityDay - **/ + */ @ApiModelProperty(value = "Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxnActivityDay() { return txnActivityDay; } - - /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. - * - * @param txnActivityDay - */ + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. + * + * @param txnActivityDay + */ @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxnActivityDay(String txnActivityDay) { this.txnActivityDay = txnActivityDay; } - + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. + * + * @param txnActivityYear + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo txnActivityYear(String txnActivityYear) { this.txnActivityYear = txnActivityYear; return this; } - /** + /** * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. * @return txnActivityYear - **/ + */ @ApiModelProperty(value = "Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxnActivityYear() { return txnActivityYear; } - - /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. - * - * @param txnActivityYear - */ + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. + * + * @param txnActivityYear + */ @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxnActivityYear(String txnActivityYear) { this.txnActivityYear = txnActivityYear; } - /** * Return true if this AcctInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AchDetails.java b/src/main/java/com/adyen/model/checkout/AchDetails.java index f93d6e1cb..6a07ae3b1 100644 --- a/src/main/java/com/adyen/model/checkout/AchDetails.java +++ b/src/main/java/com/adyen/model/checkout/AchDetails.java @@ -112,7 +112,7 @@ public static BankAccountTypeEnum fromValue(String value) { private String ownerName; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -162,242 +162,275 @@ public static TypeEnum fromValue(String value) { public AchDetails() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank account type (checking, savings...). + * + * @param bankAccountType + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails bankAccountType(BankAccountTypeEnum bankAccountType) { this.bankAccountType = bankAccountType; return this; } - /** + /** * The bank account type (checking, savings...). * @return bankAccountType - **/ + */ @ApiModelProperty(value = "The bank account type (checking, savings...).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountTypeEnum getBankAccountType() { return bankAccountType; } - - /** - * The bank account type (checking, savings...). - * - * @param bankAccountType - */ + /** + * The bank account type (checking, savings...). + * + * @param bankAccountType + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountType(BankAccountTypeEnum bankAccountType) { this.bankAccountType = bankAccountType; } - + /** + * The bank routing number of the account. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The bank routing number of the account. The field value is `nil` in most cases. + /** + * The bank routing number of the account. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The bank routing number of the account. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The bank routing number of the account. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The bank routing number of the account. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * Encrypted bank account number. The bank account number (without separators). + * + * @param encryptedBankAccountNumber + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails encryptedBankAccountNumber(String encryptedBankAccountNumber) { this.encryptedBankAccountNumber = encryptedBankAccountNumber; return this; } - /** + /** * Encrypted bank account number. The bank account number (without separators). * @return encryptedBankAccountNumber - **/ + */ @ApiModelProperty(value = "Encrypted bank account number. The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_ENCRYPTED_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedBankAccountNumber() { return encryptedBankAccountNumber; } - - /** - * Encrypted bank account number. The bank account number (without separators). - * - * @param encryptedBankAccountNumber - */ + /** + * Encrypted bank account number. The bank account number (without separators). + * + * @param encryptedBankAccountNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedBankAccountNumber(String encryptedBankAccountNumber) { this.encryptedBankAccountNumber = encryptedBankAccountNumber; } - + /** + * Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases. + * + * @param encryptedBankLocationId + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails encryptedBankLocationId(String encryptedBankLocationId) { this.encryptedBankLocationId = encryptedBankLocationId; return this; } - /** - * Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases. + /** + * Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases. * @return encryptedBankLocationId - **/ + */ @ApiModelProperty(value = "Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedBankLocationId() { return encryptedBankLocationId; } - - /** - * Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases. - * - * @param encryptedBankLocationId - */ + /** + * Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases. + * + * @param encryptedBankLocationId + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedBankLocationId(String encryptedBankLocationId) { this.encryptedBankLocationId = encryptedBankLocationId; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code AchDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public AchDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -405,97 +438,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - + /** + * **ach** + * + * @param type + * @return the current {@code AchDetails} instance, allowing for method chaining + */ public AchDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ach** * @return type - **/ + */ @ApiModelProperty(value = "**ach**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ach** - * - * @param type - */ + /** + * **ach** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AchDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalData3DSecure.java b/src/main/java/com/adyen/model/checkout/AdditionalData3DSecure.java index d6fc470bd..c8df07e79 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalData3DSecure.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalData3DSecure.java @@ -41,7 +41,7 @@ public class AdditionalData3DSecure { public static final String JSON_PROPERTY_ALLOW3_D_S2 = "allow3DS2"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.threeDSRequestData.nativeThreeDS` instead. private String allow3DS2; /** @@ -89,7 +89,7 @@ public static ChallengeWindowSizeEnum fromValue(String value) { private ChallengeWindowSizeEnum challengeWindowSize; public static final String JSON_PROPERTY_EXECUTE_THREE_D = "executeThreeD"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead private String executeThreeD; public static final String JSON_PROPERTY_MPI_IMPLEMENTATION_TYPE = "mpiImplementationType"; @@ -104,32 +104,44 @@ public static ChallengeWindowSizeEnum fromValue(String value) { public AdditionalData3DSecure() { } + /** + * 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 + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.threeDSRequestData.nativeThreeDS` instead. + */ @Deprecated public AdditionalData3DSecure allow3DS2(String allow3DS2) { this.allow3DS2 = allow3DS2; return this; } - /** - * 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. + /** + * 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 since Adyen Checkout API v69 + * Use `authenticationData.threeDSRequestData.nativeThreeDS` instead. + */ @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 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) - public String getAllow3DS2() { return 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 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 - */ + /** + * 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 + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.threeDSRequestData.nativeThreeDS` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_ALLOW3_D_S2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -137,63 +149,77 @@ public void setAllow3DS2(String allow3DS2) { this.allow3DS2 = allow3DS2; } - + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure challengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; return this; } - /** + /** * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen * @return challengeWindowSize - **/ + */ @ApiModelProperty(value = "Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen") @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeWindowSizeEnum getChallengeWindowSize() { return challengeWindowSize; } - - /** - * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen - * - * @param challengeWindowSize - */ + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; } - + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + * + * @param executeThreeD + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead + */ @Deprecated public AdditionalData3DSecure executeThreeD(String executeThreeD) { this.executeThreeD = executeThreeD; return this; } - /** - * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. * @return executeThreeD - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead + */ @Deprecated @ApiModelProperty(value = "Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. ") @JsonProperty(JSON_PROPERTY_EXECUTE_THREE_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExecuteThreeD() { return executeThreeD; } - - /** - * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. - * - * @param executeThreeD - */ + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + * + * @param executeThreeD + * + * @deprecated since Adyen Checkout API v69 + * Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_EXECUTE_THREE_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -201,97 +227,105 @@ public void setExecuteThreeD(String executeThreeD) { this.executeThreeD = executeThreeD; } - + /** + * In case of Secure+, this field must be set to **CUPSecurePlus**. + * + * @param mpiImplementationType + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure mpiImplementationType(String mpiImplementationType) { this.mpiImplementationType = mpiImplementationType; return this; } - /** + /** * In case of Secure+, this field must be set to **CUPSecurePlus**. * @return mpiImplementationType - **/ + */ @ApiModelProperty(value = "In case of Secure+, this field must be set to **CUPSecurePlus**.") @JsonProperty(JSON_PROPERTY_MPI_IMPLEMENTATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMpiImplementationType() { return mpiImplementationType; } - - /** - * In case of Secure+, this field must be set to **CUPSecurePlus**. - * - * @param mpiImplementationType - */ + /** + * In case of Secure+, this field must be set to **CUPSecurePlus**. + * + * @param mpiImplementationType + */ @JsonProperty(JSON_PROPERTY_MPI_IMPLEMENTATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiImplementationType(String mpiImplementationType) { this.mpiImplementationType = mpiImplementationType; } - + /** + * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemption + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure scaExemption(String scaExemption) { this.scaExemption = scaExemption; return this; } - /** + /** * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * @return scaExemption - **/ + */ @ApiModelProperty(value = "Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** ") @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScaExemption() { return scaExemption; } - - /** - * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** - * - * @param scaExemption - */ + /** + * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemption + */ @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScaExemption(String scaExemption) { this.scaExemption = scaExemption; } - + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + * + * @param threeDSVersion + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** - * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. ") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. - * - * @param threeDSVersion - */ + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - /** * Return true if this AdditionalData3DSecure object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java b/src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java index f9c1d62e9..ce4d1fdee 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java @@ -153,876 +153,963 @@ public class AdditionalDataAirline { public AdditionalDataAirline() { } + /** + * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters + * + * @param airlineAgencyInvoiceNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) { this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber; return this; } - /** + /** * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters * @return airlineAgencyInvoiceNumber - **/ + */ @ApiModelProperty(value = "The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAgencyInvoiceNumber() { return airlineAgencyInvoiceNumber; } - - /** - * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters - * - * @param airlineAgencyInvoiceNumber - */ + /** + * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters + * + * @param airlineAgencyInvoiceNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) { this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber; } - + /** + * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineAgencyPlanName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAgencyPlanName(String airlineAgencyPlanName) { this.airlineAgencyPlanName = airlineAgencyPlanName; return this; } - /** + /** * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters * @return airlineAgencyPlanName - **/ + */ @ApiModelProperty(value = "The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAgencyPlanName() { return airlineAgencyPlanName; } - - /** - * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters - * - * @param airlineAgencyPlanName - */ + /** + * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineAgencyPlanName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAgencyPlanName(String airlineAgencyPlanName) { this.airlineAgencyPlanName = airlineAgencyPlanName; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAirlineCode(String airlineAirlineCode) { this.airlineAirlineCode = airlineAirlineCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineAirlineCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAirlineCode() { return airlineAirlineCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineAirlineCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAirlineCode(String airlineAirlineCode) { this.airlineAirlineCode = airlineAirlineCode; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineDesignatorCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) { this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. * @return airlineAirlineDesignatorCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAirlineDesignatorCode() { return airlineAirlineDesignatorCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineAirlineDesignatorCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineDesignatorCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) { this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode; } - + /** + * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters + * + * @param airlineBoardingFee + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineBoardingFee(String airlineBoardingFee) { this.airlineBoardingFee = airlineBoardingFee; return this; } - /** + /** * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters * @return airlineBoardingFee - **/ + */ @ApiModelProperty(value = "The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineBoardingFee() { return airlineBoardingFee; } - - /** - * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters - * - * @param airlineBoardingFee - */ + /** + * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters + * + * @param airlineBoardingFee + */ @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineBoardingFee(String airlineBoardingFee) { this.airlineBoardingFee = airlineBoardingFee; } - + /** + * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters + * + * @param airlineComputerizedReservationSystem + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) { this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem; return this; } - /** + /** * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters * @return airlineComputerizedReservationSystem - **/ + */ @ApiModelProperty(value = "The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineComputerizedReservationSystem() { return airlineComputerizedReservationSystem; } - - /** - * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters - * - * @param airlineComputerizedReservationSystem - */ + /** + * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters + * + * @param airlineComputerizedReservationSystem + */ @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) { this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem; } - + /** + * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces + * + * @param airlineCustomerReferenceNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) { this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber; return this; } - /** + /** * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces * @return airlineCustomerReferenceNumber - **/ + */ @ApiModelProperty(value = "The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces") @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineCustomerReferenceNumber() { return airlineCustomerReferenceNumber; } - - /** - * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces - * - * @param airlineCustomerReferenceNumber - */ + /** + * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces + * + * @param airlineCustomerReferenceNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) { this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber; } - + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineDocumentType + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineDocumentType(String airlineDocumentType) { this.airlineDocumentType = airlineDocumentType; return this; } - /** - * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters * @return airlineDocumentType - **/ + */ @ApiModelProperty(value = "A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineDocumentType() { return airlineDocumentType; } - - /** - * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters - * - * @param airlineDocumentType - */ + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineDocumentType + */ @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineDocumentType(String airlineDocumentType) { this.airlineDocumentType = airlineDocumentType; } - + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + * + * @param airlineFlightDate + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineFlightDate(String airlineFlightDate) { this.airlineFlightDate = airlineFlightDate; return this; } - /** - * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters * @return airlineFlightDate - **/ + */ @ApiModelProperty(value = "The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineFlightDate() { return airlineFlightDate; } - - /** - * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters - * - * @param airlineFlightDate - */ + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + * + * @param airlineFlightDate + */ @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineFlightDate(String airlineFlightDate) { this.airlineFlightDate = airlineFlightDate; } - + /** + * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD + * + * @param airlineIssueDate + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineIssueDate(String airlineIssueDate) { this.airlineIssueDate = airlineIssueDate; return this; } - /** + /** * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD * @return airlineIssueDate - **/ + */ @ApiModelProperty(value = "The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD") @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineIssueDate() { return airlineIssueDate; } - - /** - * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD - * - * @param airlineIssueDate - */ + /** + * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD + * + * @param airlineIssueDate + */ @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineIssueDate(String airlineIssueDate) { this.airlineIssueDate = airlineIssueDate; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegCarrierCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegCarrierCode(String airlineLegCarrierCode) { this.airlineLegCarrierCode = airlineLegCarrierCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegCarrierCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegCarrierCode() { return airlineLegCarrierCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegCarrierCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegCarrierCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegCarrierCode(String airlineLegCarrierCode) { this.airlineLegCarrierCode = airlineLegCarrierCode; } - + /** + * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegClassOfTravel + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegClassOfTravel(String airlineLegClassOfTravel) { this.airlineLegClassOfTravel = airlineLegClassOfTravel; return this; } - /** + /** * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. * @return airlineLegClassOfTravel - **/ + */ @ApiModelProperty(value = "A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegClassOfTravel() { return airlineLegClassOfTravel; } - - /** - * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegClassOfTravel - */ + /** + * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegClassOfTravel + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegClassOfTravel(String airlineLegClassOfTravel) { this.airlineLegClassOfTravel = airlineLegClassOfTravel; } - + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + * + * @param airlineLegDateOfTravel + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDateOfTravel(String airlineLegDateOfTravel) { this.airlineLegDateOfTravel = airlineLegDateOfTravel; return this; } - /** - * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters * @return airlineLegDateOfTravel - **/ + */ @ApiModelProperty(value = " Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDateOfTravel() { return airlineLegDateOfTravel; } - - /** - * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters - * - * @param airlineLegDateOfTravel - */ + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + * + * @param airlineLegDateOfTravel + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDateOfTravel(String airlineLegDateOfTravel) { this.airlineLegDateOfTravel = airlineLegDateOfTravel; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDepartAirport + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDepartAirport(String airlineLegDepartAirport) { this.airlineLegDepartAirport = airlineLegDepartAirport; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegDepartAirport - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDepartAirport() { return airlineLegDepartAirport; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegDepartAirport - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDepartAirport + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDepartAirport(String airlineLegDepartAirport) { this.airlineLegDepartAirport = airlineLegDepartAirport; } - + /** + * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. + * + * @param airlineLegDepartTax + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDepartTax(String airlineLegDepartTax) { this.airlineLegDepartTax = airlineLegDepartTax; return this; } - /** + /** * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. * @return airlineLegDepartTax - **/ + */ @ApiModelProperty(value = "The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDepartTax() { return airlineLegDepartTax; } - - /** - * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. - * - * @param airlineLegDepartTax - */ + /** + * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. + * + * @param airlineLegDepartTax + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDepartTax(String airlineLegDepartTax) { this.airlineLegDepartTax = airlineLegDepartTax; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDestinationCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDestinationCode(String airlineLegDestinationCode) { this.airlineLegDestinationCode = airlineLegDestinationCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegDestinationCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDestinationCode() { return airlineLegDestinationCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegDestinationCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDestinationCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDestinationCode(String airlineLegDestinationCode) { this.airlineLegDestinationCode = airlineLegDestinationCode; } - + /** + * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFareBaseCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegFareBaseCode(String airlineLegFareBaseCode) { this.airlineLegFareBaseCode = airlineLegFareBaseCode; return this; } - /** + /** * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegFareBaseCode - **/ + */ @ApiModelProperty(value = "The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegFareBaseCode() { return airlineLegFareBaseCode; } - - /** - * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegFareBaseCode - */ + /** + * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFareBaseCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegFareBaseCode(String airlineLegFareBaseCode) { this.airlineLegFareBaseCode = airlineLegFareBaseCode; } - + /** + * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFlightNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegFlightNumber(String airlineLegFlightNumber) { this.airlineLegFlightNumber = airlineLegFlightNumber; return this; } - /** + /** * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegFlightNumber - **/ + */ @ApiModelProperty(value = "The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegFlightNumber() { return airlineLegFlightNumber; } - - /** - * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegFlightNumber - */ + /** + * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFlightNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegFlightNumber(String airlineLegFlightNumber) { this.airlineLegFlightNumber = airlineLegFlightNumber; } - + /** + * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character + * + * @param airlineLegStopOverCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegStopOverCode(String airlineLegStopOverCode) { this.airlineLegStopOverCode = airlineLegStopOverCode; return this; } - /** + /** * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * @return airlineLegStopOverCode - **/ + */ @ApiModelProperty(value = "A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegStopOverCode() { return airlineLegStopOverCode; } - - /** - * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character - * - * @param airlineLegStopOverCode - */ + /** + * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character + * + * @param airlineLegStopOverCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegStopOverCode(String airlineLegStopOverCode) { this.airlineLegStopOverCode = airlineLegStopOverCode; } - + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + * + * @param airlinePassengerDateOfBirth + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) { this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth; return this; } - /** - * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 * @return airlinePassengerDateOfBirth - **/ + */ @ApiModelProperty(value = "The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerDateOfBirth() { return airlinePassengerDateOfBirth; } - - /** - * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 - * - * @param airlinePassengerDateOfBirth - */ + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + * + * @param airlinePassengerDateOfBirth + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) { this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth; } - + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerFirstName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerFirstName(String airlinePassengerFirstName) { this.airlinePassengerFirstName = airlinePassengerFirstName; return this; } - /** - * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII * @return airlinePassengerFirstName - **/ + */ @ApiModelProperty(value = "The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerFirstName() { return airlinePassengerFirstName; } - - /** - * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII - * - * @param airlinePassengerFirstName - */ + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerFirstName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerFirstName(String airlinePassengerFirstName) { this.airlinePassengerFirstName = airlinePassengerFirstName; } - + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerLastName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerLastName(String airlinePassengerLastName) { this.airlinePassengerLastName = airlinePassengerLastName; return this; } - /** - * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII * @return airlinePassengerLastName - **/ + */ @ApiModelProperty(value = "The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerLastName() { return airlinePassengerLastName; } - - /** - * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII - * - * @param airlinePassengerLastName - */ + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerLastName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerLastName(String airlinePassengerLastName) { this.airlinePassengerLastName = airlinePassengerLastName; } - + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + * + * @param airlinePassengerTelephoneNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) { this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber; return this; } - /** - * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters * @return airlinePassengerTelephoneNumber - **/ + */ @ApiModelProperty(value = "The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerTelephoneNumber() { return airlinePassengerTelephoneNumber; } - - /** - * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters - * - * @param airlinePassengerTelephoneNumber - */ + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + * + * @param airlinePassengerTelephoneNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) { this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber; } - + /** + * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters + * + * @param airlinePassengerTravellerType + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerTravellerType(String airlinePassengerTravellerType) { this.airlinePassengerTravellerType = airlinePassengerTravellerType; return this; } - /** + /** * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters * @return airlinePassengerTravellerType - **/ + */ @ApiModelProperty(value = "The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerTravellerType() { return airlinePassengerTravellerType; } - - /** - * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters - * - * @param airlinePassengerTravellerType - */ + /** + * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters + * + * @param airlinePassengerTravellerType + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerTravellerType(String airlinePassengerTravellerType) { this.airlinePassengerTravellerType = airlinePassengerTravellerType; } - + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + * + * @param airlinePassengerName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerName(String airlinePassengerName) { this.airlinePassengerName = airlinePassengerName; return this; } - /** - * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. * @return airlinePassengerName - **/ + */ @ApiModelProperty(required = true, value = "The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerName() { return airlinePassengerName; } - - /** - * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. - * - * @param airlinePassengerName - */ + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + * + * @param airlinePassengerName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerName(String airlinePassengerName) { this.airlinePassengerName = airlinePassengerName; } - + /** + * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters + * + * @param airlineTicketIssueAddress + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTicketIssueAddress(String airlineTicketIssueAddress) { this.airlineTicketIssueAddress = airlineTicketIssueAddress; return this; } - /** + /** * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters * @return airlineTicketIssueAddress - **/ + */ @ApiModelProperty(value = "The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTicketIssueAddress() { return airlineTicketIssueAddress; } - - /** - * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters - * - * @param airlineTicketIssueAddress - */ + /** + * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters + * + * @param airlineTicketIssueAddress + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTicketIssueAddress(String airlineTicketIssueAddress) { this.airlineTicketIssueAddress = airlineTicketIssueAddress; } - + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTicketNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTicketNumber(String airlineTicketNumber) { this.airlineTicketNumber = airlineTicketNumber; return this; } - /** - * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. * @return airlineTicketNumber - **/ + */ @ApiModelProperty(value = "The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTicketNumber() { return airlineTicketNumber; } - - /** - * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTicketNumber - */ + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTicketNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTicketNumber(String airlineTicketNumber) { this.airlineTicketNumber = airlineTicketNumber; } - + /** + * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTravelAgencyCode(String airlineTravelAgencyCode) { this.airlineTravelAgencyCode = airlineTravelAgencyCode; return this; } - /** + /** * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. * @return airlineTravelAgencyCode - **/ + */ @ApiModelProperty(value = "The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTravelAgencyCode() { return airlineTravelAgencyCode; } - - /** - * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTravelAgencyCode - */ + /** + * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTravelAgencyCode(String airlineTravelAgencyCode) { this.airlineTravelAgencyCode = airlineTravelAgencyCode; } - + /** + * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTravelAgencyName(String airlineTravelAgencyName) { this.airlineTravelAgencyName = airlineTravelAgencyName; return this; } - /** + /** * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. * @return airlineTravelAgencyName - **/ + */ @ApiModelProperty(value = "The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTravelAgencyName() { return airlineTravelAgencyName; } - - /** - * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTravelAgencyName - */ + /** + * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTravelAgencyName(String airlineTravelAgencyName) { this.airlineTravelAgencyName = airlineTravelAgencyName; } - /** * Return true if this AdditionalDataAirline object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataCarRental.java b/src/main/java/com/adyen/model/checkout/AdditionalDataCarRental.java index cecbde0b7..8591f5298 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataCarRental.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataCarRental.java @@ -129,696 +129,765 @@ public class AdditionalDataCarRental { public AdditionalDataCarRental() { } + /** + * The pick-up date. * Date format: `yyyyMMdd` + * + * @param carRentalCheckOutDate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalCheckOutDate(String carRentalCheckOutDate) { this.carRentalCheckOutDate = carRentalCheckOutDate; return this; } - /** - * The pick-up date. * Date format: `yyyyMMdd` + /** + * The pick-up date. * Date format: `yyyyMMdd` * @return carRentalCheckOutDate - **/ + */ @ApiModelProperty(value = "The pick-up date. * Date format: `yyyyMMdd`") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalCheckOutDate() { return carRentalCheckOutDate; } - - /** - * The pick-up date. * Date format: `yyyyMMdd` - * - * @param carRentalCheckOutDate - */ + /** + * The pick-up date. * Date format: `yyyyMMdd` + * + * @param carRentalCheckOutDate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalCheckOutDate(String carRentalCheckOutDate) { this.carRentalCheckOutDate = carRentalCheckOutDate; } - + /** + * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber) { this.carRentalCustomerServiceTollFreeNumber = carRentalCustomerServiceTollFreeNumber; return this; } - /** + /** * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber - **/ + */ @ApiModelProperty(value = "The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalCustomerServiceTollFreeNumber() { return carRentalCustomerServiceTollFreeNumber; } - - /** - * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber - */ + /** + * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber) { this.carRentalCustomerServiceTollFreeNumber = carRentalCustomerServiceTollFreeNumber; } - + /** + * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces + * + * @param carRentalDaysRented + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalDaysRented(String carRentalDaysRented) { this.carRentalDaysRented = carRentalDaysRented; return this; } - /** + /** * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces * @return carRentalDaysRented - **/ + */ @ApiModelProperty(value = "Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalDaysRented() { return carRentalDaysRented; } - - /** - * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces - * - * @param carRentalDaysRented - */ + /** + * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces + * + * @param carRentalDaysRented + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalDaysRented(String carRentalDaysRented) { this.carRentalDaysRented = carRentalDaysRented; } - + /** + * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 + * + * @param carRentalFuelCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalFuelCharges(String carRentalFuelCharges) { this.carRentalFuelCharges = carRentalFuelCharges; return this; } - /** + /** * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * @return carRentalFuelCharges - **/ + */ @ApiModelProperty(value = "Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalFuelCharges() { return carRentalFuelCharges; } - - /** - * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 - * - * @param carRentalFuelCharges - */ + /** + * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 + * + * @param carRentalFuelCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalFuelCharges(String carRentalFuelCharges) { this.carRentalFuelCharges = carRentalFuelCharges; } - + /** + * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. + * + * @param carRentalInsuranceCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalInsuranceCharges(String carRentalInsuranceCharges) { this.carRentalInsuranceCharges = carRentalInsuranceCharges; return this; } - /** + /** * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. * @return carRentalInsuranceCharges - **/ + */ @ApiModelProperty(value = "Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalInsuranceCharges() { return carRentalInsuranceCharges; } - - /** - * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. - * - * @param carRentalInsuranceCharges - */ + /** + * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. + * + * @param carRentalInsuranceCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalInsuranceCharges(String carRentalInsuranceCharges) { this.carRentalInsuranceCharges = carRentalInsuranceCharges; } - + /** + * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationCity + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationCity(String carRentalLocationCity) { this.carRentalLocationCity = carRentalLocationCity; return this; } - /** + /** * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalLocationCity - **/ + */ @ApiModelProperty(value = "The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationCity() { return carRentalLocationCity; } - - /** - * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalLocationCity - */ + /** + * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationCity + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationCity(String carRentalLocationCity) { this.carRentalLocationCity = carRentalLocationCity; } - + /** + * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalLocationCountry + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationCountry(String carRentalLocationCountry) { this.carRentalLocationCountry = carRentalLocationCountry; return this; } - /** + /** * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 * @return carRentalLocationCountry - **/ + */ @ApiModelProperty(value = "The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationCountry() { return carRentalLocationCountry; } - - /** - * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 - * - * @param carRentalLocationCountry - */ + /** + * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalLocationCountry + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationCountry(String carRentalLocationCountry) { this.carRentalLocationCountry = carRentalLocationCountry; } - + /** + * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationStateProvince + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationStateProvince(String carRentalLocationStateProvince) { this.carRentalLocationStateProvince = carRentalLocationStateProvince; return this; } - /** + /** * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalLocationStateProvince - **/ + */ @ApiModelProperty(value = "The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationStateProvince() { return carRentalLocationStateProvince; } - - /** - * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalLocationStateProvince - */ + /** + * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationStateProvince + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationStateProvince(String carRentalLocationStateProvince) { this.carRentalLocationStateProvince = carRentalLocationStateProvince; } - + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + * + * @param carRentalNoShowIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalNoShowIndicator(String carRentalNoShowIndicator) { this.carRentalNoShowIndicator = carRentalNoShowIndicator; return this; } - /** - * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable * @return carRentalNoShowIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalNoShowIndicator() { return carRentalNoShowIndicator; } - - /** - * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable - * - * @param carRentalNoShowIndicator - */ + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + * + * @param carRentalNoShowIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalNoShowIndicator(String carRentalNoShowIndicator) { this.carRentalNoShowIndicator = carRentalNoShowIndicator; } - + /** + * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 + * + * @param carRentalOneWayDropOffCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges) { this.carRentalOneWayDropOffCharges = carRentalOneWayDropOffCharges; return this; } - /** + /** * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 * @return carRentalOneWayDropOffCharges - **/ + */ @ApiModelProperty(value = "The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalOneWayDropOffCharges() { return carRentalOneWayDropOffCharges; } - - /** - * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 - * - * @param carRentalOneWayDropOffCharges - */ + /** + * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 + * + * @param carRentalOneWayDropOffCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges) { this.carRentalOneWayDropOffCharges = carRentalOneWayDropOffCharges; } - + /** + * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 + * + * @param carRentalRate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRate(String carRentalRate) { this.carRentalRate = carRentalRate; return this; } - /** + /** * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 * @return carRentalRate - **/ + */ @ApiModelProperty(value = "The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRate() { return carRentalRate; } - - /** - * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 - * - * @param carRentalRate - */ + /** + * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 + * + * @param carRentalRate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRate(String carRentalRate) { this.carRentalRate = carRentalRate; } - + /** + * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate + * + * @param carRentalRateIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRateIndicator(String carRentalRateIndicator) { this.carRentalRateIndicator = carRentalRateIndicator; return this; } - /** + /** * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate * @return carRentalRateIndicator - **/ + */ @ApiModelProperty(value = "Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRateIndicator() { return carRentalRateIndicator; } - - /** - * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate - * - * @param carRentalRateIndicator - */ + /** + * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate + * + * @param carRentalRateIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRateIndicator(String carRentalRateIndicator) { this.carRentalRateIndicator = carRentalRateIndicator; } - + /** + * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalAgreementNumber + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRentalAgreementNumber(String carRentalRentalAgreementNumber) { this.carRentalRentalAgreementNumber = carRentalRentalAgreementNumber; return this; } - /** + /** * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRentalAgreementNumber - **/ + */ @ApiModelProperty(value = "The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRentalAgreementNumber() { return carRentalRentalAgreementNumber; } - - /** - * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRentalAgreementNumber - */ + /** + * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalAgreementNumber + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRentalAgreementNumber(String carRentalRentalAgreementNumber) { this.carRentalRentalAgreementNumber = carRentalRentalAgreementNumber; } - + /** + * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalClassId + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRentalClassId(String carRentalRentalClassId) { this.carRentalRentalClassId = carRentalRentalClassId; return this; } - /** + /** * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRentalClassId - **/ + */ @ApiModelProperty(value = "The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRentalClassId() { return carRentalRentalClassId; } - - /** - * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRentalClassId - */ + /** + * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalClassId + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRentalClassId(String carRentalRentalClassId) { this.carRentalRentalClassId = carRentalRentalClassId; } - + /** + * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRenterName + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRenterName(String carRentalRenterName) { this.carRentalRenterName = carRentalRenterName; return this; } - /** + /** * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRenterName - **/ + */ @ApiModelProperty(value = "The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRenterName() { return carRentalRenterName; } - - /** - * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRenterName - */ + /** + * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRenterName + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRenterName(String carRentalRenterName) { this.carRentalRenterName = carRentalRenterName; } - + /** + * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnCity + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnCity(String carRentalReturnCity) { this.carRentalReturnCity = carRentalReturnCity; return this; } - /** + /** * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnCity - **/ + */ @ApiModelProperty(value = "The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnCity() { return carRentalReturnCity; } - - /** - * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnCity - */ + /** + * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnCity + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnCity(String carRentalReturnCity) { this.carRentalReturnCity = carRentalReturnCity; } - + /** + * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalReturnCountry + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnCountry(String carRentalReturnCountry) { this.carRentalReturnCountry = carRentalReturnCountry; return this; } - /** + /** * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 * @return carRentalReturnCountry - **/ + */ @ApiModelProperty(value = "The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnCountry() { return carRentalReturnCountry; } - - /** - * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 - * - * @param carRentalReturnCountry - */ + /** + * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalReturnCountry + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnCountry(String carRentalReturnCountry) { this.carRentalReturnCountry = carRentalReturnCountry; } - + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + * + * @param carRentalReturnDate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnDate(String carRentalReturnDate) { this.carRentalReturnDate = carRentalReturnDate; return this; } - /** - * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 * @return carRentalReturnDate - **/ + */ @ApiModelProperty(value = "The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnDate() { return carRentalReturnDate; } - - /** - * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 - * - * @param carRentalReturnDate - */ + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + * + * @param carRentalReturnDate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnDate(String carRentalReturnDate) { this.carRentalReturnDate = carRentalReturnDate; } - + /** + * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnLocationId + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnLocationId(String carRentalReturnLocationId) { this.carRentalReturnLocationId = carRentalReturnLocationId; return this; } - /** + /** * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnLocationId - **/ + */ @ApiModelProperty(value = "The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnLocationId() { return carRentalReturnLocationId; } - - /** - * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnLocationId - */ + /** + * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnLocationId + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnLocationId(String carRentalReturnLocationId) { this.carRentalReturnLocationId = carRentalReturnLocationId; } - + /** + * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnStateProvince + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnStateProvince(String carRentalReturnStateProvince) { this.carRentalReturnStateProvince = carRentalReturnStateProvince; return this; } - /** + /** * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnStateProvince - **/ + */ @ApiModelProperty(value = "The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnStateProvince() { return carRentalReturnStateProvince; } - - /** - * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnStateProvince - */ + /** + * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnStateProvince + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnStateProvince(String carRentalReturnStateProvince) { this.carRentalReturnStateProvince = carRentalReturnStateProvince; } - + /** + * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected + * + * @param carRentalTaxExemptIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalTaxExemptIndicator(String carRentalTaxExemptIndicator) { this.carRentalTaxExemptIndicator = carRentalTaxExemptIndicator; return this; } - /** + /** * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected * @return carRentalTaxExemptIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalTaxExemptIndicator() { return carRentalTaxExemptIndicator; } - - /** - * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected - * - * @param carRentalTaxExemptIndicator - */ + /** + * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected + * + * @param carRentalTaxExemptIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator) { this.carRentalTaxExemptIndicator = carRentalTaxExemptIndicator; } - + /** + * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 + * + * @param travelEntertainmentAuthDataDuration + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; return this; } - /** + /** * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 * @return travelEntertainmentAuthDataDuration - **/ + */ @ApiModelProperty(value = "Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataDuration() { return travelEntertainmentAuthDataDuration; } - - /** - * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 - * - * @param travelEntertainmentAuthDataDuration - */ + /** + * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 + * + * @param travelEntertainmentAuthDataDuration + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; } - + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + * + * @param travelEntertainmentAuthDataMarket + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; return this; } - /** - * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 * @return travelEntertainmentAuthDataMarket - **/ + */ @ApiModelProperty(value = "Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataMarket() { return travelEntertainmentAuthDataMarket; } - - /** - * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 - * - * @param travelEntertainmentAuthDataMarket - */ + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + * + * @param travelEntertainmentAuthDataMarket + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; } - /** * Return true if this AdditionalDataCarRental object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java b/src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java index 257eb0616..75c895ad7 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java @@ -136,486 +136,534 @@ public static IndustryUsageEnum fromValue(String value) { public AdditionalDataCommon() { } + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + * + * @param requestedTestErrorResponseCode + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon requestedTestErrorResponseCode(String requestedTestErrorResponseCode) { this.requestedTestErrorResponseCode = requestedTestErrorResponseCode; return this; } - /** - * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. * @return requestedTestErrorResponseCode - **/ + */ @ApiModelProperty(value = "Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response.") @JsonProperty(JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestedTestErrorResponseCode() { return requestedTestErrorResponseCode; } - - /** - * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. - * - * @param requestedTestErrorResponseCode - */ + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + * + * @param requestedTestErrorResponseCode + */ @JsonProperty(JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedTestErrorResponseCode(String requestedTestErrorResponseCode) { this.requestedTestErrorResponseCode = requestedTestErrorResponseCode; } - + /** + * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. + * + * @param allowPartialAuth + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon allowPartialAuth(String allowPartialAuth) { this.allowPartialAuth = allowPartialAuth; return this; } - /** + /** * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. * @return allowPartialAuth - **/ + */ @ApiModelProperty(value = "Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team.") @JsonProperty(JSON_PROPERTY_ALLOW_PARTIAL_AUTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAllowPartialAuth() { return allowPartialAuth; } - - /** - * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. - * - * @param allowPartialAuth - */ + /** + * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. + * + * @param allowPartialAuth + */ @JsonProperty(JSON_PROPERTY_ALLOW_PARTIAL_AUTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowPartialAuth(String allowPartialAuth) { this.allowPartialAuth = allowPartialAuth; } - + /** + * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. + * + * @param authorisationType + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon authorisationType(String authorisationType) { this.authorisationType = authorisationType; return this; } - /** + /** * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. * @return authorisationType - **/ + */ @ApiModelProperty(value = "Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationType() { return authorisationType; } - - /** - * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. - * - * @param authorisationType - */ + /** + * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. + * + * @param authorisationType + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationType(String authorisationType) { this.authorisationType = authorisationType; } - + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param customRoutingFlag + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon customRoutingFlag(String customRoutingFlag) { this.customRoutingFlag = customRoutingFlag; return this; } - /** - * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). * @return customRoutingFlag - **/ + */ @ApiModelProperty(value = "Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCustomRoutingFlag() { return customRoutingFlag; } - - /** - * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param customRoutingFlag - */ + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param customRoutingFlag + */ @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomRoutingFlag(String customRoutingFlag) { this.customRoutingFlag = customRoutingFlag; } - + /** + * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. + * + * @param industryUsage + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon industryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; return this; } - /** + /** * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. * @return industryUsage - **/ + */ @ApiModelProperty(value = "In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed.") @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IndustryUsageEnum getIndustryUsage() { return industryUsage; } - - /** - * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. - * - * @param industryUsage - */ + /** + * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. + * + * @param industryUsage + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; } - + /** + * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. + * + * @param manualCapture + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon manualCapture(String manualCapture) { this.manualCapture = manualCapture; return this; } - /** + /** * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. * @return manualCapture - **/ + */ @ApiModelProperty(value = "Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction.") @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getManualCapture() { return manualCapture; } - - /** - * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. - * - * @param manualCapture - */ + /** + * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. + * + * @param manualCapture + */ @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setManualCapture(String manualCapture) { this.manualCapture = manualCapture; } - + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + * + * @param networkTxReference + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** - * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. - * - * @param networkTxReference - */ + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + * + * @param overwriteBrand + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon overwriteBrand(String overwriteBrand) { this.overwriteBrand = overwriteBrand; return this; } - /** - * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. * @return overwriteBrand - **/ + */ @ApiModelProperty(value = "Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction.") @JsonProperty(JSON_PROPERTY_OVERWRITE_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOverwriteBrand() { return overwriteBrand; } - - /** - * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. - * - * @param overwriteBrand - */ + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + * + * @param overwriteBrand + */ @JsonProperty(JSON_PROPERTY_OVERWRITE_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOverwriteBrand(String overwriteBrand) { this.overwriteBrand = overwriteBrand; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + * + * @param subMerchantCity + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantCity(String subMerchantCity) { this.subMerchantCity = subMerchantCity; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. * @return subMerchantCity - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantCity() { return subMerchantCity; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. - * - * @param subMerchantCity - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + * + * @param subMerchantCity + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantCity(String subMerchantCity) { this.subMerchantCity = subMerchantCity; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + * + * @param subMerchantCountry + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantCountry(String subMerchantCountry) { this.subMerchantCountry = subMerchantCountry; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. * @return subMerchantCountry - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantCountry() { return subMerchantCountry; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. - * - * @param subMerchantCountry - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + * + * @param subMerchantCountry + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantCountry(String subMerchantCountry) { this.subMerchantCountry = subMerchantCountry; } - + /** + * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. + * + * @param subMerchantID + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantID(String subMerchantID) { this.subMerchantID = subMerchantID; return this; } - /** + /** * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. * @return subMerchantID - **/ + */ @ApiModelProperty(value = "This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantID() { return subMerchantID; } - - /** - * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. - * - * @param subMerchantID - */ + /** + * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. + * + * @param subMerchantID + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantID(String subMerchantID) { this.subMerchantID = subMerchantID; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. + * + * @param subMerchantName + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantName(String subMerchantName) { this.subMerchantName = subMerchantName; return this; } - /** + /** * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. * @return subMerchantName - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantName() { return subMerchantName; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. - * - * @param subMerchantName - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. + * + * @param subMerchantName + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantName(String subMerchantName) { this.subMerchantName = subMerchantName; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + * + * @param subMerchantPostalCode + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantPostalCode(String subMerchantPostalCode) { this.subMerchantPostalCode = subMerchantPostalCode; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. * @return subMerchantPostalCode - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantPostalCode() { return subMerchantPostalCode; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. - * - * @param subMerchantPostalCode - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + * + * @param subMerchantPostalCode + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantPostalCode(String subMerchantPostalCode) { this.subMerchantPostalCode = subMerchantPostalCode; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + * + * @param subMerchantState + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantState(String subMerchantState) { this.subMerchantState = subMerchantState; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. * @return subMerchantState - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantState() { return subMerchantState; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. - * - * @param subMerchantState - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + * + * @param subMerchantState + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantState(String subMerchantState) { this.subMerchantState = subMerchantState; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + * + * @param subMerchantStreet + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantStreet(String subMerchantStreet) { this.subMerchantStreet = subMerchantStreet; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. * @return subMerchantStreet - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantStreet() { return subMerchantStreet; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. - * - * @param subMerchantStreet - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + * + * @param subMerchantStreet + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantStreet(String subMerchantStreet) { this.subMerchantStreet = subMerchantStreet; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. + * + * @param subMerchantTaxId + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantTaxId(String subMerchantTaxId) { this.subMerchantTaxId = subMerchantTaxId; return this; } - /** + /** * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. * @return subMerchantTaxId - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantTaxId() { return subMerchantTaxId; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. - * - * @param subMerchantTaxId - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. + * + * @param subMerchantTaxId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantTaxId(String subMerchantTaxId) { this.subMerchantTaxId = subMerchantTaxId; } - /** * Return true if this AdditionalDataCommon object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataLevel23.java b/src/main/java/com/adyen/model/checkout/AdditionalDataLevel23.java index 1629505a1..b7eb0bd6d 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataLevel23.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataLevel23.java @@ -105,516 +105,567 @@ public class AdditionalDataLevel23 { public AdditionalDataLevel23() { } + /** + * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataCustomerReference + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; return this; } - /** + /** * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataCustomerReference - **/ + */ @ApiModelProperty(value = "The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataCustomerReference() { return enhancedSchemeDataCustomerReference; } - - /** - * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataCustomerReference - */ + /** + * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataCustomerReference + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; } - + /** + * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters + * + * @param enhancedSchemeDataDestinationCountryCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationCountryCode(String enhancedSchemeDataDestinationCountryCode) { this.enhancedSchemeDataDestinationCountryCode = enhancedSchemeDataDestinationCountryCode; return this; } - /** + /** * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters * @return enhancedSchemeDataDestinationCountryCode - **/ + */ @ApiModelProperty(value = "The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationCountryCode() { return enhancedSchemeDataDestinationCountryCode; } - - /** - * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters - * - * @param enhancedSchemeDataDestinationCountryCode - */ + /** + * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters + * + * @param enhancedSchemeDataDestinationCountryCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationCountryCode(String enhancedSchemeDataDestinationCountryCode) { this.enhancedSchemeDataDestinationCountryCode = enhancedSchemeDataDestinationCountryCode; } - + /** + * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationPostalCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationPostalCode(String enhancedSchemeDataDestinationPostalCode) { this.enhancedSchemeDataDestinationPostalCode = enhancedSchemeDataDestinationPostalCode; return this; } - /** + /** * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space * @return enhancedSchemeDataDestinationPostalCode - **/ + */ @ApiModelProperty(value = "The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationPostalCode() { return enhancedSchemeDataDestinationPostalCode; } - - /** - * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space - * - * @param enhancedSchemeDataDestinationPostalCode - */ + /** + * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationPostalCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationPostalCode(String enhancedSchemeDataDestinationPostalCode) { this.enhancedSchemeDataDestinationPostalCode = enhancedSchemeDataDestinationPostalCode; } - + /** + * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationStateProvinceCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationStateProvinceCode(String enhancedSchemeDataDestinationStateProvinceCode) { this.enhancedSchemeDataDestinationStateProvinceCode = enhancedSchemeDataDestinationStateProvinceCode; return this; } - /** + /** * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space * @return enhancedSchemeDataDestinationStateProvinceCode - **/ + */ @ApiModelProperty(value = "Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_STATE_PROVINCE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationStateProvinceCode() { return enhancedSchemeDataDestinationStateProvinceCode; } - - /** - * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space - * - * @param enhancedSchemeDataDestinationStateProvinceCode - */ + /** + * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationStateProvinceCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_STATE_PROVINCE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationStateProvinceCode(String enhancedSchemeDataDestinationStateProvinceCode) { this.enhancedSchemeDataDestinationStateProvinceCode = enhancedSchemeDataDestinationStateProvinceCode; } - + /** + * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataDutyAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDutyAmount(String enhancedSchemeDataDutyAmount) { this.enhancedSchemeDataDutyAmount = enhancedSchemeDataDutyAmount; return this; } - /** + /** * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * @return enhancedSchemeDataDutyAmount - **/ + */ @ApiModelProperty(value = "The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DUTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDutyAmount() { return enhancedSchemeDataDutyAmount; } - - /** - * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters - * - * @param enhancedSchemeDataDutyAmount - */ + /** + * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataDutyAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DUTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDutyAmount(String enhancedSchemeDataDutyAmount) { this.enhancedSchemeDataDutyAmount = enhancedSchemeDataDutyAmount; } - + /** + * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters + * + * @param enhancedSchemeDataFreightAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataFreightAmount(String enhancedSchemeDataFreightAmount) { this.enhancedSchemeDataFreightAmount = enhancedSchemeDataFreightAmount; return this; } - /** + /** * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters * @return enhancedSchemeDataFreightAmount - **/ + */ @ApiModelProperty(value = "The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_FREIGHT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataFreightAmount() { return enhancedSchemeDataFreightAmount; } - - /** - * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters - * - * @param enhancedSchemeDataFreightAmount - */ + /** + * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters + * + * @param enhancedSchemeDataFreightAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_FREIGHT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataFreightAmount(String enhancedSchemeDataFreightAmount) { this.enhancedSchemeDataFreightAmount = enhancedSchemeDataFreightAmount; } - + /** + * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrCommodityCode(String enhancedSchemeDataItemDetailLineItemNrCommodityCode) { this.enhancedSchemeDataItemDetailLineItemNrCommodityCode = enhancedSchemeDataItemDetailLineItemNrCommodityCode; return this; } - /** + /** * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrCommodityCode - **/ + */ @ApiModelProperty(value = "The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_COMMODITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrCommodityCode() { return enhancedSchemeDataItemDetailLineItemNrCommodityCode; } - - /** - * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode - */ + /** + * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_COMMODITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrCommodityCode(String enhancedSchemeDataItemDetailLineItemNrCommodityCode) { this.enhancedSchemeDataItemDetailLineItemNrCommodityCode = enhancedSchemeDataItemDetailLineItemNrCommodityCode; } - + /** + * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrDescription + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrDescription(String enhancedSchemeDataItemDetailLineItemNrDescription) { this.enhancedSchemeDataItemDetailLineItemNrDescription = enhancedSchemeDataItemDetailLineItemNrDescription; return this; } - /** + /** * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrDescription - **/ + */ @ApiModelProperty(value = "A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrDescription() { return enhancedSchemeDataItemDetailLineItemNrDescription; } - - /** - * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrDescription - */ + /** + * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrDescription + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrDescription(String enhancedSchemeDataItemDetailLineItemNrDescription) { this.enhancedSchemeDataItemDetailLineItemNrDescription = enhancedSchemeDataItemDetailLineItemNrDescription; } - + /** + * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrDiscountAmount(String enhancedSchemeDataItemDetailLineItemNrDiscountAmount) { this.enhancedSchemeDataItemDetailLineItemNrDiscountAmount = enhancedSchemeDataItemDetailLineItemNrDiscountAmount; return this; } - /** + /** * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * @return enhancedSchemeDataItemDetailLineItemNrDiscountAmount - **/ + */ @ApiModelProperty(value = "The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrDiscountAmount() { return enhancedSchemeDataItemDetailLineItemNrDiscountAmount; } - - /** - * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters - * - * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount - */ + /** + * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrDiscountAmount(String enhancedSchemeDataItemDetailLineItemNrDiscountAmount) { this.enhancedSchemeDataItemDetailLineItemNrDiscountAmount = enhancedSchemeDataItemDetailLineItemNrDiscountAmount; } - + /** + * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrProductCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrProductCode(String enhancedSchemeDataItemDetailLineItemNrProductCode) { this.enhancedSchemeDataItemDetailLineItemNrProductCode = enhancedSchemeDataItemDetailLineItemNrProductCode; return this; } - /** + /** * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrProductCode - **/ + */ @ApiModelProperty(value = "The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_PRODUCT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrProductCode() { return enhancedSchemeDataItemDetailLineItemNrProductCode; } - - /** - * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrProductCode - */ + /** + * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrProductCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_PRODUCT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrProductCode(String enhancedSchemeDataItemDetailLineItemNrProductCode) { this.enhancedSchemeDataItemDetailLineItemNrProductCode = enhancedSchemeDataItemDetailLineItemNrProductCode; } - + /** + * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces + * + * @param enhancedSchemeDataItemDetailLineItemNrQuantity + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrQuantity(String enhancedSchemeDataItemDetailLineItemNrQuantity) { this.enhancedSchemeDataItemDetailLineItemNrQuantity = enhancedSchemeDataItemDetailLineItemNrQuantity; return this; } - /** + /** * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces * @return enhancedSchemeDataItemDetailLineItemNrQuantity - **/ + */ @ApiModelProperty(value = "The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces ") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrQuantity() { return enhancedSchemeDataItemDetailLineItemNrQuantity; } - - /** - * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces - * - * @param enhancedSchemeDataItemDetailLineItemNrQuantity - */ + /** + * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces + * + * @param enhancedSchemeDataItemDetailLineItemNrQuantity + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrQuantity(String enhancedSchemeDataItemDetailLineItemNrQuantity) { this.enhancedSchemeDataItemDetailLineItemNrQuantity = enhancedSchemeDataItemDetailLineItemNrQuantity; } - + /** + * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrTotalAmount(String enhancedSchemeDataItemDetailLineItemNrTotalAmount) { this.enhancedSchemeDataItemDetailLineItemNrTotalAmount = enhancedSchemeDataItemDetailLineItemNrTotalAmount; return this; } - /** + /** * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrTotalAmount - **/ + */ @ApiModelProperty(value = "The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrTotalAmount() { return enhancedSchemeDataItemDetailLineItemNrTotalAmount; } - - /** - * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount - */ + /** + * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrTotalAmount(String enhancedSchemeDataItemDetailLineItemNrTotalAmount) { this.enhancedSchemeDataItemDetailLineItemNrTotalAmount = enhancedSchemeDataItemDetailLineItemNrTotalAmount; } - + /** + * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure(String enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure) { this.enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure = enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; return this; } - /** + /** * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure - **/ + */ @ApiModelProperty(value = "The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_OF_MEASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure() { return enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; } - - /** - * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure - */ + /** + * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_OF_MEASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure(String enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure) { this.enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure = enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; } - + /** + * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrUnitPrice(String enhancedSchemeDataItemDetailLineItemNrUnitPrice) { this.enhancedSchemeDataItemDetailLineItemNrUnitPrice = enhancedSchemeDataItemDetailLineItemNrUnitPrice; return this; } - /** + /** * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrUnitPrice - **/ + */ @ApiModelProperty(value = "The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrUnitPrice() { return enhancedSchemeDataItemDetailLineItemNrUnitPrice; } - - /** - * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice - */ + /** + * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrUnitPrice(String enhancedSchemeDataItemDetailLineItemNrUnitPrice) { this.enhancedSchemeDataItemDetailLineItemNrUnitPrice = enhancedSchemeDataItemDetailLineItemNrUnitPrice; } - + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + * + * @param enhancedSchemeDataOrderDate + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataOrderDate(String enhancedSchemeDataOrderDate) { this.enhancedSchemeDataOrderDate = enhancedSchemeDataOrderDate; return this; } - /** - * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters * @return enhancedSchemeDataOrderDate - **/ + */ @ApiModelProperty(value = "The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataOrderDate() { return enhancedSchemeDataOrderDate; } - - /** - * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters - * - * @param enhancedSchemeDataOrderDate - */ + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + * + * @param enhancedSchemeDataOrderDate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataOrderDate(String enhancedSchemeDataOrderDate) { this.enhancedSchemeDataOrderDate = enhancedSchemeDataOrderDate; } - + /** + * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataShipFromPostalCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataShipFromPostalCode(String enhancedSchemeDataShipFromPostalCode) { this.enhancedSchemeDataShipFromPostalCode = enhancedSchemeDataShipFromPostalCode; return this; } - /** + /** * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataShipFromPostalCode - **/ + */ @ApiModelProperty(value = "The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_SHIP_FROM_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataShipFromPostalCode() { return enhancedSchemeDataShipFromPostalCode; } - - /** - * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataShipFromPostalCode - */ + /** + * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataShipFromPostalCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_SHIP_FROM_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataShipFromPostalCode(String enhancedSchemeDataShipFromPostalCode) { this.enhancedSchemeDataShipFromPostalCode = enhancedSchemeDataShipFromPostalCode; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataTotalTaxAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. * @return enhancedSchemeDataTotalTaxAmount - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTotalTaxAmount() { return enhancedSchemeDataTotalTaxAmount; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. - * - * @param enhancedSchemeDataTotalTaxAmount - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataTotalTaxAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; } - /** * Return true if this AdditionalDataLevel23 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataLodging.java b/src/main/java/com/adyen/model/checkout/AdditionalDataLodging.java index a1cd5c116..81cbd5f4f 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataLodging.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataLodging.java @@ -105,516 +105,567 @@ public class AdditionalDataLodging { public AdditionalDataLodging() { } + /** + * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit + * + * @param lodgingSpecialProgramCode + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingSpecialProgramCode(String lodgingSpecialProgramCode) { this.lodgingSpecialProgramCode = lodgingSpecialProgramCode; return this; } - /** + /** * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit * @return lodgingSpecialProgramCode - **/ + */ @ApiModelProperty(value = "A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit") @JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingSpecialProgramCode() { return lodgingSpecialProgramCode; } - - /** - * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit - * - * @param lodgingSpecialProgramCode - */ + /** + * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit + * + * @param lodgingSpecialProgramCode + */ @JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingSpecialProgramCode(String lodgingSpecialProgramCode) { this.lodgingSpecialProgramCode = lodgingSpecialProgramCode; } - + /** + * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckInDate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCheckInDate(String lodgingCheckInDate) { this.lodgingCheckInDate = lodgingCheckInDate; return this; } - /** + /** * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. * @return lodgingCheckInDate - **/ + */ @ApiModelProperty(value = "The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.") @JsonProperty(JSON_PROPERTY_LODGING_CHECK_IN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCheckInDate() { return lodgingCheckInDate; } - - /** - * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. - * - * @param lodgingCheckInDate - */ + /** + * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckInDate + */ @JsonProperty(JSON_PROPERTY_LODGING_CHECK_IN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCheckInDate(String lodgingCheckInDate) { this.lodgingCheckInDate = lodgingCheckInDate; } - + /** + * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckOutDate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCheckOutDate(String lodgingCheckOutDate) { this.lodgingCheckOutDate = lodgingCheckOutDate; return this; } - /** + /** * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. * @return lodgingCheckOutDate - **/ + */ @ApiModelProperty(value = "The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.") @JsonProperty(JSON_PROPERTY_LODGING_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCheckOutDate() { return lodgingCheckOutDate; } - - /** - * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. - * - * @param lodgingCheckOutDate - */ + /** + * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckOutDate + */ @JsonProperty(JSON_PROPERTY_LODGING_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCheckOutDate(String lodgingCheckOutDate) { this.lodgingCheckOutDate = lodgingCheckOutDate; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber) { this.lodgingCustomerServiceTollFreeNumber = lodgingCustomerServiceTollFreeNumber; return this; } - /** + /** * 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.") @JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCustomerServiceTollFreeNumber() { return lodgingCustomerServiceTollFreeNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber) { this.lodgingCustomerServiceTollFreeNumber = lodgingCustomerServiceTollFreeNumber; } - + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + * + * @param lodgingFireSafetyActIndicator + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator) { this.lodgingFireSafetyActIndicator = lodgingFireSafetyActIndicator; return this; } - /** - * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character * @return lodgingFireSafetyActIndicator - **/ + */ @ApiModelProperty(value = "Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character") @JsonProperty(JSON_PROPERTY_LODGING_FIRE_SAFETY_ACT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFireSafetyActIndicator() { return lodgingFireSafetyActIndicator; } - - /** - * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character - * - * @param lodgingFireSafetyActIndicator - */ + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + * + * @param lodgingFireSafetyActIndicator + */ @JsonProperty(JSON_PROPERTY_LODGING_FIRE_SAFETY_ACT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator) { this.lodgingFireSafetyActIndicator = lodgingFireSafetyActIndicator; } - + /** + * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFolioCashAdvances + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFolioCashAdvances(String lodgingFolioCashAdvances) { this.lodgingFolioCashAdvances = lodgingFolioCashAdvances; return this; } - /** + /** * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * @return lodgingFolioCashAdvances - **/ + */ @ApiModelProperty(value = "The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_CASH_ADVANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFolioCashAdvances() { return lodgingFolioCashAdvances; } - - /** - * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters - * - * @param lodgingFolioCashAdvances - */ + /** + * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFolioCashAdvances + */ @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_CASH_ADVANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFolioCashAdvances(String lodgingFolioCashAdvances) { this.lodgingFolioCashAdvances = lodgingFolioCashAdvances; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFolioNumber(String lodgingFolioNumber) { this.lodgingFolioNumber = lodgingFolioNumber; return this; } - /** + /** * 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 contain any special characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFolioNumber() { return lodgingFolioNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFolioNumber(String lodgingFolioNumber) { this.lodgingFolioNumber = lodgingFolioNumber; } - + /** + * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFoodBeverageCharges + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFoodBeverageCharges(String lodgingFoodBeverageCharges) { this.lodgingFoodBeverageCharges = lodgingFoodBeverageCharges; return this; } - /** + /** * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * @return lodgingFoodBeverageCharges - **/ + */ @ApiModelProperty(value = "Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_FOOD_BEVERAGE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFoodBeverageCharges() { return lodgingFoodBeverageCharges; } - - /** - * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters - * - * @param lodgingFoodBeverageCharges - */ + /** + * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFoodBeverageCharges + */ @JsonProperty(JSON_PROPERTY_LODGING_FOOD_BEVERAGE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFoodBeverageCharges(String lodgingFoodBeverageCharges) { this.lodgingFoodBeverageCharges = lodgingFoodBeverageCharges; } - + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + * + * @param lodgingNoShowIndicator + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingNoShowIndicator(String lodgingNoShowIndicator) { this.lodgingNoShowIndicator = lodgingNoShowIndicator; return this; } - /** - * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in * @return lodgingNoShowIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in") @JsonProperty(JSON_PROPERTY_LODGING_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingNoShowIndicator() { return lodgingNoShowIndicator; } - - /** - * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in - * - * @param lodgingNoShowIndicator - */ + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + * + * @param lodgingNoShowIndicator + */ @JsonProperty(JSON_PROPERTY_LODGING_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingNoShowIndicator(String lodgingNoShowIndicator) { this.lodgingNoShowIndicator = lodgingNoShowIndicator; } - + /** + * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters + * + * @param lodgingPrepaidExpenses + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingPrepaidExpenses(String lodgingPrepaidExpenses) { this.lodgingPrepaidExpenses = lodgingPrepaidExpenses; return this; } - /** + /** * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters * @return lodgingPrepaidExpenses - **/ + */ @ApiModelProperty(value = "The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_PREPAID_EXPENSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingPrepaidExpenses() { return lodgingPrepaidExpenses; } - - /** - * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters - * - * @param lodgingPrepaidExpenses - */ + /** + * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters + * + * @param lodgingPrepaidExpenses + */ @JsonProperty(JSON_PROPERTY_LODGING_PREPAID_EXPENSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingPrepaidExpenses(String lodgingPrepaidExpenses) { this.lodgingPrepaidExpenses = lodgingPrepaidExpenses; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber) { this.lodgingPropertyPhoneNumber = lodgingPropertyPhoneNumber; return this; } - /** - * 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.") @JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingPropertyPhoneNumber() { return lodgingPropertyPhoneNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber) { this.lodgingPropertyPhoneNumber = lodgingPropertyPhoneNumber; } - + /** + * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters + * + * @param lodgingRoom1NumberOfNights + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights) { this.lodgingRoom1NumberOfNights = lodgingRoom1NumberOfNights; return this; } - /** + /** * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters * @return lodgingRoom1NumberOfNights - **/ + */ @ApiModelProperty(value = "The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters") @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_NUMBER_OF_NIGHTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingRoom1NumberOfNights() { return lodgingRoom1NumberOfNights; } - - /** - * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters - * - * @param lodgingRoom1NumberOfNights - */ + /** + * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters + * + * @param lodgingRoom1NumberOfNights + */ @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_NUMBER_OF_NIGHTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights) { this.lodgingRoom1NumberOfNights = lodgingRoom1NumberOfNights; } - + /** + * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingRoom1Rate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingRoom1Rate(String lodgingRoom1Rate) { this.lodgingRoom1Rate = lodgingRoom1Rate; return this; } - /** + /** * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingRoom1Rate - **/ + */ @ApiModelProperty(value = "The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingRoom1Rate() { return lodgingRoom1Rate; } - - /** - * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingRoom1Rate - */ + /** + * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingRoom1Rate + */ @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingRoom1Rate(String lodgingRoom1Rate) { this.lodgingRoom1Rate = lodgingRoom1Rate; } - + /** + * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalRoomTax + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingTotalRoomTax(String lodgingTotalRoomTax) { this.lodgingTotalRoomTax = lodgingTotalRoomTax; return this; } - /** + /** * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingTotalRoomTax - **/ + */ @ApiModelProperty(value = "The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_ROOM_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingTotalRoomTax() { return lodgingTotalRoomTax; } - - /** - * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingTotalRoomTax - */ + /** + * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalRoomTax + */ @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_ROOM_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingTotalRoomTax(String lodgingTotalRoomTax) { this.lodgingTotalRoomTax = lodgingTotalRoomTax; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalTax + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingTotalTax(String lodgingTotalTax) { this.lodgingTotalTax = lodgingTotalTax; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingTotalTax - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingTotalTax() { return lodgingTotalTax; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingTotalTax - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalTax + */ @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingTotalTax(String lodgingTotalTax) { this.lodgingTotalTax = lodgingTotalTax; } - + /** + * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters + * + * @param travelEntertainmentAuthDataDuration + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; return this; } - /** + /** * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters * @return travelEntertainmentAuthDataDuration - **/ + */ @ApiModelProperty(value = "The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataDuration() { return travelEntertainmentAuthDataDuration; } - - /** - * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters - * - * @param travelEntertainmentAuthDataDuration - */ + /** + * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters + * + * @param travelEntertainmentAuthDataDuration + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; } - + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + * + * @param travelEntertainmentAuthDataMarket + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; return this; } - /** - * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character * @return travelEntertainmentAuthDataMarket - **/ + */ @ApiModelProperty(value = "Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataMarket() { return travelEntertainmentAuthDataMarket; } - - /** - * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character - * - * @param travelEntertainmentAuthDataMarket - */ + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + * + * @param travelEntertainmentAuthDataMarket + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; } - /** * Return true if this AdditionalDataLodging object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataOpenInvoice.java b/src/main/java/com/adyen/model/checkout/AdditionalDataOpenInvoice.java index c035c708e..3774cecd4 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataOpenInvoice.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataOpenInvoice.java @@ -109,546 +109,600 @@ public class AdditionalDataOpenInvoice { public AdditionalDataOpenInvoice() { } + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + * + * @param openinvoicedataMerchantData + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataMerchantData(String openinvoicedataMerchantData) { this.openinvoicedataMerchantData = openinvoicedataMerchantData; return this; } - /** - * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. * @return openinvoicedataMerchantData - **/ + */ @ApiModelProperty(value = "Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_MERCHANT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataMerchantData() { return openinvoicedataMerchantData; } - - /** - * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. - * - * @param openinvoicedataMerchantData - */ + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + * + * @param openinvoicedataMerchantData + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_MERCHANT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataMerchantData(String openinvoicedataMerchantData) { this.openinvoicedataMerchantData = openinvoicedataMerchantData; } - + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + * + * @param openinvoicedataNumberOfLines + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataNumberOfLines(String openinvoicedataNumberOfLines) { this.openinvoicedataNumberOfLines = openinvoicedataNumberOfLines; return this; } - /** - * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. * @return openinvoicedataNumberOfLines - **/ + */ @ApiModelProperty(value = "The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_NUMBER_OF_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataNumberOfLines() { return openinvoicedataNumberOfLines; } - - /** - * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. - * - * @param openinvoicedataNumberOfLines - */ + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + * + * @param openinvoicedataNumberOfLines + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_NUMBER_OF_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataNumberOfLines(String openinvoicedataNumberOfLines) { this.openinvoicedataNumberOfLines = openinvoicedataNumberOfLines; } - + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientFirstName + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataRecipientFirstName(String openinvoicedataRecipientFirstName) { this.openinvoicedataRecipientFirstName = openinvoicedataRecipientFirstName; return this; } - /** - * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. * @return openinvoicedataRecipientFirstName - **/ + */ @ApiModelProperty(value = "First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataRecipientFirstName() { return openinvoicedataRecipientFirstName; } - - /** - * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. - * - * @param openinvoicedataRecipientFirstName - */ + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientFirstName + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataRecipientFirstName(String openinvoicedataRecipientFirstName) { this.openinvoicedataRecipientFirstName = openinvoicedataRecipientFirstName; } - + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientLastName + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataRecipientLastName(String openinvoicedataRecipientLastName) { this.openinvoicedataRecipientLastName = openinvoicedataRecipientLastName; return this; } - /** - * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. * @return openinvoicedataRecipientLastName - **/ + */ @ApiModelProperty(value = "Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataRecipientLastName() { return openinvoicedataRecipientLastName; } - - /** - * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. - * - * @param openinvoicedataRecipientLastName - */ + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientLastName + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataRecipientLastName(String openinvoicedataRecipientLastName) { this.openinvoicedataRecipientLastName = openinvoicedataRecipientLastName; } - + /** + * The three-character ISO currency code. + * + * @param openinvoicedataLineItemNrCurrencyCode + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrCurrencyCode(String openinvoicedataLineItemNrCurrencyCode) { this.openinvoicedataLineItemNrCurrencyCode = openinvoicedataLineItemNrCurrencyCode; return this; } - /** + /** * The three-character ISO currency code. * @return openinvoicedataLineItemNrCurrencyCode - **/ + */ @ApiModelProperty(value = "The three-character ISO currency code.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrCurrencyCode() { return openinvoicedataLineItemNrCurrencyCode; } - - /** - * The three-character ISO currency code. - * - * @param openinvoicedataLineItemNrCurrencyCode - */ + /** + * The three-character ISO currency code. + * + * @param openinvoicedataLineItemNrCurrencyCode + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrCurrencyCode(String openinvoicedataLineItemNrCurrencyCode) { this.openinvoicedataLineItemNrCurrencyCode = openinvoicedataLineItemNrCurrencyCode; } - + /** + * A text description of the product the invoice line refers to. + * + * @param openinvoicedataLineItemNrDescription + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrDescription(String openinvoicedataLineItemNrDescription) { this.openinvoicedataLineItemNrDescription = openinvoicedataLineItemNrDescription; return this; } - /** + /** * A text description of the product the invoice line refers to. * @return openinvoicedataLineItemNrDescription - **/ + */ @ApiModelProperty(value = "A text description of the product the invoice line refers to.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrDescription() { return openinvoicedataLineItemNrDescription; } - - /** - * A text description of the product the invoice line refers to. - * - * @param openinvoicedataLineItemNrDescription - */ + /** + * A text description of the product the invoice line refers to. + * + * @param openinvoicedataLineItemNrDescription + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrDescription(String openinvoicedataLineItemNrDescription) { this.openinvoicedataLineItemNrDescription = openinvoicedataLineItemNrDescription; } - + /** + * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. + * + * @param openinvoicedataLineItemNrItemAmount + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemAmount(String openinvoicedataLineItemNrItemAmount) { this.openinvoicedataLineItemNrItemAmount = openinvoicedataLineItemNrItemAmount; return this; } - /** + /** * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. * @return openinvoicedataLineItemNrItemAmount - **/ + */ @ApiModelProperty(value = "The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemAmount() { return openinvoicedataLineItemNrItemAmount; } - - /** - * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. - * - * @param openinvoicedataLineItemNrItemAmount - */ + /** + * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. + * + * @param openinvoicedataLineItemNrItemAmount + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemAmount(String openinvoicedataLineItemNrItemAmount) { this.openinvoicedataLineItemNrItemAmount = openinvoicedataLineItemNrItemAmount; } - + /** + * A unique id for this item. Required for RatePay if the description of each item is not unique. + * + * @param openinvoicedataLineItemNrItemId + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemId(String openinvoicedataLineItemNrItemId) { this.openinvoicedataLineItemNrItemId = openinvoicedataLineItemNrItemId; return this; } - /** + /** * A unique id for this item. Required for RatePay if the description of each item is not unique. * @return openinvoicedataLineItemNrItemId - **/ + */ @ApiModelProperty(value = "A unique id for this item. Required for RatePay if the description of each item is not unique.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemId() { return openinvoicedataLineItemNrItemId; } - - /** - * A unique id for this item. Required for RatePay if the description of each item is not unique. - * - * @param openinvoicedataLineItemNrItemId - */ + /** + * A unique id for this item. Required for RatePay if the description of each item is not unique. + * + * @param openinvoicedataLineItemNrItemId + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemId(String openinvoicedataLineItemNrItemId) { this.openinvoicedataLineItemNrItemId = openinvoicedataLineItemNrItemId; } - + /** + * The VAT due for one item in the invoice line, represented in minor units. + * + * @param openinvoicedataLineItemNrItemVatAmount + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemVatAmount(String openinvoicedataLineItemNrItemVatAmount) { this.openinvoicedataLineItemNrItemVatAmount = openinvoicedataLineItemNrItemVatAmount; return this; } - /** + /** * The VAT due for one item in the invoice line, represented in minor units. * @return openinvoicedataLineItemNrItemVatAmount - **/ + */ @ApiModelProperty(value = "The VAT due for one item in the invoice line, represented in minor units.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemVatAmount() { return openinvoicedataLineItemNrItemVatAmount; } - - /** - * The VAT due for one item in the invoice line, represented in minor units. - * - * @param openinvoicedataLineItemNrItemVatAmount - */ + /** + * The VAT due for one item in the invoice line, represented in minor units. + * + * @param openinvoicedataLineItemNrItemVatAmount + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemVatAmount(String openinvoicedataLineItemNrItemVatAmount) { this.openinvoicedataLineItemNrItemVatAmount = openinvoicedataLineItemNrItemVatAmount; } - + /** + * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. + * + * @param openinvoicedataLineItemNrItemVatPercentage + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemVatPercentage(String openinvoicedataLineItemNrItemVatPercentage) { this.openinvoicedataLineItemNrItemVatPercentage = openinvoicedataLineItemNrItemVatPercentage; return this; } - /** + /** * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. * @return openinvoicedataLineItemNrItemVatPercentage - **/ + */ @ApiModelProperty(value = "The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemVatPercentage() { return openinvoicedataLineItemNrItemVatPercentage; } - - /** - * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. - * - * @param openinvoicedataLineItemNrItemVatPercentage - */ + /** + * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. + * + * @param openinvoicedataLineItemNrItemVatPercentage + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemVatPercentage(String openinvoicedataLineItemNrItemVatPercentage) { this.openinvoicedataLineItemNrItemVatPercentage = openinvoicedataLineItemNrItemVatPercentage; } - + /** + * The number of units purchased of a specific product. + * + * @param openinvoicedataLineItemNrNumberOfItems + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrNumberOfItems(String openinvoicedataLineItemNrNumberOfItems) { this.openinvoicedataLineItemNrNumberOfItems = openinvoicedataLineItemNrNumberOfItems; return this; } - /** + /** * The number of units purchased of a specific product. * @return openinvoicedataLineItemNrNumberOfItems - **/ + */ @ApiModelProperty(value = "The number of units purchased of a specific product.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_NUMBER_OF_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrNumberOfItems() { return openinvoicedataLineItemNrNumberOfItems; } - - /** - * The number of units purchased of a specific product. - * - * @param openinvoicedataLineItemNrNumberOfItems - */ + /** + * The number of units purchased of a specific product. + * + * @param openinvoicedataLineItemNrNumberOfItems + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_NUMBER_OF_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrNumberOfItems(String openinvoicedataLineItemNrNumberOfItems) { this.openinvoicedataLineItemNrNumberOfItems = openinvoicedataLineItemNrNumberOfItems; } - + /** + * Name of the shipping company handling the the return shipment. + * + * @param openinvoicedataLineItemNrReturnShippingCompany + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnShippingCompany(String openinvoicedataLineItemNrReturnShippingCompany) { this.openinvoicedataLineItemNrReturnShippingCompany = openinvoicedataLineItemNrReturnShippingCompany; return this; } - /** + /** * Name of the shipping company handling the the return shipment. * @return openinvoicedataLineItemNrReturnShippingCompany - **/ + */ @ApiModelProperty(value = "Name of the shipping company handling the the return shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnShippingCompany() { return openinvoicedataLineItemNrReturnShippingCompany; } - - /** - * Name of the shipping company handling the the return shipment. - * - * @param openinvoicedataLineItemNrReturnShippingCompany - */ + /** + * Name of the shipping company handling the the return shipment. + * + * @param openinvoicedataLineItemNrReturnShippingCompany + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnShippingCompany(String openinvoicedataLineItemNrReturnShippingCompany) { this.openinvoicedataLineItemNrReturnShippingCompany = openinvoicedataLineItemNrReturnShippingCompany; } - + /** + * The tracking number for the return of the shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingNumber + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnTrackingNumber(String openinvoicedataLineItemNrReturnTrackingNumber) { this.openinvoicedataLineItemNrReturnTrackingNumber = openinvoicedataLineItemNrReturnTrackingNumber; return this; } - /** + /** * The tracking number for the return of the shipment. * @return openinvoicedataLineItemNrReturnTrackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number for the return of the shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnTrackingNumber() { return openinvoicedataLineItemNrReturnTrackingNumber; } - - /** - * The tracking number for the return of the shipment. - * - * @param openinvoicedataLineItemNrReturnTrackingNumber - */ + /** + * The tracking number for the return of the shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingNumber + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnTrackingNumber(String openinvoicedataLineItemNrReturnTrackingNumber) { this.openinvoicedataLineItemNrReturnTrackingNumber = openinvoicedataLineItemNrReturnTrackingNumber; } - + /** + * URI where the customer can track the return of their shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingUri + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnTrackingUri(String openinvoicedataLineItemNrReturnTrackingUri) { this.openinvoicedataLineItemNrReturnTrackingUri = openinvoicedataLineItemNrReturnTrackingUri; return this; } - /** + /** * URI where the customer can track the return of their shipment. * @return openinvoicedataLineItemNrReturnTrackingUri - **/ + */ @ApiModelProperty(value = "URI where the customer can track the return of their shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnTrackingUri() { return openinvoicedataLineItemNrReturnTrackingUri; } - - /** - * URI where the customer can track the return of their shipment. - * - * @param openinvoicedataLineItemNrReturnTrackingUri - */ + /** + * URI where the customer can track the return of their shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingUri + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnTrackingUri(String openinvoicedataLineItemNrReturnTrackingUri) { this.openinvoicedataLineItemNrReturnTrackingUri = openinvoicedataLineItemNrReturnTrackingUri; } - + /** + * Name of the shipping company handling the delivery. + * + * @param openinvoicedataLineItemNrShippingCompany + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrShippingCompany(String openinvoicedataLineItemNrShippingCompany) { this.openinvoicedataLineItemNrShippingCompany = openinvoicedataLineItemNrShippingCompany; return this; } - /** + /** * Name of the shipping company handling the delivery. * @return openinvoicedataLineItemNrShippingCompany - **/ + */ @ApiModelProperty(value = "Name of the shipping company handling the delivery.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrShippingCompany() { return openinvoicedataLineItemNrShippingCompany; } - - /** - * Name of the shipping company handling the delivery. - * - * @param openinvoicedataLineItemNrShippingCompany - */ + /** + * Name of the shipping company handling the delivery. + * + * @param openinvoicedataLineItemNrShippingCompany + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrShippingCompany(String openinvoicedataLineItemNrShippingCompany) { this.openinvoicedataLineItemNrShippingCompany = openinvoicedataLineItemNrShippingCompany; } - + /** + * Shipping method. + * + * @param openinvoicedataLineItemNrShippingMethod + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrShippingMethod(String openinvoicedataLineItemNrShippingMethod) { this.openinvoicedataLineItemNrShippingMethod = openinvoicedataLineItemNrShippingMethod; return this; } - /** + /** * Shipping method. * @return openinvoicedataLineItemNrShippingMethod - **/ + */ @ApiModelProperty(value = "Shipping method.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrShippingMethod() { return openinvoicedataLineItemNrShippingMethod; } - - /** - * Shipping method. - * - * @param openinvoicedataLineItemNrShippingMethod - */ + /** + * Shipping method. + * + * @param openinvoicedataLineItemNrShippingMethod + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrShippingMethod(String openinvoicedataLineItemNrShippingMethod) { this.openinvoicedataLineItemNrShippingMethod = openinvoicedataLineItemNrShippingMethod; } - + /** + * The tracking number for the shipment. + * + * @param openinvoicedataLineItemNrTrackingNumber + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrTrackingNumber(String openinvoicedataLineItemNrTrackingNumber) { this.openinvoicedataLineItemNrTrackingNumber = openinvoicedataLineItemNrTrackingNumber; return this; } - /** + /** * The tracking number for the shipment. * @return openinvoicedataLineItemNrTrackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number for the shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrTrackingNumber() { return openinvoicedataLineItemNrTrackingNumber; } - - /** - * The tracking number for the shipment. - * - * @param openinvoicedataLineItemNrTrackingNumber - */ + /** + * The tracking number for the shipment. + * + * @param openinvoicedataLineItemNrTrackingNumber + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrTrackingNumber(String openinvoicedataLineItemNrTrackingNumber) { this.openinvoicedataLineItemNrTrackingNumber = openinvoicedataLineItemNrTrackingNumber; } - + /** + * URI where the customer can track their shipment. + * + * @param openinvoicedataLineItemNrTrackingUri + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrTrackingUri(String openinvoicedataLineItemNrTrackingUri) { this.openinvoicedataLineItemNrTrackingUri = openinvoicedataLineItemNrTrackingUri; return this; } - /** + /** * URI where the customer can track their shipment. * @return openinvoicedataLineItemNrTrackingUri - **/ + */ @ApiModelProperty(value = "URI where the customer can track their shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrTrackingUri() { return openinvoicedataLineItemNrTrackingUri; } - - /** - * URI where the customer can track their shipment. - * - * @param openinvoicedataLineItemNrTrackingUri - */ + /** + * URI where the customer can track their shipment. + * + * @param openinvoicedataLineItemNrTrackingUri + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrTrackingUri(String openinvoicedataLineItemNrTrackingUri) { this.openinvoicedataLineItemNrTrackingUri = openinvoicedataLineItemNrTrackingUri; } - /** * Return true if this AdditionalDataOpenInvoice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataOpi.java b/src/main/java/com/adyen/model/checkout/AdditionalDataOpi.java index 332f262a1..cd8a2ad18 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataOpi.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataOpi.java @@ -41,36 +41,39 @@ public class AdditionalDataOpi { public AdditionalDataOpi() { } + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiIncludeTransToken + * @return the current {@code AdditionalDataOpi} instance, allowing for method chaining + */ public AdditionalDataOpi opiIncludeTransToken(String opiIncludeTransToken) { this.opiIncludeTransToken = opiIncludeTransToken; return this; } - /** - * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). * @return opiIncludeTransToken - **/ + */ @ApiModelProperty(value = "Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).") @JsonProperty(JSON_PROPERTY_OPI_INCLUDE_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpiIncludeTransToken() { return opiIncludeTransToken; } - - /** - * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). - * - * @param opiIncludeTransToken - */ + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiIncludeTransToken + */ @JsonProperty(JSON_PROPERTY_OPI_INCLUDE_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpiIncludeTransToken(String opiIncludeTransToken) { this.opiIncludeTransToken = opiIncludeTransToken; } - /** * Return true if this AdditionalDataOpi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataRatepay.java b/src/main/java/com/adyen/model/checkout/AdditionalDataRatepay.java index 9f321d78f..009397e5d 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataRatepay.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataRatepay.java @@ -69,246 +69,270 @@ public class AdditionalDataRatepay { public AdditionalDataRatepay() { } + /** + * Amount the customer has to pay each month. + * + * @param ratepayInstallmentAmount + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayInstallmentAmount(String ratepayInstallmentAmount) { this.ratepayInstallmentAmount = ratepayInstallmentAmount; return this; } - /** + /** * Amount the customer has to pay each month. * @return ratepayInstallmentAmount - **/ + */ @ApiModelProperty(value = "Amount the customer has to pay each month.") @JsonProperty(JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayInstallmentAmount() { return ratepayInstallmentAmount; } - - /** - * Amount the customer has to pay each month. - * - * @param ratepayInstallmentAmount - */ + /** + * Amount the customer has to pay each month. + * + * @param ratepayInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayInstallmentAmount(String ratepayInstallmentAmount) { this.ratepayInstallmentAmount = ratepayInstallmentAmount; } - + /** + * Interest rate of this installment. + * + * @param ratepayInterestRate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayInterestRate(String ratepayInterestRate) { this.ratepayInterestRate = ratepayInterestRate; return this; } - /** + /** * Interest rate of this installment. * @return ratepayInterestRate - **/ + */ @ApiModelProperty(value = "Interest rate of this installment.") @JsonProperty(JSON_PROPERTY_RATEPAY_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayInterestRate() { return ratepayInterestRate; } - - /** - * Interest rate of this installment. - * - * @param ratepayInterestRate - */ + /** + * Interest rate of this installment. + * + * @param ratepayInterestRate + */ @JsonProperty(JSON_PROPERTY_RATEPAY_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayInterestRate(String ratepayInterestRate) { this.ratepayInterestRate = ratepayInterestRate; } - + /** + * Amount of the last installment. + * + * @param ratepayLastInstallmentAmount + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayLastInstallmentAmount(String ratepayLastInstallmentAmount) { this.ratepayLastInstallmentAmount = ratepayLastInstallmentAmount; return this; } - /** + /** * Amount of the last installment. * @return ratepayLastInstallmentAmount - **/ + */ @ApiModelProperty(value = "Amount of the last installment.") @JsonProperty(JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayLastInstallmentAmount() { return ratepayLastInstallmentAmount; } - - /** - * Amount of the last installment. - * - * @param ratepayLastInstallmentAmount - */ + /** + * Amount of the last installment. + * + * @param ratepayLastInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayLastInstallmentAmount(String ratepayLastInstallmentAmount) { this.ratepayLastInstallmentAmount = ratepayLastInstallmentAmount; } - + /** + * Calendar day of the first payment. + * + * @param ratepayPaymentFirstday + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayPaymentFirstday(String ratepayPaymentFirstday) { this.ratepayPaymentFirstday = ratepayPaymentFirstday; return this; } - /** + /** * Calendar day of the first payment. * @return ratepayPaymentFirstday - **/ + */ @ApiModelProperty(value = "Calendar day of the first payment.") @JsonProperty(JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayPaymentFirstday() { return ratepayPaymentFirstday; } - - /** - * Calendar day of the first payment. - * - * @param ratepayPaymentFirstday - */ + /** + * Calendar day of the first payment. + * + * @param ratepayPaymentFirstday + */ @JsonProperty(JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayPaymentFirstday(String ratepayPaymentFirstday) { this.ratepayPaymentFirstday = ratepayPaymentFirstday; } - + /** + * Date the merchant delivered the goods to the customer. + * + * @param ratepaydataDeliveryDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataDeliveryDate(String ratepaydataDeliveryDate) { this.ratepaydataDeliveryDate = ratepaydataDeliveryDate; return this; } - /** + /** * Date the merchant delivered the goods to the customer. * @return ratepaydataDeliveryDate - **/ + */ @ApiModelProperty(value = "Date the merchant delivered the goods to the customer.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataDeliveryDate() { return ratepaydataDeliveryDate; } - - /** - * Date the merchant delivered the goods to the customer. - * - * @param ratepaydataDeliveryDate - */ + /** + * Date the merchant delivered the goods to the customer. + * + * @param ratepaydataDeliveryDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataDeliveryDate(String ratepaydataDeliveryDate) { this.ratepaydataDeliveryDate = ratepaydataDeliveryDate; } - + /** + * Date by which the customer must settle the payment. + * + * @param ratepaydataDueDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataDueDate(String ratepaydataDueDate) { this.ratepaydataDueDate = ratepaydataDueDate; return this; } - /** + /** * Date by which the customer must settle the payment. * @return ratepaydataDueDate - **/ + */ @ApiModelProperty(value = "Date by which the customer must settle the payment.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataDueDate() { return ratepaydataDueDate; } - - /** - * Date by which the customer must settle the payment. - * - * @param ratepaydataDueDate - */ + /** + * Date by which the customer must settle the payment. + * + * @param ratepaydataDueDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataDueDate(String ratepaydataDueDate) { this.ratepaydataDueDate = ratepaydataDueDate; } - + /** + * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. + * + * @param ratepaydataInvoiceDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataInvoiceDate(String ratepaydataInvoiceDate) { this.ratepaydataInvoiceDate = ratepaydataInvoiceDate; return this; } - /** + /** * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. * @return ratepaydataInvoiceDate - **/ + */ @ApiModelProperty(value = "Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataInvoiceDate() { return ratepaydataInvoiceDate; } - - /** - * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. - * - * @param ratepaydataInvoiceDate - */ + /** + * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. + * + * @param ratepaydataInvoiceDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataInvoiceDate(String ratepaydataInvoiceDate) { this.ratepaydataInvoiceDate = ratepaydataInvoiceDate; } - + /** + * Identification name or number for the invoice, defined by the merchant. + * + * @param ratepaydataInvoiceId + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataInvoiceId(String ratepaydataInvoiceId) { this.ratepaydataInvoiceId = ratepaydataInvoiceId; return this; } - /** + /** * Identification name or number for the invoice, defined by the merchant. * @return ratepaydataInvoiceId - **/ + */ @ApiModelProperty(value = "Identification name or number for the invoice, defined by the merchant.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataInvoiceId() { return ratepaydataInvoiceId; } - - /** - * Identification name or number for the invoice, defined by the merchant. - * - * @param ratepaydataInvoiceId - */ + /** + * Identification name or number for the invoice, defined by the merchant. + * + * @param ratepaydataInvoiceId + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataInvoiceId(String ratepaydataInvoiceId) { this.ratepaydataInvoiceId = ratepaydataInvoiceId; } - /** * Return true if this AdditionalDataRatepay object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataRetry.java b/src/main/java/com/adyen/model/checkout/AdditionalDataRetry.java index a4de5c9a1..bb688512f 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataRetry.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataRetry.java @@ -49,96 +49,105 @@ public class AdditionalDataRetry { public AdditionalDataRetry() { } + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryChainAttemptNumber + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retryChainAttemptNumber(String retryChainAttemptNumber) { this.retryChainAttemptNumber = retryChainAttemptNumber; return this; } - /** - * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retryChainAttemptNumber - **/ + */ @ApiModelProperty(value = "The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_CHAIN_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetryChainAttemptNumber() { return retryChainAttemptNumber; } - - /** - * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retryChainAttemptNumber - */ + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryChainAttemptNumber + */ @JsonProperty(JSON_PROPERTY_RETRY_CHAIN_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetryChainAttemptNumber(String retryChainAttemptNumber) { this.retryChainAttemptNumber = retryChainAttemptNumber; } - + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryOrderAttemptNumber + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retryOrderAttemptNumber(String retryOrderAttemptNumber) { this.retryOrderAttemptNumber = retryOrderAttemptNumber; return this; } - /** - * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retryOrderAttemptNumber - **/ + */ @ApiModelProperty(value = "The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_ORDER_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetryOrderAttemptNumber() { return retryOrderAttemptNumber; } - - /** - * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retryOrderAttemptNumber - */ + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryOrderAttemptNumber + */ @JsonProperty(JSON_PROPERTY_RETRY_ORDER_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetryOrderAttemptNumber(String retryOrderAttemptNumber) { this.retryOrderAttemptNumber = retryOrderAttemptNumber; } - + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retrySkipRetry + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retrySkipRetry(String retrySkipRetry) { this.retrySkipRetry = retrySkipRetry; return this; } - /** - * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retrySkipRetry - **/ + */ @ApiModelProperty(value = "The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_SKIP_RETRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetrySkipRetry() { return retrySkipRetry; } - - /** - * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retrySkipRetry - */ + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retrySkipRetry + */ @JsonProperty(JSON_PROPERTY_RETRY_SKIP_RETRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetrySkipRetry(String retrySkipRetry) { this.retrySkipRetry = retrySkipRetry; } - /** * Return true if this AdditionalDataRetry object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataRisk.java b/src/main/java/com/adyen/model/checkout/AdditionalDataRisk.java index 856ed5dbe..0dd84495c 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataRisk.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataRisk.java @@ -121,636 +121,699 @@ public class AdditionalDataRisk { public AdditionalDataRisk() { } + /** + * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). + * + * @param riskdataCustomFieldName + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataCustomFieldName(String riskdataCustomFieldName) { this.riskdataCustomFieldName = riskdataCustomFieldName; return this; } - /** + /** * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). * @return riskdataCustomFieldName - **/ + */ @ApiModelProperty(value = "The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).") @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataCustomFieldName() { return riskdataCustomFieldName; } - - /** - * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). - * - * @param riskdataCustomFieldName - */ + /** + * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). + * + * @param riskdataCustomFieldName + */ @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataCustomFieldName(String riskdataCustomFieldName) { this.riskdataCustomFieldName = riskdataCustomFieldName; } - + /** + * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataBasketItemItemNrAmountPerItem + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrAmountPerItem(String riskdataBasketItemItemNrAmountPerItem) { this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem; return this; } - /** + /** * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return riskdataBasketItemItemNrAmountPerItem - **/ + */ @ApiModelProperty(value = "The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrAmountPerItem() { return riskdataBasketItemItemNrAmountPerItem; } - - /** - * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param riskdataBasketItemItemNrAmountPerItem - */ + /** + * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataBasketItemItemNrAmountPerItem + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrAmountPerItem(String riskdataBasketItemItemNrAmountPerItem) { this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem; } - + /** + * Brand of the item. + * + * @param riskdataBasketItemItemNrBrand + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) { this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand; return this; } - /** + /** * Brand of the item. * @return riskdataBasketItemItemNrBrand - **/ + */ @ApiModelProperty(value = "Brand of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrBrand() { return riskdataBasketItemItemNrBrand; } - - /** - * Brand of the item. - * - * @param riskdataBasketItemItemNrBrand - */ + /** + * Brand of the item. + * + * @param riskdataBasketItemItemNrBrand + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) { this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand; } - + /** + * Category of the item. + * + * @param riskdataBasketItemItemNrCategory + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrCategory(String riskdataBasketItemItemNrCategory) { this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory; return this; } - /** + /** * Category of the item. * @return riskdataBasketItemItemNrCategory - **/ + */ @ApiModelProperty(value = "Category of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrCategory() { return riskdataBasketItemItemNrCategory; } - - /** - * Category of the item. - * - * @param riskdataBasketItemItemNrCategory - */ + /** + * Category of the item. + * + * @param riskdataBasketItemItemNrCategory + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrCategory(String riskdataBasketItemItemNrCategory) { this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory; } - + /** + * Color of the item. + * + * @param riskdataBasketItemItemNrColor + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) { this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor; return this; } - /** + /** * Color of the item. * @return riskdataBasketItemItemNrColor - **/ + */ @ApiModelProperty(value = "Color of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrColor() { return riskdataBasketItemItemNrColor; } - - /** - * Color of the item. - * - * @param riskdataBasketItemItemNrColor - */ + /** + * Color of the item. + * + * @param riskdataBasketItemItemNrColor + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) { this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor; } - + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataBasketItemItemNrCurrency + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrCurrency(String riskdataBasketItemItemNrCurrency) { this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency; return this; } - /** + /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return riskdataBasketItemItemNrCurrency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrCurrency() { return riskdataBasketItemItemNrCurrency; } - - /** - * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param riskdataBasketItemItemNrCurrency - */ + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataBasketItemItemNrCurrency + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrCurrency(String riskdataBasketItemItemNrCurrency) { this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency; } - + /** + * ID of the item. + * + * @param riskdataBasketItemItemNrItemID + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) { this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID; return this; } - /** + /** * ID of the item. * @return riskdataBasketItemItemNrItemID - **/ + */ @ApiModelProperty(value = "ID of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrItemID() { return riskdataBasketItemItemNrItemID; } - - /** - * ID of the item. - * - * @param riskdataBasketItemItemNrItemID - */ + /** + * ID of the item. + * + * @param riskdataBasketItemItemNrItemID + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) { this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID; } - + /** + * Manufacturer of the item. + * + * @param riskdataBasketItemItemNrManufacturer + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrManufacturer(String riskdataBasketItemItemNrManufacturer) { this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer; return this; } - /** + /** * Manufacturer of the item. * @return riskdataBasketItemItemNrManufacturer - **/ + */ @ApiModelProperty(value = "Manufacturer of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrManufacturer() { return riskdataBasketItemItemNrManufacturer; } - - /** - * Manufacturer of the item. - * - * @param riskdataBasketItemItemNrManufacturer - */ + /** + * Manufacturer of the item. + * + * @param riskdataBasketItemItemNrManufacturer + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrManufacturer(String riskdataBasketItemItemNrManufacturer) { this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer; } - + /** + * A text description of the product the invoice line refers to. + * + * @param riskdataBasketItemItemNrProductTitle + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrProductTitle(String riskdataBasketItemItemNrProductTitle) { this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle; return this; } - /** + /** * A text description of the product the invoice line refers to. * @return riskdataBasketItemItemNrProductTitle - **/ + */ @ApiModelProperty(value = "A text description of the product the invoice line refers to.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrProductTitle() { return riskdataBasketItemItemNrProductTitle; } - - /** - * A text description of the product the invoice line refers to. - * - * @param riskdataBasketItemItemNrProductTitle - */ + /** + * A text description of the product the invoice line refers to. + * + * @param riskdataBasketItemItemNrProductTitle + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrProductTitle(String riskdataBasketItemItemNrProductTitle) { this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle; } - + /** + * Quantity of the item purchased. + * + * @param riskdataBasketItemItemNrQuantity + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrQuantity(String riskdataBasketItemItemNrQuantity) { this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity; return this; } - /** + /** * Quantity of the item purchased. * @return riskdataBasketItemItemNrQuantity - **/ + */ @ApiModelProperty(value = "Quantity of the item purchased.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrQuantity() { return riskdataBasketItemItemNrQuantity; } - - /** - * Quantity of the item purchased. - * - * @param riskdataBasketItemItemNrQuantity - */ + /** + * Quantity of the item purchased. + * + * @param riskdataBasketItemItemNrQuantity + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrQuantity(String riskdataBasketItemItemNrQuantity) { this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity; } - + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param riskdataBasketItemItemNrReceiverEmail + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrReceiverEmail(String riskdataBasketItemItemNrReceiverEmail) { this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail; return this; } - /** + /** * Email associated with the given product in the basket (usually in electronic gift cards). * @return riskdataBasketItemItemNrReceiverEmail - **/ + */ @ApiModelProperty(value = "Email associated with the given product in the basket (usually in electronic gift cards).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrReceiverEmail() { return riskdataBasketItemItemNrReceiverEmail; } - - /** - * Email associated with the given product in the basket (usually in electronic gift cards). - * - * @param riskdataBasketItemItemNrReceiverEmail - */ + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param riskdataBasketItemItemNrReceiverEmail + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrReceiverEmail(String riskdataBasketItemItemNrReceiverEmail) { this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail; } - + /** + * Size of the item. + * + * @param riskdataBasketItemItemNrSize + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) { this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize; return this; } - /** + /** * Size of the item. * @return riskdataBasketItemItemNrSize - **/ + */ @ApiModelProperty(value = "Size of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrSize() { return riskdataBasketItemItemNrSize; } - - /** - * Size of the item. - * - * @param riskdataBasketItemItemNrSize - */ + /** + * Size of the item. + * + * @param riskdataBasketItemItemNrSize + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) { this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize; } - + /** + * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). + * + * @param riskdataBasketItemItemNrSku + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) { this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku; return this; } - /** + /** * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). * @return riskdataBasketItemItemNrSku - **/ + */ @ApiModelProperty(value = "[Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrSku() { return riskdataBasketItemItemNrSku; } - - /** - * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). - * - * @param riskdataBasketItemItemNrSku - */ + /** + * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). + * + * @param riskdataBasketItemItemNrSku + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) { this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku; } - + /** + * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). + * + * @param riskdataBasketItemItemNrUpc + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) { this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc; return this; } - /** + /** * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). * @return riskdataBasketItemItemNrUpc - **/ + */ @ApiModelProperty(value = "[Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrUpc() { return riskdataBasketItemItemNrUpc; } - - /** - * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). - * - * @param riskdataBasketItemItemNrUpc - */ + /** + * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). + * + * @param riskdataBasketItemItemNrUpc + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) { this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc; } - + /** + * Code of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionCode + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionCode(String riskdataPromotionsPromotionItemNrPromotionCode) { this.riskdataPromotionsPromotionItemNrPromotionCode = riskdataPromotionsPromotionItemNrPromotionCode; return this; } - /** + /** * Code of the promotion. * @return riskdataPromotionsPromotionItemNrPromotionCode - **/ + */ @ApiModelProperty(value = "Code of the promotion.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionCode() { return riskdataPromotionsPromotionItemNrPromotionCode; } - - /** - * Code of the promotion. - * - * @param riskdataPromotionsPromotionItemNrPromotionCode - */ + /** + * Code of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionCode + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionCode(String riskdataPromotionsPromotionItemNrPromotionCode) { this.riskdataPromotionsPromotionItemNrPromotionCode = riskdataPromotionsPromotionItemNrPromotionCode; } - + /** + * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountAmount(String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) { this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount = riskdataPromotionsPromotionItemNrPromotionDiscountAmount; return this; } - /** + /** * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return riskdataPromotionsPromotionItemNrPromotionDiscountAmount - **/ + */ @ApiModelProperty(value = "The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountAmount() { return riskdataPromotionsPromotionItemNrPromotionDiscountAmount; } - - /** - * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount - */ + /** + * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountAmount(String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) { this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount = riskdataPromotionsPromotionItemNrPromotionDiscountAmount; } - + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountCurrency(String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) { this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency = riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; return this; } - /** + /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency() { return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; } - - /** - * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency - */ + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency(String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) { this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency = riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; } - + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountPercentage(String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) { this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage = riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; return this; } - /** - * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. * @return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage - **/ + */ @ApiModelProperty(value = "Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage() { return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; } - - /** - * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage - */ + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage(String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) { this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage = riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; } - + /** + * Name of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionName + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionName(String riskdataPromotionsPromotionItemNrPromotionName) { this.riskdataPromotionsPromotionItemNrPromotionName = riskdataPromotionsPromotionItemNrPromotionName; return this; } - /** + /** * Name of the promotion. * @return riskdataPromotionsPromotionItemNrPromotionName - **/ + */ @ApiModelProperty(value = "Name of the promotion.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionName() { return riskdataPromotionsPromotionItemNrPromotionName; } - - /** - * Name of the promotion. - * - * @param riskdataPromotionsPromotionItemNrPromotionName - */ + /** + * Name of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionName + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionName(String riskdataPromotionsPromotionItemNrPromotionName) { this.riskdataPromotionsPromotionItemNrPromotionName = riskdataPromotionsPromotionItemNrPromotionName; } - + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + * + * @param riskdataRiskProfileReference + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataRiskProfileReference(String riskdataRiskProfileReference) { this.riskdataRiskProfileReference = riskdataRiskProfileReference; return this; } - /** - * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). * @return riskdataRiskProfileReference - **/ + */ @ApiModelProperty(value = "Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).") @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataRiskProfileReference() { return riskdataRiskProfileReference; } - - /** - * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). - * - * @param riskdataRiskProfileReference - */ + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + * + * @param riskdataRiskProfileReference + */ @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataRiskProfileReference(String riskdataRiskProfileReference) { this.riskdataRiskProfileReference = riskdataRiskProfileReference; } - + /** + * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. + * + * @param riskdataSkipRisk + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataSkipRisk(String riskdataSkipRisk) { this.riskdataSkipRisk = riskdataSkipRisk; return this; } - /** + /** * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. * @return riskdataSkipRisk - **/ + */ @ApiModelProperty(value = "If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score.") @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataSkipRisk() { return riskdataSkipRisk; } - - /** - * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. - * - * @param riskdataSkipRisk - */ + /** + * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. + * + * @param riskdataSkipRisk + */ @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataSkipRisk(String riskdataSkipRisk) { this.riskdataSkipRisk = riskdataSkipRisk; } - /** * Return true if this AdditionalDataRisk object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataRiskStandalone.java b/src/main/java/com/adyen/model/checkout/AdditionalDataRiskStandalone.java index 799e41cdc..29a691e91 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataRiskStandalone.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataRiskStandalone.java @@ -97,456 +97,501 @@ public class AdditionalDataRiskStandalone { public AdditionalDataRiskStandalone() { } + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + * + * @param payPalCountryCode + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalCountryCode(String payPalCountryCode) { this.payPalCountryCode = payPalCountryCode; return this; } - /** - * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. * @return payPalCountryCode - **/ + */ @ApiModelProperty(value = "Shopper's country of residence in the form of ISO standard 3166 2-character country codes.") @JsonProperty(JSON_PROPERTY_PAY_PAL_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalCountryCode() { return payPalCountryCode; } - - /** - * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. - * - * @param payPalCountryCode - */ + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + * + * @param payPalCountryCode + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalCountryCode(String payPalCountryCode) { this.payPalCountryCode = payPalCountryCode; } - + /** + * Shopper's email. + * + * @param payPalEmailId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalEmailId(String payPalEmailId) { this.payPalEmailId = payPalEmailId; return this; } - /** - * Shopper's email. + /** + * Shopper's email. * @return payPalEmailId - **/ + */ @ApiModelProperty(value = "Shopper's email.") @JsonProperty(JSON_PROPERTY_PAY_PAL_EMAIL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalEmailId() { return payPalEmailId; } - - /** - * Shopper's email. - * - * @param payPalEmailId - */ + /** + * Shopper's email. + * + * @param payPalEmailId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_EMAIL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalEmailId(String payPalEmailId) { this.payPalEmailId = payPalEmailId; } - + /** + * Shopper's first name. + * + * @param payPalFirstName + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalFirstName(String payPalFirstName) { this.payPalFirstName = payPalFirstName; return this; } - /** - * Shopper's first name. + /** + * Shopper's first name. * @return payPalFirstName - **/ + */ @ApiModelProperty(value = "Shopper's first name.") @JsonProperty(JSON_PROPERTY_PAY_PAL_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalFirstName() { return payPalFirstName; } - - /** - * Shopper's first name. - * - * @param payPalFirstName - */ + /** + * Shopper's first name. + * + * @param payPalFirstName + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalFirstName(String payPalFirstName) { this.payPalFirstName = payPalFirstName; } - + /** + * Shopper's last name. + * + * @param payPalLastName + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalLastName(String payPalLastName) { this.payPalLastName = payPalLastName; return this; } - /** - * Shopper's last name. + /** + * Shopper's last name. * @return payPalLastName - **/ + */ @ApiModelProperty(value = "Shopper's last name.") @JsonProperty(JSON_PROPERTY_PAY_PAL_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalLastName() { return payPalLastName; } - - /** - * Shopper's last name. - * - * @param payPalLastName - */ + /** + * Shopper's last name. + * + * @param payPalLastName + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalLastName(String payPalLastName) { this.payPalLastName = payPalLastName; } - + /** + * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payPalPayerId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalPayerId(String payPalPayerId) { this.payPalPayerId = payPalPayerId; return this; } - /** + /** * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. * @return payPalPayerId - **/ + */ @ApiModelProperty(value = "Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalPayerId() { return payPalPayerId; } - - /** - * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. - * - * @param payPalPayerId - */ + /** + * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payPalPayerId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalPayerId(String payPalPayerId) { this.payPalPayerId = payPalPayerId; } - + /** + * Shopper's phone number. + * + * @param payPalPhone + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalPhone(String payPalPhone) { this.payPalPhone = payPalPhone; return this; } - /** - * Shopper's phone number. + /** + * Shopper's phone number. * @return payPalPhone - **/ + */ @ApiModelProperty(value = "Shopper's phone number.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalPhone() { return payPalPhone; } - - /** - * Shopper's phone number. - * - * @param payPalPhone - */ + /** + * Shopper's phone number. + * + * @param payPalPhone + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalPhone(String payPalPhone) { this.payPalPhone = payPalPhone; } - + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + * + * @param payPalProtectionEligibility + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalProtectionEligibility(String payPalProtectionEligibility) { this.payPalProtectionEligibility = payPalProtectionEligibility; return this; } - /** - * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. * @return payPalProtectionEligibility - **/ + */ @ApiModelProperty(value = "Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalProtectionEligibility() { return payPalProtectionEligibility; } - - /** - * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. - * - * @param payPalProtectionEligibility - */ + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + * + * @param payPalProtectionEligibility + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalProtectionEligibility(String payPalProtectionEligibility) { this.payPalProtectionEligibility = payPalProtectionEligibility; } - + /** + * Unique transaction ID of the payment. + * + * @param payPalTransactionId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalTransactionId(String payPalTransactionId) { this.payPalTransactionId = payPalTransactionId; return this; } - /** + /** * Unique transaction ID of the payment. * @return payPalTransactionId - **/ + */ @ApiModelProperty(value = "Unique transaction ID of the payment.") @JsonProperty(JSON_PROPERTY_PAY_PAL_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalTransactionId() { return payPalTransactionId; } - - /** - * Unique transaction ID of the payment. - * - * @param payPalTransactionId - */ + /** + * Unique transaction ID of the payment. + * + * @param payPalTransactionId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalTransactionId(String payPalTransactionId) { this.payPalTransactionId = payPalTransactionId; } - + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone avsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; return this; } - /** + /** * Raw AVS result received from the acquirer, where available. Example: D * @return avsResultRaw - **/ + */ @ApiModelProperty(value = "Raw AVS result received from the acquirer, where available. Example: D") @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResultRaw() { return avsResultRaw; } - - /** - * Raw AVS result received from the acquirer, where available. Example: D - * - * @param avsResultRaw - */ + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; } - + /** + * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). + * + * @param bin + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone bin(String bin) { this.bin = bin; return this; } - /** + /** * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). * @return bin - **/ + */ @ApiModelProperty(value = "The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization).") @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBin() { return bin; } - - /** - * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). - * - * @param bin - */ + /** + * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). + * + * @param bin + */ @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBin(String bin) { this.bin = bin; } - + /** + * Raw CVC result received from the acquirer, where available. Example: 1 + * + * @param cvcResultRaw + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone cvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; return this; } - /** + /** * Raw CVC result received from the acquirer, where available. Example: 1 * @return cvcResultRaw - **/ + */ @ApiModelProperty(value = "Raw CVC result received from the acquirer, where available. Example: 1") @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResultRaw() { return cvcResultRaw; } - - /** - * Raw CVC result received from the acquirer, where available. Example: 1 - * - * @param cvcResultRaw - */ + /** + * Raw CVC result received from the acquirer, where available. Example: 1 + * + * @param cvcResultRaw + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; } - + /** + * Unique identifier or token for the shopper's card details. + * + * @param riskToken + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone riskToken(String riskToken) { this.riskToken = riskToken; return this; } - /** - * Unique identifier or token for the shopper's card details. + /** + * Unique identifier or token for the shopper's card details. * @return riskToken - **/ + */ @ApiModelProperty(value = "Unique identifier or token for the shopper's card details.") @JsonProperty(JSON_PROPERTY_RISK_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskToken() { return riskToken; } - - /** - * Unique identifier or token for the shopper's card details. - * - * @param riskToken - */ + /** + * Unique identifier or token for the shopper's card details. + * + * @param riskToken + */ @JsonProperty(JSON_PROPERTY_RISK_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskToken(String riskToken) { this.riskToken = riskToken; } - + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone threeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; return this; } - /** + /** * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true * @return threeDAuthenticated - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticated() { return threeDAuthenticated; } - - /** - * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true - * - * @param threeDAuthenticated - */ + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; } - + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone threeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; return this; } - /** + /** * A Boolean value indicating whether 3DS was offered for this payment. Example: true * @return threeDOffered - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS was offered for this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOffered() { return threeDOffered; } - - /** - * A Boolean value indicating whether 3DS was offered for this payment. Example: true - * - * @param threeDOffered - */ + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; } - + /** + * Required for PayPal payments only. The only supported value is: **paypal**. + * + * @param tokenDataType + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone tokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; return this; } - /** + /** * Required for PayPal payments only. The only supported value is: **paypal**. * @return tokenDataType - **/ + */ @ApiModelProperty(value = "Required for PayPal payments only. The only supported value is: **paypal**.") @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenDataType() { return tokenDataType; } - - /** - * Required for PayPal payments only. The only supported value is: **paypal**. - * - * @param tokenDataType - */ + /** + * Required for PayPal payments only. The only supported value is: **paypal**. + * + * @param tokenDataType + */ @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; } - /** * Return true if this AdditionalDataRiskStandalone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java b/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java index 4c28ed3ea..f44c71865 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java @@ -77,306 +77,336 @@ public class AdditionalDataSubMerchant { public AdditionalDataSubMerchant() { } + /** + * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. + * + * @param subMerchantNumberOfSubSellers + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers) { this.subMerchantNumberOfSubSellers = subMerchantNumberOfSubSellers; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. * @return subMerchantNumberOfSubSellers - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantNumberOfSubSellers() { return subMerchantNumberOfSubSellers; } - - /** - * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. - * - * @param subMerchantNumberOfSubSellers - */ + /** + * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. + * + * @param subMerchantNumberOfSubSellers + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers) { this.subMerchantNumberOfSubSellers = subMerchantNumberOfSubSellers; } - + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param subMerchantSubSellerSubSellerNrCity + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity) { this.subMerchantSubSellerSubSellerNrCity = subMerchantSubSellerSubSellerNrCity; return this; } - /** - * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters * @return subMerchantSubSellerSubSellerNrCity - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrCity() { return subMerchantSubSellerSubSellerNrCity; } - - /** - * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters - * - * @param subMerchantSubSellerSubSellerNrCity - */ + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param subMerchantSubSellerSubSellerNrCity + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity) { this.subMerchantSubSellerSubSellerNrCity = subMerchantSubSellerSubSellerNrCity; } - + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param subMerchantSubSellerSubSellerNrCountry + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry) { this.subMerchantSubSellerSubSellerNrCountry = subMerchantSubSellerSubSellerNrCountry; return this; } - /** - * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters * @return subMerchantSubSellerSubSellerNrCountry - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrCountry() { return subMerchantSubSellerSubSellerNrCountry; } - - /** - * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters - * - * @param subMerchantSubSellerSubSellerNrCountry - */ + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param subMerchantSubSellerSubSellerNrCountry + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry) { this.subMerchantSubSellerSubSellerNrCountry = subMerchantSubSellerSubSellerNrCountry; } - + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param subMerchantSubSellerSubSellerNrId + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId) { this.subMerchantSubSellerSubSellerNrId = subMerchantSubSellerSubSellerNrId; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters * @return subMerchantSubSellerSubSellerNrId - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrId() { return subMerchantSubSellerSubSellerNrId; } - - /** - * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters - * - * @param subMerchantSubSellerSubSellerNrId - */ + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param subMerchantSubSellerSubSellerNrId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId) { this.subMerchantSubSellerSubSellerNrId = subMerchantSubSellerSubSellerNrId; } - + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param subMerchantSubSellerSubSellerNrMcc + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc) { this.subMerchantSubSellerSubSellerNrMcc = subMerchantSubSellerSubSellerNrMcc; return this; } - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits * @return subMerchantSubSellerSubSellerNrMcc - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrMcc() { return subMerchantSubSellerSubSellerNrMcc; } - - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits - * - * @param subMerchantSubSellerSubSellerNrMcc - */ + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param subMerchantSubSellerSubSellerNrMcc + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc) { this.subMerchantSubSellerSubSellerNrMcc = subMerchantSubSellerSubSellerNrMcc; } - + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param subMerchantSubSellerSubSellerNrName + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName) { this.subMerchantSubSellerSubSellerNrName = subMerchantSubSellerSubSellerNrName; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters * @return subMerchantSubSellerSubSellerNrName - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrName() { return subMerchantSubSellerSubSellerNrName; } - - /** - * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters - * - * @param subMerchantSubSellerSubSellerNrName - */ + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param subMerchantSubSellerSubSellerNrName + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName) { this.subMerchantSubSellerSubSellerNrName = subMerchantSubSellerSubSellerNrName; } - + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + * + * @param subMerchantSubSellerSubSellerNrPostalCode + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode) { this.subMerchantSubSellerSubSellerNrPostalCode = subMerchantSubSellerSubSellerNrPostalCode; return this; } - /** - * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits * @return subMerchantSubSellerSubSellerNrPostalCode - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrPostalCode() { return subMerchantSubSellerSubSellerNrPostalCode; } - - /** - * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits - * - * @param subMerchantSubSellerSubSellerNrPostalCode - */ + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + * + * @param subMerchantSubSellerSubSellerNrPostalCode + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode) { this.subMerchantSubSellerSubSellerNrPostalCode = subMerchantSubSellerSubSellerNrPostalCode; } - + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + * + * @param subMerchantSubSellerSubSellerNrState + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState) { this.subMerchantSubSellerSubSellerNrState = subMerchantSubSellerSubSellerNrState; return this; } - /** - * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters * @return subMerchantSubSellerSubSellerNrState - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrState() { return subMerchantSubSellerSubSellerNrState; } - - /** - * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters - * - * @param subMerchantSubSellerSubSellerNrState - */ + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + * + * @param subMerchantSubSellerSubSellerNrState + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState) { this.subMerchantSubSellerSubSellerNrState = subMerchantSubSellerSubSellerNrState; } - + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + * + * @param subMerchantSubSellerSubSellerNrStreet + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet) { this.subMerchantSubSellerSubSellerNrStreet = subMerchantSubSellerSubSellerNrStreet; return this; } - /** - * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters * @return subMerchantSubSellerSubSellerNrStreet - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrStreet() { return subMerchantSubSellerSubSellerNrStreet; } - - /** - * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters - * - * @param subMerchantSubSellerSubSellerNrStreet - */ + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + * + * @param subMerchantSubSellerSubSellerNrStreet + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet) { this.subMerchantSubSellerSubSellerNrStreet = subMerchantSubSellerSubSellerNrStreet; } - + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param subMerchantSubSellerSubSellerNrTaxId + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId) { this.subMerchantSubSellerSubSellerNrTaxId = subMerchantSubSellerSubSellerNrTaxId; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ * @return subMerchantSubSellerSubSellerNrTaxId - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrTaxId() { return subMerchantSubSellerSubSellerNrTaxId; } - - /** - * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ - * - * @param subMerchantSubSellerSubSellerNrTaxId - */ + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param subMerchantSubSellerSubSellerNrTaxId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId) { this.subMerchantSubSellerSubSellerNrTaxId = subMerchantSubSellerSubSellerNrTaxId; } - /** * Return true if this AdditionalDataSubMerchant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataTemporaryServices.java b/src/main/java/com/adyen/model/checkout/AdditionalDataTemporaryServices.java index f8a1bdb85..5c3cb01ce 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataTemporaryServices.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataTemporaryServices.java @@ -73,276 +73,303 @@ public class AdditionalDataTemporaryServices { public AdditionalDataTemporaryServices() { } + /** + * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 + * + * @param enhancedSchemeDataCustomerReference + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; return this; } - /** + /** * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 * @return enhancedSchemeDataCustomerReference - **/ + */ @ApiModelProperty(value = "The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataCustomerReference() { return enhancedSchemeDataCustomerReference; } - - /** - * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 - * - * @param enhancedSchemeDataCustomerReference - */ + /** + * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 + * + * @param enhancedSchemeDataCustomerReference + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; } - + /** + * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataEmployeeName + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataEmployeeName(String enhancedSchemeDataEmployeeName) { this.enhancedSchemeDataEmployeeName = enhancedSchemeDataEmployeeName; return this; } - /** + /** * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. * @return enhancedSchemeDataEmployeeName - **/ + */ @ApiModelProperty(value = "The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_EMPLOYEE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataEmployeeName() { return enhancedSchemeDataEmployeeName; } - - /** - * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. - * - * @param enhancedSchemeDataEmployeeName - */ + /** + * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataEmployeeName + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_EMPLOYEE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataEmployeeName(String enhancedSchemeDataEmployeeName) { this.enhancedSchemeDataEmployeeName = enhancedSchemeDataEmployeeName; } - + /** + * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataJobDescription + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataJobDescription(String enhancedSchemeDataJobDescription) { this.enhancedSchemeDataJobDescription = enhancedSchemeDataJobDescription; return this; } - /** + /** * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. * @return enhancedSchemeDataJobDescription - **/ + */ @ApiModelProperty(value = "The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_JOB_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataJobDescription() { return enhancedSchemeDataJobDescription; } - - /** - * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. - * - * @param enhancedSchemeDataJobDescription - */ + /** + * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataJobDescription + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_JOB_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataJobDescription(String enhancedSchemeDataJobDescription) { this.enhancedSchemeDataJobDescription = enhancedSchemeDataJobDescription; } - + /** + * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursRate + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRegularHoursRate(String enhancedSchemeDataRegularHoursRate) { this.enhancedSchemeDataRegularHoursRate = enhancedSchemeDataRegularHoursRate; return this; } - /** + /** * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros * @return enhancedSchemeDataRegularHoursRate - **/ + */ @ApiModelProperty(value = "The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRegularHoursRate() { return enhancedSchemeDataRegularHoursRate; } - - /** - * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros - * - * @param enhancedSchemeDataRegularHoursRate - */ + /** + * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursRate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRegularHoursRate(String enhancedSchemeDataRegularHoursRate) { this.enhancedSchemeDataRegularHoursRate = enhancedSchemeDataRegularHoursRate; } - + /** + * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursWorked + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRegularHoursWorked(String enhancedSchemeDataRegularHoursWorked) { this.enhancedSchemeDataRegularHoursWorked = enhancedSchemeDataRegularHoursWorked; return this; } - /** + /** * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros * @return enhancedSchemeDataRegularHoursWorked - **/ + */ @ApiModelProperty(value = "The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_WORKED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRegularHoursWorked() { return enhancedSchemeDataRegularHoursWorked; } - - /** - * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros - * - * @param enhancedSchemeDataRegularHoursWorked - */ + /** + * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursWorked + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_WORKED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRegularHoursWorked(String enhancedSchemeDataRegularHoursWorked) { this.enhancedSchemeDataRegularHoursWorked = enhancedSchemeDataRegularHoursWorked; } - + /** + * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces + * + * @param enhancedSchemeDataRequestName + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRequestName(String enhancedSchemeDataRequestName) { this.enhancedSchemeDataRequestName = enhancedSchemeDataRequestName; return this; } - /** + /** * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces * @return enhancedSchemeDataRequestName - **/ + */ @ApiModelProperty(value = "The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REQUEST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRequestName() { return enhancedSchemeDataRequestName; } - - /** - * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces - * - * @param enhancedSchemeDataRequestName - */ + /** + * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces + * + * @param enhancedSchemeDataRequestName + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REQUEST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRequestName(String enhancedSchemeDataRequestName) { this.enhancedSchemeDataRequestName = enhancedSchemeDataRequestName; } - + /** + * The billing period start date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempStartDate + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTempStartDate(String enhancedSchemeDataTempStartDate) { this.enhancedSchemeDataTempStartDate = enhancedSchemeDataTempStartDate; return this; } - /** + /** * The billing period start date. * Format: ddMMyy * maxLength: 6 * @return enhancedSchemeDataTempStartDate - **/ + */ @ApiModelProperty(value = "The billing period start date. * Format: ddMMyy * maxLength: 6") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTempStartDate() { return enhancedSchemeDataTempStartDate; } - - /** - * The billing period start date. * Format: ddMMyy * maxLength: 6 - * - * @param enhancedSchemeDataTempStartDate - */ + /** + * The billing period start date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempStartDate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTempStartDate(String enhancedSchemeDataTempStartDate) { this.enhancedSchemeDataTempStartDate = enhancedSchemeDataTempStartDate; } - + /** + * The billing period end date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempWeekEnding + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTempWeekEnding(String enhancedSchemeDataTempWeekEnding) { this.enhancedSchemeDataTempWeekEnding = enhancedSchemeDataTempWeekEnding; return this; } - /** + /** * The billing period end date. * Format: ddMMyy * maxLength: 6 * @return enhancedSchemeDataTempWeekEnding - **/ + */ @ApiModelProperty(value = "The billing period end date. * Format: ddMMyy * maxLength: 6") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_WEEK_ENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTempWeekEnding() { return enhancedSchemeDataTempWeekEnding; } - - /** - * The billing period end date. * Format: ddMMyy * maxLength: 6 - * - * @param enhancedSchemeDataTempWeekEnding - */ + /** + * The billing period end date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempWeekEnding + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_WEEK_ENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTempWeekEnding(String enhancedSchemeDataTempWeekEnding) { this.enhancedSchemeDataTempWeekEnding = enhancedSchemeDataTempWeekEnding; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 + * + * @param enhancedSchemeDataTotalTaxAmount + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 * @return enhancedSchemeDataTotalTaxAmount - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTotalTaxAmount() { return enhancedSchemeDataTotalTaxAmount; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 - * - * @param enhancedSchemeDataTotalTaxAmount - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 + * + * @param enhancedSchemeDataTotalTaxAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; } - /** * Return true if this AdditionalDataTemporaryServices object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AdditionalDataWallets.java b/src/main/java/com/adyen/model/checkout/AdditionalDataWallets.java index fa4db2b84..e2fabe36b 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataWallets.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataWallets.java @@ -61,186 +61,204 @@ public class AdditionalDataWallets { public AdditionalDataWallets() { } + /** + * The Android Pay token retrieved from the SDK. + * + * @param androidpayToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets androidpayToken(String androidpayToken) { this.androidpayToken = androidpayToken; return this; } - /** + /** * The Android Pay token retrieved from the SDK. * @return androidpayToken - **/ + */ @ApiModelProperty(value = "The Android Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_ANDROIDPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAndroidpayToken() { return androidpayToken; } - - /** - * The Android Pay token retrieved from the SDK. - * - * @param androidpayToken - */ + /** + * The Android Pay token retrieved from the SDK. + * + * @param androidpayToken + */ @JsonProperty(JSON_PROPERTY_ANDROIDPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAndroidpayToken(String androidpayToken) { this.androidpayToken = androidpayToken; } - + /** + * The Mastercard Masterpass Transaction ID retrieved from the SDK. + * + * @param masterpassTransactionId + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets masterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; return this; } - /** + /** * The Mastercard Masterpass Transaction ID retrieved from the SDK. * @return masterpassTransactionId - **/ + */ @ApiModelProperty(value = "The Mastercard Masterpass Transaction ID retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMasterpassTransactionId() { return masterpassTransactionId; } - - /** - * The Mastercard Masterpass Transaction ID retrieved from the SDK. - * - * @param masterpassTransactionId - */ + /** + * The Mastercard Masterpass Transaction ID retrieved from the SDK. + * + * @param masterpassTransactionId + */ @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMasterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; } - + /** + * The Apple Pay token retrieved from the SDK. + * + * @param paymentToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets paymentToken(String paymentToken) { this.paymentToken = paymentToken; return this; } - /** + /** * The Apple Pay token retrieved from the SDK. * @return paymentToken - **/ + */ @ApiModelProperty(value = "The Apple Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_PAYMENT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentToken() { return paymentToken; } - - /** - * The Apple Pay token retrieved from the SDK. - * - * @param paymentToken - */ + /** + * The Apple Pay token retrieved from the SDK. + * + * @param paymentToken + */ @JsonProperty(JSON_PROPERTY_PAYMENT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentToken(String paymentToken) { this.paymentToken = paymentToken; } - + /** + * The Google Pay token retrieved from the SDK. + * + * @param paywithgoogleToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets paywithgoogleToken(String paywithgoogleToken) { this.paywithgoogleToken = paywithgoogleToken; return this; } - /** + /** * The Google Pay token retrieved from the SDK. * @return paywithgoogleToken - **/ + */ @ApiModelProperty(value = "The Google Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_PAYWITHGOOGLE_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaywithgoogleToken() { return paywithgoogleToken; } - - /** - * The Google Pay token retrieved from the SDK. - * - * @param paywithgoogleToken - */ + /** + * The Google Pay token retrieved from the SDK. + * + * @param paywithgoogleToken + */ @JsonProperty(JSON_PROPERTY_PAYWITHGOOGLE_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaywithgoogleToken(String paywithgoogleToken) { this.paywithgoogleToken = paywithgoogleToken; } - + /** + * The Samsung Pay token retrieved from the SDK. + * + * @param samsungpayToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets samsungpayToken(String samsungpayToken) { this.samsungpayToken = samsungpayToken; return this; } - /** + /** * The Samsung Pay token retrieved from the SDK. * @return samsungpayToken - **/ + */ @ApiModelProperty(value = "The Samsung Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_SAMSUNGPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSamsungpayToken() { return samsungpayToken; } - - /** - * The Samsung Pay token retrieved from the SDK. - * - * @param samsungpayToken - */ + /** + * The Samsung Pay token retrieved from the SDK. + * + * @param samsungpayToken + */ @JsonProperty(JSON_PROPERTY_SAMSUNGPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSamsungpayToken(String samsungpayToken) { this.samsungpayToken = samsungpayToken; } - + /** + * The Visa Checkout Call ID retrieved from the SDK. + * + * @param visacheckoutCallId + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets visacheckoutCallId(String visacheckoutCallId) { this.visacheckoutCallId = visacheckoutCallId; return this; } - /** + /** * The Visa Checkout Call ID retrieved from the SDK. * @return visacheckoutCallId - **/ + */ @ApiModelProperty(value = "The Visa Checkout Call ID retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_VISACHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisacheckoutCallId() { return visacheckoutCallId; } - - /** - * The Visa Checkout Call ID retrieved from the SDK. - * - * @param visacheckoutCallId - */ + /** + * The Visa Checkout Call ID retrieved from the SDK. + * + * @param visacheckoutCallId + */ @JsonProperty(JSON_PROPERTY_VISACHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisacheckoutCallId(String visacheckoutCallId) { this.visacheckoutCallId = visacheckoutCallId; } - /** * Return true if this AdditionalDataWallets object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Address.java b/src/main/java/com/adyen/model/checkout/Address.java index 48b0fe0a8..10132b69e 100644 --- a/src/main/java/com/adyen/model/checkout/Address.java +++ b/src/main/java/com/adyen/model/checkout/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AfterpayDetails.java b/src/main/java/com/adyen/model/checkout/AfterpayDetails.java index 53a1439d2..75bce9f15 100644 --- a/src/main/java/com/adyen/model/checkout/AfterpayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AfterpayDetails.java @@ -54,7 +54,7 @@ public class AfterpayDetails { private String personalDetails; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -105,152 +105,176 @@ public static TypeEnum fromValue(String value) { public AfterpayDetails() { } + /** + * The address where to send the invoice. + * + * @param billingAddress + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails billingAddress(String billingAddress) { this.billingAddress = billingAddress; return this; } - /** + /** * The address where to send the invoice. * @return billingAddress - **/ + */ @ApiModelProperty(value = "The address where to send the invoice.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddress() { return billingAddress; } - - /** - * The address where to send the invoice. - * - * @param billingAddress - */ + /** + * The address where to send the invoice. + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(String billingAddress) { this.billingAddress = billingAddress; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails deliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** + /** * The address where the goods should be delivered. * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "The address where the goods should be delivered.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryAddress() { return deliveryAddress; } - - /** - * The address where the goods should be delivered. - * - * @param deliveryAddress - */ + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails personalDetails(String personalDetails) { this.personalDetails = personalDetails; return this; } - /** + /** * Shopper name, date of birth, phone number, and email address. * @return personalDetails - **/ + */ @ApiModelProperty(value = "Shopper name, date of birth, phone number, and email address.") @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPersonalDetails() { return personalDetails; } - - /** - * Shopper name, date of birth, phone number, and email address. - * - * @param personalDetails - */ + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + */ @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPersonalDetails(String personalDetails) { this.personalDetails = personalDetails; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public AfterpayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -258,67 +282,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **afterpay_default** + * + * @param type + * @return the current {@code AfterpayDetails} instance, allowing for method chaining + */ public AfterpayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **afterpay_default** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**afterpay_default**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **afterpay_default** - * - * @param type - */ + /** + * **afterpay_default** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AfterpayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java b/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java index 2f5d5b600..fea304046 100644 --- a/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java @@ -86,126 +86,138 @@ public static TypeEnum fromValue(String value) { public AmazonPayDetails() { } + /** + * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically. + * + * @param amazonPayToken + * @return the current {@code AmazonPayDetails} instance, allowing for method chaining + */ public AmazonPayDetails amazonPayToken(String amazonPayToken) { this.amazonPayToken = amazonPayToken; return this; } - /** - * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically. + /** + * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically. * @return amazonPayToken - **/ + */ @ApiModelProperty(value = "This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically.") @JsonProperty(JSON_PROPERTY_AMAZON_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAmazonPayToken() { return amazonPayToken; } - - /** - * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically. - * - * @param amazonPayToken - */ + /** + * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically. + * + * @param amazonPayToken + */ @JsonProperty(JSON_PROPERTY_AMAZON_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmazonPayToken(String amazonPayToken) { this.amazonPayToken = amazonPayToken; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code AmazonPayDetails} instance, allowing for method chaining + */ public AmazonPayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken. + * + * @param checkoutSessionId + * @return the current {@code AmazonPayDetails} instance, allowing for method chaining + */ public AmazonPayDetails checkoutSessionId(String checkoutSessionId) { this.checkoutSessionId = checkoutSessionId; return this; } - /** - * The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken. + /** + * The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken. * @return checkoutSessionId - **/ + */ @ApiModelProperty(value = "The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken.") @JsonProperty(JSON_PROPERTY_CHECKOUT_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutSessionId() { return checkoutSessionId; } - - /** - * The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken. - * - * @param checkoutSessionId - */ + /** + * The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken. + * + * @param checkoutSessionId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutSessionId(String checkoutSessionId) { this.checkoutSessionId = checkoutSessionId; } - + /** + * **amazonpay** + * + * @param type + * @return the current {@code AmazonPayDetails} instance, allowing for method chaining + */ public AmazonPayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **amazonpay** * @return type - **/ + */ @ApiModelProperty(value = "**amazonpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **amazonpay** - * - * @param type - */ + /** + * **amazonpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AmazonPayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Amount.java b/src/main/java/com/adyen/model/checkout/Amount.java index b720464cf..a3d6424c6 100644 --- a/src/main/java/com/adyen/model/checkout/Amount.java +++ b/src/main/java/com/adyen/model/checkout/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Amounts.java b/src/main/java/com/adyen/model/checkout/Amounts.java index bea0bc2ef..c75394f42 100644 --- a/src/main/java/com/adyen/model/checkout/Amounts.java +++ b/src/main/java/com/adyen/model/checkout/Amounts.java @@ -47,36 +47,45 @@ public class Amounts { public Amounts() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + * @return the current {@code Amounts} instance, allowing for method chaining + */ public Amounts currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amounts of the donation (in [minor units](https://docs.adyen.com/development-resources/currency-codes/)). + * + * @param values + * @return the current {@code Amounts} instance, allowing for method chaining + */ public Amounts values(List values) { this.values = values; return this; @@ -87,31 +96,28 @@ public Amounts addValuesItem(Long valuesItem) { return this; } - /** + /** * The amounts of the donation (in [minor units](https://docs.adyen.com/development-resources/currency-codes/)). * @return values - **/ + */ @ApiModelProperty(required = true, value = "The amounts of the donation (in [minor units](https://docs.adyen.com/development-resources/currency-codes/)).") @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValues() { return values; } - - /** - * The amounts of the donation (in [minor units](https://docs.adyen.com/development-resources/currency-codes/)). - * - * @param values - */ + /** + * The amounts of the donation (in [minor units](https://docs.adyen.com/development-resources/currency-codes/)). + * + * @param values + */ @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValues(List values) { this.values = values; } - /** * Return true if this Amounts object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AncvDetails.java b/src/main/java/com/adyen/model/checkout/AncvDetails.java index 9d69ece2c..5d6d619bb 100644 --- a/src/main/java/com/adyen/model/checkout/AncvDetails.java +++ b/src/main/java/com/adyen/model/checkout/AncvDetails.java @@ -46,7 +46,7 @@ public class AncvDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -91,92 +91,110 @@ public static TypeEnum fromValue(String value) { public AncvDetails() { } + /** + * ANCV account identification (email or account number) + * + * @param beneficiaryId + * @return the current {@code AncvDetails} instance, allowing for method chaining + */ public AncvDetails beneficiaryId(String beneficiaryId) { this.beneficiaryId = beneficiaryId; return this; } - /** + /** * ANCV account identification (email or account number) * @return beneficiaryId - **/ + */ @ApiModelProperty(value = "ANCV account identification (email or account number)") @JsonProperty(JSON_PROPERTY_BENEFICIARY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBeneficiaryId() { return beneficiaryId; } - - /** - * ANCV account identification (email or account number) - * - * @param beneficiaryId - */ + /** + * ANCV account identification (email or account number) + * + * @param beneficiaryId + */ @JsonProperty(JSON_PROPERTY_BENEFICIARY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBeneficiaryId(String beneficiaryId) { this.beneficiaryId = beneficiaryId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code AncvDetails} instance, allowing for method chaining + */ public AncvDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code AncvDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public AncvDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -184,67 +202,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code AncvDetails} instance, allowing for method chaining + */ public AncvDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **ancv** + * + * @param type + * @return the current {@code AncvDetails} instance, allowing for method chaining + */ public AncvDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ancv** * @return type - **/ + */ @ApiModelProperty(value = "**ancv**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ancv** - * - * @param type - */ + /** + * **ancv** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AncvDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java b/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java index 1a90fe7f8..371aafa16 100644 --- a/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public AndroidPayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code AndroidPayDetails} instance, allowing for method chaining + */ public AndroidPayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * **androidpay** + * + * @param type + * @return the current {@code AndroidPayDetails} instance, allowing for method chaining + */ public AndroidPayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **androidpay** * @return type - **/ + */ @ApiModelProperty(value = "**androidpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **androidpay** - * - * @param type - */ + /** + * **androidpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AndroidPayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ApplePayDetails.java b/src/main/java/com/adyen/model/checkout/ApplePayDetails.java index 960558c43..5cf17f5ca 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/ApplePayDetails.java @@ -85,7 +85,7 @@ public static FundingSourceEnum fromValue(String value) { private FundingSourceEnum fundingSource; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -130,122 +130,143 @@ public static TypeEnum fromValue(String value) { public ApplePayDetails() { } + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + * + * @param applePayToken + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + */ public ApplePayDetails applePayToken(String applePayToken) { this.applePayToken = applePayToken; return this; } - /** - * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. * @return applePayToken - **/ + */ @ApiModelProperty(required = true, value = "The stringified and base64 encoded `paymentData` you retrieved from the Apple framework.") @JsonProperty(JSON_PROPERTY_APPLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getApplePayToken() { return applePayToken; } - - /** - * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. - * - * @param applePayToken - */ + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + * + * @param applePayToken + */ @JsonProperty(JSON_PROPERTY_APPLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplePayToken(String applePayToken) { this.applePayToken = applePayToken; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + */ public ApplePayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + */ public ApplePayDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public ApplePayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -253,67 +274,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + */ public ApplePayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **applepay** + * + * @param type + * @return the current {@code ApplePayDetails} instance, allowing for method chaining + */ public ApplePayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **applepay** * @return type - **/ + */ @ApiModelProperty(value = "**applepay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **applepay** - * - * @param type - */ + /** + * **applepay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ApplePayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ApplePayDonations.java b/src/main/java/com/adyen/model/checkout/ApplePayDonations.java index b00b718ae..6d9f8ae94 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePayDonations.java +++ b/src/main/java/com/adyen/model/checkout/ApplePayDonations.java @@ -85,7 +85,7 @@ public static FundingSourceEnum fromValue(String value) { private FundingSourceEnum fundingSource; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -130,122 +130,143 @@ public static TypeEnum fromValue(String value) { public ApplePayDonations() { } + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + * + * @param applePayToken + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + */ public ApplePayDonations applePayToken(String applePayToken) { this.applePayToken = applePayToken; return this; } - /** - * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. * @return applePayToken - **/ + */ @ApiModelProperty(required = true, value = "The stringified and base64 encoded `paymentData` you retrieved from the Apple framework.") @JsonProperty(JSON_PROPERTY_APPLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getApplePayToken() { return applePayToken; } - - /** - * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. - * - * @param applePayToken - */ + /** + * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. + * + * @param applePayToken + */ @JsonProperty(JSON_PROPERTY_APPLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplePayToken(String applePayToken) { this.applePayToken = applePayToken; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + */ public ApplePayDonations checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + */ public ApplePayDonations fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public ApplePayDonations recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -253,67 +274,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + */ public ApplePayDonations storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **applepay** + * + * @param type + * @return the current {@code ApplePayDonations} instance, allowing for method chaining + */ public ApplePayDonations type(TypeEnum type) { this.type = type; return this; } - /** + /** * **applepay** * @return type - **/ + */ @ApiModelProperty(value = "**applepay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **applepay** - * - * @param type - */ + /** + * **applepay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ApplePayDonations object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ApplePaySessionRequest.java b/src/main/java/com/adyen/model/checkout/ApplePaySessionRequest.java index 1d888c259..ee15e8ce0 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePaySessionRequest.java +++ b/src/main/java/com/adyen/model/checkout/ApplePaySessionRequest.java @@ -49,96 +49,105 @@ public class ApplePaySessionRequest { public ApplePaySessionRequest() { } + /** + * This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + * + * @param displayName + * @return the current {@code ApplePaySessionRequest} instance, allowing for method chaining + */ public ApplePaySessionRequest displayName(String displayName) { this.displayName = displayName; return this; } - /** - * This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + /** + * This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. * @return displayName - **/ + */ @ApiModelProperty(required = true, value = "This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response.") @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisplayName() { return displayName; } - - /** - * This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. - * - * @param displayName - */ + /** + * This is the name that your shoppers will see in the Apple Pay interface. The value returned as `configuration.merchantName` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + * + * @param displayName + */ @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayName(String displayName) { this.displayName = displayName; } - + /** + * The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop. + * + * @param domainName + * @return the current {@code ApplePaySessionRequest} instance, allowing for method chaining + */ public ApplePaySessionRequest domainName(String domainName) { this.domainName = domainName; return this; } - /** - * The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop. + /** + * The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop. * @return domainName - **/ + */ @ApiModelProperty(required = true, value = "The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop.") @JsonProperty(JSON_PROPERTY_DOMAIN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomainName() { return domainName; } - - /** - * The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop. - * - * @param domainName - */ + /** + * The domain name you provided when you added Apple Pay in your Customer Area. This must match the `window.location.hostname` of the web shop. + * + * @param domainName + */ @JsonProperty(JSON_PROPERTY_DOMAIN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomainName(String domainName) { this.domainName = domainName; } - + /** + * Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + * + * @param merchantIdentifier + * @return the current {@code ApplePaySessionRequest} instance, allowing for method chaining + */ public ApplePaySessionRequest merchantIdentifier(String merchantIdentifier) { this.merchantIdentifier = merchantIdentifier; return this; } - /** - * Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + /** + * Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. * @return merchantIdentifier - **/ + */ @ApiModelProperty(required = true, value = "Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response.") @JsonProperty(JSON_PROPERTY_MERCHANT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantIdentifier() { return merchantIdentifier; } - - /** - * Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. - * - * @param merchantIdentifier - */ + /** + * Your merchant identifier registered with Apple Pay. Use the value of the `configuration.merchantId` field from the [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. + * + * @param merchantIdentifier + */ @JsonProperty(JSON_PROPERTY_MERCHANT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantIdentifier(String merchantIdentifier) { this.merchantIdentifier = merchantIdentifier; } - /** * Return true if this ApplePaySessionRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ApplePaySessionResponse.java b/src/main/java/com/adyen/model/checkout/ApplePaySessionResponse.java index 74c693dbd..a2e28dd0d 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePaySessionResponse.java +++ b/src/main/java/com/adyen/model/checkout/ApplePaySessionResponse.java @@ -41,36 +41,39 @@ public class ApplePaySessionResponse { public ApplePaySessionResponse() { } + /** + * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). + * + * @param data + * @return the current {@code ApplePaySessionResponse} instance, allowing for method chaining + */ public ApplePaySessionResponse data(String data) { this.data = data; return this; } - /** - * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). + /** + * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). * @return data - **/ + */ @ApiModelProperty(required = true, value = "Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation).") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getData() { return data; } - - /** - * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). - * - * @param data - */ + /** + * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(String data) { this.data = data; } - /** * Return true if this ApplePaySessionResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ApplicationInfo.java b/src/main/java/com/adyen/model/checkout/ApplicationInfo.java index 58f257715..6320cbcbd 100644 --- a/src/main/java/com/adyen/model/checkout/ApplicationInfo.java +++ b/src/main/java/com/adyen/model/checkout/ApplicationInfo.java @@ -65,186 +65,204 @@ public class ApplicationInfo { public ApplicationInfo() { } + /** + * adyenLibrary + * + * @param adyenLibrary + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo adyenLibrary(CommonField adyenLibrary) { this.adyenLibrary = adyenLibrary; return this; } - /** - * Get adyenLibrary + /** + * adyenLibrary * @return adyenLibrary - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADYEN_LIBRARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getAdyenLibrary() { return adyenLibrary; } - - /** - * adyenLibrary - * - * @param adyenLibrary - */ + /** + * adyenLibrary + * + * @param adyenLibrary + */ @JsonProperty(JSON_PROPERTY_ADYEN_LIBRARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenLibrary(CommonField adyenLibrary) { this.adyenLibrary = adyenLibrary; } - + /** + * adyenPaymentSource + * + * @param adyenPaymentSource + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo adyenPaymentSource(CommonField adyenPaymentSource) { this.adyenPaymentSource = adyenPaymentSource; return this; } - /** - * Get adyenPaymentSource + /** + * adyenPaymentSource * @return adyenPaymentSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADYEN_PAYMENT_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getAdyenPaymentSource() { return adyenPaymentSource; } - - /** - * adyenPaymentSource - * - * @param adyenPaymentSource - */ + /** + * adyenPaymentSource + * + * @param adyenPaymentSource + */ @JsonProperty(JSON_PROPERTY_ADYEN_PAYMENT_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenPaymentSource(CommonField adyenPaymentSource) { this.adyenPaymentSource = adyenPaymentSource; } - + /** + * externalPlatform + * + * @param externalPlatform + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo externalPlatform(ExternalPlatform externalPlatform) { this.externalPlatform = externalPlatform; return this; } - /** - * Get externalPlatform + /** + * externalPlatform * @return externalPlatform - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXTERNAL_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExternalPlatform getExternalPlatform() { return externalPlatform; } - - /** - * externalPlatform - * - * @param externalPlatform - */ + /** + * externalPlatform + * + * @param externalPlatform + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalPlatform(ExternalPlatform externalPlatform) { this.externalPlatform = externalPlatform; } - + /** + * merchantApplication + * + * @param merchantApplication + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo merchantApplication(CommonField merchantApplication) { this.merchantApplication = merchantApplication; return this; } - /** - * Get merchantApplication + /** + * merchantApplication * @return merchantApplication - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_APPLICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getMerchantApplication() { return merchantApplication; } - - /** - * merchantApplication - * - * @param merchantApplication - */ + /** + * merchantApplication + * + * @param merchantApplication + */ @JsonProperty(JSON_PROPERTY_MERCHANT_APPLICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantApplication(CommonField merchantApplication) { this.merchantApplication = merchantApplication; } - + /** + * merchantDevice + * + * @param merchantDevice + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo merchantDevice(MerchantDevice merchantDevice) { this.merchantDevice = merchantDevice; return this; } - /** - * Get merchantDevice + /** + * merchantDevice * @return merchantDevice - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantDevice getMerchantDevice() { return merchantDevice; } - - /** - * merchantDevice - * - * @param merchantDevice - */ + /** + * merchantDevice + * + * @param merchantDevice + */ @JsonProperty(JSON_PROPERTY_MERCHANT_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantDevice(MerchantDevice merchantDevice) { this.merchantDevice = merchantDevice; } - + /** + * shopperInteractionDevice + * + * @param shopperInteractionDevice + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo shopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice) { this.shopperInteractionDevice = shopperInteractionDevice; return this; } - /** - * Get shopperInteractionDevice + /** + * shopperInteractionDevice * @return shopperInteractionDevice - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionDevice getShopperInteractionDevice() { return shopperInteractionDevice; } - - /** - * shopperInteractionDevice - * - * @param shopperInteractionDevice - */ + /** + * shopperInteractionDevice + * + * @param shopperInteractionDevice + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice) { this.shopperInteractionDevice = shopperInteractionDevice; } - /** * Return true if this ApplicationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/AuthenticationData.java b/src/main/java/com/adyen/model/checkout/AuthenticationData.java index a0601cb9f..81afa9cdc 100644 --- a/src/main/java/com/adyen/model/checkout/AuthenticationData.java +++ b/src/main/java/com/adyen/model/checkout/AuthenticationData.java @@ -85,96 +85,105 @@ public static AttemptAuthenticationEnum fromValue(String value) { public AuthenticationData() { } + /** + * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. + * + * @param attemptAuthentication + * @return the current {@code AuthenticationData} instance, allowing for method chaining + */ public AuthenticationData attemptAuthentication(AttemptAuthenticationEnum attemptAuthentication) { this.attemptAuthentication = attemptAuthentication; return this; } - /** - * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. + /** + * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * @return attemptAuthentication - **/ + */ @ApiModelProperty(value = "Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined.") @JsonProperty(JSON_PROPERTY_ATTEMPT_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AttemptAuthenticationEnum getAttemptAuthentication() { return attemptAuthentication; } - - /** - * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. - * - * @param attemptAuthentication - */ + /** + * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. + * + * @param attemptAuthentication + */ @JsonProperty(JSON_PROPERTY_ATTEMPT_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAttemptAuthentication(AttemptAuthenticationEnum attemptAuthentication) { this.attemptAuthentication = attemptAuthentication; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**. + * + * @param authenticationOnly + * @return the current {@code AuthenticationData} instance, allowing for method chaining + */ public AuthenticationData authenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**. * @return authenticationOnly - **/ + */ @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthenticationOnly() { return authenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**. - * - * @param authenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**. + * + * @param authenticationOnly + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; } - + /** + * threeDSRequestData + * + * @param threeDSRequestData + * @return the current {@code AuthenticationData} instance, allowing for method chaining + */ public AuthenticationData threeDSRequestData(ThreeDSRequestData threeDSRequestData) { this.threeDSRequestData = threeDSRequestData; return this; } - /** - * Get threeDSRequestData + /** + * threeDSRequestData * @return threeDSRequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestData getThreeDSRequestData() { return threeDSRequestData; } - - /** - * threeDSRequestData - * - * @param threeDSRequestData - */ + /** + * threeDSRequestData + * + * @param threeDSRequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestData(ThreeDSRequestData threeDSRequestData) { this.threeDSRequestData = threeDSRequestData; } - /** * Return true if this AuthenticationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Avs.java b/src/main/java/com/adyen/model/checkout/Avs.java index 8528e82e5..9ac3a2e04 100644 --- a/src/main/java/com/adyen/model/checkout/Avs.java +++ b/src/main/java/com/adyen/model/checkout/Avs.java @@ -82,66 +82,72 @@ public static EnabledEnum fromValue(String value) { public Avs() { } + /** + * Indicates whether the shopper is allowed to modify the billing address for the current payment request. + * + * @param addressEditable + * @return the current {@code Avs} instance, allowing for method chaining + */ public Avs addressEditable(Boolean addressEditable) { this.addressEditable = addressEditable; return this; } - /** + /** * Indicates whether the shopper is allowed to modify the billing address for the current payment request. * @return addressEditable - **/ + */ @ApiModelProperty(value = "Indicates whether the shopper is allowed to modify the billing address for the current payment request.") @JsonProperty(JSON_PROPERTY_ADDRESS_EDITABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAddressEditable() { return addressEditable; } - - /** - * Indicates whether the shopper is allowed to modify the billing address for the current payment request. - * - * @param addressEditable - */ + /** + * Indicates whether the shopper is allowed to modify the billing address for the current payment request. + * + * @param addressEditable + */ @JsonProperty(JSON_PROPERTY_ADDRESS_EDITABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddressEditable(Boolean addressEditable) { this.addressEditable = addressEditable; } - + /** + * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. + * + * @param enabled + * @return the current {@code Avs} instance, allowing for method chaining + */ public Avs enabled(EnabledEnum enabled) { this.enabled = enabled; return this; } - /** + /** * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. * @return enabled - **/ + */ @ApiModelProperty(value = "Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EnabledEnum getEnabled() { return enabled; } - - /** - * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. - * - * @param enabled - */ + /** + * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(EnabledEnum enabled) { this.enabled = enabled; } - /** * Return true if this Avs object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java b/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java index 45528ae89..66b901f74 100644 --- a/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java +++ b/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java @@ -55,7 +55,7 @@ public class BacsDirectDebitDetails { private String holderName; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -103,152 +103,176 @@ public static TypeEnum fromValue(String value) { public BacsDirectDebitDetails() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank routing number of the account. + * + * @param bankLocationId + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** + /** * The bank routing number of the account. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The bank routing number of the account.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The bank routing number of the account. - * - * @param bankLocationId - */ + /** + * The bank routing number of the account. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The name of the bank account holder. + * + * @param holderName + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the bank account holder. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the bank account holder. - * - * @param holderName - */ + /** + * The name of the bank account holder. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public BacsDirectDebitDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -256,97 +280,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - + /** + * **directdebit_GB** + * + * @param type + * @return the current {@code BacsDirectDebitDetails} instance, allowing for method chaining + */ public BacsDirectDebitDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **directdebit_GB** * @return type - **/ + */ @ApiModelProperty(value = "**directdebit_GB**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **directdebit_GB** - * - * @param type - */ + /** + * **directdebit_GB** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BacsDirectDebitDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java b/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java index 698a3a015..a4ca95568 100644 --- a/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java +++ b/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java @@ -296,7 +296,7 @@ public static ShopperInteractionEnum fromValue(String value) { private ThreeDS2RequestData threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOTALS_GROUP = "totalsGroup"; @@ -308,66 +308,78 @@ public static ShopperInteractionEnum fromValue(String value) { public BalanceCheckRequest() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -381,391 +393,430 @@ public BalanceCheckRequest putAdditionalDataItem(String key, String additionalDa return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * installments + * + * @param installments + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -779,151 +830,166 @@ public BalanceCheckRequest putLocalizedShopperStatementItem(String key, String l return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -937,64 +1003,70 @@ public BalanceCheckRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest orderReference(String orderReference) { this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - - public BalanceCheckRequest paymentMethod(Map paymentMethod) { - this.paymentMethod = paymentMethod; - return this; + /** + * The collection that contains the type of the payment method and its specific information. + * + * @param paymentMethod + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ + public BalanceCheckRequest paymentMethod(Map paymentMethod) { + this.paymentMethod = paymentMethod; + return this; } public BalanceCheckRequest putPaymentMethodItem(String key, String paymentMethodItem) { @@ -1002,451 +1074,496 @@ public BalanceCheckRequest putPaymentMethodItem(String key, String paymentMethod return this; } - /** + /** * The collection that contains the type of the payment method and its specific information. * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information. - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurring + * + * @param recurring + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. - * - * @param selectedBrand - */ + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * A session ID used to identify a payment session. + * + * @param sessionId + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest sessionId(String sessionId) { this.sessionId = sessionId; return this; } - /** + /** * A session ID used to identify a payment session. * @return sessionId - **/ + */ @ApiModelProperty(value = "A session ID used to identify a payment session.") @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionId() { return sessionId; } - - /** - * A session ID used to identify a payment session. - * - * @param sessionId - */ + /** + * A session ID used to identify a payment session. + * + * @param sessionId + */ @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionId(String sessionId) { this.sessionId = sessionId; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest splits(List splits) { this.splits = splits; return this; @@ -1460,147 +1577,165 @@ public BalanceCheckRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest threeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public BalanceCheckRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1608,67 +1743,72 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest totalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; return this; } - /** + /** * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). * @return totalsGroup - **/ + */ @ApiModelProperty(value = "The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available).") @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTotalsGroup() { return totalsGroup; } - - /** - * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). - * - * @param totalsGroup - */ + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + */ @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code BalanceCheckRequest} instance, allowing for method chaining + */ public BalanceCheckRequest trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this BalanceCheckRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BalanceCheckResponse.java b/src/main/java/com/adyen/model/checkout/BalanceCheckResponse.java index b6704cc46..1b226a036 100644 --- a/src/main/java/com/adyen/model/checkout/BalanceCheckResponse.java +++ b/src/main/java/com/adyen/model/checkout/BalanceCheckResponse.java @@ -107,6 +107,12 @@ public static ResultCodeEnum fromValue(String value) { public BalanceCheckResponse() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -120,211 +126,226 @@ public BalanceCheckResponse putAdditionalDataItem(String key, String additionalD return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * balance + * + * @param balance + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse balance(Amount balance) { this.balance = balance; return this; } - /** - * Get balance + /** + * balance * @return balance - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getBalance() { return balance; } - - /** - * balance - * - * @param balance - */ + /** + * balance + * + * @param balance + */ @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalance(Amount balance) { this.balance = balance; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the cancellation request. Possible values: * **Success** – Indicates that the balance check was successful. * **NotEnoughBalance** – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * **Failed** – Indicates that the balance check failed. + * + * @param resultCode + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The result of the cancellation request. Possible values: * **Success** – Indicates that the balance check was successful. * **NotEnoughBalance** – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * **Failed** – Indicates that the balance check failed. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The result of the cancellation request. Possible values: * **Success** – Indicates that the balance check was successful. * **NotEnoughBalance** – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * **Failed** – Indicates that the balance check failed.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the cancellation request. Possible values: * **Success** – Indicates that the balance check was successful. * **NotEnoughBalance** – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * **Failed** – Indicates that the balance check failed. - * - * @param resultCode - */ + /** + * The result of the cancellation request. Possible values: * **Success** – Indicates that the balance check was successful. * **NotEnoughBalance** – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * **Failed** – Indicates that the balance check failed. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * transactionLimit + * + * @param transactionLimit + * @return the current {@code BalanceCheckResponse} instance, allowing for method chaining + */ public BalanceCheckResponse transactionLimit(Amount transactionLimit) { this.transactionLimit = transactionLimit; return this; } - /** - * Get transactionLimit + /** + * transactionLimit * @return transactionLimit - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTransactionLimit() { return transactionLimit; } - - /** - * transactionLimit - * - * @param transactionLimit - */ + /** + * transactionLimit + * + * @param transactionLimit + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionLimit(Amount transactionLimit) { this.transactionLimit = transactionLimit; } - /** * Return true if this BalanceCheckResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BankAccount.java b/src/main/java/com/adyen/model/checkout/BankAccount.java index f7c21274b..296fb48c4 100644 --- a/src/main/java/com/adyen/model/checkout/BankAccount.java +++ b/src/main/java/com/adyen/model/checkout/BankAccount.java @@ -73,276 +73,303 @@ public class BankAccount { public BankAccount() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank city. + * + * @param bankCity + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankCity(String bankCity) { this.bankCity = bankCity; return this; } - /** + /** * The bank city. * @return bankCity - **/ + */ @ApiModelProperty(value = "The bank city.") @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCity() { return bankCity; } - - /** - * The bank city. - * - * @param bankCity - */ + /** + * The bank city. + * + * @param bankCity + */ @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCity(String bankCity) { this.bankCity = bankCity; } - + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The location id of the bank. The field value is `nil` in most cases. + /** + * The location id of the bank. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The location id of the bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The location id of the bank. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The name of the bank. + * + * @param bankName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankName(String bankName) { this.bankName = bankName; return this; } - /** + /** * The name of the bank. * @return bankName - **/ + */ @ApiModelProperty(value = "The name of the bank.") @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankName() { return bankName; } - - /** - * The name of the bank. - * - * @param bankName - */ + /** + * The name of the bank. + * + * @param bankName + */ @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankName(String bankName) { this.bankName = bankName; } - + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bic(String bic) { this.bic = bic; return this; } - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. * @return bic - **/ + */ @ApiModelProperty(value = "The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. - * - * @param bic - */ + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). * @return countryCode - **/ + */ @ApiModelProperty(value = "Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). - * - * @param countryCode - */ + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount iban(String iban) { this.iban = iban; return this; } - /** + /** * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). * @return iban - **/ + */ @ApiModelProperty(value = "The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). - * - * @param iban - */ + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The bank account holder's tax ID. + * + * @param taxId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount taxId(String taxId) { this.taxId = taxId; return this; } - /** - * The bank account holder's tax ID. + /** + * The bank account holder's tax ID. * @return taxId - **/ + */ @ApiModelProperty(value = "The bank account holder's tax ID.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The bank account holder's tax ID. - * - * @param taxId - */ + /** + * The bank account holder's tax ID. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this BankAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BillDeskDetails.java b/src/main/java/com/adyen/model/checkout/BillDeskDetails.java index 3d14236c6..9c6c06746 100644 --- a/src/main/java/com/adyen/model/checkout/BillDeskDetails.java +++ b/src/main/java/com/adyen/model/checkout/BillDeskDetails.java @@ -84,96 +84,105 @@ public static TypeEnum fromValue(String value) { public BillDeskDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code BillDeskDetails} instance, allowing for method chaining + */ public BillDeskDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The issuer id of the shopper's selected bank. + * + * @param issuer + * @return the current {@code BillDeskDetails} instance, allowing for method chaining + */ public BillDeskDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The issuer id of the shopper's selected bank. + /** + * The issuer id of the shopper's selected bank. * @return issuer - **/ + */ @ApiModelProperty(required = true, value = "The issuer id of the shopper's selected bank.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The issuer id of the shopper's selected bank. - * - * @param issuer - */ + /** + * The issuer id of the shopper's selected bank. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * **billdesk** + * + * @param type + * @return the current {@code BillDeskDetails} instance, allowing for method chaining + */ public BillDeskDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **billdesk** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**billdesk**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **billdesk** - * - * @param type - */ + /** + * **billdesk** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BillDeskDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BillingAddress.java b/src/main/java/com/adyen/model/checkout/BillingAddress.java index 5a22da692..309aeb577 100644 --- a/src/main/java/com/adyen/model/checkout/BillingAddress.java +++ b/src/main/java/com/adyen/model/checkout/BillingAddress.java @@ -61,186 +61,204 @@ public class BillingAddress { public BillingAddress() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code BillingAddress} instance, allowing for method chaining + */ public BillingAddress street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this BillingAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BlikDetails.java b/src/main/java/com/adyen/model/checkout/BlikDetails.java index 89e305b12..bc78bc741 100644 --- a/src/main/java/com/adyen/model/checkout/BlikDetails.java +++ b/src/main/java/com/adyen/model/checkout/BlikDetails.java @@ -46,7 +46,7 @@ public class BlikDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -91,92 +91,110 @@ public static TypeEnum fromValue(String value) { public BlikDetails() { } + /** + * BLIK code consisting of 6 digits. + * + * @param blikCode + * @return the current {@code BlikDetails} instance, allowing for method chaining + */ public BlikDetails blikCode(String blikCode) { this.blikCode = blikCode; return this; } - /** + /** * BLIK code consisting of 6 digits. * @return blikCode - **/ + */ @ApiModelProperty(value = "BLIK code consisting of 6 digits.") @JsonProperty(JSON_PROPERTY_BLIK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBlikCode() { return blikCode; } - - /** - * BLIK code consisting of 6 digits. - * - * @param blikCode - */ + /** + * BLIK code consisting of 6 digits. + * + * @param blikCode + */ @JsonProperty(JSON_PROPERTY_BLIK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlikCode(String blikCode) { this.blikCode = blikCode; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code BlikDetails} instance, allowing for method chaining + */ public BlikDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code BlikDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public BlikDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -184,67 +202,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code BlikDetails} instance, allowing for method chaining + */ public BlikDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **blik** + * + * @param type + * @return the current {@code BlikDetails} instance, allowing for method chaining + */ public BlikDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **blik** * @return type - **/ + */ @ApiModelProperty(value = "**blik**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **blik** - * - * @param type - */ + /** + * **blik** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BlikDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/BrowserInfo.java b/src/main/java/com/adyen/model/checkout/BrowserInfo.java index 43cd4b77f..210c1f3c1 100644 --- a/src/main/java/com/adyen/model/checkout/BrowserInfo.java +++ b/src/main/java/com/adyen/model/checkout/BrowserInfo.java @@ -73,276 +73,303 @@ public class BrowserInfo { public BrowserInfo() { } + /** + * The accept header value of the shopper's browser. + * + * @param acceptHeader + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo acceptHeader(String acceptHeader) { this.acceptHeader = acceptHeader; return this; } - /** - * The accept header value of the shopper's browser. + /** + * The accept header value of the shopper's browser. * @return acceptHeader - **/ + */ @ApiModelProperty(required = true, value = "The accept header value of the shopper's browser.") @JsonProperty(JSON_PROPERTY_ACCEPT_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptHeader() { return acceptHeader; } - - /** - * The accept header value of the shopper's browser. - * - * @param acceptHeader - */ + /** + * The accept header value of the shopper's browser. + * + * @param acceptHeader + */ @JsonProperty(JSON_PROPERTY_ACCEPT_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptHeader(String acceptHeader) { this.acceptHeader = acceptHeader; } - + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + * + * @param colorDepth + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo colorDepth(Integer colorDepth) { this.colorDepth = colorDepth; return this; } - /** - * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. * @return colorDepth - **/ + */ @ApiModelProperty(required = true, value = "The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.") @JsonProperty(JSON_PROPERTY_COLOR_DEPTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getColorDepth() { return colorDepth; } - - /** - * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. - * - * @param colorDepth - */ + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + * + * @param colorDepth + */ @JsonProperty(JSON_PROPERTY_COLOR_DEPTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setColorDepth(Integer colorDepth) { this.colorDepth = colorDepth; } - + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + * + * @param javaEnabled + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo javaEnabled(Boolean javaEnabled) { this.javaEnabled = javaEnabled; return this; } - /** - * Boolean value indicating if the shopper's browser is able to execute Java. + /** + * Boolean value indicating if the shopper's browser is able to execute Java. * @return javaEnabled - **/ + */ @ApiModelProperty(required = true, value = "Boolean value indicating if the shopper's browser is able to execute Java.") @JsonProperty(JSON_PROPERTY_JAVA_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getJavaEnabled() { return javaEnabled; } - - /** - * Boolean value indicating if the shopper's browser is able to execute Java. - * - * @param javaEnabled - */ + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + * + * @param javaEnabled + */ @JsonProperty(JSON_PROPERTY_JAVA_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJavaEnabled(Boolean javaEnabled) { this.javaEnabled = javaEnabled; } - + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + * + * @param javaScriptEnabled + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo javaScriptEnabled(Boolean javaScriptEnabled) { this.javaScriptEnabled = javaScriptEnabled; return this; } - /** - * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. * @return javaScriptEnabled - **/ + */ @ApiModelProperty(value = "Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.") @JsonProperty(JSON_PROPERTY_JAVA_SCRIPT_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getJavaScriptEnabled() { return javaScriptEnabled; } - - /** - * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. - * - * @param javaScriptEnabled - */ + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + * + * @param javaScriptEnabled + */ @JsonProperty(JSON_PROPERTY_JAVA_SCRIPT_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJavaScriptEnabled(Boolean javaScriptEnabled) { this.javaScriptEnabled = javaScriptEnabled; } - + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + * + * @param language + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo language(String language) { this.language = language; return this; } - /** - * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). * @return language - **/ + */ @ApiModelProperty(required = true, value = "The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47).") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). - * - * @param language - */ + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The total height of the shopper's device screen in pixels. + * + * @param screenHeight + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo screenHeight(Integer screenHeight) { this.screenHeight = screenHeight; return this; } - /** - * The total height of the shopper's device screen in pixels. + /** + * The total height of the shopper's device screen in pixels. * @return screenHeight - **/ + */ @ApiModelProperty(required = true, value = "The total height of the shopper's device screen in pixels.") @JsonProperty(JSON_PROPERTY_SCREEN_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScreenHeight() { return screenHeight; } - - /** - * The total height of the shopper's device screen in pixels. - * - * @param screenHeight - */ + /** + * The total height of the shopper's device screen in pixels. + * + * @param screenHeight + */ @JsonProperty(JSON_PROPERTY_SCREEN_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScreenHeight(Integer screenHeight) { this.screenHeight = screenHeight; } - + /** + * The total width of the shopper's device screen in pixels. + * + * @param screenWidth + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo screenWidth(Integer screenWidth) { this.screenWidth = screenWidth; return this; } - /** - * The total width of the shopper's device screen in pixels. + /** + * The total width of the shopper's device screen in pixels. * @return screenWidth - **/ + */ @ApiModelProperty(required = true, value = "The total width of the shopper's device screen in pixels.") @JsonProperty(JSON_PROPERTY_SCREEN_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScreenWidth() { return screenWidth; } - - /** - * The total width of the shopper's device screen in pixels. - * - * @param screenWidth - */ + /** + * The total width of the shopper's device screen in pixels. + * + * @param screenWidth + */ @JsonProperty(JSON_PROPERTY_SCREEN_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScreenWidth(Integer screenWidth) { this.screenWidth = screenWidth; } - + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + * + * @param timeZoneOffset + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo timeZoneOffset(Integer timeZoneOffset) { this.timeZoneOffset = timeZoneOffset; return this; } - /** - * Time difference between UTC time and the shopper's browser local time, in minutes. + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. * @return timeZoneOffset - **/ + */ @ApiModelProperty(required = true, value = "Time difference between UTC time and the shopper's browser local time, in minutes.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTimeZoneOffset() { return timeZoneOffset; } - - /** - * Time difference between UTC time and the shopper's browser local time, in minutes. - * - * @param timeZoneOffset - */ + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + * + * @param timeZoneOffset + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneOffset(Integer timeZoneOffset) { this.timeZoneOffset = timeZoneOffset; } - + /** + * The user agent value of the shopper's browser. + * + * @param userAgent + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo userAgent(String userAgent) { this.userAgent = userAgent; return this; } - /** - * The user agent value of the shopper's browser. + /** + * The user agent value of the shopper's browser. * @return userAgent - **/ + */ @ApiModelProperty(required = true, value = "The user agent value of the shopper's browser.") @JsonProperty(JSON_PROPERTY_USER_AGENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUserAgent() { return userAgent; } - - /** - * The user agent value of the shopper's browser. - * - * @param userAgent - */ + /** + * The user agent value of the shopper's browser. + * + * @param userAgent + */ @JsonProperty(JSON_PROPERTY_USER_AGENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUserAgent(String userAgent) { this.userAgent = userAgent; } - /** * Return true if this BrowserInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CancelOrderRequest.java b/src/main/java/com/adyen/model/checkout/CancelOrderRequest.java index 16047f5dd..4990cda01 100644 --- a/src/main/java/com/adyen/model/checkout/CancelOrderRequest.java +++ b/src/main/java/com/adyen/model/checkout/CancelOrderRequest.java @@ -46,66 +46,72 @@ public class CancelOrderRequest { public CancelOrderRequest() { } + /** + * The merchant account identifier that orderData belongs to. + * + * @param merchantAccount + * @return the current {@code CancelOrderRequest} instance, allowing for method chaining + */ public CancelOrderRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier that orderData belongs to. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier that orderData belongs to.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier that orderData belongs to. - * - * @param merchantAccount - */ + /** + * The merchant account identifier that orderData belongs to. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * order + * + * @param order + * @return the current {@code CancelOrderRequest} instance, allowing for method chaining + */ public CancelOrderRequest order(EncryptedOrderData order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptedOrderData getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(EncryptedOrderData order) { this.order = order; } - /** * Return true if this CancelOrderRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CancelOrderResponse.java b/src/main/java/com/adyen/model/checkout/CancelOrderResponse.java index d382aaae6..1b745167b 100644 --- a/src/main/java/com/adyen/model/checkout/CancelOrderResponse.java +++ b/src/main/java/com/adyen/model/checkout/CancelOrderResponse.java @@ -78,66 +78,72 @@ public static ResultCodeEnum fromValue(String value) { public CancelOrderResponse() { } + /** + * A unique reference of the cancellation request. + * + * @param pspReference + * @return the current {@code CancelOrderResponse} instance, allowing for method chaining + */ public CancelOrderResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A unique reference of the cancellation request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "A unique reference of the cancellation request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A unique reference of the cancellation request. - * - * @param pspReference - */ + /** + * A unique reference of the cancellation request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed. + * + * @param resultCode + * @return the current {@code CancelOrderResponse} instance, allowing for method chaining + */ public CancelOrderResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed. - * - * @param resultCode - */ + /** + * The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - /** * Return true if this CancelOrderResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Card.java b/src/main/java/com/adyen/model/checkout/Card.java index b83dcc00e..7a2389db7 100644 --- a/src/main/java/com/adyen/model/checkout/Card.java +++ b/src/main/java/com/adyen/model/checkout/Card.java @@ -69,246 +69,270 @@ public class Card { public Card() { } + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Format: 4 digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Format: 4 digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Format: 4 digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the cardholder, as printed on the card. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the cardholder, as printed on the card.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the cardholder, as printed on the card. - * - * @param holderName - */ + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + * @return the current {@code Card} instance, allowing for method chaining + */ public Card issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card (for some UK debit cards only). * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card (for some UK debit cards only). - * - * @param issueNumber - */ + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** + /** * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. * @return number - **/ + */ @ApiModelProperty(value = "The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. - * - * @param number - */ + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** + /** * The month component of the start date (for some UK debit cards only). * @return startMonth - **/ + */ @ApiModelProperty(value = "The month component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month component of the start date (for some UK debit cards only). - * - * @param startMonth - */ + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year component of the start date (for some UK debit cards only). * @return startYear - **/ + */ @ApiModelProperty(value = "The year component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year component of the start date (for some UK debit cards only). - * - * @param startYear - */ + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CardBrandDetails.java b/src/main/java/com/adyen/model/checkout/CardBrandDetails.java index 1308c4248..998ffbcc6 100644 --- a/src/main/java/com/adyen/model/checkout/CardBrandDetails.java +++ b/src/main/java/com/adyen/model/checkout/CardBrandDetails.java @@ -45,66 +45,72 @@ public class CardBrandDetails { public CardBrandDetails() { } + /** + * Indicates if you support the card brand. + * + * @param supported + * @return the current {@code CardBrandDetails} instance, allowing for method chaining + */ public CardBrandDetails supported(Boolean supported) { this.supported = supported; return this; } - /** + /** * Indicates if you support the card brand. * @return supported - **/ + */ @ApiModelProperty(value = "Indicates if you support the card brand.") @JsonProperty(JSON_PROPERTY_SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSupported() { return supported; } - - /** - * Indicates if you support the card brand. - * - * @param supported - */ + /** + * Indicates if you support the card brand. + * + * @param supported + */ @JsonProperty(JSON_PROPERTY_SUPPORTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupported(Boolean supported) { this.supported = supported; } - + /** + * The name of the card brand. + * + * @param type + * @return the current {@code CardBrandDetails} instance, allowing for method chaining + */ public CardBrandDetails type(String type) { this.type = type; return this; } - /** + /** * The name of the card brand. * @return type - **/ + */ @ApiModelProperty(value = "The name of the card brand.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The name of the card brand. - * - * @param type - */ + /** + * The name of the card brand. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this CardBrandDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CardDetails.java b/src/main/java/com/adyen/model/checkout/CardDetails.java index 75f8934ed..d8df00065 100644 --- a/src/main/java/com/adyen/model/checkout/CardDetails.java +++ b/src/main/java/com/adyen/model/checkout/CardDetails.java @@ -64,7 +64,7 @@ public class CardDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_CUPSECUREPLUS_SMSCODE = "cupsecureplus.smscode"; - @Deprecated + @Deprecated // deprecated private String cupsecureplusSmscode; public static final String JSON_PROPERTY_CVC = "cvc"; @@ -136,7 +136,7 @@ public static FundingSourceEnum fromValue(String value) { private String number; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference"; @@ -207,92 +207,107 @@ public static TypeEnum fromValue(String value) { public CardDetails() { } + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails brand(String brand) { this.brand = brand; return this; } - /** + /** * Secondary brand of the card. For example: **plastix**, **hmclub**. * @return brand - **/ + */ @ApiModelProperty(value = "Secondary brand of the card. For example: **plastix**, **hmclub**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Secondary brand of the card. For example: **plastix**, **hmclub**. - * - * @param brand - */ + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * cupsecureplusSmscode + * + * @param cupsecureplusSmscode + * @return the current {@code CardDetails} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public CardDetails cupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; return this; } - /** - * Get cupsecureplusSmscode + /** + * cupsecureplusSmscode * @return cupsecureplusSmscode - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCupsecureplusSmscode() { return cupsecureplusSmscode; } - - /** - * cupsecureplusSmscode - * - * @param cupsecureplusSmscode - */ + /** + * cupsecureplusSmscode + * + * @param cupsecureplusSmscode + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -300,363 +315,407 @@ public void setCupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; } - + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return cvc - **/ + */ @ApiModelProperty(value = "The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param cvc - */ + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The encrypted card number. + * + * @param encryptedCardNumber + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails encryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; return this; } - /** + /** * The encrypted card number. * @return encryptedCardNumber - **/ + */ @ApiModelProperty(value = "The encrypted card number.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedCardNumber() { return encryptedCardNumber; } - - /** - * The encrypted card number. - * - * @param encryptedCardNumber - */ + /** + * The encrypted card number. + * + * @param encryptedCardNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; } - + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails encryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; return this; } - /** + /** * The encrypted card expiry month. * @return encryptedExpiryMonth - **/ + */ @ApiModelProperty(value = "The encrypted card expiry month.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryMonth() { return encryptedExpiryMonth; } - - /** - * The encrypted card expiry month. - * - * @param encryptedExpiryMonth - */ + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; } - + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails encryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; return this; } - /** + /** * The encrypted card expiry year. * @return encryptedExpiryYear - **/ + */ @ApiModelProperty(value = "The encrypted card expiry year.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryYear() { return encryptedExpiryYear; } - - /** - * The encrypted card expiry year. - * - * @param encryptedExpiryYear - */ + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; } - + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails encryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; return this; } - /** + /** * The encrypted card verification code. * @return encryptedSecurityCode - **/ + */ @ApiModelProperty(value = "The encrypted card verification code.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedSecurityCode() { return encryptedSecurityCode; } - - /** - * The encrypted card verification code. - * - * @param encryptedSecurityCode - */ + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; } - + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** + /** * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryMonth - */ + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryYear - */ + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The name of the card holder. + * + * @param holderName + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the card holder. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the card holder.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the card holder. - * - * @param holderName - */ + /** + * The name of the card holder. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * + * @param networkPaymentReference + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails networkPaymentReference(String networkPaymentReference) { this.networkPaymentReference = networkPaymentReference; return this; } - /** - * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. * @return networkPaymentReference - **/ + */ @ApiModelProperty(value = "The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.") @JsonProperty(JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkPaymentReference() { return networkPaymentReference; } - - /** - * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. - * - * @param networkPaymentReference - */ + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * + * @param networkPaymentReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkPaymentReference(String networkPaymentReference) { this.networkPaymentReference = networkPaymentReference; } - + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails number(String number) { this.number = number; return this; } - /** + /** * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return number - **/ + */ @ApiModelProperty(value = "The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param number - */ + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code CardDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public CardDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -664,247 +723,270 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + * + * @param shopperNotificationReference + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. - * - * @param shopperNotificationReference - */ + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * An identifier used for the Click to Pay transaction. + * + * @param srcCorrelationId + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails srcCorrelationId(String srcCorrelationId) { this.srcCorrelationId = srcCorrelationId; return this; } - /** + /** * An identifier used for the Click to Pay transaction. * @return srcCorrelationId - **/ + */ @ApiModelProperty(value = "An identifier used for the Click to Pay transaction.") @JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcCorrelationId() { return srcCorrelationId; } - - /** - * An identifier used for the Click to Pay transaction. - * - * @param srcCorrelationId - */ + /** + * An identifier used for the Click to Pay transaction. + * + * @param srcCorrelationId + */ @JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcCorrelationId(String srcCorrelationId) { this.srcCorrelationId = srcCorrelationId; } - + /** + * The SRC reference for the Click to Pay token. + * + * @param srcDigitalCardId + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails srcDigitalCardId(String srcDigitalCardId) { this.srcDigitalCardId = srcDigitalCardId; return this; } - /** + /** * The SRC reference for the Click to Pay token. * @return srcDigitalCardId - **/ + */ @ApiModelProperty(value = "The SRC reference for the Click to Pay token.") @JsonProperty(JSON_PROPERTY_SRC_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcDigitalCardId() { return srcDigitalCardId; } - - /** - * The SRC reference for the Click to Pay token. - * - * @param srcDigitalCardId - */ + /** + * The SRC reference for the Click to Pay token. + * + * @param srcDigitalCardId + */ @JsonProperty(JSON_PROPERTY_SRC_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcDigitalCardId(String srcDigitalCardId) { this.srcDigitalCardId = srcDigitalCardId; } - + /** + * The scheme that is being used for Click to Pay. + * + * @param srcScheme + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails srcScheme(String srcScheme) { this.srcScheme = srcScheme; return this; } - /** + /** * The scheme that is being used for Click to Pay. * @return srcScheme - **/ + */ @ApiModelProperty(value = "The scheme that is being used for Click to Pay.") @JsonProperty(JSON_PROPERTY_SRC_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcScheme() { return srcScheme; } - - /** - * The scheme that is being used for Click to Pay. - * - * @param srcScheme - */ + /** + * The scheme that is being used for Click to Pay. + * + * @param srcScheme + */ @JsonProperty(JSON_PROPERTY_SRC_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcScheme(String srcScheme) { this.srcScheme = srcScheme; } - + /** + * The reference for the Click to Pay token. + * + * @param srcTokenReference + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails srcTokenReference(String srcTokenReference) { this.srcTokenReference = srcTokenReference; return this; } - /** + /** * The reference for the Click to Pay token. * @return srcTokenReference - **/ + */ @ApiModelProperty(value = "The reference for the Click to Pay token.") @JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcTokenReference() { return srcTokenReference; } - - /** - * The reference for the Click to Pay token. - * - * @param srcTokenReference - */ + /** + * The reference for the Click to Pay token. + * + * @param srcTokenReference + */ @JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcTokenReference(String srcTokenReference) { this.srcTokenReference = srcTokenReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * Default payment method details. Common for scheme payment methods, and for simple payment method details. + * + * @param type + * @return the current {@code CardDetails} instance, allowing for method chaining + */ public CardDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Default payment method details. Common for scheme payment methods, and for simple payment method details. * @return type - **/ + */ @ApiModelProperty(value = "Default payment method details. Common for scheme payment methods, and for simple payment method details.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Default payment method details. Common for scheme payment methods, and for simple payment method details. - * - * @param type - */ + /** + * Default payment method details. Common for scheme payment methods, and for simple payment method details. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CardDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CardDetailsRequest.java b/src/main/java/com/adyen/model/checkout/CardDetailsRequest.java index 537bd8f05..59898b805 100644 --- a/src/main/java/com/adyen/model/checkout/CardDetailsRequest.java +++ b/src/main/java/com/adyen/model/checkout/CardDetailsRequest.java @@ -59,126 +59,144 @@ public class CardDetailsRequest { public CardDetailsRequest() { } + /** + * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. + * + * @param cardNumber + * @return the current {@code CardDetailsRequest} instance, allowing for method chaining + */ public CardDetailsRequest cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } - /** + /** * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. * @return cardNumber - **/ + */ @ApiModelProperty(required = true, value = "A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data.") @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardNumber() { return cardNumber; } - - /** - * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. - * - * @param cardNumber - */ + /** + * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. + * + * @param cardNumber + */ @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + * @return the current {@code CardDetailsRequest} instance, allowing for method chaining + */ public CardDetailsRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** + /** * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE - * - * @param countryCode - */ + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The encrypted card number. + * + * @param encryptedCardNumber + * @return the current {@code CardDetailsRequest} instance, allowing for method chaining + */ public CardDetailsRequest encryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; return this; } - /** + /** * The encrypted card number. * @return encryptedCardNumber - **/ + */ @ApiModelProperty(value = "The encrypted card number.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedCardNumber() { return encryptedCardNumber; } - - /** - * The encrypted card number. - * - * @param encryptedCardNumber - */ + /** + * The encrypted card number. + * + * @param encryptedCardNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code CardDetailsRequest} instance, allowing for method chaining + */ public CardDetailsRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. + * + * @param supportedBrands + * @return the current {@code CardDetailsRequest} instance, allowing for method chaining + */ public CardDetailsRequest supportedBrands(List supportedBrands) { this.supportedBrands = supportedBrands; return this; @@ -192,31 +210,28 @@ public CardDetailsRequest addSupportedBrandsItem(String supportedBrandsItem) { return this; } - /** - * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. + /** + * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. * @return supportedBrands - **/ + */ @ApiModelProperty(value = "The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code.") @JsonProperty(JSON_PROPERTY_SUPPORTED_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSupportedBrands() { return supportedBrands; } - - /** - * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. - * - * @param supportedBrands - */ + /** + * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. + * + * @param supportedBrands + */ @JsonProperty(JSON_PROPERTY_SUPPORTED_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportedBrands(List supportedBrands) { this.supportedBrands = supportedBrands; } - /** * Return true if this CardDetailsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CardDetailsResponse.java b/src/main/java/com/adyen/model/checkout/CardDetailsResponse.java index f6dd8ffd3..573c27c6a 100644 --- a/src/main/java/com/adyen/model/checkout/CardDetailsResponse.java +++ b/src/main/java/com/adyen/model/checkout/CardDetailsResponse.java @@ -56,6 +56,12 @@ public class CardDetailsResponse { public CardDetailsResponse() { } + /** + * The list of brands identified for the card. + * + * @param brands + * @return the current {@code CardDetailsResponse} instance, allowing for method chaining + */ public CardDetailsResponse brands(List brands) { this.brands = brands; return this; @@ -69,121 +75,127 @@ public CardDetailsResponse addBrandsItem(CardBrandDetails brandsItem) { return this; } - /** + /** * The list of brands identified for the card. * @return brands - **/ + */ @ApiModelProperty(value = "The list of brands identified for the card.") @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBrands() { return brands; } - - /** - * The list of brands identified for the card. - * - * @param brands - */ + /** + * The list of brands identified for the card. + * + * @param brands + */ @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrands(List brands) { this.brands = brands; } - + /** + * The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**. + * + * @param fundingSource + * @return the current {@code CardDetailsResponse} instance, allowing for method chaining + */ public CardDetailsResponse fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**. - * - * @param fundingSource - */ + /** + * The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card. + * + * @param isCardCommercial + * @return the current {@code CardDetailsResponse} instance, allowing for method chaining + */ public CardDetailsResponse isCardCommercial(Boolean isCardCommercial) { this.isCardCommercial = isCardCommercial; return this; } - /** + /** * Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card. * @return isCardCommercial - **/ + */ @ApiModelProperty(value = "Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.") @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getIsCardCommercial() { return isCardCommercial; } - - /** - * Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card. - * - * @param isCardCommercial - */ + /** + * Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card. + * + * @param isCardCommercial + */ @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsCardCommercial(Boolean isCardCommercial) { this.isCardCommercial = isCardCommercial; } - + /** + * The two-letter country code of the country where the card was issued. + * + * @param issuingCountryCode + * @return the current {@code CardDetailsResponse} instance, allowing for method chaining + */ public CardDetailsResponse issuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; return this; } - /** + /** * The two-letter country code of the country where the card was issued. * @return issuingCountryCode - **/ + */ @ApiModelProperty(value = "The two-letter country code of the country where the card was issued.") @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuingCountryCode() { return issuingCountryCode; } - - /** - * The two-letter country code of the country where the card was issued. - * - * @param issuingCountryCode - */ + /** + * The two-letter country code of the country where the card was issued. + * + * @param issuingCountryCode + */ @JsonProperty(JSON_PROPERTY_ISSUING_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuingCountryCode(String issuingCountryCode) { this.issuingCountryCode = issuingCountryCode; } - /** * Return true if this CardDetailsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CardDonations.java b/src/main/java/com/adyen/model/checkout/CardDonations.java index 4dcc839e0..147431160 100644 --- a/src/main/java/com/adyen/model/checkout/CardDonations.java +++ b/src/main/java/com/adyen/model/checkout/CardDonations.java @@ -64,7 +64,7 @@ public class CardDonations { private String checkoutAttemptId; public static final String JSON_PROPERTY_CUPSECUREPLUS_SMSCODE = "cupsecureplus.smscode"; - @Deprecated + @Deprecated // deprecated private String cupsecureplusSmscode; public static final String JSON_PROPERTY_CVC = "cvc"; @@ -136,7 +136,7 @@ public static FundingSourceEnum fromValue(String value) { private String number; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference"; @@ -207,92 +207,107 @@ public static TypeEnum fromValue(String value) { public CardDonations() { } + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations brand(String brand) { this.brand = brand; return this; } - /** + /** * Secondary brand of the card. For example: **plastix**, **hmclub**. * @return brand - **/ + */ @ApiModelProperty(value = "Secondary brand of the card. For example: **plastix**, **hmclub**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Secondary brand of the card. For example: **plastix**, **hmclub**. - * - * @param brand - */ + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * cupsecureplusSmscode + * + * @param cupsecureplusSmscode + * @return the current {@code CardDonations} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public CardDonations cupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; return this; } - /** - * Get cupsecureplusSmscode + /** + * cupsecureplusSmscode * @return cupsecureplusSmscode - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCupsecureplusSmscode() { return cupsecureplusSmscode; } - - /** - * cupsecureplusSmscode - * - * @param cupsecureplusSmscode - */ + /** + * cupsecureplusSmscode + * + * @param cupsecureplusSmscode + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -300,363 +315,407 @@ public void setCupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; } - + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return cvc - **/ + */ @ApiModelProperty(value = "The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param cvc - */ + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The encrypted card number. + * + * @param encryptedCardNumber + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations encryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; return this; } - /** + /** * The encrypted card number. * @return encryptedCardNumber - **/ + */ @ApiModelProperty(value = "The encrypted card number.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedCardNumber() { return encryptedCardNumber; } - - /** - * The encrypted card number. - * - * @param encryptedCardNumber - */ + /** + * The encrypted card number. + * + * @param encryptedCardNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; } - + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations encryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; return this; } - /** + /** * The encrypted card expiry month. * @return encryptedExpiryMonth - **/ + */ @ApiModelProperty(value = "The encrypted card expiry month.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryMonth() { return encryptedExpiryMonth; } - - /** - * The encrypted card expiry month. - * - * @param encryptedExpiryMonth - */ + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; } - + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations encryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; return this; } - /** + /** * The encrypted card expiry year. * @return encryptedExpiryYear - **/ + */ @ApiModelProperty(value = "The encrypted card expiry year.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryYear() { return encryptedExpiryYear; } - - /** - * The encrypted card expiry year. - * - * @param encryptedExpiryYear - */ + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; } - + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations encryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; return this; } - /** + /** * The encrypted card verification code. * @return encryptedSecurityCode - **/ + */ @ApiModelProperty(value = "The encrypted card verification code.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedSecurityCode() { return encryptedSecurityCode; } - - /** - * The encrypted card verification code. - * - * @param encryptedSecurityCode - */ + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; } - + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** + /** * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryMonth - */ + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryYear - */ + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The name of the card holder. + * + * @param holderName + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the card holder. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the card holder.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the card holder. - * - * @param holderName - */ + /** + * The name of the card holder. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * + * @param networkPaymentReference + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations networkPaymentReference(String networkPaymentReference) { this.networkPaymentReference = networkPaymentReference; return this; } - /** - * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. * @return networkPaymentReference - **/ + */ @ApiModelProperty(value = "The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.") @JsonProperty(JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkPaymentReference() { return networkPaymentReference; } - - /** - * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. - * - * @param networkPaymentReference - */ + /** + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * + * @param networkPaymentReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkPaymentReference(String networkPaymentReference) { this.networkPaymentReference = networkPaymentReference; } - + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations number(String number) { this.number = number; return this; } - /** + /** * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return number - **/ + */ @ApiModelProperty(value = "The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param number - */ + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code CardDonations} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public CardDonations recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -664,247 +723,270 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + * + * @param shopperNotificationReference + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. - * - * @param shopperNotificationReference - */ + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * An identifier used for the Click to Pay transaction. + * + * @param srcCorrelationId + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations srcCorrelationId(String srcCorrelationId) { this.srcCorrelationId = srcCorrelationId; return this; } - /** + /** * An identifier used for the Click to Pay transaction. * @return srcCorrelationId - **/ + */ @ApiModelProperty(value = "An identifier used for the Click to Pay transaction.") @JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcCorrelationId() { return srcCorrelationId; } - - /** - * An identifier used for the Click to Pay transaction. - * - * @param srcCorrelationId - */ + /** + * An identifier used for the Click to Pay transaction. + * + * @param srcCorrelationId + */ @JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcCorrelationId(String srcCorrelationId) { this.srcCorrelationId = srcCorrelationId; } - + /** + * The SRC reference for the Click to Pay token. + * + * @param srcDigitalCardId + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations srcDigitalCardId(String srcDigitalCardId) { this.srcDigitalCardId = srcDigitalCardId; return this; } - /** + /** * The SRC reference for the Click to Pay token. * @return srcDigitalCardId - **/ + */ @ApiModelProperty(value = "The SRC reference for the Click to Pay token.") @JsonProperty(JSON_PROPERTY_SRC_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcDigitalCardId() { return srcDigitalCardId; } - - /** - * The SRC reference for the Click to Pay token. - * - * @param srcDigitalCardId - */ + /** + * The SRC reference for the Click to Pay token. + * + * @param srcDigitalCardId + */ @JsonProperty(JSON_PROPERTY_SRC_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcDigitalCardId(String srcDigitalCardId) { this.srcDigitalCardId = srcDigitalCardId; } - + /** + * The scheme that is being used for Click to Pay. + * + * @param srcScheme + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations srcScheme(String srcScheme) { this.srcScheme = srcScheme; return this; } - /** + /** * The scheme that is being used for Click to Pay. * @return srcScheme - **/ + */ @ApiModelProperty(value = "The scheme that is being used for Click to Pay.") @JsonProperty(JSON_PROPERTY_SRC_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcScheme() { return srcScheme; } - - /** - * The scheme that is being used for Click to Pay. - * - * @param srcScheme - */ + /** + * The scheme that is being used for Click to Pay. + * + * @param srcScheme + */ @JsonProperty(JSON_PROPERTY_SRC_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcScheme(String srcScheme) { this.srcScheme = srcScheme; } - + /** + * The reference for the Click to Pay token. + * + * @param srcTokenReference + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations srcTokenReference(String srcTokenReference) { this.srcTokenReference = srcTokenReference; return this; } - /** + /** * The reference for the Click to Pay token. * @return srcTokenReference - **/ + */ @ApiModelProperty(value = "The reference for the Click to Pay token.") @JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSrcTokenReference() { return srcTokenReference; } - - /** - * The reference for the Click to Pay token. - * - * @param srcTokenReference - */ + /** + * The reference for the Click to Pay token. + * + * @param srcTokenReference + */ @JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSrcTokenReference(String srcTokenReference) { this.srcTokenReference = srcTokenReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * Default payment method details. Common for scheme payment methods, and for simple payment method details. + * + * @param type + * @return the current {@code CardDonations} instance, allowing for method chaining + */ public CardDonations type(TypeEnum type) { this.type = type; return this; } - /** + /** * Default payment method details. Common for scheme payment methods, and for simple payment method details. * @return type - **/ + */ @ApiModelProperty(value = "Default payment method details. Common for scheme payment methods, and for simple payment method details.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Default payment method details. Common for scheme payment methods, and for simple payment method details. - * - * @param type - */ + /** + * Default payment method details. Common for scheme payment methods, and for simple payment method details. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CardDonations object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CashAppDetails.java b/src/main/java/com/adyen/model/checkout/CashAppDetails.java index b1ed7cc69..4aa02e6b9 100644 --- a/src/main/java/com/adyen/model/checkout/CashAppDetails.java +++ b/src/main/java/com/adyen/model/checkout/CashAppDetails.java @@ -60,7 +60,7 @@ public class CashAppDetails { private String onFileGrantId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_REQUEST_ID = "requestId"; @@ -111,182 +111,209 @@ public static TypeEnum fromValue(String value) { public CashAppDetails() { } + /** + * Cash App issued cashtag for recurring payment + * + * @param cashtag + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails cashtag(String cashtag) { this.cashtag = cashtag; return this; } - /** + /** * Cash App issued cashtag for recurring payment * @return cashtag - **/ + */ @ApiModelProperty(value = "Cash App issued cashtag for recurring payment") @JsonProperty(JSON_PROPERTY_CASHTAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCashtag() { return cashtag; } - - /** - * Cash App issued cashtag for recurring payment - * - * @param cashtag - */ + /** + * Cash App issued cashtag for recurring payment + * + * @param cashtag + */ @JsonProperty(JSON_PROPERTY_CASHTAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCashtag(String cashtag) { this.cashtag = cashtag; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * Cash App issued customerId for recurring payment + * + * @param customerId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails customerId(String customerId) { this.customerId = customerId; return this; } - /** + /** * Cash App issued customerId for recurring payment * @return customerId - **/ + */ @ApiModelProperty(value = "Cash App issued customerId for recurring payment") @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCustomerId() { return customerId; } - - /** - * Cash App issued customerId for recurring payment - * - * @param customerId - */ + /** + * Cash App issued customerId for recurring payment + * + * @param customerId + */ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomerId(String customerId) { this.customerId = customerId; } - + /** + * Cash App issued grantId for one time payment + * + * @param grantId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails grantId(String grantId) { this.grantId = grantId; return this; } - /** + /** * Cash App issued grantId for one time payment * @return grantId - **/ + */ @ApiModelProperty(value = "Cash App issued grantId for one time payment") @JsonProperty(JSON_PROPERTY_GRANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGrantId() { return grantId; } - - /** - * Cash App issued grantId for one time payment - * - * @param grantId - */ + /** + * Cash App issued grantId for one time payment + * + * @param grantId + */ @JsonProperty(JSON_PROPERTY_GRANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantId(String grantId) { this.grantId = grantId; } - + /** + * Cash App issued onFileGrantId for recurring payment + * + * @param onFileGrantId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails onFileGrantId(String onFileGrantId) { this.onFileGrantId = onFileGrantId; return this; } - /** + /** * Cash App issued onFileGrantId for recurring payment * @return onFileGrantId - **/ + */ @ApiModelProperty(value = "Cash App issued onFileGrantId for recurring payment") @JsonProperty(JSON_PROPERTY_ON_FILE_GRANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOnFileGrantId() { return onFileGrantId; } - - /** - * Cash App issued onFileGrantId for recurring payment - * - * @param onFileGrantId - */ + /** + * Cash App issued onFileGrantId for recurring payment + * + * @param onFileGrantId + */ @JsonProperty(JSON_PROPERTY_ON_FILE_GRANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOnFileGrantId(String onFileGrantId) { this.onFileGrantId = onFileGrantId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code CashAppDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public CashAppDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -294,127 +321,138 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * Cash App request id + * + * @param requestId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails requestId(String requestId) { this.requestId = requestId; return this; } - /** + /** * Cash App request id * @return requestId - **/ + */ @ApiModelProperty(value = "Cash App request id") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * Cash App request id - * - * @param requestId - */ + /** + * Cash App request id + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The payment method subtype. + * + * @param subtype + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails subtype(String subtype) { this.subtype = subtype; return this; } - /** + /** * The payment method subtype. * @return subtype - **/ + */ @ApiModelProperty(value = "The payment method subtype.") @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubtype() { return subtype; } - - /** - * The payment method subtype. - * - * @param subtype - */ + /** + * The payment method subtype. + * + * @param subtype + */ @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubtype(String subtype) { this.subtype = subtype; } - + /** + * cashapp + * + * @param type + * @return the current {@code CashAppDetails} instance, allowing for method chaining + */ public CashAppDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * cashapp * @return type - **/ + */ @ApiModelProperty(value = "cashapp") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * cashapp - * - * @param type - */ + /** + * cashapp + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CashAppDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CellulantDetails.java b/src/main/java/com/adyen/model/checkout/CellulantDetails.java index 3c3ab0aee..3702cdc84 100644 --- a/src/main/java/com/adyen/model/checkout/CellulantDetails.java +++ b/src/main/java/com/adyen/model/checkout/CellulantDetails.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public CellulantDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code CellulantDetails} instance, allowing for method chaining + */ public CellulantDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The Cellulant issuer. + * + * @param issuer + * @return the current {@code CellulantDetails} instance, allowing for method chaining + */ public CellulantDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** + /** * The Cellulant issuer. * @return issuer - **/ + */ @ApiModelProperty(value = "The Cellulant issuer.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The Cellulant issuer. - * - * @param issuer - */ + /** + * The Cellulant issuer. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * **Cellulant** + * + * @param type + * @return the current {@code CellulantDetails} instance, allowing for method chaining + */ public CellulantDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **Cellulant** * @return type - **/ + */ @ApiModelProperty(value = "**Cellulant**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **Cellulant** - * - * @param type - */ + /** + * **Cellulant** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CellulantDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutAwaitAction.java b/src/main/java/com/adyen/model/checkout/CheckoutAwaitAction.java index a49e748aa..c2fc2eb54 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutAwaitAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutAwaitAction.java @@ -86,126 +86,138 @@ public static TypeEnum fromValue(String value) { public CheckoutAwaitAction() { } + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutAwaitAction} instance, allowing for method chaining + */ public CheckoutAwaitAction paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutAwaitAction} instance, allowing for method chaining + */ public CheckoutAwaitAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * **await** + * + * @param type + * @return the current {@code CheckoutAwaitAction} instance, allowing for method chaining + */ public CheckoutAwaitAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **await** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**await**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **await** - * - * @param type - */ + /** + * **await** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutAwaitAction} instance, allowing for method chaining + */ public CheckoutAwaitAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutAwaitAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutBankTransferAction.java b/src/main/java/com/adyen/model/checkout/CheckoutBankTransferAction.java index bea4f30b4..f371b77b7 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutBankTransferAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutBankTransferAction.java @@ -123,396 +123,435 @@ public static TypeEnum fromValue(String value) { public CheckoutBankTransferAction() { } + /** + * The account number of the bank transfer. + * + * @param accountNumber + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ 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 - */ + /** + * 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; } - + /** + * The name of the account holder. + * + * @param beneficiary + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction beneficiary(String beneficiary) { this.beneficiary = beneficiary; return this; } - /** + /** * The name of the account holder. * @return beneficiary - **/ + */ @ApiModelProperty(value = "The name of the account holder.") @JsonProperty(JSON_PROPERTY_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBeneficiary() { return beneficiary; } - - /** - * The name of the account holder. - * - * @param beneficiary - */ + /** + * The name of the account holder. + * + * @param beneficiary + */ @JsonProperty(JSON_PROPERTY_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBeneficiary(String beneficiary) { this.beneficiary = beneficiary; } - + /** + * The BIC of the IBAN. + * + * @param bic + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction bic(String bic) { this.bic = bic; return this; } - /** + /** * The BIC of the IBAN. * @return bic - **/ + */ @ApiModelProperty(value = "The BIC of the IBAN.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The BIC of the IBAN. - * - * @param bic - */ + /** + * The BIC of the IBAN. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * The url to download payment details with. + * + * @param downloadUrl + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } - /** + /** * The url to download payment details with. * @return downloadUrl - **/ + */ @ApiModelProperty(value = "The url to download payment details with.") @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDownloadUrl() { return downloadUrl; } - - /** - * The url to download payment details with. - * - * @param downloadUrl - */ + /** + * The url to download payment details with. + * + * @param downloadUrl + */ @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; } - + /** + * The IBAN of the bank transfer. + * + * @param iban + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction iban(String iban) { this.iban = iban; return this; } - /** + /** * The IBAN of the bank transfer. * @return iban - **/ + */ @ApiModelProperty(value = "The IBAN of the bank transfer.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The IBAN of the bank transfer. - * - * @param iban - */ + /** + * The IBAN of the bank transfer. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * The transfer reference. + * + * @param reference + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction reference(String reference) { this.reference = reference; return this; } - /** + /** * The transfer reference. * @return reference - **/ + */ @ApiModelProperty(value = "The transfer reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The transfer reference. - * - * @param reference - */ + /** + * The transfer reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The routing number of the bank transfer. + * + * @param routingNumber + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ 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 - */ + /** + * 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; } - + /** + * The e-mail of the shopper, included if an e-mail was sent to the shopper. + * + * @param shopperEmail + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The e-mail of the shopper, included if an e-mail was sent to the shopper. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The e-mail of the shopper, included if an e-mail was sent to the shopper.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The e-mail of the shopper, included if an e-mail was sent to the shopper. - * - * @param shopperEmail - */ + /** + * The e-mail of the shopper, included if an e-mail was sent to the shopper. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The sort code of the bank transfer. + * + * @param sortCode + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ 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 - */ + /** + * 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; } - + /** + * totalAmount + * + * @param totalAmount + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction totalAmount(Amount totalAmount) { this.totalAmount = totalAmount; return this; } - /** - * Get totalAmount + /** + * totalAmount * @return totalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTotalAmount() { return totalAmount; } - - /** - * totalAmount - * - * @param totalAmount - */ + /** + * totalAmount + * + * @param totalAmount + */ @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalAmount(Amount totalAmount) { this.totalAmount = totalAmount; } - + /** + * The type of the action. + * + * @param type + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the action. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of the action.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the action. - * - * @param type - */ + /** + * The type of the action. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutBankTransferAction} instance, allowing for method chaining + */ public CheckoutBankTransferAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutBankTransferAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutDelegatedAuthenticationAction.java b/src/main/java/com/adyen/model/checkout/CheckoutDelegatedAuthenticationAction.java index 43fcbdc85..3027a175e 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutDelegatedAuthenticationAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutDelegatedAuthenticationAction.java @@ -94,186 +94,204 @@ public static TypeEnum fromValue(String value) { public CheckoutDelegatedAuthenticationAction() { } + /** + * A token needed to authorise a payment. + * + * @param authorisationToken + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction authorisationToken(String authorisationToken) { this.authorisationToken = authorisationToken; return this; } - /** + /** * A token needed to authorise a payment. * @return authorisationToken - **/ + */ @ApiModelProperty(value = "A token needed to authorise a payment.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationToken() { return authorisationToken; } - - /** - * A token needed to authorise a payment. - * - * @param authorisationToken - */ + /** + * A token needed to authorise a payment. + * + * @param authorisationToken + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationToken(String authorisationToken) { this.authorisationToken = authorisationToken; } - + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * A token to pass to the delegatedAuthentication component. + * + * @param token + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction token(String token) { this.token = token; return this; } - /** + /** * A token to pass to the delegatedAuthentication component. * @return token - **/ + */ @ApiModelProperty(value = "A token to pass to the delegatedAuthentication component.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * A token to pass to the delegatedAuthentication component. - * - * @param token - */ + /** + * A token to pass to the delegatedAuthentication component. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - + /** + * **delegatedAuthentication** + * + * @param type + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **delegatedAuthentication** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**delegatedAuthentication**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **delegatedAuthentication** - * - * @param type - */ + /** + * **delegatedAuthentication** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutDelegatedAuthenticationAction} instance, allowing for method chaining + */ public CheckoutDelegatedAuthenticationAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutDelegatedAuthenticationAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutNativeRedirectAction.java b/src/main/java/com/adyen/model/checkout/CheckoutNativeRedirectAction.java index 90a92e5f6..84ff80324 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutNativeRedirectAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutNativeRedirectAction.java @@ -97,6 +97,12 @@ public static TypeEnum fromValue(String value) { public CheckoutNativeRedirectAction() { } + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + * + * @param data + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction data(Map data) { this.data = data; return this; @@ -110,181 +116,193 @@ public CheckoutNativeRedirectAction putDataItem(String key, String dataItem) { return this; } - /** + /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. * @return data - **/ + */ @ApiModelProperty(value = "When the redirect URL must be accessed via POST, use this data to post to the redirect URL.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getData() { return data; } - - /** - * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. - * - * @param data - */ + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(Map data) { this.data = data; } - + /** + * Specifies the HTTP method, for example GET or POST. + * + * @param method + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction method(String method) { this.method = method; return this; } - /** + /** * Specifies the HTTP method, for example GET or POST. * @return method - **/ + */ @ApiModelProperty(value = "Specifies the HTTP method, for example GET or POST.") @JsonProperty(JSON_PROPERTY_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMethod() { return method; } - - /** - * Specifies the HTTP method, for example GET or POST. - * - * @param method - */ + /** + * Specifies the HTTP method, for example GET or POST. + * + * @param method + */ @JsonProperty(JSON_PROPERTY_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMethod(String method) { this.method = method; } - + /** + * Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult. + * + * @param nativeRedirectData + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction nativeRedirectData(String nativeRedirectData) { this.nativeRedirectData = nativeRedirectData; return this; } - /** - * Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult. + /** + * Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult. * @return nativeRedirectData - **/ + */ @ApiModelProperty(value = "Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult.") @JsonProperty(JSON_PROPERTY_NATIVE_REDIRECT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNativeRedirectData() { return nativeRedirectData; } - - /** - * Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult. - * - * @param nativeRedirectData - */ + /** + * Native SDK's redirect data containing the direct issuer link and state data that must be submitted to the /v1/nativeRedirect/redirectResult. + * + * @param nativeRedirectData + */ @JsonProperty(JSON_PROPERTY_NATIVE_REDIRECT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNativeRedirectData(String nativeRedirectData) { this.nativeRedirectData = nativeRedirectData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * **nativeRedirect** + * + * @param type + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **nativeRedirect** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**nativeRedirect**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **nativeRedirect** - * - * @param type - */ + /** + * **nativeRedirect** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutNativeRedirectAction} instance, allowing for method chaining + */ public CheckoutNativeRedirectAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutNativeRedirectAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutOrderResponse.java b/src/main/java/com/adyen/model/checkout/CheckoutOrderResponse.java index bba012e47..c6458b58a 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutOrderResponse.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutOrderResponse.java @@ -62,186 +62,204 @@ public class CheckoutOrderResponse { public CheckoutOrderResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The expiry date for the order. + * + * @param expiresAt + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse expiresAt(String expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The expiry date for the order. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The expiry date for the order.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiresAt() { return expiresAt; } - - /** - * The expiry date for the order. - * - * @param expiresAt - */ + /** + * The expiry date for the order. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(String expiresAt) { this.expiresAt = expiresAt; } - + /** + * The encrypted order data. + * + * @param orderData + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse orderData(String orderData) { this.orderData = orderData; return this; } - /** + /** * The encrypted order data. * @return orderData - **/ + */ @ApiModelProperty(value = "The encrypted order data.") @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderData() { return orderData; } - - /** - * The encrypted order data. - * - * @param orderData - */ + /** + * The encrypted order data. + * + * @param orderData + */ @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderData(String orderData) { this.orderData = orderData; } - + /** + * The `pspReference` that belongs to the order. + * + * @param pspReference + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * The `pspReference` that belongs to the order. + /** + * The `pspReference` that belongs to the order. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "The `pspReference` that belongs to the order.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The `pspReference` that belongs to the order. - * - * @param pspReference - */ + /** + * The `pspReference` that belongs to the order. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The merchant reference for the order. + * + * @param reference + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * The merchant reference for the order. * @return reference - **/ + */ @ApiModelProperty(value = "The merchant reference for the order.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The merchant reference for the order. - * - * @param reference - */ + /** + * The merchant reference for the order. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * remainingAmount + * + * @param remainingAmount + * @return the current {@code CheckoutOrderResponse} instance, allowing for method chaining + */ public CheckoutOrderResponse remainingAmount(Amount remainingAmount) { this.remainingAmount = remainingAmount; return this; } - /** - * Get remainingAmount + /** + * remainingAmount * @return remainingAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REMAINING_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getRemainingAmount() { return remainingAmount; } - - /** - * remainingAmount - * - * @param remainingAmount - */ + /** + * remainingAmount + * + * @param remainingAmount + */ @JsonProperty(JSON_PROPERTY_REMAINING_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemainingAmount(Amount remainingAmount) { this.remainingAmount = remainingAmount; } - /** * Return true if this CheckoutOrderResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutQrCodeAction.java b/src/main/java/com/adyen/model/checkout/CheckoutQrCodeAction.java index e48a8977a..3b00c3d54 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutQrCodeAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutQrCodeAction.java @@ -94,186 +94,204 @@ public static TypeEnum fromValue(String value) { public CheckoutQrCodeAction() { } + /** + * Expiry time of the QR code. + * + * @param expiresAt + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction expiresAt(String expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * Expiry time of the QR code. * @return expiresAt - **/ + */ @ApiModelProperty(value = "Expiry time of the QR code.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiresAt() { return expiresAt; } - - /** - * Expiry time of the QR code. - * - * @param expiresAt - */ + /** + * Expiry time of the QR code. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(String expiresAt) { this.expiresAt = expiresAt; } - + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * The contents of the QR code as a UTF8 string. + * + * @param qrCodeData + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction qrCodeData(String qrCodeData) { this.qrCodeData = qrCodeData; return this; } - /** + /** * The contents of the QR code as a UTF8 string. * @return qrCodeData - **/ + */ @ApiModelProperty(value = "The contents of the QR code as a UTF8 string.") @JsonProperty(JSON_PROPERTY_QR_CODE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getQrCodeData() { return qrCodeData; } - - /** - * The contents of the QR code as a UTF8 string. - * - * @param qrCodeData - */ + /** + * The contents of the QR code as a UTF8 string. + * + * @param qrCodeData + */ @JsonProperty(JSON_PROPERTY_QR_CODE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setQrCodeData(String qrCodeData) { this.qrCodeData = qrCodeData; } - + /** + * **qrCode** + * + * @param type + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **qrCode** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**qrCode**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **qrCode** - * - * @param type - */ + /** + * **qrCode** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutQrCodeAction} instance, allowing for method chaining + */ public CheckoutQrCodeAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutQrCodeAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutRedirectAction.java b/src/main/java/com/adyen/model/checkout/CheckoutRedirectAction.java index 6f3038a84..bfecf693b 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutRedirectAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutRedirectAction.java @@ -93,6 +93,12 @@ public static TypeEnum fromValue(String value) { public CheckoutRedirectAction() { } + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + * + * @param data + * @return the current {@code CheckoutRedirectAction} instance, allowing for method chaining + */ public CheckoutRedirectAction data(Map data) { this.data = data; return this; @@ -106,151 +112,160 @@ public CheckoutRedirectAction putDataItem(String key, String dataItem) { return this; } - /** + /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. * @return data - **/ + */ @ApiModelProperty(value = "When the redirect URL must be accessed via POST, use this data to post to the redirect URL.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getData() { return data; } - - /** - * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. - * - * @param data - */ + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(Map data) { this.data = data; } - + /** + * Specifies the HTTP method, for example GET or POST. + * + * @param method + * @return the current {@code CheckoutRedirectAction} instance, allowing for method chaining + */ public CheckoutRedirectAction method(String method) { this.method = method; return this; } - /** + /** * Specifies the HTTP method, for example GET or POST. * @return method - **/ + */ @ApiModelProperty(value = "Specifies the HTTP method, for example GET or POST.") @JsonProperty(JSON_PROPERTY_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMethod() { return method; } - - /** - * Specifies the HTTP method, for example GET or POST. - * - * @param method - */ + /** + * Specifies the HTTP method, for example GET or POST. + * + * @param method + */ @JsonProperty(JSON_PROPERTY_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMethod(String method) { this.method = method; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutRedirectAction} instance, allowing for method chaining + */ public CheckoutRedirectAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * **redirect** + * + * @param type + * @return the current {@code CheckoutRedirectAction} instance, allowing for method chaining + */ public CheckoutRedirectAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **redirect** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**redirect**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **redirect** - * - * @param type - */ + /** + * **redirect** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutRedirectAction} instance, allowing for method chaining + */ public CheckoutRedirectAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutRedirectAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutSDKAction.java b/src/main/java/com/adyen/model/checkout/CheckoutSDKAction.java index f8fa4d742..899dbc35e 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutSDKAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutSDKAction.java @@ -95,66 +95,78 @@ public static TypeEnum fromValue(String value) { public CheckoutSDKAction() { } + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutSDKAction} instance, allowing for method chaining + */ public CheckoutSDKAction paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutSDKAction} instance, allowing for method chaining + */ public CheckoutSDKAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * The data to pass to the SDK. + * + * @param sdkData + * @return the current {@code CheckoutSDKAction} instance, allowing for method chaining + */ public CheckoutSDKAction sdkData(Map sdkData) { this.sdkData = sdkData; return this; @@ -168,91 +180,94 @@ public CheckoutSDKAction putSdkDataItem(String key, String sdkDataItem) { return this; } - /** + /** * The data to pass to the SDK. * @return sdkData - **/ + */ @ApiModelProperty(value = "The data to pass to the SDK.") @JsonProperty(JSON_PROPERTY_SDK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getSdkData() { return sdkData; } - - /** - * The data to pass to the SDK. - * - * @param sdkData - */ + /** + * The data to pass to the SDK. + * + * @param sdkData + */ @JsonProperty(JSON_PROPERTY_SDK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkData(Map sdkData) { this.sdkData = sdkData; } - + /** + * The type of the action. + * + * @param type + * @return the current {@code CheckoutSDKAction} instance, allowing for method chaining + */ public CheckoutSDKAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the action. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of the action.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the action. - * - * @param type - */ + /** + * The type of the action. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutSDKAction} instance, allowing for method chaining + */ public CheckoutSDKAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutSDKAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutSessionInstallmentOption.java b/src/main/java/com/adyen/model/checkout/CheckoutSessionInstallmentOption.java index 55a8fd7a1..487070935 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutSessionInstallmentOption.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutSessionInstallmentOption.java @@ -100,6 +100,12 @@ public static PlansEnum fromValue(String value) { public CheckoutSessionInstallmentOption() { } + /** + * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** + * + * @param plans + * @return the current {@code CheckoutSessionInstallmentOption} instance, allowing for method chaining + */ public CheckoutSessionInstallmentOption plans(List plans) { this.plans = plans; return this; @@ -113,61 +119,67 @@ public CheckoutSessionInstallmentOption addPlansItem(PlansEnum plansItem) { return this; } - /** + /** * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** * @return plans - **/ + */ @ApiModelProperty(value = "Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving**") @JsonProperty(JSON_PROPERTY_PLANS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPlans() { return plans; } - - /** - * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** - * - * @param plans - */ + /** + * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** + * + * @param plans + */ @JsonProperty(JSON_PROPERTY_PLANS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlans(List plans) { this.plans = plans; } - + /** + * Preselected number of installments offered for this payment method. + * + * @param preselectedValue + * @return the current {@code CheckoutSessionInstallmentOption} instance, allowing for method chaining + */ public CheckoutSessionInstallmentOption preselectedValue(Integer preselectedValue) { this.preselectedValue = preselectedValue; return this; } - /** + /** * Preselected number of installments offered for this payment method. * @return preselectedValue - **/ + */ @ApiModelProperty(value = "Preselected number of installments offered for this payment method.") @JsonProperty(JSON_PROPERTY_PRESELECTED_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPreselectedValue() { return preselectedValue; } - - /** - * Preselected number of installments offered for this payment method. - * - * @param preselectedValue - */ + /** + * Preselected number of installments offered for this payment method. + * + * @param preselectedValue + */ @JsonProperty(JSON_PROPERTY_PRESELECTED_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreselectedValue(Integer preselectedValue) { this.preselectedValue = preselectedValue; } - + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + * + * @param values + * @return the current {@code CheckoutSessionInstallmentOption} instance, allowing for method chaining + */ public CheckoutSessionInstallmentOption values(List values) { this.values = values; return this; @@ -181,31 +193,28 @@ public CheckoutSessionInstallmentOption addValuesItem(Integer valuesItem) { return this; } - /** - * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. * @return values - **/ + */ @ApiModelProperty(value = "An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`.") @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValues() { return values; } - - /** - * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. - * - * @param values - */ + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + * + * @param values + */ @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValues(List values) { this.values = values; } - /** * Return true if this CheckoutSessionInstallmentOption object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutSessionThreeDS2RequestData.java b/src/main/java/com/adyen/model/checkout/CheckoutSessionThreeDS2RequestData.java index f13d75727..b89a87ff1 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutSessionThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutSessionThreeDS2RequestData.java @@ -97,126 +97,138 @@ public static ThreeDSRequestorChallengeIndEnum fromValue(String value) { public CheckoutSessionThreeDS2RequestData() { } + /** + * homePhone + * + * @param homePhone + * @return the current {@code CheckoutSessionThreeDS2RequestData} instance, allowing for method chaining + */ public CheckoutSessionThreeDS2RequestData homePhone(Phone homePhone) { this.homePhone = homePhone; return this; } - /** - * Get homePhone + /** + * homePhone * @return homePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getHomePhone() { return homePhone; } - - /** - * homePhone - * - * @param homePhone - */ + /** + * homePhone + * + * @param homePhone + */ @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHomePhone(Phone homePhone) { this.homePhone = homePhone; } - + /** + * mobilePhone + * + * @param mobilePhone + * @return the current {@code CheckoutSessionThreeDS2RequestData} instance, allowing for method chaining + */ public CheckoutSessionThreeDS2RequestData mobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Get mobilePhone + /** + * mobilePhone * @return mobilePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getMobilePhone() { return mobilePhone; } - - /** - * mobilePhone - * - * @param mobilePhone - */ + /** + * mobilePhone + * + * @param mobilePhone + */ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code CheckoutSessionThreeDS2RequestData} instance, allowing for method chaining + */ public CheckoutSessionThreeDS2RequestData threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * workPhone + * + * @param workPhone + * @return the current {@code CheckoutSessionThreeDS2RequestData} instance, allowing for method chaining + */ public CheckoutSessionThreeDS2RequestData workPhone(Phone workPhone) { this.workPhone = workPhone; return this; } - /** - * Get workPhone + /** + * workPhone * @return workPhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getWorkPhone() { return workPhone; } - - /** - * workPhone - * - * @param workPhone - */ + /** + * workPhone + * + * @param workPhone + */ @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWorkPhone(Phone workPhone) { this.workPhone = workPhone; } - /** * Return true if this CheckoutSessionThreeDS2RequestData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutThreeDS2Action.java b/src/main/java/com/adyen/model/checkout/CheckoutThreeDS2Action.java index 161dbbb92..3b557ea3b 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutThreeDS2Action.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutThreeDS2Action.java @@ -98,216 +98,237 @@ public static TypeEnum fromValue(String value) { public CheckoutThreeDS2Action() { } + /** + * A token needed to authorise a payment. + * + * @param authorisationToken + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action authorisationToken(String authorisationToken) { this.authorisationToken = authorisationToken; return this; } - /** + /** * A token needed to authorise a payment. * @return authorisationToken - **/ + */ @ApiModelProperty(value = "A token needed to authorise a payment.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationToken() { return authorisationToken; } - - /** - * A token needed to authorise a payment. - * - * @param authorisationToken - */ + /** + * A token needed to authorise a payment. + * + * @param authorisationToken + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationToken(String authorisationToken) { this.authorisationToken = authorisationToken; } - + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * A subtype of the token. + * + * @param subtype + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action subtype(String subtype) { this.subtype = subtype; return this; } - /** + /** * A subtype of the token. * @return subtype - **/ + */ @ApiModelProperty(value = "A subtype of the token.") @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubtype() { return subtype; } - - /** - * A subtype of the token. - * - * @param subtype - */ + /** + * A subtype of the token. + * + * @param subtype + */ @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubtype(String subtype) { this.subtype = subtype; } - + /** + * A token to pass to the 3DS2 Component to get the fingerprint. + * + * @param token + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action token(String token) { this.token = token; return this; } - /** + /** * A token to pass to the 3DS2 Component to get the fingerprint. * @return token - **/ + */ @ApiModelProperty(value = "A token to pass to the 3DS2 Component to get the fingerprint.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * A token to pass to the 3DS2 Component to get the fingerprint. - * - * @param token - */ + /** + * A token to pass to the 3DS2 Component to get the fingerprint. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - + /** + * **threeDS2** + * + * @param type + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action type(TypeEnum type) { this.type = type; return this; } - /** + /** * **threeDS2** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**threeDS2**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **threeDS2** - * - * @param type - */ + /** + * **threeDS2** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutThreeDS2Action} instance, allowing for method chaining + */ public CheckoutThreeDS2Action url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutThreeDS2Action object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CheckoutVoucherAction.java b/src/main/java/com/adyen/model/checkout/CheckoutVoucherAction.java index 4d4b4cde8..133f83b32 100644 --- a/src/main/java/com/adyen/model/checkout/CheckoutVoucherAction.java +++ b/src/main/java/com/adyen/model/checkout/CheckoutVoucherAction.java @@ -155,636 +155,699 @@ public static TypeEnum fromValue(String value) { public CheckoutVoucherAction() { } + /** + * The voucher alternative reference code. + * + * @param alternativeReference + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction alternativeReference(String alternativeReference) { this.alternativeReference = alternativeReference; return this; } - /** + /** * The voucher alternative reference code. * @return alternativeReference - **/ + */ @ApiModelProperty(value = "The voucher alternative reference code.") @JsonProperty(JSON_PROPERTY_ALTERNATIVE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAlternativeReference() { return alternativeReference; } - - /** - * The voucher alternative reference code. - * - * @param alternativeReference - */ + /** + * The voucher alternative reference code. + * + * @param alternativeReference + */ @JsonProperty(JSON_PROPERTY_ALTERNATIVE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAlternativeReference(String alternativeReference) { this.alternativeReference = alternativeReference; } - + /** + * A collection institution number (store number) for Econtext Pay-Easy ATM. + * + * @param collectionInstitutionNumber + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction collectionInstitutionNumber(String collectionInstitutionNumber) { this.collectionInstitutionNumber = collectionInstitutionNumber; return this; } - /** + /** * A collection institution number (store number) for Econtext Pay-Easy ATM. * @return collectionInstitutionNumber - **/ + */ @ApiModelProperty(value = "A collection institution number (store number) for Econtext Pay-Easy ATM.") @JsonProperty(JSON_PROPERTY_COLLECTION_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCollectionInstitutionNumber() { return collectionInstitutionNumber; } - - /** - * A collection institution number (store number) for Econtext Pay-Easy ATM. - * - * @param collectionInstitutionNumber - */ + /** + * A collection institution number (store number) for Econtext Pay-Easy ATM. + * + * @param collectionInstitutionNumber + */ @JsonProperty(JSON_PROPERTY_COLLECTION_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCollectionInstitutionNumber(String collectionInstitutionNumber) { this.collectionInstitutionNumber = collectionInstitutionNumber; } - + /** + * The URL to download the voucher. + * + * @param downloadUrl + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } - /** + /** * The URL to download the voucher. * @return downloadUrl - **/ + */ @ApiModelProperty(value = "The URL to download the voucher.") @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDownloadUrl() { return downloadUrl; } - - /** - * The URL to download the voucher. - * - * @param downloadUrl - */ + /** + * The URL to download the voucher. + * + * @param downloadUrl + */ @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; } - + /** + * An entity number of Multibanco. + * + * @param entity + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction entity(String entity) { this.entity = entity; return this; } - /** + /** * An entity number of Multibanco. * @return entity - **/ + */ @ApiModelProperty(value = "An entity number of Multibanco.") @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEntity() { return entity; } - - /** - * An entity number of Multibanco. - * - * @param entity - */ + /** + * An entity number of Multibanco. + * + * @param entity + */ @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntity(String entity) { this.entity = entity; } - + /** + * The date time of the voucher expiry. + * + * @param expiresAt + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction expiresAt(String expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date time of the voucher expiry. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The date time of the voucher expiry.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiresAt() { return expiresAt; } - - /** - * The date time of the voucher expiry. - * - * @param expiresAt - */ + /** + * The date time of the voucher expiry. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(String expiresAt) { this.expiresAt = expiresAt; } - + /** + * initialAmount + * + * @param initialAmount + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction initialAmount(Amount initialAmount) { this.initialAmount = initialAmount; return this; } - /** - * Get initialAmount + /** + * initialAmount * @return initialAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INITIAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getInitialAmount() { return initialAmount; } - - /** - * initialAmount - * - * @param initialAmount - */ + /** + * initialAmount + * + * @param initialAmount + */ @JsonProperty(JSON_PROPERTY_INITIAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInitialAmount(Amount initialAmount) { this.initialAmount = initialAmount; } - + /** + * The URL to the detailed instructions to make payment using the voucher. + * + * @param instructionsUrl + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction instructionsUrl(String instructionsUrl) { this.instructionsUrl = instructionsUrl; return this; } - /** + /** * The URL to the detailed instructions to make payment using the voucher. * @return instructionsUrl - **/ + */ @ApiModelProperty(value = "The URL to the detailed instructions to make payment using the voucher.") @JsonProperty(JSON_PROPERTY_INSTRUCTIONS_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstructionsUrl() { return instructionsUrl; } - - /** - * The URL to the detailed instructions to make payment using the voucher. - * - * @param instructionsUrl - */ + /** + * The URL to the detailed instructions to make payment using the voucher. + * + * @param instructionsUrl + */ @JsonProperty(JSON_PROPERTY_INSTRUCTIONS_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstructionsUrl(String instructionsUrl) { this.instructionsUrl = instructionsUrl; } - + /** + * The issuer of the voucher. + * + * @param issuer + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction issuer(String issuer) { this.issuer = issuer; return this; } - /** + /** * The issuer of the voucher. * @return issuer - **/ + */ @ApiModelProperty(value = "The issuer of the voucher.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The issuer of the voucher. - * - * @param issuer - */ + /** + * The issuer of the voucher. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * The shopper telephone number (partially masked). + * + * @param maskedTelephoneNumber + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction maskedTelephoneNumber(String maskedTelephoneNumber) { this.maskedTelephoneNumber = maskedTelephoneNumber; return this; } - /** + /** * The shopper telephone number (partially masked). * @return maskedTelephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper telephone number (partially masked).") @JsonProperty(JSON_PROPERTY_MASKED_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMaskedTelephoneNumber() { return maskedTelephoneNumber; } - - /** - * The shopper telephone number (partially masked). - * - * @param maskedTelephoneNumber - */ + /** + * The shopper telephone number (partially masked). + * + * @param maskedTelephoneNumber + */ @JsonProperty(JSON_PROPERTY_MASKED_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaskedTelephoneNumber(String maskedTelephoneNumber) { this.maskedTelephoneNumber = maskedTelephoneNumber; } - + /** + * The merchant name. + * + * @param merchantName + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction merchantName(String merchantName) { this.merchantName = merchantName; return this; } - /** + /** * The merchant name. * @return merchantName - **/ + */ @ApiModelProperty(value = "The merchant name.") @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantName() { return merchantName; } - - /** - * The merchant name. - * - * @param merchantName - */ + /** + * The merchant name. + * + * @param merchantName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantName(String merchantName) { this.merchantName = merchantName; } - + /** + * The merchant reference. + * + * @param merchantReference + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * The merchant reference. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The merchant reference.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The merchant reference. - * - * @param merchantReference - */ + /** + * The merchant reference. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. + * + * @param passCreationToken + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction passCreationToken(String passCreationToken) { this.passCreationToken = passCreationToken; return this; } - /** + /** * A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. * @return passCreationToken - **/ + */ @ApiModelProperty(value = "A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet.") @JsonProperty(JSON_PROPERTY_PASS_CREATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassCreationToken() { return passCreationToken; } - - /** - * A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. - * - * @param passCreationToken - */ + /** + * A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. + * + * @param passCreationToken + */ @JsonProperty(JSON_PROPERTY_PASS_CREATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassCreationToken(String passCreationToken) { this.passCreationToken = passCreationToken; } - + /** + * Encoded payment data. + * + * @param paymentData + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * Encoded payment data. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. - * - * @param paymentData - */ + /** + * Encoded payment data. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Specifies the payment method. + * + * @param paymentMethodType + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction paymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; return this; } - /** + /** * Specifies the payment method. * @return paymentMethodType - **/ + */ @ApiModelProperty(value = "Specifies the payment method.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodType() { return paymentMethodType; } - - /** - * Specifies the payment method. - * - * @param paymentMethodType - */ + /** + * Specifies the payment method. + * + * @param paymentMethodType + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodType(String paymentMethodType) { this.paymentMethodType = paymentMethodType; } - + /** + * The voucher reference code. + * + * @param reference + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction reference(String reference) { this.reference = reference; return this; } - /** + /** * The voucher reference code. * @return reference - **/ + */ @ApiModelProperty(value = "The voucher reference code.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The voucher reference code. - * - * @param reference - */ + /** + * The voucher reference code. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The shopper email. + * + * @param shopperEmail + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The shopper email. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper email.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper email. - * - * @param shopperEmail - */ + /** + * The shopper email. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper name. + * + * @param shopperName + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction shopperName(String shopperName) { this.shopperName = shopperName; return this; } - /** + /** * The shopper name. * @return shopperName - **/ + */ @ApiModelProperty(value = "The shopper name.") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperName() { return shopperName; } - - /** - * The shopper name. - * - * @param shopperName - */ + /** + * The shopper name. + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(String shopperName) { this.shopperName = shopperName; } - + /** + * surcharge + * + * @param surcharge + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction surcharge(Amount surcharge) { this.surcharge = surcharge; return this; } - /** - * Get surcharge + /** + * surcharge * @return surcharge - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSurcharge() { return surcharge; } - - /** - * surcharge - * - * @param surcharge - */ + /** + * surcharge + * + * @param surcharge + */ @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSurcharge(Amount surcharge) { this.surcharge = surcharge; } - + /** + * totalAmount + * + * @param totalAmount + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction totalAmount(Amount totalAmount) { this.totalAmount = totalAmount; return this; } - /** - * Get totalAmount + /** + * totalAmount * @return totalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTotalAmount() { return totalAmount; } - - /** - * totalAmount - * - * @param totalAmount - */ + /** + * totalAmount + * + * @param totalAmount + */ @JsonProperty(JSON_PROPERTY_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalAmount(Amount totalAmount) { this.totalAmount = totalAmount; } - + /** + * **voucher** + * + * @param type + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction type(TypeEnum type) { this.type = type; return this; } - /** + /** * **voucher** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**voucher**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **voucher** - * - * @param type - */ + /** + * **voucher** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Specifies the URL to redirect to. + * + * @param url + * @return the current {@code CheckoutVoucherAction} instance, allowing for method chaining + */ public CheckoutVoucherAction url(String url) { this.url = url; return this; } - /** + /** * Specifies the URL to redirect to. * @return url - **/ + */ @ApiModelProperty(value = "Specifies the URL to redirect to.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Specifies the URL to redirect to. - * - * @param url - */ + /** + * Specifies the URL to redirect to. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CheckoutVoucherAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CommonField.java b/src/main/java/com/adyen/model/checkout/CommonField.java index 7e7cd23db..b2d79b467 100644 --- a/src/main/java/com/adyen/model/checkout/CommonField.java +++ b/src/main/java/com/adyen/model/checkout/CommonField.java @@ -45,66 +45,72 @@ public class CommonField { public CommonField() { } + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + * @return the current {@code CommonField} instance, allowing for method chaining + */ public CommonField name(String name) { this.name = name; return this; } - /** + /** * Name of the field. For example, Name of External Platform. * @return name - **/ + */ @ApiModelProperty(value = "Name of the field. For example, Name of External Platform.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Name of the field. For example, Name of External Platform. - * - * @param name - */ + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + * @return the current {@code CommonField} instance, allowing for method chaining + */ public CommonField version(String version) { this.version = version; return this; } - /** + /** * Version of the field. For example, Version of External Platform. * @return version - **/ + */ @ApiModelProperty(value = "Version of the field. For example, Version of External Platform.") @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVersion() { return version; } - - /** - * Version of the field. For example, Version of External Platform. - * - * @param version - */ + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + */ @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersion(String version) { this.version = version; } - /** * Return true if this CommonField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Company.java b/src/main/java/com/adyen/model/checkout/Company.java index dcadf1b11..273b6a17d 100644 --- a/src/main/java/com/adyen/model/checkout/Company.java +++ b/src/main/java/com/adyen/model/checkout/Company.java @@ -61,186 +61,204 @@ public class Company { public Company() { } + /** + * The company website's home page. + * + * @param homepage + * @return the current {@code Company} instance, allowing for method chaining + */ public Company homepage(String homepage) { this.homepage = homepage; return this; } - /** - * The company website's home page. + /** + * The company website's home page. * @return homepage - **/ + */ @ApiModelProperty(value = "The company website's home page.") @JsonProperty(JSON_PROPERTY_HOMEPAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHomepage() { return homepage; } - - /** - * The company website's home page. - * - * @param homepage - */ + /** + * The company website's home page. + * + * @param homepage + */ @JsonProperty(JSON_PROPERTY_HOMEPAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHomepage(String homepage) { this.homepage = homepage; } - + /** + * The company name. + * + * @param name + * @return the current {@code Company} instance, allowing for method chaining + */ public Company name(String name) { this.name = name; return this; } - /** + /** * The company name. * @return name - **/ + */ @ApiModelProperty(value = "The company name.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The company name. - * - * @param name - */ + /** + * The company name. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Registration number of the company. + * + * @param registrationNumber + * @return the current {@code Company} instance, allowing for method chaining + */ public Company registrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; return this; } - /** + /** * Registration number of the company. * @return registrationNumber - **/ + */ @ApiModelProperty(value = "Registration number of the company.") @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegistrationNumber() { return registrationNumber; } - - /** - * Registration number of the company. - * - * @param registrationNumber - */ + /** + * Registration number of the company. + * + * @param registrationNumber + */ @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegistrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; } - + /** + * Registry location of the company. + * + * @param registryLocation + * @return the current {@code Company} instance, allowing for method chaining + */ public Company registryLocation(String registryLocation) { this.registryLocation = registryLocation; return this; } - /** + /** * Registry location of the company. * @return registryLocation - **/ + */ @ApiModelProperty(value = "Registry location of the company.") @JsonProperty(JSON_PROPERTY_REGISTRY_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegistryLocation() { return registryLocation; } - - /** - * Registry location of the company. - * - * @param registryLocation - */ + /** + * Registry location of the company. + * + * @param registryLocation + */ @JsonProperty(JSON_PROPERTY_REGISTRY_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegistryLocation(String registryLocation) { this.registryLocation = registryLocation; } - + /** + * Tax ID of the company. + * + * @param taxId + * @return the current {@code Company} instance, allowing for method chaining + */ public Company taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * Tax ID of the company. * @return taxId - **/ + */ @ApiModelProperty(value = "Tax ID of the company.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * Tax ID of the company. - * - * @param taxId - */ + /** + * Tax ID of the company. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - + /** + * The company type. + * + * @param type + * @return the current {@code Company} instance, allowing for method chaining + */ public Company type(String type) { this.type = type; return this; } - /** + /** * The company type. * @return type - **/ + */ @ApiModelProperty(value = "The company type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The company type. - * - * @param type - */ + /** + * The company type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this Company object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java index 7aac1fd36..46ba608b4 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java @@ -519,7 +519,7 @@ public static StorePaymentMethodModeEnum fromValue(String value) { private CheckoutSessionThreeDS2RequestData threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; @@ -528,66 +528,78 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public CreateCheckoutSessionRequest() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -601,31 +613,34 @@ public CreateCheckoutSessionRequest putAdditionalDataItem(String key, String add return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -639,151 +654,166 @@ public CreateCheckoutSessionRequest addAllowedPaymentMethodsItem(String allowedP return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * authenticationData + * + * @param authenticationData + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest authenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; return this; } - /** - * Get authenticationData + /** + * authenticationData * @return authenticationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationData getAuthenticationData() { return authenticationData; } - - /** - * authenticationData - * - * @param authenticationData - */ + /** + * authenticationData + * + * @param authenticationData + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest billingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddress getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -797,421 +827,463 @@ public CreateCheckoutSessionRequest addBlockedPaymentMethodsItem(String blockedP return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + * + * @param channel + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest channel(ChannelEnum channel) { this.channel = channel; return this; } - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web**") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * company + * + * @param company + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest company(Company company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Company getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(Company company) { this.company = company; } - + /** + * The shopper's two-letter country code. + * + * @param countryCode + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * The shopper's two-letter country code. + /** + * The shopper's two-letter country code. * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper's two-letter country code.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper's two-letter country code. - * - * @param countryCode - */ + /** + * The shopper's two-letter country code. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param deliverAt - */ + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest deliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest enableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; return this; } - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). * @return enableOneClick - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition).") @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableOneClick() { return enableOneClick; } - - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). - * - * @param enableOneClick - */ + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + */ @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; } - + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest enablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. * @return enablePayOut - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be tokenized for payouts.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayOut() { return enablePayOut; } - - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. - * - * @param enablePayOut - */ + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest enableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. * @return enableRecurring - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments.") @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableRecurring() { return enableRecurring; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. - * - * @param enableRecurring - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + */ @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; } - + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + * + * @param expiresAt + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. - * - * @param expiresAt - */ + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - + /** + * fundOrigin + * + * @param fundOrigin + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest fundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; return this; } - /** - * Get fundOrigin + /** + * fundOrigin * @return fundOrigin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundOrigin getFundOrigin() { return fundOrigin; } - - /** - * fundOrigin - * - * @param fundOrigin - */ + /** + * fundOrigin + * + * @param fundOrigin + */ @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; } - + /** + * fundRecipient + * + * @param fundRecipient + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest fundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; return this; } - /** - * Get fundRecipient + /** + * fundRecipient * @return fundRecipient - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundRecipient getFundRecipient() { return fundRecipient; } - - /** - * fundRecipient - * - * @param fundRecipient - */ + /** + * fundRecipient + * + * @param fundRecipient + */ @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; } - + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest installmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; return this; @@ -1225,31 +1297,34 @@ public CreateCheckoutSessionRequest putInstallmentOptionsItem(String key, Checko return this; } - /** + /** * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. * @return installmentOptions - **/ + */ @ApiModelProperty(value = "A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getInstallmentOptions() { return installmentOptions; } - - /** - * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. - * - * @param installmentOptions - */ + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -1263,151 +1338,166 @@ public CreateCheckoutSessionRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * mandate + * + * @param mandate + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest mandate(Mandate mandate) { this.mandate = mandate; return this; } - /** - * Get mandate + /** + * mandate * @return mandate - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Mandate getMandate() { return mandate; } - - /** - * mandate - * - * @param mandate - */ + /** + * mandate + * + * @param mandate + */ @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMandate(Mandate mandate) { this.mandate = mandate; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -1421,691 +1511,760 @@ public CreateCheckoutSessionRequest putMetadataItem(String key, String metadataI return this; } - /** + /** * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration + * + * @param mode + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest mode(ModeEnum mode) { this.mode = mode; return this; } - /** + /** * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration * @return mode - **/ + */ @ApiModelProperty(value = "Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration") @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModeEnum getMode() { return mode; } - - /** - * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration - * - * @param mode - */ + /** + * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration + * + * @param mode + */ @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMode(ModeEnum mode) { this.mode = mode; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest redirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting back from the issuer. * @return redirectFromIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting back from the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectFromIssuerMethod() { return redirectFromIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting back from the issuer. - * - * @param redirectFromIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; } - + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest redirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting to the issuer. * @return redirectToIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting to the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectToIssuerMethod() { return redirectToIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting to the issuer. - * - * @param redirectToIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; } - + /** + * The reference to uniquely identify a payment. + * + * @param reference + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference to uniquely identify a payment. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * @return returnUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. - * - * @param returnUrl - */ + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * riskData + * + * @param riskData + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * Set to true to show the payment amount per installment. + * + * @param showInstallmentAmount + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest showInstallmentAmount(Boolean showInstallmentAmount) { this.showInstallmentAmount = showInstallmentAmount; return this; } - /** + /** * Set to true to show the payment amount per installment. * @return showInstallmentAmount - **/ + */ @ApiModelProperty(value = "Set to true to show the payment amount per installment.") @JsonProperty(JSON_PROPERTY_SHOW_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowInstallmentAmount() { return showInstallmentAmount; } - - /** - * Set to true to show the payment amount per installment. - * - * @param showInstallmentAmount - */ + /** + * Set to true to show the payment amount per installment. + * + * @param showInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_SHOW_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowInstallmentAmount(Boolean showInstallmentAmount) { this.showInstallmentAmount = showInstallmentAmount; } - + /** + * Set to **true** to show a button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest showRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; return this; } - /** + /** * Set to **true** to show a button that lets the shopper remove a stored payment method. * @return showRemovePaymentMethodButton - **/ + */ @ApiModelProperty(value = "Set to **true** to show a button that lets the shopper remove a stored payment method.") @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowRemovePaymentMethodButton() { return showRemovePaymentMethodButton; } - - /** - * Set to **true** to show a button that lets the shopper remove a stored payment method. - * - * @param showRemovePaymentMethodButton - */ + /** + * Set to **true** to show a button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + */ @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest splitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; return this; } - /** + /** * Boolean value indicating whether the card payment method should be split into separate debit and credit options. * @return splitCardFundingSources - **/ + */ @ApiModelProperty(value = "Boolean value indicating whether the card payment method should be split into separate debit and credit options.") @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSplitCardFundingSources() { return splitCardFundingSources; } - - /** - * Boolean value indicating whether the card payment method should be split into separate debit and credit options. - * - * @param splitCardFundingSources - */ + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + */ @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; } - + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest splits(List splits) { this.splits = splits; return this; @@ -2119,267 +2278,297 @@ public CreateCheckoutSessionRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest storeFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; return this; } - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. * @return storeFiltrationMode - **/ + */ @ApiModelProperty(value = "Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.") @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreFiltrationModeEnum getStoreFiltrationMode() { return storeFiltrationMode; } - - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - * - * @param storeFiltrationMode - */ + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + */ @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest storePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). * @return storePaymentMethod - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types).") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getStorePaymentMethod() { return storePaymentMethod; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). - * - * @param storePaymentMethod - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; } - + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + * + * @param storePaymentMethodMode + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest storePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; return this; } - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. * @return storePaymentMethodMode - **/ + */ @ApiModelProperty(value = "Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent.") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StorePaymentMethodModeEnum getStorePaymentMethodMode() { return storePaymentMethodMode; } - - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. - * - * @param storePaymentMethodMode - */ + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + * + * @param storePaymentMethodMode + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + * + * @param themeId + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest themeId(String themeId) { this.themeId = themeId; return this; } - /** - * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. * @return themeId - **/ + */ @ApiModelProperty(value = "Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area.") @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThemeId() { return themeId; } - - /** - * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. - * - * @param themeId - */ + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + * + * @param themeId + */ @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemeId(String themeId) { this.themeId = themeId; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest threeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutSessionThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public CreateCheckoutSessionRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2387,37 +2576,39 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining + */ public CreateCheckoutSessionRequest trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this CreateCheckoutSessionRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java index 1123d3200..ceefd5099 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java @@ -527,7 +527,7 @@ public static StorePaymentMethodModeEnum fromValue(String value) { private CheckoutSessionThreeDS2RequestData threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; @@ -539,66 +539,78 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public CreateCheckoutSessionResponse() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -612,31 +624,34 @@ public CreateCheckoutSessionResponse putAdditionalDataItem(String key, String ad return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -650,151 +665,166 @@ public CreateCheckoutSessionResponse addAllowedPaymentMethodsItem(String allowed return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * authenticationData + * + * @param authenticationData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse authenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; return this; } - /** - * Get authenticationData + /** + * authenticationData * @return authenticationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationData getAuthenticationData() { return authenticationData; } - - /** - * authenticationData - * - * @param authenticationData - */ + /** + * authenticationData + * + * @param authenticationData + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse billingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddress getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -808,451 +838,496 @@ public CreateCheckoutSessionResponse addBlockedPaymentMethodsItem(String blocked return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + * + * @param channel + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse channel(ChannelEnum channel) { this.channel = channel; return this; } - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web**") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * company + * + * @param company + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse company(Company company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Company getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(Company company) { this.company = company; } - + /** + * The shopper's two-letter country code. + * + * @param countryCode + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * The shopper's two-letter country code. + /** + * The shopper's two-letter country code. * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper's two-letter country code.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper's two-letter country code. - * - * @param countryCode - */ + /** + * The shopper's two-letter country code. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. + * + * @param dateOfBirth + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse dateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. + /** + * The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param deliverAt - */ + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse deliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse enableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; return this; } - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). * @return enableOneClick - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition).") @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableOneClick() { return enableOneClick; } - - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). - * - * @param enableOneClick - */ + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + */ @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; } - + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse enablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. * @return enablePayOut - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be tokenized for payouts.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayOut() { return enablePayOut; } - - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. - * - * @param enablePayOut - */ + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse enableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. * @return enableRecurring - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments.") @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableRecurring() { return enableRecurring; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. - * - * @param enableRecurring - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + */ @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; } - + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + * + * @param expiresAt + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. * @return expiresAt - **/ + */ @ApiModelProperty(required = true, value = "The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. - * - * @param expiresAt - */ + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - + /** + * fundOrigin + * + * @param fundOrigin + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse fundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; return this; } - /** - * Get fundOrigin + /** + * fundOrigin * @return fundOrigin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundOrigin getFundOrigin() { return fundOrigin; } - - /** - * fundOrigin - * - * @param fundOrigin - */ + /** + * fundOrigin + * + * @param fundOrigin + */ @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; } - + /** + * fundRecipient + * + * @param fundRecipient + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse fundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; return this; } - /** - * Get fundRecipient + /** + * fundRecipient * @return fundRecipient - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundRecipient getFundRecipient() { return fundRecipient; } - - /** - * fundRecipient - * - * @param fundRecipient - */ + /** + * fundRecipient + * + * @param fundRecipient + */ @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; } - + /** + * A unique identifier of the session. + * + * @param id + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse id(String id) { this.id = id; return this; } - /** + /** * A unique identifier of the session. * @return id - **/ + */ @ApiModelProperty(required = true, value = "A unique identifier of the session.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * A unique identifier of the session. - * - * @param id - */ + /** + * A unique identifier of the session. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse installmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; return this; @@ -1266,31 +1341,34 @@ public CreateCheckoutSessionResponse putInstallmentOptionsItem(String key, Check return this; } - /** + /** * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. * @return installmentOptions - **/ + */ @ApiModelProperty(value = "A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getInstallmentOptions() { return installmentOptions; } - - /** - * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. - * - * @param installmentOptions - */ + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -1304,151 +1382,166 @@ public CreateCheckoutSessionResponse addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * mandate + * + * @param mandate + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse mandate(Mandate mandate) { this.mandate = mandate; return this; } - /** - * Get mandate + /** + * mandate * @return mandate - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Mandate getMandate() { return mandate; } - - /** - * mandate - * - * @param mandate - */ + /** + * mandate + * + * @param mandate + */ @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMandate(Mandate mandate) { this.mandate = mandate; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse metadata(Map metadata) { this.metadata = metadata; return this; @@ -1462,721 +1555,793 @@ public CreateCheckoutSessionResponse putMetadataItem(String key, String metadata return this; } - /** + /** * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration + * + * @param mode + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse mode(ModeEnum mode) { this.mode = mode; return this; } - /** + /** * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration * @return mode - **/ + */ @ApiModelProperty(value = "Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration") @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModeEnum getMode() { return mode; } - - /** - * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration - * - * @param mode - */ + /** + * Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration + * + * @param mode + */ @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMode(ModeEnum mode) { this.mode = mode; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse redirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting back from the issuer. * @return redirectFromIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting back from the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectFromIssuerMethod() { return redirectFromIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting back from the issuer. - * - * @param redirectFromIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; } - + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse redirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting to the issuer. * @return redirectToIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting to the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectToIssuerMethod() { return redirectToIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting to the issuer. - * - * @param redirectToIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; } - + /** + * The reference to uniquely identify a payment. + * + * @param reference + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference to uniquely identify a payment. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * @return returnUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. - * - * @param returnUrl - */ + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * riskData + * + * @param riskData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The payment session data you need to pass to your front end. + * + * @param sessionData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse sessionData(String sessionData) { this.sessionData = sessionData; return this; } - /** + /** * The payment session data you need to pass to your front end. * @return sessionData - **/ + */ @ApiModelProperty(value = "The payment session data you need to pass to your front end.") @JsonProperty(JSON_PROPERTY_SESSION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionData() { return sessionData; } - - /** - * The payment session data you need to pass to your front end. - * - * @param sessionData - */ + /** + * The payment session data you need to pass to your front end. + * + * @param sessionData + */ @JsonProperty(JSON_PROPERTY_SESSION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionData(String sessionData) { this.sessionData = sessionData; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * Set to true to show the payment amount per installment. + * + * @param showInstallmentAmount + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse showInstallmentAmount(Boolean showInstallmentAmount) { this.showInstallmentAmount = showInstallmentAmount; return this; } - /** + /** * Set to true to show the payment amount per installment. * @return showInstallmentAmount - **/ + */ @ApiModelProperty(value = "Set to true to show the payment amount per installment.") @JsonProperty(JSON_PROPERTY_SHOW_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowInstallmentAmount() { return showInstallmentAmount; } - - /** - * Set to true to show the payment amount per installment. - * - * @param showInstallmentAmount - */ + /** + * Set to true to show the payment amount per installment. + * + * @param showInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_SHOW_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowInstallmentAmount(Boolean showInstallmentAmount) { this.showInstallmentAmount = showInstallmentAmount; } - + /** + * Set to **true** to show a button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse showRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; return this; } - /** + /** * Set to **true** to show a button that lets the shopper remove a stored payment method. * @return showRemovePaymentMethodButton - **/ + */ @ApiModelProperty(value = "Set to **true** to show a button that lets the shopper remove a stored payment method.") @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowRemovePaymentMethodButton() { return showRemovePaymentMethodButton; } - - /** - * Set to **true** to show a button that lets the shopper remove a stored payment method. - * - * @param showRemovePaymentMethodButton - */ + /** + * Set to **true** to show a button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + */ @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse splitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; return this; } - /** + /** * Boolean value indicating whether the card payment method should be split into separate debit and credit options. * @return splitCardFundingSources - **/ + */ @ApiModelProperty(value = "Boolean value indicating whether the card payment method should be split into separate debit and credit options.") @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSplitCardFundingSources() { return splitCardFundingSources; } - - /** - * Boolean value indicating whether the card payment method should be split into separate debit and credit options. - * - * @param splitCardFundingSources - */ + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + */ @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; } - + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse splits(List splits) { this.splits = splits; return this; @@ -2190,267 +2355,297 @@ public CreateCheckoutSessionResponse addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse storeFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; return this; } - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. * @return storeFiltrationMode - **/ + */ @ApiModelProperty(value = "Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.") @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreFiltrationModeEnum getStoreFiltrationMode() { return storeFiltrationMode; } - - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - * - * @param storeFiltrationMode - */ + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + */ @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse storePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). * @return storePaymentMethod - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types).") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getStorePaymentMethod() { return storePaymentMethod; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). - * - * @param storePaymentMethod - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; } - + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + * + * @param storePaymentMethodMode + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse storePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; return this; } - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. * @return storePaymentMethodMode - **/ + */ @ApiModelProperty(value = "Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent.") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StorePaymentMethodModeEnum getStorePaymentMethodMode() { return storePaymentMethodMode; } - - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. - * - * @param storePaymentMethodMode - */ + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + * + * @param storePaymentMethodMode + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + * + * @param themeId + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse themeId(String themeId) { this.themeId = themeId; return this; } - /** - * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. * @return themeId - **/ + */ @ApiModelProperty(value = "Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area.") @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThemeId() { return themeId; } - - /** - * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. - * - * @param themeId - */ + /** + * Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. + * + * @param themeId + */ @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemeId(String themeId) { this.themeId = themeId; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse threeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutSessionThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public CreateCheckoutSessionResponse threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2458,67 +2653,72 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - + /** + * The URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment. + * + * @param url + * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method chaining + */ public CreateCheckoutSessionResponse url(String url) { this.url = url; return this; } - /** + /** * The URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment. * @return url - **/ + */ @ApiModelProperty(value = "The URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * The URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment. - * - * @param url - */ + /** + * The URL for the Hosted Checkout page. Redirect the shopper to this URL so they can make the payment. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this CreateCheckoutSessionResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CreateOrderRequest.java b/src/main/java/com/adyen/model/checkout/CreateOrderRequest.java index 0d3e53993..9477f3fba 100644 --- a/src/main/java/com/adyen/model/checkout/CreateOrderRequest.java +++ b/src/main/java/com/adyen/model/checkout/CreateOrderRequest.java @@ -54,126 +54,138 @@ public class CreateOrderRequest { public CreateOrderRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code CreateOrderRequest} instance, allowing for method chaining + */ public CreateOrderRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The date when the order should expire. If not provided, the default expiry duration is 1 day. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param expiresAt + * @return the current {@code CreateOrderRequest} instance, allowing for method chaining + */ public CreateOrderRequest expiresAt(String expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date when the order should expire. If not provided, the default expiry duration is 1 day. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The date when the order should expire. If not provided, the default expiry duration is 1 day. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiresAt() { return expiresAt; } - - /** - * The date when the order should expire. If not provided, the default expiry duration is 1 day. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param expiresAt - */ + /** + * The date when the order should expire. If not provided, the default expiry duration is 1 day. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(String expiresAt) { this.expiresAt = expiresAt; } - + /** + * The merchant account identifier, with which you want to process the order. + * + * @param merchantAccount + * @return the current {@code CreateOrderRequest} instance, allowing for method chaining + */ public CreateOrderRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the order. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the order.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the order. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the order. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * A custom reference identifying the order. + * + * @param reference + * @return the current {@code CreateOrderRequest} instance, allowing for method chaining + */ public CreateOrderRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * A custom reference identifying the order. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "A custom reference identifying the order.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A custom reference identifying the order. - * - * @param reference - */ + /** + * A custom reference identifying the order. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this CreateOrderRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/CreateOrderResponse.java b/src/main/java/com/adyen/model/checkout/CreateOrderResponse.java index 0c5e429fd..4cb4d6d23 100644 --- a/src/main/java/com/adyen/model/checkout/CreateOrderResponse.java +++ b/src/main/java/com/adyen/model/checkout/CreateOrderResponse.java @@ -115,6 +115,12 @@ public static ResultCodeEnum fromValue(String value) { public CreateOrderResponse() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -128,301 +134,325 @@ public CreateOrderResponse putAdditionalDataItem(String key, String additionalDa return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The date that the order will expire. + * + * @param expiresAt + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse expiresAt(String expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date that the order will expire. * @return expiresAt - **/ + */ @ApiModelProperty(required = true, value = "The date that the order will expire.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiresAt() { return expiresAt; } - - /** - * The date that the order will expire. - * - * @param expiresAt - */ + /** + * The date that the order will expire. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(String expiresAt) { this.expiresAt = expiresAt; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * The encrypted data that will be used by merchant for adding payments to the order. + * + * @param orderData + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse orderData(String orderData) { this.orderData = orderData; return this; } - /** + /** * The encrypted data that will be used by merchant for adding payments to the order. * @return orderData - **/ + */ @ApiModelProperty(required = true, value = "The encrypted data that will be used by merchant for adding payments to the order.") @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderData() { return orderData; } - - /** - * The encrypted data that will be used by merchant for adding payments to the order. - * - * @param orderData - */ + /** + * The encrypted data that will be used by merchant for adding payments to the order. + * + * @param orderData + */ @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderData(String orderData) { this.orderData = orderData; } - + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The reference provided by merchant for creating the order. + * + * @param reference + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference provided by merchant for creating the order. * @return reference - **/ + */ @ApiModelProperty(value = "The reference provided by merchant for creating the order.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference provided by merchant for creating the order. - * - * @param reference - */ + /** + * The reference provided by merchant for creating the order. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * remainingAmount + * + * @param remainingAmount + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse remainingAmount(Amount remainingAmount) { this.remainingAmount = remainingAmount; return this; } - /** - * Get remainingAmount + /** + * remainingAmount * @return remainingAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_REMAINING_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getRemainingAmount() { return remainingAmount; } - - /** - * remainingAmount - * - * @param remainingAmount - */ + /** + * remainingAmount + * + * @param remainingAmount + */ @JsonProperty(JSON_PROPERTY_REMAINING_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemainingAmount(Amount remainingAmount) { this.remainingAmount = remainingAmount; } - + /** + * The result of the order creation request. The value is always **Success**. + * + * @param resultCode + * @return the current {@code CreateOrderResponse} instance, allowing for method chaining + */ public CreateOrderResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The result of the order creation request. The value is always **Success**. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The result of the order creation request. The value is always **Success**.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the order creation request. The value is always **Success**. - * - * @param resultCode - */ + /** + * The result of the order creation request. The value is always **Success**. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - /** * Return true if this CreateOrderResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DeliveryAddress.java b/src/main/java/com/adyen/model/checkout/DeliveryAddress.java index 263ef5e3a..060d91d5e 100644 --- a/src/main/java/com/adyen/model/checkout/DeliveryAddress.java +++ b/src/main/java/com/adyen/model/checkout/DeliveryAddress.java @@ -69,246 +69,270 @@ public class DeliveryAddress { public DeliveryAddress() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * firstName + * + * @param firstName + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress firstName(String firstName) { this.firstName = firstName; return this; } - /** - * Get firstName + /** + * firstName * @return firstName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * firstName - * - * @param firstName - */ + /** + * firstName + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * lastName + * + * @param lastName + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress lastName(String lastName) { this.lastName = lastName; return this; } - /** - * Get lastName + /** + * lastName * @return lastName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * lastName - * - * @param lastName - */ + /** + * lastName + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this DeliveryAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DeliveryMethod.java b/src/main/java/com/adyen/model/checkout/DeliveryMethod.java index f72cae474..3a106eae7 100644 --- a/src/main/java/com/adyen/model/checkout/DeliveryMethod.java +++ b/src/main/java/com/adyen/model/checkout/DeliveryMethod.java @@ -91,156 +91,171 @@ public static TypeEnum fromValue(String value) { public DeliveryMethod() { } + /** + * amount + * + * @param amount + * @return the current {@code DeliveryMethod} instance, allowing for method chaining + */ public DeliveryMethod amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The name of the delivery method as shown to the shopper. + * + * @param description + * @return the current {@code DeliveryMethod} instance, allowing for method chaining + */ public DeliveryMethod description(String description) { this.description = description; return this; } - /** + /** * The name of the delivery method as shown to the shopper. * @return description - **/ + */ @ApiModelProperty(value = "The name of the delivery method as shown to the shopper.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The name of the delivery method as shown to the shopper. - * - * @param description - */ + /** + * The name of the delivery method as shown to the shopper. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The reference of the delivery method. + * + * @param reference + * @return the current {@code DeliveryMethod} instance, allowing for method chaining + */ public DeliveryMethod reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference of the delivery method. * @return reference - **/ + */ @ApiModelProperty(value = "The reference of the delivery method.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference of the delivery method. - * - * @param reference - */ + /** + * The reference of the delivery method. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. + * + * @param selected + * @return the current {@code DeliveryMethod} instance, allowing for method chaining + */ public DeliveryMethod selected(Boolean selected) { this.selected = selected; return this; } - /** + /** * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. * @return selected - **/ + */ @ApiModelProperty(value = "If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time.") @JsonProperty(JSON_PROPERTY_SELECTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSelected() { return selected; } - - /** - * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. - * - * @param selected - */ + /** + * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. + * + * @param selected + */ @JsonProperty(JSON_PROPERTY_SELECTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelected(Boolean selected) { this.selected = selected; } - + /** + * The type of the delivery method. + * + * @param type + * @return the current {@code DeliveryMethod} instance, allowing for method chaining + */ public DeliveryMethod type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the delivery method. * @return type - **/ + */ @ApiModelProperty(value = "The type of the delivery method.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the delivery method. - * - * @param type - */ + /** + * The type of the delivery method. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DeliveryMethod object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java b/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java index 672bd0a15..86673bd95 100644 --- a/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java +++ b/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java @@ -41,36 +41,39 @@ public class DetailsRequestAuthenticationData { public DetailsRequestAuthenticationData() { } + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. + * + * @param authenticationOnly + * @return the current {@code DetailsRequestAuthenticationData} instance, allowing for method chaining + */ public DetailsRequestAuthenticationData authenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. * @return authenticationOnly - **/ + */ @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthenticationOnly() { return authenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. - * - * @param authenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. + * + * @param authenticationOnly + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; } - /** * Return true if this DetailsRequestAuthenticationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java b/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java index 4d76fd71d..807dac9a5 100644 --- a/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java +++ b/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java @@ -125,36 +125,45 @@ public static SdkUiTypeEnum fromValue(String value) { public DeviceRenderOptions() { } + /** + * Supported SDK interface types. Allowed values: * native * html * both + * + * @param sdkInterface + * @return the current {@code DeviceRenderOptions} instance, allowing for method chaining + */ public DeviceRenderOptions sdkInterface(SdkInterfaceEnum sdkInterface) { this.sdkInterface = sdkInterface; return this; } - /** + /** * Supported SDK interface types. Allowed values: * native * html * both * @return sdkInterface - **/ + */ @ApiModelProperty(value = "Supported SDK interface types. Allowed values: * native * html * both") @JsonProperty(JSON_PROPERTY_SDK_INTERFACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SdkInterfaceEnum getSdkInterface() { return sdkInterface; } - - /** - * Supported SDK interface types. Allowed values: * native * html * both - * - * @param sdkInterface - */ + /** + * Supported SDK interface types. Allowed values: * native * html * both + * + * @param sdkInterface + */ @JsonProperty(JSON_PROPERTY_SDK_INTERFACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkInterface(SdkInterfaceEnum sdkInterface) { this.sdkInterface = sdkInterface; } - + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + * + * @param sdkUiType + * @return the current {@code DeviceRenderOptions} instance, allowing for method chaining + */ public DeviceRenderOptions sdkUiType(List sdkUiType) { this.sdkUiType = sdkUiType; return this; @@ -168,31 +177,28 @@ public DeviceRenderOptions addSdkUiTypeItem(SdkUiTypeEnum sdkUiTypeItem) { return this; } - /** + /** * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect * @return sdkUiType - **/ + */ @ApiModelProperty(value = "UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect") @JsonProperty(JSON_PROPERTY_SDK_UI_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSdkUiType() { return sdkUiType; } - - /** - * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect - * - * @param sdkUiType - */ + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + * + * @param sdkUiType + */ @JsonProperty(JSON_PROPERTY_SDK_UI_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkUiType(List sdkUiType) { this.sdkUiType = sdkUiType; } - /** * Return true if this DeviceRenderOptions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DokuDetails.java b/src/main/java/com/adyen/model/checkout/DokuDetails.java index d7ebea50f..5b35e31ac 100644 --- a/src/main/java/com/adyen/model/checkout/DokuDetails.java +++ b/src/main/java/com/adyen/model/checkout/DokuDetails.java @@ -110,156 +110,171 @@ public static TypeEnum fromValue(String value) { public DokuDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code DokuDetails} instance, allowing for method chaining + */ public DokuDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The shopper's first name. + * + * @param firstName + * @return the current {@code DokuDetails} instance, allowing for method chaining + */ public DokuDetails firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The shopper's first name. + /** + * The shopper's first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The shopper's first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The shopper's first name. - * - * @param firstName - */ + /** + * The shopper's first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The shopper's last name. + * + * @param lastName + * @return the current {@code DokuDetails} instance, allowing for method chaining + */ public DokuDetails lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The shopper's last name. + /** + * The shopper's last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The shopper's last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The shopper's last name. - * - * @param lastName - */ + /** + * The shopper's last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * The shopper's email. + * + * @param shopperEmail + * @return the current {@code DokuDetails} instance, allowing for method chaining + */ public DokuDetails shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email. + /** + * The shopper's email. * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "The shopper's email.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email. - * - * @param shopperEmail - */ + /** + * The shopper's email. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * **doku** + * + * @param type + * @return the current {@code DokuDetails} instance, allowing for method chaining + */ public DokuDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **doku** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**doku**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **doku** - * - * @param type - */ + /** + * **doku** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DokuDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Donation.java b/src/main/java/com/adyen/model/checkout/Donation.java index 1793a6c19..5f5750cff 100644 --- a/src/main/java/com/adyen/model/checkout/Donation.java +++ b/src/main/java/com/adyen/model/checkout/Donation.java @@ -55,96 +55,111 @@ public class Donation { public Donation() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + * @return the current {@code Donation} instance, allowing for method chaining + */ public Donation currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from. + * + * @param donationType + * @return the current {@code Donation} instance, allowing for method chaining + */ public Donation donationType(String donationType) { this.donationType = donationType; return this; } - /** + /** * The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from. * @return donationType - **/ + */ @ApiModelProperty(required = true, value = "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from.") @JsonProperty(JSON_PROPERTY_DONATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationType() { return donationType; } - - /** - * The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from. - * - * @param donationType - */ + /** + * The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from. + * + * @param donationType + */ @JsonProperty(JSON_PROPERTY_DONATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationType(String donationType) { this.donationType = donationType; } - + /** + * The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**. + * + * @param maxRoundupAmount + * @return the current {@code Donation} instance, allowing for method chaining + */ public Donation maxRoundupAmount(Long maxRoundupAmount) { this.maxRoundupAmount = maxRoundupAmount; return this; } - /** - * The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**. + /** + * The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**. * @return maxRoundupAmount - **/ + */ @ApiModelProperty(value = "The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**.") @JsonProperty(JSON_PROPERTY_MAX_ROUNDUP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getMaxRoundupAmount() { return maxRoundupAmount; } - - /** - * The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**. - * - * @param maxRoundupAmount - */ + /** + * The maximum amount a transaction can be rounded up to make a donation. This field is only present when `donationType` is **roundup**. + * + * @param maxRoundupAmount + */ @JsonProperty(JSON_PROPERTY_MAX_ROUNDUP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxRoundupAmount(Long maxRoundupAmount) { this.maxRoundupAmount = maxRoundupAmount; } - + /** + * The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. + * + * @param values + * @return the current {@code Donation} instance, allowing for method chaining + */ public Donation values(List values) { this.values = values; return this; @@ -158,31 +173,28 @@ public Donation addValuesItem(Long valuesItem) { return this; } - /** - * The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. + /** + * The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. * @return values - **/ + */ @ApiModelProperty(value = "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.") @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValues() { return values; } - - /** - * The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. - * - * @param values - */ + /** + * The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. + * + * @param values + */ @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValues(List values) { this.values = values; } - /** * Return true if this Donation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DonationCampaign.java b/src/main/java/com/adyen/model/checkout/DonationCampaign.java index 8ced73aab..0d25d9810 100644 --- a/src/main/java/com/adyen/model/checkout/DonationCampaign.java +++ b/src/main/java/com/adyen/model/checkout/DonationCampaign.java @@ -83,336 +83,369 @@ public class DonationCampaign { public DonationCampaign() { } + /** + * amounts + * + * @param amounts + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign amounts(Amounts amounts) { this.amounts = amounts; return this; } - /** - * Get amounts + /** + * amounts * @return amounts - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amounts getAmounts() { return amounts; } - - /** - * amounts - * - * @param amounts - */ + /** + * amounts + * + * @param amounts + */ @JsonProperty(JSON_PROPERTY_AMOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmounts(Amounts amounts) { this.amounts = amounts; } - + /** + * The URL for the banner of the nonprofit or campaign. + * + * @param bannerUrl + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign bannerUrl(String bannerUrl) { this.bannerUrl = bannerUrl; return this; } - /** + /** * The URL for the banner of the nonprofit or campaign. * @return bannerUrl - **/ + */ @ApiModelProperty(value = "The URL for the banner of the nonprofit or campaign.") @JsonProperty(JSON_PROPERTY_BANNER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBannerUrl() { return bannerUrl; } - - /** - * The URL for the banner of the nonprofit or campaign. - * - * @param bannerUrl - */ + /** + * The URL for the banner of the nonprofit or campaign. + * + * @param bannerUrl + */ @JsonProperty(JSON_PROPERTY_BANNER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBannerUrl(String bannerUrl) { this.bannerUrl = bannerUrl; } - + /** + * The name of the donation campaign.. + * + * @param campaignName + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign campaignName(String campaignName) { this.campaignName = campaignName; return this; } - /** + /** * The name of the donation campaign.. * @return campaignName - **/ + */ @ApiModelProperty(value = "The name of the donation campaign..") @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCampaignName() { return campaignName; } - - /** - * The name of the donation campaign.. - * - * @param campaignName - */ + /** + * The name of the donation campaign.. + * + * @param campaignName + */ @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignName(String campaignName) { this.campaignName = campaignName; } - + /** + * The cause of the nonprofit. + * + * @param causeName + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign causeName(String causeName) { this.causeName = causeName; return this; } - /** + /** * The cause of the nonprofit. * @return causeName - **/ + */ @ApiModelProperty(value = "The cause of the nonprofit.") @JsonProperty(JSON_PROPERTY_CAUSE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCauseName() { return causeName; } - - /** - * The cause of the nonprofit. - * - * @param causeName - */ + /** + * The cause of the nonprofit. + * + * @param causeName + */ @JsonProperty(JSON_PROPERTY_CAUSE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCauseName(String causeName) { this.causeName = causeName; } - + /** + * donation + * + * @param donation + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign donation(Donation donation) { this.donation = donation; return this; } - /** - * Get donation + /** + * donation * @return donation - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DONATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Donation getDonation() { return donation; } - - /** - * donation - * - * @param donation - */ + /** + * donation + * + * @param donation + */ @JsonProperty(JSON_PROPERTY_DONATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonation(Donation donation) { this.donation = donation; } - + /** + * The unique campaign ID of the donation campaign. + * + * @param id + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign id(String id) { this.id = id; return this; } - /** + /** * The unique campaign ID of the donation campaign. * @return id - **/ + */ @ApiModelProperty(value = "The unique campaign ID of the donation campaign.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique campaign ID of the donation campaign. - * - * @param id - */ + /** + * The unique campaign ID of the donation campaign. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The URL for the logo of the nonprofit. + * + * @param logoUrl + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign logoUrl(String logoUrl) { this.logoUrl = logoUrl; return this; } - /** + /** * The URL for the logo of the nonprofit. * @return logoUrl - **/ + */ @ApiModelProperty(value = "The URL for the logo of the nonprofit.") @JsonProperty(JSON_PROPERTY_LOGO_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogoUrl() { return logoUrl; } - - /** - * The URL for the logo of the nonprofit. - * - * @param logoUrl - */ + /** + * The URL for the logo of the nonprofit. + * + * @param logoUrl + */ @JsonProperty(JSON_PROPERTY_LOGO_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogoUrl(String logoUrl) { this.logoUrl = logoUrl; } - + /** + * The description of the nonprofit. + * + * @param nonprofitDescription + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign nonprofitDescription(String nonprofitDescription) { this.nonprofitDescription = nonprofitDescription; return this; } - /** + /** * The description of the nonprofit. * @return nonprofitDescription - **/ + */ @ApiModelProperty(value = "The description of the nonprofit.") @JsonProperty(JSON_PROPERTY_NONPROFIT_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNonprofitDescription() { return nonprofitDescription; } - - /** - * The description of the nonprofit. - * - * @param nonprofitDescription - */ + /** + * The description of the nonprofit. + * + * @param nonprofitDescription + */ @JsonProperty(JSON_PROPERTY_NONPROFIT_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNonprofitDescription(String nonprofitDescription) { this.nonprofitDescription = nonprofitDescription; } - + /** + * The name of the nonprofit organization that receives the donation. + * + * @param nonprofitName + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign nonprofitName(String nonprofitName) { this.nonprofitName = nonprofitName; return this; } - /** + /** * The name of the nonprofit organization that receives the donation. * @return nonprofitName - **/ + */ @ApiModelProperty(value = "The name of the nonprofit organization that receives the donation.") @JsonProperty(JSON_PROPERTY_NONPROFIT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNonprofitName() { return nonprofitName; } - - /** - * The name of the nonprofit organization that receives the donation. - * - * @param nonprofitName - */ + /** + * The name of the nonprofit organization that receives the donation. + * + * @param nonprofitName + */ @JsonProperty(JSON_PROPERTY_NONPROFIT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNonprofitName(String nonprofitName) { this.nonprofitName = nonprofitName; } - + /** + * The website URL of the nonprofit. + * + * @param nonprofitUrl + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign nonprofitUrl(String nonprofitUrl) { this.nonprofitUrl = nonprofitUrl; return this; } - /** + /** * The website URL of the nonprofit. * @return nonprofitUrl - **/ + */ @ApiModelProperty(value = "The website URL of the nonprofit.") @JsonProperty(JSON_PROPERTY_NONPROFIT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNonprofitUrl() { return nonprofitUrl; } - - /** - * The website URL of the nonprofit. - * - * @param nonprofitUrl - */ + /** + * The website URL of the nonprofit. + * + * @param nonprofitUrl + */ @JsonProperty(JSON_PROPERTY_NONPROFIT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNonprofitUrl(String nonprofitUrl) { this.nonprofitUrl = nonprofitUrl; } - + /** + * The URL of the terms and conditions page of the nonprofit and the campaign. + * + * @param termsAndConditionsUrl + * @return the current {@code DonationCampaign} instance, allowing for method chaining + */ public DonationCampaign termsAndConditionsUrl(String termsAndConditionsUrl) { this.termsAndConditionsUrl = termsAndConditionsUrl; return this; } - /** + /** * The URL of the terms and conditions page of the nonprofit and the campaign. * @return termsAndConditionsUrl - **/ + */ @ApiModelProperty(value = "The URL of the terms and conditions page of the nonprofit and the campaign.") @JsonProperty(JSON_PROPERTY_TERMS_AND_CONDITIONS_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTermsAndConditionsUrl() { return termsAndConditionsUrl; } - - /** - * The URL of the terms and conditions page of the nonprofit and the campaign. - * - * @param termsAndConditionsUrl - */ + /** + * The URL of the terms and conditions page of the nonprofit and the campaign. + * + * @param termsAndConditionsUrl + */ @JsonProperty(JSON_PROPERTY_TERMS_AND_CONDITIONS_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsAndConditionsUrl(String termsAndConditionsUrl) { this.termsAndConditionsUrl = termsAndConditionsUrl; } - /** * Return true if this DonationCampaign object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DonationCampaignsRequest.java b/src/main/java/com/adyen/model/checkout/DonationCampaignsRequest.java index fee292d14..291c3ff50 100644 --- a/src/main/java/com/adyen/model/checkout/DonationCampaignsRequest.java +++ b/src/main/java/com/adyen/model/checkout/DonationCampaignsRequest.java @@ -49,96 +49,105 @@ public class DonationCampaignsRequest { public DonationCampaignsRequest() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + * @return the current {@code DonationCampaignsRequest} instance, allowing for method chaining + */ public DonationCampaignsRequest currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Locale on the shopper interaction device. + * + * @param locale + * @return the current {@code DonationCampaignsRequest} instance, allowing for method chaining + */ public DonationCampaignsRequest locale(String locale) { this.locale = locale; return this; } - /** + /** * Locale on the shopper interaction device. * @return locale - **/ + */ @ApiModelProperty(value = "Locale on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLocale() { return locale; } - - /** - * Locale on the shopper interaction device. - * - * @param locale - */ + /** + * Locale on the shopper interaction device. + * + * @param locale + */ @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocale(String locale) { this.locale = locale; } - + /** + * Your merchant account identifier. + * + * @param merchantAccount + * @return the current {@code DonationCampaignsRequest} instance, allowing for method chaining + */ public DonationCampaignsRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * Your merchant account identifier. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "Your merchant account identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * Your merchant account identifier. - * - * @param merchantAccount - */ + /** + * Your merchant account identifier. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - /** * Return true if this DonationCampaignsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DonationCampaignsResponse.java b/src/main/java/com/adyen/model/checkout/DonationCampaignsResponse.java index 5854f9512..7d7bf0e3c 100644 --- a/src/main/java/com/adyen/model/checkout/DonationCampaignsResponse.java +++ b/src/main/java/com/adyen/model/checkout/DonationCampaignsResponse.java @@ -44,6 +44,12 @@ public class DonationCampaignsResponse { public DonationCampaignsResponse() { } + /** + * List of active donation campaigns for your merchant account. + * + * @param donationCampaigns + * @return the current {@code DonationCampaignsResponse} instance, allowing for method chaining + */ public DonationCampaignsResponse donationCampaigns(List donationCampaigns) { this.donationCampaigns = donationCampaigns; return this; @@ -57,31 +63,28 @@ public DonationCampaignsResponse addDonationCampaignsItem(DonationCampaign donat return this; } - /** + /** * List of active donation campaigns for your merchant account. * @return donationCampaigns - **/ + */ @ApiModelProperty(value = "List of active donation campaigns for your merchant account.") @JsonProperty(JSON_PROPERTY_DONATION_CAMPAIGNS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDonationCampaigns() { return donationCampaigns; } - - /** - * List of active donation campaigns for your merchant account. - * - * @param donationCampaigns - */ + /** + * List of active donation campaigns for your merchant account. + * + * @param donationCampaigns + */ @JsonProperty(JSON_PROPERTY_DONATION_CAMPAIGNS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationCampaigns(List donationCampaigns) { this.donationCampaigns = donationCampaigns; } - /** * Return true if this DonationCampaignsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java index fb54f173b..3aeb806a2 100644 --- a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java @@ -159,7 +159,7 @@ public static ChannelEnum fromValue(String value) { private String checkoutAttemptId; public static final String JSON_PROPERTY_CONVERSION_ID = "conversionId"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `checkoutAttemptId` instead private String conversionId; public static final String JSON_PROPERTY_COUNTRY_CODE = "countryCode"; @@ -332,42 +332,51 @@ public static ShopperInteractionEnum fromValue(String value) { private ThreeDS2RequestFields threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public DonationPaymentRequest() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -381,267 +390,297 @@ public DonationPaymentRequest putAdditionalDataItem(String key, String additiona return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * authenticationData + * + * @param authenticationData + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest authenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; return this; } - /** - * Get authenticationData + /** + * authenticationData * @return authenticationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationData getAuthenticationData() { return authenticationData; } - - /** - * authenticationData - * - * @param authenticationData - */ + /** + * authenticationData + * + * @param authenticationData + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest billingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddress getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest channel(ChannelEnum channel) { this.channel = channel; return this; } - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param checkoutAttemptId - */ + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated public DonationPaymentRequest conversionId(String conversionId) { this.conversionId = conversionId; return this; } - /** + /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return conversionId - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @ApiModelProperty(value = "Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConversionId() { return conversionId; } - - /** - * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param conversionId - */ + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -649,277 +688,309 @@ public void setConversionId(String conversionId) { this.conversionId = conversionId; } - + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** + /** * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE - * - * @param countryCode - */ + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest dateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliverAt + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliverAt - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest deliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * Donation account to which the transaction is credited. + * + * @param donationAccount + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest donationAccount(String donationAccount) { this.donationAccount = donationAccount; return this; } - /** + /** * Donation account to which the transaction is credited. * @return donationAccount - **/ + */ @ApiModelProperty(value = "Donation account to which the transaction is credited.") @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationAccount() { return donationAccount; } - - /** - * Donation account to which the transaction is credited. - * - * @param donationAccount - */ + /** + * Donation account to which the transaction is credited. + * + * @param donationAccount + */ @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationAccount(String donationAccount) { this.donationAccount = donationAccount; } - + /** + * The donation campaign ID received in the `/donationCampaigns` call. + * + * @param donationCampaignId + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest donationCampaignId(String donationCampaignId) { this.donationCampaignId = donationCampaignId; return this; } - /** - * The donation campaign ID received in the `/donationCampaigns` call. + /** + * The donation campaign ID received in the `/donationCampaigns` call. * @return donationCampaignId - **/ + */ @ApiModelProperty(value = "The donation campaign ID received in the `/donationCampaigns` call.") @JsonProperty(JSON_PROPERTY_DONATION_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationCampaignId() { return donationCampaignId; } - - /** - * The donation campaign ID received in the `/donationCampaigns` call. - * - * @param donationCampaignId - */ + /** + * The donation campaign ID received in the `/donationCampaigns` call. + * + * @param donationCampaignId + */ @JsonProperty(JSON_PROPERTY_DONATION_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationCampaignId(String donationCampaignId) { this.donationCampaignId = donationCampaignId; } - + /** + * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. + * + * @param donationOriginalPspReference + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest donationOriginalPspReference(String donationOriginalPspReference) { this.donationOriginalPspReference = donationOriginalPspReference; return this; } - /** - * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. + /** + * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. * @return donationOriginalPspReference - **/ + */ @ApiModelProperty(value = "PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided.") @JsonProperty(JSON_PROPERTY_DONATION_ORIGINAL_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationOriginalPspReference() { return donationOriginalPspReference; } - - /** - * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. - * - * @param donationOriginalPspReference - */ + /** + * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. + * + * @param donationOriginalPspReference + */ @JsonProperty(JSON_PROPERTY_DONATION_ORIGINAL_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationOriginalPspReference(String donationOriginalPspReference) { this.donationOriginalPspReference = donationOriginalPspReference; } - + /** + * Donation token received in the `/payments` call. + * + * @param donationToken + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest donationToken(String donationToken) { this.donationToken = donationToken; return this; } - /** - * Donation token received in the `/payments` call. + /** + * Donation token received in the `/payments` call. * @return donationToken - **/ + */ @ApiModelProperty(value = "Donation token received in the `/payments` call.") @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationToken() { return donationToken; } - - /** - * Donation token received in the `/payments` call. - * - * @param donationToken - */ + /** + * Donation token received in the `/payments` call. + * + * @param donationToken + */ @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationToken(String donationToken) { this.donationToken = donationToken; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -933,91 +1004,100 @@ public DonationPaymentRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -1031,597 +1111,660 @@ public DonationPaymentRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * + * @param origin + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest origin(String origin) { this.origin = origin; return this; } - /** - * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. * @return origin - **/ + */ @ApiModelProperty(value = "Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from.") @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrigin() { return origin; } - - /** - * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. - * - * @param origin - */ + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * + * @param origin + */ @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrigin(String origin) { this.origin = origin; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest paymentMethod(DonationPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DonationPaymentMethod getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(DonationPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest redirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting back from the issuer. * @return redirectFromIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting back from the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectFromIssuerMethod() { return redirectFromIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting back from the issuer. - * - * @param redirectFromIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; } - + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest redirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting to the issuer. * @return redirectToIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting to the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectToIssuerMethod() { return redirectToIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting to the issuer. - * - * @param redirectToIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * @return returnUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. - * - * @param returnUrl - */ + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest sessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; return this; } - /** + /** * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 * @return sessionValidity - **/ + */ @ApiModelProperty(value = "The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionValidity() { return sessionValidity; } - - /** - * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 - * - * @param sessionValidity - */ + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + */ @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + */ public DonationPaymentRequest threeDS2RequestData(ThreeDS2RequestFields threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestFields getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestFields threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public DonationPaymentRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1629,7 +1772,6 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - /** * Return true if this DonationPaymentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DonationPaymentResponse.java b/src/main/java/com/adyen/model/checkout/DonationPaymentResponse.java index 753136232..e802eb4e9 100644 --- a/src/main/java/com/adyen/model/checkout/DonationPaymentResponse.java +++ b/src/main/java/com/adyen/model/checkout/DonationPaymentResponse.java @@ -104,216 +104,237 @@ public static StatusEnum fromValue(String value) { public DonationPaymentResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding). + * + * @param donationAccount + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse donationAccount(String donationAccount) { this.donationAccount = donationAccount; return this; } - /** + /** * The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding). * @return donationAccount - **/ + */ @ApiModelProperty(value = "The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding).") @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationAccount() { return donationAccount; } - - /** - * The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding). - * - * @param donationAccount - */ + /** + * The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding). + * + * @param donationAccount + */ @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationAccount(String donationAccount) { this.donationAccount = donationAccount; } - + /** + * Your unique resource identifier. + * + * @param id + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse id(String id) { this.id = id; return this; } - /** + /** * Your unique resource identifier. * @return id - **/ + */ @ApiModelProperty(value = "Your unique resource identifier.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Your unique resource identifier. - * - * @param id - */ + /** + * Your unique resource identifier. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * payment + * + * @param payment + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse payment(PaymentResponse payment) { this.payment = payment; return this; } - /** - * Get payment + /** + * payment * @return payment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentResponse getPayment() { return payment; } - - /** - * payment - * - * @param payment - */ + /** + * payment + * + * @param payment + */ @JsonProperty(JSON_PROPERTY_PAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayment(PaymentResponse payment) { this.payment = payment; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** + * + * @param status + * @return the current {@code DonationPaymentResponse} instance, allowing for method chaining + */ public DonationPaymentResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** * @return status - **/ + */ @ApiModelProperty(value = "The status of the donation transaction. Possible values: * **completed** * **pending** * **refused**") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** - * - * @param status - */ + /** + * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this DonationPaymentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DotpayDetails.java b/src/main/java/com/adyen/model/checkout/DotpayDetails.java index 372699f1d..754332dcf 100644 --- a/src/main/java/com/adyen/model/checkout/DotpayDetails.java +++ b/src/main/java/com/adyen/model/checkout/DotpayDetails.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public DotpayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code DotpayDetails} instance, allowing for method chaining + */ public DotpayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it. + * + * @param issuer + * @return the current {@code DotpayDetails} instance, allowing for method chaining + */ public DotpayDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it. + /** + * The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it. * @return issuer - **/ + */ @ApiModelProperty(required = true, value = "The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it. - * - * @param issuer - */ + /** + * The Dotpay issuer value of the shopper's selected bank. Set this to an **id** of a Dotpay issuer to preselect it. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * **dotpay** + * + * @param type + * @return the current {@code DotpayDetails} instance, allowing for method chaining + */ public DotpayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dotpay** * @return type - **/ + */ @ApiModelProperty(value = "**dotpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dotpay** - * - * @param type - */ + /** + * **dotpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DotpayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/DragonpayDetails.java b/src/main/java/com/adyen/model/checkout/DragonpayDetails.java index d5bf80d2d..223dec440 100644 --- a/src/main/java/com/adyen/model/checkout/DragonpayDetails.java +++ b/src/main/java/com/adyen/model/checkout/DragonpayDetails.java @@ -92,126 +92,138 @@ public static TypeEnum fromValue(String value) { public DragonpayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code DragonpayDetails} instance, allowing for method chaining + */ public DragonpayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. + * + * @param issuer + * @return the current {@code DragonpayDetails} instance, allowing for method chaining + */ public DragonpayDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. + /** + * The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. * @return issuer - **/ + */ @ApiModelProperty(required = true, value = "The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. - * - * @param issuer - */ + /** + * The Dragonpay issuer value of the shopper's selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * The shopper’s email address. + * + * @param shopperEmail + * @return the current {@code DragonpayDetails} instance, allowing for method chaining + */ public DragonpayDetails shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The shopper’s email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper’s email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper’s email address. - * - * @param shopperEmail - */ + /** + * The shopper’s email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * **dragonpay** + * + * @param type + * @return the current {@code DragonpayDetails} instance, allowing for method chaining + */ public DragonpayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dragonpay** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**dragonpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dragonpay** - * - * @param type - */ + /** + * **dragonpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DragonpayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/EcontextVoucherDetails.java b/src/main/java/com/adyen/model/checkout/EcontextVoucherDetails.java index f83cc22be..12d844911 100644 --- a/src/main/java/com/adyen/model/checkout/EcontextVoucherDetails.java +++ b/src/main/java/com/adyen/model/checkout/EcontextVoucherDetails.java @@ -102,186 +102,204 @@ public static TypeEnum fromValue(String value) { public EcontextVoucherDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The shopper's first name. + * + * @param firstName + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The shopper's first name. + /** + * The shopper's first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The shopper's first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The shopper's first name. - * - * @param firstName - */ + /** + * The shopper's first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The shopper's last name. + * + * @param lastName + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The shopper's last name. + /** + * The shopper's last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The shopper's last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The shopper's last name. - * - * @param lastName - */ + /** + * The shopper's last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * The shopper's email. + * + * @param shopperEmail + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email. + /** + * The shopper's email. * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "The shopper's email.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email. - * - * @param shopperEmail - */ + /** + * The shopper's email. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted. + * + * @param telephoneNumber + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted. + /** + * The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted. * @return telephoneNumber - **/ + */ @ApiModelProperty(required = true, value = "The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted. - * - * @param telephoneNumber - */ + /** + * The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * **econtextvoucher** + * + * @param type + * @return the current {@code EcontextVoucherDetails} instance, allowing for method chaining + */ public EcontextVoucherDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **econtextvoucher** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**econtextvoucher**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **econtextvoucher** - * - * @param type - */ + /** + * **econtextvoucher** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this EcontextVoucherDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/EftDetails.java b/src/main/java/com/adyen/model/checkout/EftDetails.java index f2dcd7576..6d3e76765 100644 --- a/src/main/java/com/adyen/model/checkout/EftDetails.java +++ b/src/main/java/com/adyen/model/checkout/EftDetails.java @@ -58,7 +58,7 @@ public class EftDetails { private String ownerName; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -103,182 +103,209 @@ public static TypeEnum fromValue(String value) { public EftDetails() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The financial institution code. + * + * @param bankCode + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The financial institution code. * @return bankCode - **/ + */ @ApiModelProperty(value = "The financial institution code.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The financial institution code. - * - * @param bankCode - */ + /** + * The financial institution code. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * The bank routing number of the account. + * + * @param bankLocationId + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** + /** * The bank routing number of the account. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The bank routing number of the account.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The bank routing number of the account. - * - * @param bankLocationId - */ + /** + * The bank routing number of the account. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code EftDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public EftDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -286,67 +313,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **eft** + * + * @param type + * @return the current {@code EftDetails} instance, allowing for method chaining + */ public EftDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **eft** * @return type - **/ + */ @ApiModelProperty(value = "**eft**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **eft** - * - * @param type - */ + /** + * **eft** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this EftDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/EncryptedOrderData.java b/src/main/java/com/adyen/model/checkout/EncryptedOrderData.java index 88ef34013..bece431ed 100644 --- a/src/main/java/com/adyen/model/checkout/EncryptedOrderData.java +++ b/src/main/java/com/adyen/model/checkout/EncryptedOrderData.java @@ -45,66 +45,72 @@ public class EncryptedOrderData { public EncryptedOrderData() { } + /** + * The encrypted order data. + * + * @param orderData + * @return the current {@code EncryptedOrderData} instance, allowing for method chaining + */ public EncryptedOrderData orderData(String orderData) { this.orderData = orderData; return this; } - /** + /** * The encrypted order data. * @return orderData - **/ + */ @ApiModelProperty(required = true, value = "The encrypted order data.") @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderData() { return orderData; } - - /** - * The encrypted order data. - * - * @param orderData - */ + /** + * The encrypted order data. + * + * @param orderData + */ @JsonProperty(JSON_PROPERTY_ORDER_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderData(String orderData) { this.orderData = orderData; } - + /** + * The `pspReference` that belongs to the order. + * + * @param pspReference + * @return the current {@code EncryptedOrderData} instance, allowing for method chaining + */ public EncryptedOrderData pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * The `pspReference` that belongs to the order. + /** + * The `pspReference` that belongs to the order. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "The `pspReference` that belongs to the order.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The `pspReference` that belongs to the order. - * - * @param pspReference - */ + /** + * The `pspReference` that belongs to the order. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this EncryptedOrderData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ExternalPlatform.java b/src/main/java/com/adyen/model/checkout/ExternalPlatform.java index e70e20393..6dd9d7074 100644 --- a/src/main/java/com/adyen/model/checkout/ExternalPlatform.java +++ b/src/main/java/com/adyen/model/checkout/ExternalPlatform.java @@ -49,96 +49,105 @@ public class ExternalPlatform { public ExternalPlatform() { } + /** + * External platform integrator. + * + * @param integrator + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform integrator(String integrator) { this.integrator = integrator; return this; } - /** + /** * External platform integrator. * @return integrator - **/ + */ @ApiModelProperty(value = "External platform integrator.") @JsonProperty(JSON_PROPERTY_INTEGRATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIntegrator() { return integrator; } - - /** - * External platform integrator. - * - * @param integrator - */ + /** + * External platform integrator. + * + * @param integrator + */ @JsonProperty(JSON_PROPERTY_INTEGRATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIntegrator(String integrator) { this.integrator = integrator; } - + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform name(String name) { this.name = name; return this; } - /** + /** * Name of the field. For example, Name of External Platform. * @return name - **/ + */ @ApiModelProperty(value = "Name of the field. For example, Name of External Platform.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Name of the field. For example, Name of External Platform. - * - * @param name - */ + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform version(String version) { this.version = version; return this; } - /** + /** * Version of the field. For example, Version of External Platform. * @return version - **/ + */ @ApiModelProperty(value = "Version of the field. For example, Version of External Platform.") @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVersion() { return version; } - - /** - * Version of the field. For example, Version of External Platform. - * - * @param version - */ + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + */ @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersion(String version) { this.version = version; } - /** * Return true if this ExternalPlatform object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ForexQuote.java b/src/main/java/com/adyen/model/checkout/ForexQuote.java index 13a60c2b5..17116fd4b 100644 --- a/src/main/java/com/adyen/model/checkout/ForexQuote.java +++ b/src/main/java/com/adyen/model/checkout/ForexQuote.java @@ -87,366 +87,402 @@ public class ForexQuote { public ForexQuote() { } + /** + * The account name. + * + * @param account + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote account(String account) { this.account = account; return this; } - /** + /** * The account name. * @return account - **/ + */ @ApiModelProperty(value = "The account name.") @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccount() { return account; } - - /** - * The account name. - * - * @param account - */ + /** + * The account name. + * + * @param account + */ @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccount(String account) { this.account = account; } - + /** + * The account type. + * + * @param accountType + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote accountType(String accountType) { this.accountType = accountType; return this; } - /** + /** * The account type. * @return accountType - **/ + */ @ApiModelProperty(value = "The account type.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountType() { return accountType; } - - /** - * The account type. - * - * @param accountType - */ + /** + * The account type. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(String accountType) { this.accountType = accountType; } - + /** + * baseAmount + * + * @param baseAmount + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote baseAmount(Amount baseAmount) { this.baseAmount = baseAmount; return this; } - /** - * Get baseAmount + /** + * baseAmount * @return baseAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getBaseAmount() { return baseAmount; } - - /** - * baseAmount - * - * @param baseAmount - */ + /** + * baseAmount + * + * @param baseAmount + */ @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBaseAmount(Amount baseAmount) { this.baseAmount = baseAmount; } - + /** + * The base points. + * + * @param basePoints + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote basePoints(Integer basePoints) { this.basePoints = basePoints; return this; } - /** + /** * The base points. * @return basePoints - **/ + */ @ApiModelProperty(required = true, value = "The base points.") @JsonProperty(JSON_PROPERTY_BASE_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasePoints() { return basePoints; } - - /** - * The base points. - * - * @param basePoints - */ + /** + * The base points. + * + * @param basePoints + */ @JsonProperty(JSON_PROPERTY_BASE_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasePoints(Integer basePoints) { this.basePoints = basePoints; } - + /** + * buy + * + * @param buy + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote buy(Amount buy) { this.buy = buy; return this; } - /** - * Get buy + /** + * buy * @return buy - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BUY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getBuy() { return buy; } - - /** - * buy - * - * @param buy - */ + /** + * buy + * + * @param buy + */ @JsonProperty(JSON_PROPERTY_BUY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBuy(Amount buy) { this.buy = buy; } - + /** + * interbank + * + * @param interbank + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote interbank(Amount interbank) { this.interbank = interbank; return this; } - /** - * Get interbank + /** + * interbank * @return interbank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERBANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getInterbank() { return interbank; } - - /** - * interbank - * - * @param interbank - */ + /** + * interbank + * + * @param interbank + */ @JsonProperty(JSON_PROPERTY_INTERBANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterbank(Amount interbank) { this.interbank = interbank; } - + /** + * The reference assigned to the forex quote request. + * + * @param reference + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference assigned to the forex quote request. * @return reference - **/ + */ @ApiModelProperty(value = "The reference assigned to the forex quote request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference assigned to the forex quote request. - * - * @param reference - */ + /** + * The reference assigned to the forex quote request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * sell + * + * @param sell + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote sell(Amount sell) { this.sell = sell; return this; } - /** - * Get sell + /** + * sell * @return sell - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SELL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSell() { return sell; } - - /** - * sell - * - * @param sell - */ + /** + * sell + * + * @param sell + */ @JsonProperty(JSON_PROPERTY_SELL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSell(Amount sell) { this.sell = sell; } - + /** + * The signature to validate the integrity. + * + * @param signature + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote signature(String signature) { this.signature = signature; return this; } - /** + /** * The signature to validate the integrity. * @return signature - **/ + */ @ApiModelProperty(value = "The signature to validate the integrity.") @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSignature() { return signature; } - - /** - * The signature to validate the integrity. - * - * @param signature - */ + /** + * The signature to validate the integrity. + * + * @param signature + */ @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSignature(String signature) { this.signature = signature; } - + /** + * The source of the forex quote. + * + * @param source + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote source(String source) { this.source = source; return this; } - /** + /** * The source of the forex quote. * @return source - **/ + */ @ApiModelProperty(value = "The source of the forex quote.") @JsonProperty(JSON_PROPERTY_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSource() { return source; } - - /** - * The source of the forex quote. - * - * @param source - */ + /** + * The source of the forex quote. + * + * @param source + */ @JsonProperty(JSON_PROPERTY_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSource(String source) { this.source = source; } - + /** + * The type of forex. + * + * @param type + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote type(String type) { this.type = type; return this; } - /** + /** * The type of forex. * @return type - **/ + */ @ApiModelProperty(value = "The type of forex.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of forex. - * - * @param type - */ + /** + * The type of forex. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * The date until which the forex quote is valid. + * + * @param validTill + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote validTill(OffsetDateTime validTill) { this.validTill = validTill; return this; } - /** + /** * The date until which the forex quote is valid. * @return validTill - **/ + */ @ApiModelProperty(required = true, value = "The date until which the forex quote is valid.") @JsonProperty(JSON_PROPERTY_VALID_TILL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValidTill() { return validTill; } - - /** - * The date until which the forex quote is valid. - * - * @param validTill - */ + /** + * The date until which the forex quote is valid. + * + * @param validTill + */ @JsonProperty(JSON_PROPERTY_VALID_TILL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidTill(OffsetDateTime validTill) { this.validTill = validTill; } - /** * Return true if this ForexQuote object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/FraudCheckResult.java b/src/main/java/com/adyen/model/checkout/FraudCheckResult.java index ac9cf0148..66f706ca0 100644 --- a/src/main/java/com/adyen/model/checkout/FraudCheckResult.java +++ b/src/main/java/com/adyen/model/checkout/FraudCheckResult.java @@ -49,96 +49,105 @@ public class FraudCheckResult { public FraudCheckResult() { } + /** + * The fraud score generated by the risk check. + * + * @param accountScore + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The fraud score generated by the risk check. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The fraud score generated by the risk check.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The fraud score generated by the risk check. - * - * @param accountScore - */ + /** + * The fraud score generated by the risk check. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The ID of the risk check. + * + * @param checkId + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult checkId(Integer checkId) { this.checkId = checkId; return this; } - /** + /** * The ID of the risk check. * @return checkId - **/ + */ @ApiModelProperty(required = true, value = "The ID of the risk check.") @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCheckId() { return checkId; } - - /** - * The ID of the risk check. - * - * @param checkId - */ + /** + * The ID of the risk check. + * + * @param checkId + */ @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckId(Integer checkId) { this.checkId = checkId; } - + /** + * The name of the risk check. + * + * @param name + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult name(String name) { this.name = name; return this; } - /** + /** * The name of the risk check. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The name of the risk check.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the risk check. - * - * @param name - */ + /** + * The name of the risk check. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this FraudCheckResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/FraudResult.java b/src/main/java/com/adyen/model/checkout/FraudResult.java index 3b01d83bb..ad15cf27a 100644 --- a/src/main/java/com/adyen/model/checkout/FraudResult.java +++ b/src/main/java/com/adyen/model/checkout/FraudResult.java @@ -48,36 +48,45 @@ public class FraudResult { public FraudResult() { } + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The total fraud score generated by the risk checks. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The total fraud score generated by the risk checks.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The total fraud score generated by the risk checks. - * - * @param accountScore - */ + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The result of the individual risk checks. + * + * @param results + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult results(List results) { this.results = results; return this; @@ -91,31 +100,28 @@ public FraudResult addResultsItem(FraudCheckResult resultsItem) { return this; } - /** + /** * The result of the individual risk checks. * @return results - **/ + */ @ApiModelProperty(value = "The result of the individual risk checks.") @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getResults() { return results; } - - /** - * The result of the individual risk checks. - * - * @param results - */ + /** + * The result of the individual risk checks. + * + * @param results + */ @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResults(List results) { this.results = results; } - /** * Return true if this FraudResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/FundOrigin.java b/src/main/java/com/adyen/model/checkout/FundOrigin.java index 9c85f93c9..b4a631b09 100644 --- a/src/main/java/com/adyen/model/checkout/FundOrigin.java +++ b/src/main/java/com/adyen/model/checkout/FundOrigin.java @@ -59,156 +59,171 @@ public class FundOrigin { public FundOrigin() { } + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code FundOrigin} instance, allowing for method chaining + */ public FundOrigin billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * The email address of the person funding the money. + * + * @param shopperEmail + * @return the current {@code FundOrigin} instance, allowing for method chaining + */ public FundOrigin shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The email address of the person funding the money. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The email address of the person funding the money.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The email address of the person funding the money. - * - * @param shopperEmail - */ + /** + * The email address of the person funding the money. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code FundOrigin} instance, allowing for method chaining + */ public FundOrigin shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * The phone number of the person funding the money. + * + * @param telephoneNumber + * @return the current {@code FundOrigin} instance, allowing for method chaining + */ public FundOrigin telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * The phone number of the person funding the money. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The phone number of the person funding the money.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The phone number of the person funding the money. - * - * @param telephoneNumber - */ + /** + * The phone number of the person funding the money. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * The unique identifier of the wallet where the funds are coming from. + * + * @param walletIdentifier + * @return the current {@code FundOrigin} instance, allowing for method chaining + */ public FundOrigin walletIdentifier(String walletIdentifier) { this.walletIdentifier = walletIdentifier; return this; } - /** + /** * The unique identifier of the wallet where the funds are coming from. * @return walletIdentifier - **/ + */ @ApiModelProperty(value = "The unique identifier of the wallet where the funds are coming from.") @JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWalletIdentifier() { return walletIdentifier; } - - /** - * The unique identifier of the wallet where the funds are coming from. - * - * @param walletIdentifier - */ + /** + * The unique identifier of the wallet where the funds are coming from. + * + * @param walletIdentifier + */ @JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWalletIdentifier(String walletIdentifier) { this.walletIdentifier = walletIdentifier; } - /** * Return true if this FundOrigin object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/FundRecipient.java b/src/main/java/com/adyen/model/checkout/FundRecipient.java index de43323fe..3b2aa4468 100644 --- a/src/main/java/com/adyen/model/checkout/FundRecipient.java +++ b/src/main/java/com/adyen/model/checkout/FundRecipient.java @@ -130,366 +130,402 @@ public static WalletPurposeEnum fromValue(String value) { public FundRecipient() { } + /** + * Fund Recipient Iban for C2C payments + * + * @param IBAN + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient IBAN(String IBAN) { this.IBAN = IBAN; return this; } - /** + /** * Fund Recipient Iban for C2C payments * @return IBAN - **/ + */ @ApiModelProperty(value = "Fund Recipient Iban for C2C payments") @JsonProperty(JSON_PROPERTY_I_B_A_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIBAN() { return IBAN; } - - /** - * Fund Recipient Iban for C2C payments - * - * @param IBAN - */ + /** + * Fund Recipient Iban for C2C payments + * + * @param IBAN + */ @JsonProperty(JSON_PROPERTY_I_B_A_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIBAN(String IBAN) { this.IBAN = IBAN; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient paymentMethod(CardDetails paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardDetails getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(CardDetails paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The email address of the shopper. + * + * @param shopperEmail + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The email address of the shopper. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The email address of the shopper.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The email address of the shopper. - * - * @param shopperEmail - */ + /** + * The email address of the shopper. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * subMerchant + * + * @param subMerchant + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient subMerchant(SubMerchant subMerchant) { this.subMerchant = subMerchant; return this; } - /** - * Get subMerchant + /** + * subMerchant * @return subMerchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SubMerchant getSubMerchant() { return subMerchant; } - - /** - * subMerchant - * - * @param subMerchant - */ + /** + * subMerchant + * + * @param subMerchant + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchant(SubMerchant subMerchant) { this.subMerchant = subMerchant; } - + /** + * The telephone number of the shopper. + * + * @param telephoneNumber + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * The telephone number of the shopper. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The telephone number of the shopper.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The telephone number of the shopper. - * - * @param telephoneNumber - */ + /** + * The telephone number of the shopper. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * Indicates where the money is going. + * + * @param walletIdentifier + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient walletIdentifier(String walletIdentifier) { this.walletIdentifier = walletIdentifier; return this; } - /** + /** * Indicates where the money is going. * @return walletIdentifier - **/ + */ @ApiModelProperty(value = "Indicates where the money is going.") @JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWalletIdentifier() { return walletIdentifier; } - - /** - * Indicates where the money is going. - * - * @param walletIdentifier - */ + /** + * Indicates where the money is going. + * + * @param walletIdentifier + */ @JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWalletIdentifier(String walletIdentifier) { this.walletIdentifier = walletIdentifier; } - + /** + * Indicates the tax identifier of the fund recipient + * + * @param walletOwnerTaxId + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient walletOwnerTaxId(String walletOwnerTaxId) { this.walletOwnerTaxId = walletOwnerTaxId; return this; } - /** + /** * Indicates the tax identifier of the fund recipient * @return walletOwnerTaxId - **/ + */ @ApiModelProperty(value = "Indicates the tax identifier of the fund recipient") @JsonProperty(JSON_PROPERTY_WALLET_OWNER_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWalletOwnerTaxId() { return walletOwnerTaxId; } - - /** - * Indicates the tax identifier of the fund recipient - * - * @param walletOwnerTaxId - */ + /** + * Indicates the tax identifier of the fund recipient + * + * @param walletOwnerTaxId + */ @JsonProperty(JSON_PROPERTY_WALLET_OWNER_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWalletOwnerTaxId(String walletOwnerTaxId) { this.walletOwnerTaxId = walletOwnerTaxId; } - + /** + * The purpose of a digital wallet transaction + * + * @param walletPurpose + * @return the current {@code FundRecipient} instance, allowing for method chaining + */ public FundRecipient walletPurpose(WalletPurposeEnum walletPurpose) { this.walletPurpose = walletPurpose; return this; } - /** + /** * The purpose of a digital wallet transaction * @return walletPurpose - **/ + */ @ApiModelProperty(value = "The purpose of a digital wallet transaction") @JsonProperty(JSON_PROPERTY_WALLET_PURPOSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WalletPurposeEnum getWalletPurpose() { return walletPurpose; } - - /** - * The purpose of a digital wallet transaction - * - * @param walletPurpose - */ + /** + * The purpose of a digital wallet transaction + * + * @param walletPurpose + */ @JsonProperty(JSON_PROPERTY_WALLET_PURPOSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWalletPurpose(WalletPurposeEnum walletPurpose) { this.walletPurpose = walletPurpose; } - /** * Return true if this FundRecipient object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/GenericIssuerPaymentMethodDetails.java b/src/main/java/com/adyen/model/checkout/GenericIssuerPaymentMethodDetails.java index b305af4e1..276f59d99 100644 --- a/src/main/java/com/adyen/model/checkout/GenericIssuerPaymentMethodDetails.java +++ b/src/main/java/com/adyen/model/checkout/GenericIssuerPaymentMethodDetails.java @@ -46,7 +46,7 @@ public class GenericIssuerPaymentMethodDetails { private String issuer; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -97,92 +97,110 @@ public static TypeEnum fromValue(String value) { public GenericIssuerPaymentMethodDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code GenericIssuerPaymentMethodDetails} instance, allowing for method chaining + */ public GenericIssuerPaymentMethodDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The issuer id of the shopper's selected bank. + * + * @param issuer + * @return the current {@code GenericIssuerPaymentMethodDetails} instance, allowing for method chaining + */ public GenericIssuerPaymentMethodDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The issuer id of the shopper's selected bank. + /** + * The issuer id of the shopper's selected bank. * @return issuer - **/ + */ @ApiModelProperty(required = true, value = "The issuer id of the shopper's selected bank.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The issuer id of the shopper's selected bank. - * - * @param issuer - */ + /** + * The issuer id of the shopper's selected bank. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code GenericIssuerPaymentMethodDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public GenericIssuerPaymentMethodDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -190,67 +208,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code GenericIssuerPaymentMethodDetails} instance, allowing for method chaining + */ public GenericIssuerPaymentMethodDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **genericissuer** + * + * @param type + * @return the current {@code GenericIssuerPaymentMethodDetails} instance, allowing for method chaining + */ public GenericIssuerPaymentMethodDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **genericissuer** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**genericissuer**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **genericissuer** - * - * @param type - */ + /** + * **genericissuer** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GenericIssuerPaymentMethodDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/GiropayDetails.java b/src/main/java/com/adyen/model/checkout/GiropayDetails.java index fae447a0d..70f94c6ba 100644 --- a/src/main/java/com/adyen/model/checkout/GiropayDetails.java +++ b/src/main/java/com/adyen/model/checkout/GiropayDetails.java @@ -42,7 +42,7 @@ public class GiropayDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -87,62 +87,77 @@ public static TypeEnum fromValue(String value) { public GiropayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code GiropayDetails} instance, allowing for method chaining + */ public GiropayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code GiropayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public GiropayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -150,67 +165,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code GiropayDetails} instance, allowing for method chaining + */ public GiropayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **giropay** + * + * @param type + * @return the current {@code GiropayDetails} instance, allowing for method chaining + */ public GiropayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **giropay** * @return type - **/ + */ @ApiModelProperty(value = "**giropay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **giropay** - * - * @param type - */ + /** + * **giropay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GiropayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/GooglePayDetails.java b/src/main/java/com/adyen/model/checkout/GooglePayDetails.java index 0eb0687ff..15ef5d5cd 100644 --- a/src/main/java/com/adyen/model/checkout/GooglePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/GooglePayDetails.java @@ -90,7 +90,7 @@ public static FundingSourceEnum fromValue(String value) { private String googlePayToken; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -138,152 +138,176 @@ public static TypeEnum fromValue(String value) { public GooglePayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The selected payment card network. + * + * @param googlePayCardNetwork + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails googlePayCardNetwork(String googlePayCardNetwork) { this.googlePayCardNetwork = googlePayCardNetwork; return this; } - /** + /** * The selected payment card network. * @return googlePayCardNetwork - **/ + */ @ApiModelProperty(value = "The selected payment card network. ") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_CARD_NETWORK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayCardNetwork() { return googlePayCardNetwork; } - - /** - * The selected payment card network. - * - * @param googlePayCardNetwork - */ + /** + * The selected payment card network. + * + * @param googlePayCardNetwork + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_CARD_NETWORK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayCardNetwork(String googlePayCardNetwork) { this.googlePayCardNetwork = googlePayCardNetwork; } - + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails googlePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; return this; } - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. * @return googlePayToken - **/ + */ @ApiModelProperty(required = true, value = "The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayToken() { return googlePayToken; } - - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. - * - * @param googlePayToken - */ + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public GooglePayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -291,97 +315,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * **googlepay**, **paywithgoogle** + * + * @param type + * @return the current {@code GooglePayDetails} instance, allowing for method chaining + */ public GooglePayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **googlepay**, **paywithgoogle** * @return type - **/ + */ @ApiModelProperty(value = "**googlepay**, **paywithgoogle**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **googlepay**, **paywithgoogle** - * - * @param type - */ + /** + * **googlepay**, **paywithgoogle** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GooglePayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/GooglePayDonations.java b/src/main/java/com/adyen/model/checkout/GooglePayDonations.java index 961d35502..cbb88b5c3 100644 --- a/src/main/java/com/adyen/model/checkout/GooglePayDonations.java +++ b/src/main/java/com/adyen/model/checkout/GooglePayDonations.java @@ -90,7 +90,7 @@ public static FundingSourceEnum fromValue(String value) { private String googlePayToken; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -138,152 +138,176 @@ public static TypeEnum fromValue(String value) { public GooglePayDonations() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The selected payment card network. + * + * @param googlePayCardNetwork + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations googlePayCardNetwork(String googlePayCardNetwork) { this.googlePayCardNetwork = googlePayCardNetwork; return this; } - /** + /** * The selected payment card network. * @return googlePayCardNetwork - **/ + */ @ApiModelProperty(value = "The selected payment card network. ") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_CARD_NETWORK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayCardNetwork() { return googlePayCardNetwork; } - - /** - * The selected payment card network. - * - * @param googlePayCardNetwork - */ + /** + * The selected payment card network. + * + * @param googlePayCardNetwork + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_CARD_NETWORK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayCardNetwork(String googlePayCardNetwork) { this.googlePayCardNetwork = googlePayCardNetwork; } - + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations googlePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; return this; } - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. * @return googlePayToken - **/ + */ @ApiModelProperty(required = true, value = "The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayToken() { return googlePayToken; } - - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. - * - * @param googlePayToken - */ + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public GooglePayDonations recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -291,97 +315,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * **googlepay**, **paywithgoogle** + * + * @param type + * @return the current {@code GooglePayDonations} instance, allowing for method chaining + */ public GooglePayDonations type(TypeEnum type) { this.type = type; return this; } - /** + /** * **googlepay**, **paywithgoogle** * @return type - **/ + */ @ApiModelProperty(value = "**googlepay**, **paywithgoogle**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **googlepay**, **paywithgoogle** - * - * @param type - */ + /** + * **googlepay**, **paywithgoogle** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GooglePayDonations object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/IdealDetails.java b/src/main/java/com/adyen/model/checkout/IdealDetails.java index 09837b43c..f178d03ab 100644 --- a/src/main/java/com/adyen/model/checkout/IdealDetails.java +++ b/src/main/java/com/adyen/model/checkout/IdealDetails.java @@ -46,7 +46,7 @@ public class IdealDetails { private String issuer; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -91,92 +91,110 @@ public static TypeEnum fromValue(String value) { public IdealDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code IdealDetails} instance, allowing for method chaining + */ public IdealDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + * + * @param issuer + * @return the current {@code IdealDetails} instance, allowing for method chaining + */ public IdealDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. * @return issuer - **/ + */ @ApiModelProperty(value = "The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. - * - * @param issuer - */ + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code IdealDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public IdealDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -184,67 +202,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code IdealDetails} instance, allowing for method chaining + */ public IdealDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **ideal** + * + * @param type + * @return the current {@code IdealDetails} instance, allowing for method chaining + */ public IdealDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ideal** * @return type - **/ + */ @ApiModelProperty(value = "**ideal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ideal** - * - * @param type - */ + /** + * **ideal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IdealDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/IdealDonations.java b/src/main/java/com/adyen/model/checkout/IdealDonations.java index 6ad995d2d..fb37c5b06 100644 --- a/src/main/java/com/adyen/model/checkout/IdealDonations.java +++ b/src/main/java/com/adyen/model/checkout/IdealDonations.java @@ -46,7 +46,7 @@ public class IdealDonations { private String issuer; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -91,92 +91,110 @@ public static TypeEnum fromValue(String value) { public IdealDonations() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code IdealDonations} instance, allowing for method chaining + */ public IdealDonations checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + * + * @param issuer + * @return the current {@code IdealDonations} instance, allowing for method chaining + */ public IdealDonations issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. * @return issuer - **/ + */ @ApiModelProperty(value = "The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. - * - * @param issuer - */ + /** + * The iDEAL issuer value of the shopper's selected bank. Set this to an **id** of an iDEAL issuer to preselect it. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code IdealDonations} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public IdealDonations recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -184,67 +202,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code IdealDonations} instance, allowing for method chaining + */ public IdealDonations storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **ideal** + * + * @param type + * @return the current {@code IdealDonations} instance, allowing for method chaining + */ public IdealDonations type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ideal** * @return type - **/ + */ @ApiModelProperty(value = "**ideal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ideal** - * - * @param type - */ + /** + * **ideal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IdealDonations object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/InputDetail.java b/src/main/java/com/adyen/model/checkout/InputDetail.java index ce5506ee4..5979ad93a 100644 --- a/src/main/java/com/adyen/model/checkout/InputDetail.java +++ b/src/main/java/com/adyen/model/checkout/InputDetail.java @@ -56,7 +56,7 @@ public class InputDetail { private List details = null; public static final String JSON_PROPERTY_INPUT_DETAILS = "inputDetails"; - @Deprecated + @Deprecated // deprecated private List inputDetails = null; public static final String JSON_PROPERTY_ITEM_SEARCH_URL = "itemSearchUrl"; @@ -80,6 +80,12 @@ public class InputDetail { public InputDetail() { } + /** + * Configuration parameters for the required input. + * + * @param configuration + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail configuration(Map configuration) { this.configuration = configuration; return this; @@ -93,31 +99,34 @@ public InputDetail putConfigurationItem(String key, String configurationItem) { return this; } - /** + /** * Configuration parameters for the required input. * @return configuration - **/ + */ @ApiModelProperty(value = "Configuration parameters for the required input.") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getConfiguration() { return configuration; } - - /** - * Configuration parameters for the required input. - * - * @param configuration - */ + /** + * Configuration parameters for the required input. + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(Map configuration) { this.configuration = configuration; } - + /** + * Input details can also be provided recursively. + * + * @param details + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail details(List details) { this.details = details; return this; @@ -131,31 +140,36 @@ public InputDetail addDetailsItem(SubInputDetail detailsItem) { return this; } - /** + /** * Input details can also be provided recursively. * @return details - **/ + */ @ApiModelProperty(value = "Input details can also be provided recursively.") @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDetails() { return details; } - - /** - * Input details can also be provided recursively. - * - * @param details - */ + /** + * Input details can also be provided recursively. + * + * @param details + */ @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetails(List details) { this.details = details; } - + /** + * Input details can also be provided recursively (deprecated). + * + * @param inputDetails + * @return the current {@code InputDetail} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public InputDetail inputDetails(List inputDetails) { this.inputDetails = inputDetails; @@ -170,26 +184,27 @@ public InputDetail addInputDetailsItem(SubInputDetail inputDetailsItem) { return this; } - /** + /** * Input details can also be provided recursively (deprecated). * @return inputDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "Input details can also be provided recursively (deprecated).") @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInputDetails() { return inputDetails; } - - /** - * Input details can also be provided recursively (deprecated). - * - * @param inputDetails - */ + /** + * Input details can also be provided recursively (deprecated). + * + * @param inputDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -197,37 +212,45 @@ public void setInputDetails(List inputDetails) { this.inputDetails = inputDetails; } - + /** + * In case of a select, the URL from which to query the items. + * + * @param itemSearchUrl + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail itemSearchUrl(String itemSearchUrl) { this.itemSearchUrl = itemSearchUrl; return this; } - /** + /** * In case of a select, the URL from which to query the items. * @return itemSearchUrl - **/ + */ @ApiModelProperty(value = "In case of a select, the URL from which to query the items.") @JsonProperty(JSON_PROPERTY_ITEM_SEARCH_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getItemSearchUrl() { return itemSearchUrl; } - - /** - * In case of a select, the URL from which to query the items. - * - * @param itemSearchUrl - */ + /** + * In case of a select, the URL from which to query the items. + * + * @param itemSearchUrl + */ @JsonProperty(JSON_PROPERTY_ITEM_SEARCH_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemSearchUrl(String itemSearchUrl) { this.itemSearchUrl = itemSearchUrl; } - + /** + * In case of a select, the items to choose from. + * + * @param items + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail items(List items) { this.items = items; return this; @@ -241,151 +264,160 @@ public InputDetail addItemsItem(Item itemsItem) { return this; } - /** + /** * In case of a select, the items to choose from. * @return items - **/ + */ @ApiModelProperty(value = "In case of a select, the items to choose from.") @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItems() { return items; } - - /** - * In case of a select, the items to choose from. - * - * @param items - */ + /** + * In case of a select, the items to choose from. + * + * @param items + */ @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItems(List items) { this.items = items; } - + /** + * The value to provide in the result. + * + * @param key + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail key(String key) { this.key = key; return this; } - /** + /** * The value to provide in the result. * @return key - **/ + */ @ApiModelProperty(value = "The value to provide in the result.") @JsonProperty(JSON_PROPERTY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getKey() { return key; } - - /** - * The value to provide in the result. - * - * @param key - */ + /** + * The value to provide in the result. + * + * @param key + */ @JsonProperty(JSON_PROPERTY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKey(String key) { this.key = key; } - + /** + * True if this input value is optional. + * + * @param optional + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail optional(Boolean optional) { this.optional = optional; return this; } - /** + /** * True if this input value is optional. * @return optional - **/ + */ @ApiModelProperty(value = "True if this input value is optional.") @JsonProperty(JSON_PROPERTY_OPTIONAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getOptional() { return optional; } - - /** - * True if this input value is optional. - * - * @param optional - */ + /** + * True if this input value is optional. + * + * @param optional + */ @JsonProperty(JSON_PROPERTY_OPTIONAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOptional(Boolean optional) { this.optional = optional; } - + /** + * The type of the required input. + * + * @param type + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail type(String type) { this.type = type; return this; } - /** + /** * The type of the required input. * @return type - **/ + */ @ApiModelProperty(value = "The type of the required input.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of the required input. - * - * @param type - */ + /** + * The type of the required input. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * The value can be pre-filled, if available. + * + * @param value + * @return the current {@code InputDetail} instance, allowing for method chaining + */ public InputDetail value(String value) { this.value = value; return this; } - /** + /** * The value can be pre-filled, if available. * @return value - **/ + */ @ApiModelProperty(value = "The value can be pre-filled, if available.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The value can be pre-filled, if available. - * - * @param value - */ + /** + * The value can be pre-filled, if available. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this InputDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/InstallmentOption.java b/src/main/java/com/adyen/model/checkout/InstallmentOption.java index a319fc321..c2debe205 100644 --- a/src/main/java/com/adyen/model/checkout/InstallmentOption.java +++ b/src/main/java/com/adyen/model/checkout/InstallmentOption.java @@ -104,36 +104,45 @@ public static PlansEnum fromValue(String value) { public InstallmentOption() { } + /** + * The maximum number of installments offered for this payment method. + * + * @param maxValue + * @return the current {@code InstallmentOption} instance, allowing for method chaining + */ public InstallmentOption maxValue(Integer maxValue) { this.maxValue = maxValue; return this; } - /** + /** * The maximum number of installments offered for this payment method. * @return maxValue - **/ + */ @ApiModelProperty(value = "The maximum number of installments offered for this payment method.") @JsonProperty(JSON_PROPERTY_MAX_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMaxValue() { return maxValue; } - - /** - * The maximum number of installments offered for this payment method. - * - * @param maxValue - */ + /** + * The maximum number of installments offered for this payment method. + * + * @param maxValue + */ @JsonProperty(JSON_PROPERTY_MAX_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxValue(Integer maxValue) { this.maxValue = maxValue; } - + /** + * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** + * + * @param plans + * @return the current {@code InstallmentOption} instance, allowing for method chaining + */ public InstallmentOption plans(List plans) { this.plans = plans; return this; @@ -147,61 +156,67 @@ public InstallmentOption addPlansItem(PlansEnum plansItem) { return this; } - /** + /** * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** * @return plans - **/ + */ @ApiModelProperty(value = "Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving**") @JsonProperty(JSON_PROPERTY_PLANS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPlans() { return plans; } - - /** - * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** - * - * @param plans - */ + /** + * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** + * + * @param plans + */ @JsonProperty(JSON_PROPERTY_PLANS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlans(List plans) { this.plans = plans; } - + /** + * Preselected number of installments offered for this payment method. + * + * @param preselectedValue + * @return the current {@code InstallmentOption} instance, allowing for method chaining + */ public InstallmentOption preselectedValue(Integer preselectedValue) { this.preselectedValue = preselectedValue; return this; } - /** + /** * Preselected number of installments offered for this payment method. * @return preselectedValue - **/ + */ @ApiModelProperty(value = "Preselected number of installments offered for this payment method.") @JsonProperty(JSON_PROPERTY_PRESELECTED_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPreselectedValue() { return preselectedValue; } - - /** - * Preselected number of installments offered for this payment method. - * - * @param preselectedValue - */ + /** + * Preselected number of installments offered for this payment method. + * + * @param preselectedValue + */ @JsonProperty(JSON_PROPERTY_PRESELECTED_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreselectedValue(Integer preselectedValue) { this.preselectedValue = preselectedValue; } - + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + * + * @param values + * @return the current {@code InstallmentOption} instance, allowing for method chaining + */ public InstallmentOption values(List values) { this.values = values; return this; @@ -215,31 +230,28 @@ public InstallmentOption addValuesItem(Integer valuesItem) { return this; } - /** - * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. * @return values - **/ + */ @ApiModelProperty(value = "An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`.") @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValues() { return values; } - - /** - * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. - * - * @param values - */ + /** + * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. + * + * @param values + */ @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValues(List values) { this.values = values; } - /** * Return true if this InstallmentOption object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Installments.java b/src/main/java/com/adyen/model/checkout/Installments.java index 6ba609919..d39b47913 100644 --- a/src/main/java/com/adyen/model/checkout/Installments.java +++ b/src/main/java/com/adyen/model/checkout/Installments.java @@ -98,96 +98,105 @@ public static PlanEnum fromValue(String value) { public Installments() { } + /** + * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) + * + * @param extra + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments extra(Integer extra) { this.extra = extra; return this; } - /** + /** * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) * @return extra - **/ + */ @ApiModelProperty(value = "Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) ") @JsonProperty(JSON_PROPERTY_EXTRA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getExtra() { return extra; } - - /** - * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) - * - * @param extra - */ + /** + * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) + * + * @param extra + */ @JsonProperty(JSON_PROPERTY_EXTRA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtra(Integer extra) { this.extra = extra; } - + /** + * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. + * + * @param plan + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments plan(PlanEnum plan) { this.plan = plan; return this; } - /** + /** * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. * @return plan - **/ + */ @ApiModelProperty(value = "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. ") @JsonProperty(JSON_PROPERTY_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlanEnum getPlan() { return plan; } - - /** - * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. - * - * @param plan - */ + /** + * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. + * + * @param plan + */ @JsonProperty(JSON_PROPERTY_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlan(PlanEnum plan) { this.plan = plan; } - + /** + * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. + * + * @param value + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments value(Integer value) { this.value = value; return this; } - /** + /** * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. * @return value - **/ + */ @ApiModelProperty(required = true, value = "Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getValue() { return value; } - - /** - * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. - * - * @param value - */ + /** + * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Integer value) { this.value = value; } - /** * Return true if this Installments object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/InstallmentsNumber.java b/src/main/java/com/adyen/model/checkout/InstallmentsNumber.java index 8780d601d..b103d83ee 100644 --- a/src/main/java/com/adyen/model/checkout/InstallmentsNumber.java +++ b/src/main/java/com/adyen/model/checkout/InstallmentsNumber.java @@ -41,36 +41,39 @@ public class InstallmentsNumber { public InstallmentsNumber() { } + /** + * Maximum number of installments + * + * @param maxNumberOfInstallments + * @return the current {@code InstallmentsNumber} instance, allowing for method chaining + */ public InstallmentsNumber maxNumberOfInstallments(Integer maxNumberOfInstallments) { this.maxNumberOfInstallments = maxNumberOfInstallments; return this; } - /** + /** * Maximum number of installments * @return maxNumberOfInstallments - **/ + */ @ApiModelProperty(required = true, value = "Maximum number of installments") @JsonProperty(JSON_PROPERTY_MAX_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMaxNumberOfInstallments() { return maxNumberOfInstallments; } - - /** - * Maximum number of installments - * - * @param maxNumberOfInstallments - */ + /** + * Maximum number of installments + * + * @param maxNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_MAX_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxNumberOfInstallments(Integer maxNumberOfInstallments) { this.maxNumberOfInstallments = maxNumberOfInstallments; } - /** * Return true if this InstallmentsNumber object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Item.java b/src/main/java/com/adyen/model/checkout/Item.java index be910d686..914fc0bf4 100644 --- a/src/main/java/com/adyen/model/checkout/Item.java +++ b/src/main/java/com/adyen/model/checkout/Item.java @@ -45,66 +45,72 @@ public class Item { public Item() { } + /** + * The value to provide in the result. + * + * @param id + * @return the current {@code Item} instance, allowing for method chaining + */ public Item id(String id) { this.id = id; return this; } - /** + /** * The value to provide in the result. * @return id - **/ + */ @ApiModelProperty(value = "The value to provide in the result.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The value to provide in the result. - * - * @param id - */ + /** + * The value to provide in the result. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The display name. + * + * @param name + * @return the current {@code Item} instance, allowing for method chaining + */ public Item name(String name) { this.name = name; return this; } - /** + /** * The display name. * @return name - **/ + */ @ApiModelProperty(value = "The display name.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The display name. - * - * @param name - */ + /** + * The display name. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this Item object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/KlarnaDetails.java b/src/main/java/com/adyen/model/checkout/KlarnaDetails.java index 96315c402..d4e9a732d 100644 --- a/src/main/java/com/adyen/model/checkout/KlarnaDetails.java +++ b/src/main/java/com/adyen/model/checkout/KlarnaDetails.java @@ -55,7 +55,7 @@ public class KlarnaDetails { private String personalDetails; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -115,152 +115,176 @@ public static TypeEnum fromValue(String value) { public KlarnaDetails() { } + /** + * The address where to send the invoice. + * + * @param billingAddress + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails billingAddress(String billingAddress) { this.billingAddress = billingAddress; return this; } - /** + /** * The address where to send the invoice. * @return billingAddress - **/ + */ @ApiModelProperty(value = "The address where to send the invoice.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddress() { return billingAddress; } - - /** - * The address where to send the invoice. - * - * @param billingAddress - */ + /** + * The address where to send the invoice. + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(String billingAddress) { this.billingAddress = billingAddress; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails deliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** + /** * The address where the goods should be delivered. * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "The address where the goods should be delivered.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryAddress() { return deliveryAddress; } - - /** - * The address where the goods should be delivered. - * - * @param deliveryAddress - */ + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails personalDetails(String personalDetails) { this.personalDetails = personalDetails; return this; } - /** + /** * Shopper name, date of birth, phone number, and email address. * @return personalDetails - **/ + */ @ApiModelProperty(value = "Shopper name, date of birth, phone number, and email address.") @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPersonalDetails() { return personalDetails; } - - /** - * Shopper name, date of birth, phone number, and email address. - * - * @param personalDetails - */ + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + */ @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPersonalDetails(String personalDetails) { this.personalDetails = personalDetails; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public KlarnaDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -268,97 +292,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The type of flow to initiate. + * + * @param subtype + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails subtype(String subtype) { this.subtype = subtype; return this; } - /** + /** * The type of flow to initiate. * @return subtype - **/ + */ @ApiModelProperty(value = "The type of flow to initiate.") @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubtype() { return subtype; } - - /** - * The type of flow to initiate. - * - * @param subtype - */ + /** + * The type of flow to initiate. + * + * @param subtype + */ @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubtype(String subtype) { this.subtype = subtype; } - + /** + * **klarna** + * + * @param type + * @return the current {@code KlarnaDetails} instance, allowing for method chaining + */ public KlarnaDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **klarna** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**klarna**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **klarna** - * - * @param type - */ + /** + * **klarna** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this KlarnaDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/LineItem.java b/src/main/java/com/adyen/model/checkout/LineItem.java index 7628d6537..97830c111 100644 --- a/src/main/java/com/adyen/model/checkout/LineItem.java +++ b/src/main/java/com/adyen/model/checkout/LineItem.java @@ -109,546 +109,600 @@ public class LineItem { public LineItem() { } + /** + * Item amount excluding the tax, in minor units. + * + * @param amountExcludingTax + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem amountExcludingTax(Long amountExcludingTax) { this.amountExcludingTax = amountExcludingTax; return this; } - /** + /** * Item amount excluding the tax, in minor units. * @return amountExcludingTax - **/ + */ @ApiModelProperty(value = "Item amount excluding the tax, in minor units.") @JsonProperty(JSON_PROPERTY_AMOUNT_EXCLUDING_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getAmountExcludingTax() { return amountExcludingTax; } - - /** - * Item amount excluding the tax, in minor units. - * - * @param amountExcludingTax - */ + /** + * Item amount excluding the tax, in minor units. + * + * @param amountExcludingTax + */ @JsonProperty(JSON_PROPERTY_AMOUNT_EXCLUDING_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountExcludingTax(Long amountExcludingTax) { this.amountExcludingTax = amountExcludingTax; } - + /** + * Item amount including the tax, in minor units. + * + * @param amountIncludingTax + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem amountIncludingTax(Long amountIncludingTax) { this.amountIncludingTax = amountIncludingTax; return this; } - /** + /** * Item amount including the tax, in minor units. * @return amountIncludingTax - **/ + */ @ApiModelProperty(value = "Item amount including the tax, in minor units.") @JsonProperty(JSON_PROPERTY_AMOUNT_INCLUDING_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getAmountIncludingTax() { return amountIncludingTax; } - - /** - * Item amount including the tax, in minor units. - * - * @param amountIncludingTax - */ + /** + * Item amount including the tax, in minor units. + * + * @param amountIncludingTax + */ @JsonProperty(JSON_PROPERTY_AMOUNT_INCLUDING_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountIncludingTax(Long amountIncludingTax) { this.amountIncludingTax = amountIncludingTax; } - + /** + * Brand of the item. + * + * @param brand + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem brand(String brand) { this.brand = brand; return this; } - /** + /** * Brand of the item. * @return brand - **/ + */ @ApiModelProperty(value = "Brand of the item.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Brand of the item. - * - * @param brand - */ + /** + * Brand of the item. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * Color of the item. + * + * @param color + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem color(String color) { this.color = color; return this; } - /** + /** * Color of the item. * @return color - **/ + */ @ApiModelProperty(value = "Color of the item.") @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getColor() { return color; } - - /** - * Color of the item. - * - * @param color - */ + /** + * Color of the item. + * + * @param color + */ @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setColor(String color) { this.color = color; } - + /** + * Description of the line item. + * + * @param description + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem description(String description) { this.description = description; return this; } - /** + /** * Description of the line item. * @return description - **/ + */ @ApiModelProperty(value = "Description of the line item.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the line item. - * - * @param description - */ + /** + * Description of the line item. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * ID of the line item. + * + * @param id + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem id(String id) { this.id = id; return this; } - /** + /** * ID of the line item. * @return id - **/ + */ @ApiModelProperty(value = "ID of the line item.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * ID of the line item. - * - * @param id - */ + /** + * ID of the line item. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Link to the picture of the purchased item. + * + * @param imageUrl + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem imageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } - /** + /** * Link to the picture of the purchased item. * @return imageUrl - **/ + */ @ApiModelProperty(value = "Link to the picture of the purchased item.") @JsonProperty(JSON_PROPERTY_IMAGE_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getImageUrl() { return imageUrl; } - - /** - * Link to the picture of the purchased item. - * - * @param imageUrl - */ + /** + * Link to the picture of the purchased item. + * + * @param imageUrl + */ @JsonProperty(JSON_PROPERTY_IMAGE_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; } - + /** + * Item category, used by the payment methods PayPal and Ratepay. + * + * @param itemCategory + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem itemCategory(String itemCategory) { this.itemCategory = itemCategory; return this; } - /** + /** * Item category, used by the payment methods PayPal and Ratepay. * @return itemCategory - **/ + */ @ApiModelProperty(value = "Item category, used by the payment methods PayPal and Ratepay.") @JsonProperty(JSON_PROPERTY_ITEM_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getItemCategory() { return itemCategory; } - - /** - * Item category, used by the payment methods PayPal and Ratepay. - * - * @param itemCategory - */ + /** + * Item category, used by the payment methods PayPal and Ratepay. + * + * @param itemCategory + */ @JsonProperty(JSON_PROPERTY_ITEM_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemCategory(String itemCategory) { this.itemCategory = itemCategory; } - + /** + * Manufacturer of the item. + * + * @param manufacturer + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem manufacturer(String manufacturer) { this.manufacturer = manufacturer; return this; } - /** + /** * Manufacturer of the item. * @return manufacturer - **/ + */ @ApiModelProperty(value = "Manufacturer of the item.") @JsonProperty(JSON_PROPERTY_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getManufacturer() { return manufacturer; } - - /** - * Manufacturer of the item. - * - * @param manufacturer - */ + /** + * Manufacturer of the item. + * + * @param manufacturer + */ @JsonProperty(JSON_PROPERTY_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setManufacturer(String manufacturer) { this.manufacturer = manufacturer; } - + /** + * Marketplace seller id. + * + * @param marketplaceSellerId + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem marketplaceSellerId(String marketplaceSellerId) { this.marketplaceSellerId = marketplaceSellerId; return this; } - /** + /** * Marketplace seller id. * @return marketplaceSellerId - **/ + */ @ApiModelProperty(value = "Marketplace seller id.") @JsonProperty(JSON_PROPERTY_MARKETPLACE_SELLER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMarketplaceSellerId() { return marketplaceSellerId; } - - /** - * Marketplace seller id. - * - * @param marketplaceSellerId - */ + /** + * Marketplace seller id. + * + * @param marketplaceSellerId + */ @JsonProperty(JSON_PROPERTY_MARKETPLACE_SELLER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMarketplaceSellerId(String marketplaceSellerId) { this.marketplaceSellerId = marketplaceSellerId; } - + /** + * Link to the purchased item. + * + * @param productUrl + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem productUrl(String productUrl) { this.productUrl = productUrl; return this; } - /** + /** * Link to the purchased item. * @return productUrl - **/ + */ @ApiModelProperty(value = "Link to the purchased item.") @JsonProperty(JSON_PROPERTY_PRODUCT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProductUrl() { return productUrl; } - - /** - * Link to the purchased item. - * - * @param productUrl - */ + /** + * Link to the purchased item. + * + * @param productUrl + */ @JsonProperty(JSON_PROPERTY_PRODUCT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProductUrl(String productUrl) { this.productUrl = productUrl; } - + /** + * Number of items. + * + * @param quantity + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem quantity(Long quantity) { this.quantity = quantity; return this; } - /** + /** * Number of items. * @return quantity - **/ + */ @ApiModelProperty(value = "Number of items.") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getQuantity() { return quantity; } - - /** - * Number of items. - * - * @param quantity - */ + /** + * Number of items. + * + * @param quantity + */ @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setQuantity(Long quantity) { this.quantity = quantity; } - + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param receiverEmail + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem receiverEmail(String receiverEmail) { this.receiverEmail = receiverEmail; return this; } - /** + /** * Email associated with the given product in the basket (usually in electronic gift cards). * @return receiverEmail - **/ + */ @ApiModelProperty(value = "Email associated with the given product in the basket (usually in electronic gift cards).") @JsonProperty(JSON_PROPERTY_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReceiverEmail() { return receiverEmail; } - - /** - * Email associated with the given product in the basket (usually in electronic gift cards). - * - * @param receiverEmail - */ + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param receiverEmail + */ @JsonProperty(JSON_PROPERTY_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiverEmail(String receiverEmail) { this.receiverEmail = receiverEmail; } - + /** + * Size of the item. + * + * @param size + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem size(String size) { this.size = size; return this; } - /** + /** * Size of the item. * @return size - **/ + */ @ApiModelProperty(value = "Size of the item.") @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSize() { return size; } - - /** - * Size of the item. - * - * @param size - */ + /** + * Size of the item. + * + * @param size + */ @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSize(String size) { this.size = size; } - + /** + * Stock keeping unit. + * + * @param sku + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem sku(String sku) { this.sku = sku; return this; } - /** + /** * Stock keeping unit. * @return sku - **/ + */ @ApiModelProperty(value = "Stock keeping unit.") @JsonProperty(JSON_PROPERTY_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSku() { return sku; } - - /** - * Stock keeping unit. - * - * @param sku - */ + /** + * Stock keeping unit. + * + * @param sku + */ @JsonProperty(JSON_PROPERTY_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSku(String sku) { this.sku = sku; } - + /** + * Tax amount, in minor units. + * + * @param taxAmount + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem taxAmount(Long taxAmount) { this.taxAmount = taxAmount; return this; } - /** + /** * Tax amount, in minor units. * @return taxAmount - **/ + */ @ApiModelProperty(value = "Tax amount, in minor units.") @JsonProperty(JSON_PROPERTY_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getTaxAmount() { return taxAmount; } - - /** - * Tax amount, in minor units. - * - * @param taxAmount - */ + /** + * Tax amount, in minor units. + * + * @param taxAmount + */ @JsonProperty(JSON_PROPERTY_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxAmount(Long taxAmount) { this.taxAmount = taxAmount; } - + /** + * Tax percentage, in minor units. + * + * @param taxPercentage + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem taxPercentage(Long taxPercentage) { this.taxPercentage = taxPercentage; return this; } - /** + /** * Tax percentage, in minor units. * @return taxPercentage - **/ + */ @ApiModelProperty(value = "Tax percentage, in minor units.") @JsonProperty(JSON_PROPERTY_TAX_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getTaxPercentage() { return taxPercentage; } - - /** - * Tax percentage, in minor units. - * - * @param taxPercentage - */ + /** + * Tax percentage, in minor units. + * + * @param taxPercentage + */ @JsonProperty(JSON_PROPERTY_TAX_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxPercentage(Long taxPercentage) { this.taxPercentage = taxPercentage; } - + /** + * Universal Product Code. + * + * @param upc + * @return the current {@code LineItem} instance, allowing for method chaining + */ public LineItem upc(String upc) { this.upc = upc; return this; } - /** + /** * Universal Product Code. * @return upc - **/ + */ @ApiModelProperty(value = "Universal Product Code.") @JsonProperty(JSON_PROPERTY_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUpc() { return upc; } - - /** - * Universal Product Code. - * - * @param upc - */ + /** + * Universal Product Code. + * + * @param upc + */ @JsonProperty(JSON_PROPERTY_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpc(String upc) { this.upc = upc; } - /** * Return true if this LineItem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ListStoredPaymentMethodsResponse.java b/src/main/java/com/adyen/model/checkout/ListStoredPaymentMethodsResponse.java index 84862e1bd..1745244d3 100644 --- a/src/main/java/com/adyen/model/checkout/ListStoredPaymentMethodsResponse.java +++ b/src/main/java/com/adyen/model/checkout/ListStoredPaymentMethodsResponse.java @@ -52,66 +52,78 @@ public class ListStoredPaymentMethodsResponse { public ListStoredPaymentMethodsResponse() { } + /** + * Your merchant account. + * + * @param merchantAccount + * @return the current {@code ListStoredPaymentMethodsResponse} instance, allowing for method chaining + */ public ListStoredPaymentMethodsResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * Your merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "Your merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * Your merchant account. - * - * @param merchantAccount - */ + /** + * Your merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code ListStoredPaymentMethodsResponse} instance, allowing for method chaining + */ public ListStoredPaymentMethodsResponse shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * List of all stored payment methods. + * + * @param storedPaymentMethods + * @return the current {@code ListStoredPaymentMethodsResponse} instance, allowing for method chaining + */ public ListStoredPaymentMethodsResponse storedPaymentMethods(List storedPaymentMethods) { this.storedPaymentMethods = storedPaymentMethods; return this; @@ -125,31 +137,28 @@ public ListStoredPaymentMethodsResponse addStoredPaymentMethodsItem(StoredPaymen return this; } - /** + /** * List of all stored payment methods. * @return storedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of all stored payment methods.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStoredPaymentMethods() { return storedPaymentMethods; } - - /** - * List of all stored payment methods. - * - * @param storedPaymentMethods - */ + /** + * List of all stored payment methods. + * + * @param storedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethods(List storedPaymentMethods) { this.storedPaymentMethods = storedPaymentMethods; } - /** * Return true if this ListStoredPaymentMethodsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Mandate.java b/src/main/java/com/adyen/model/checkout/Mandate.java index c2fc2cb87..021960f4a 100644 --- a/src/main/java/com/adyen/model/checkout/Mandate.java +++ b/src/main/java/com/adyen/model/checkout/Mandate.java @@ -192,276 +192,303 @@ public static FrequencyEnum fromValue(String value) { public Mandate() { } + /** + * The billing amount (in minor units) of the recurring transactions. + * + * @param amount + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate amount(String amount) { this.amount = amount; return this; } - /** + /** * The billing amount (in minor units) of the recurring transactions. * @return amount - **/ + */ @ApiModelProperty(required = true, value = "The billing amount (in minor units) of the recurring transactions.") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAmount() { return amount; } - - /** - * The billing amount (in minor units) of the recurring transactions. - * - * @param amount - */ + /** + * The billing amount (in minor units) of the recurring transactions. + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(String amount) { this.amount = amount; } - + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + * + * @param amountRule + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate amountRule(AmountRuleEnum amountRule) { this.amountRule = amountRule; return this; } - /** - * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. * @return amountRule - **/ + */ @ApiModelProperty(value = "The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. ") @JsonProperty(JSON_PROPERTY_AMOUNT_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmountRuleEnum getAmountRule() { return amountRule; } - - /** - * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. - * - * @param amountRule - */ + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + * + * @param amountRule + */ @JsonProperty(JSON_PROPERTY_AMOUNT_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountRule(AmountRuleEnum amountRule) { this.amountRule = amountRule; } - + /** + * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. + * + * @param billingAttemptsRule + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate billingAttemptsRule(BillingAttemptsRuleEnum billingAttemptsRule) { this.billingAttemptsRule = billingAttemptsRule; return this; } - /** + /** * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. * @return billingAttemptsRule - **/ + */ @ApiModelProperty(value = "The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. ") @JsonProperty(JSON_PROPERTY_BILLING_ATTEMPTS_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAttemptsRuleEnum getBillingAttemptsRule() { return billingAttemptsRule; } - - /** - * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. - * - * @param billingAttemptsRule - */ + /** + * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. + * + * @param billingAttemptsRule + */ @JsonProperty(JSON_PROPERTY_BILLING_ATTEMPTS_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAttemptsRule(BillingAttemptsRuleEnum billingAttemptsRule) { this.billingAttemptsRule = billingAttemptsRule; } - + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + * + * @param billingDay + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate billingDay(String billingDay) { this.billingDay = billingDay; return this; } - /** - * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. * @return billingDay - **/ + */ @ApiModelProperty(value = "The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`.") @JsonProperty(JSON_PROPERTY_BILLING_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingDay() { return billingDay; } - - /** - * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. - * - * @param billingDay - */ + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + * + * @param billingDay + */ @JsonProperty(JSON_PROPERTY_BILLING_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingDay(String billingDay) { this.billingDay = billingDay; } - + /** + * The number of transactions that can be performed within the given frequency. + * + * @param count + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate count(String count) { this.count = count; return this; } - /** + /** * The number of transactions that can be performed within the given frequency. * @return count - **/ + */ @ApiModelProperty(value = "The number of transactions that can be performed within the given frequency.") @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCount() { return count; } - - /** - * The number of transactions that can be performed within the given frequency. - * - * @param count - */ + /** + * The number of transactions that can be performed within the given frequency. + * + * @param count + */ @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCount(String count) { this.count = count; } - + /** + * End date of the billing plan, in YYYY-MM-DD format. + * + * @param endsAt + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate endsAt(String endsAt) { this.endsAt = endsAt; return this; } - /** + /** * End date of the billing plan, in YYYY-MM-DD format. * @return endsAt - **/ + */ @ApiModelProperty(required = true, value = "End date of the billing plan, in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_ENDS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndsAt() { return endsAt; } - - /** - * End date of the billing plan, in YYYY-MM-DD format. - * - * @param endsAt - */ + /** + * End date of the billing plan, in YYYY-MM-DD format. + * + * @param endsAt + */ @JsonProperty(JSON_PROPERTY_ENDS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndsAt(String endsAt) { this.endsAt = endsAt; } - + /** + * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. + * + * @param frequency + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate frequency(FrequencyEnum frequency) { this.frequency = frequency; return this; } - /** + /** * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. * @return frequency - **/ + */ @ApiModelProperty(required = true, value = "The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**.") @JsonProperty(JSON_PROPERTY_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FrequencyEnum getFrequency() { return frequency; } - - /** - * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. - * - * @param frequency - */ + /** + * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. + * + * @param frequency + */ @JsonProperty(JSON_PROPERTY_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFrequency(FrequencyEnum frequency) { this.frequency = frequency; } - + /** + * The message shown by UPI to the shopper on the approval screen. + * + * @param remarks + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate remarks(String remarks) { this.remarks = remarks; return this; } - /** + /** * The message shown by UPI to the shopper on the approval screen. * @return remarks - **/ + */ @ApiModelProperty(value = "The message shown by UPI to the shopper on the approval screen.") @JsonProperty(JSON_PROPERTY_REMARKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRemarks() { return remarks; } - - /** - * The message shown by UPI to the shopper on the approval screen. - * - * @param remarks - */ + /** + * The message shown by UPI to the shopper on the approval screen. + * + * @param remarks + */ @JsonProperty(JSON_PROPERTY_REMARKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemarks(String remarks) { this.remarks = remarks; } - + /** + * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. + * + * @param startsAt + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate startsAt(String startsAt) { this.startsAt = startsAt; return this; } - /** + /** * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. * @return startsAt - **/ + */ @ApiModelProperty(value = "Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.") @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartsAt() { return startsAt; } - - /** - * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. - * - * @param startsAt - */ + /** + * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. + * + * @param startsAt + */ @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartsAt(String startsAt) { this.startsAt = startsAt; } - /** * Return true if this Mandate object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MasterpassDetails.java b/src/main/java/com/adyen/model/checkout/MasterpassDetails.java index 1acfdc765..497d09ffd 100644 --- a/src/main/java/com/adyen/model/checkout/MasterpassDetails.java +++ b/src/main/java/com/adyen/model/checkout/MasterpassDetails.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public MasterpassDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code MasterpassDetails} instance, allowing for method chaining + */ public MasterpassDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code MasterpassDetails} instance, allowing for method chaining + */ public MasterpassDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The Masterpass transaction ID. + * + * @param masterpassTransactionId + * @return the current {@code MasterpassDetails} instance, allowing for method chaining + */ public MasterpassDetails masterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; return this; } - /** + /** * The Masterpass transaction ID. * @return masterpassTransactionId - **/ + */ @ApiModelProperty(required = true, value = "The Masterpass transaction ID.") @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMasterpassTransactionId() { return masterpassTransactionId; } - - /** - * The Masterpass transaction ID. - * - * @param masterpassTransactionId - */ + /** + * The Masterpass transaction ID. + * + * @param masterpassTransactionId + */ @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMasterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; } - + /** + * **masterpass** + * + * @param type + * @return the current {@code MasterpassDetails} instance, allowing for method chaining + */ public MasterpassDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **masterpass** * @return type - **/ + */ @ApiModelProperty(value = "**masterpass**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **masterpass** - * - * @param type - */ + /** + * **masterpass** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MasterpassDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MbwayDetails.java b/src/main/java/com/adyen/model/checkout/MbwayDetails.java index 67f45a090..c4ab0b405 100644 --- a/src/main/java/com/adyen/model/checkout/MbwayDetails.java +++ b/src/main/java/com/adyen/model/checkout/MbwayDetails.java @@ -86,126 +86,138 @@ public static TypeEnum fromValue(String value) { public MbwayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code MbwayDetails} instance, allowing for method chaining + */ public MbwayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * + * + * @param shopperEmail + * @return the current {@code MbwayDetails} instance, allowing for method chaining + */ public MbwayDetails shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * - * - * @param shopperEmail - */ + /** + * + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * + * + * @param telephoneNumber + * @return the current {@code MbwayDetails} instance, allowing for method chaining + */ public MbwayDetails telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * * @return telephoneNumber - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * - * - * @param telephoneNumber - */ + /** + * + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * **mbway** + * + * @param type + * @return the current {@code MbwayDetails} instance, allowing for method chaining + */ public MbwayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **mbway** * @return type - **/ + */ @ApiModelProperty(value = "**mbway**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **mbway** - * - * @param type - */ + /** + * **mbway** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MbwayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MerchantDevice.java b/src/main/java/com/adyen/model/checkout/MerchantDevice.java index e0933f2af..bfbcca2fc 100644 --- a/src/main/java/com/adyen/model/checkout/MerchantDevice.java +++ b/src/main/java/com/adyen/model/checkout/MerchantDevice.java @@ -49,96 +49,105 @@ public class MerchantDevice { public MerchantDevice() { } + /** + * Operating system running on the merchant device. + * + * @param os + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice os(String os) { this.os = os; return this; } - /** + /** * Operating system running on the merchant device. * @return os - **/ + */ @ApiModelProperty(value = "Operating system running on the merchant device.") @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOs() { return os; } - - /** - * Operating system running on the merchant device. - * - * @param os - */ + /** + * Operating system running on the merchant device. + * + * @param os + */ @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOs(String os) { this.os = os; } - + /** + * Version of the operating system on the merchant device. + * + * @param osVersion + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice osVersion(String osVersion) { this.osVersion = osVersion; return this; } - /** + /** * Version of the operating system on the merchant device. * @return osVersion - **/ + */ @ApiModelProperty(value = "Version of the operating system on the merchant device.") @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsVersion() { return osVersion; } - - /** - * Version of the operating system on the merchant device. - * - * @param osVersion - */ + /** + * Version of the operating system on the merchant device. + * + * @param osVersion + */ @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - + /** + * Merchant device reference. + * + * @param reference + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice reference(String reference) { this.reference = reference; return this; } - /** + /** * Merchant device reference. * @return reference - **/ + */ @ApiModelProperty(value = "Merchant device reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Merchant device reference. - * - * @param reference - */ + /** + * Merchant device reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this MerchantDevice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MerchantRiskIndicator.java b/src/main/java/com/adyen/model/checkout/MerchantRiskIndicator.java index 398eaaebd..bf735ad7e 100644 --- a/src/main/java/com/adyen/model/checkout/MerchantRiskIndicator.java +++ b/src/main/java/com/adyen/model/checkout/MerchantRiskIndicator.java @@ -102,7 +102,7 @@ public static DeliveryAddressIndicatorEnum fromValue(String value) { private DeliveryAddressIndicatorEnum deliveryAddressIndicator; public static final String JSON_PROPERTY_DELIVERY_EMAIL = "deliveryEmail"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `deliveryEmailAddress` instead. private String deliveryEmail; public static final String JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS = "deliveryEmailAddress"; @@ -180,92 +180,110 @@ public static DeliveryTimeframeEnum fromValue(String value) { public MerchantRiskIndicator() { } + /** + * Whether the chosen delivery address is identical to the billing address. + * + * @param addressMatch + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator addressMatch(Boolean addressMatch) { this.addressMatch = addressMatch; return this; } - /** + /** * Whether the chosen delivery address is identical to the billing address. * @return addressMatch - **/ + */ @ApiModelProperty(value = "Whether the chosen delivery address is identical to the billing address.") @JsonProperty(JSON_PROPERTY_ADDRESS_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAddressMatch() { return addressMatch; } - - /** - * Whether the chosen delivery address is identical to the billing address. - * - * @param addressMatch - */ + /** + * Whether the chosen delivery address is identical to the billing address. + * + * @param addressMatch + */ @JsonProperty(JSON_PROPERTY_ADDRESS_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddressMatch(Boolean addressMatch) { this.addressMatch = addressMatch; } - + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + * + * @param deliveryAddressIndicator + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryAddressIndicator(DeliveryAddressIndicatorEnum deliveryAddressIndicator) { this.deliveryAddressIndicator = deliveryAddressIndicator; return this; } - /** - * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` * @return deliveryAddressIndicator - **/ + */ @ApiModelProperty(value = "Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other`") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddressIndicatorEnum getDeliveryAddressIndicator() { return deliveryAddressIndicator; } - - /** - * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` - * - * @param deliveryAddressIndicator - */ + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + * + * @param deliveryAddressIndicator + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressIndicator(DeliveryAddressIndicatorEnum deliveryAddressIndicator) { this.deliveryAddressIndicator = deliveryAddressIndicator; } - + /** + * The delivery email address (for digital goods). + * + * @param deliveryEmail + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated public MerchantRiskIndicator deliveryEmail(String deliveryEmail) { this.deliveryEmail = deliveryEmail; return this; } - /** + /** * The delivery email address (for digital goods). * @return deliveryEmail - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated @ApiModelProperty(value = "The delivery email address (for digital goods).") @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryEmail() { return deliveryEmail; } - - /** - * The delivery email address (for digital goods). - * - * @param deliveryEmail - */ + /** + * The delivery email address (for digital goods). + * + * @param deliveryEmail + * + * @deprecated since Adyen Checkout API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -273,337 +291,369 @@ public void setDeliveryEmail(String deliveryEmail) { this.deliveryEmail = deliveryEmail; } - + /** + * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. + * + * @param deliveryEmailAddress + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryEmailAddress(String deliveryEmailAddress) { this.deliveryEmailAddress = deliveryEmailAddress; return this; } - /** + /** * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. * @return deliveryEmailAddress - **/ + */ @ApiModelProperty(value = "For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters.") @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryEmailAddress() { return deliveryEmailAddress; } - - /** - * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. - * - * @param deliveryEmailAddress - */ + /** + * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. + * + * @param deliveryEmailAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryEmailAddress(String deliveryEmailAddress) { this.deliveryEmailAddress = deliveryEmailAddress; } - + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + * + * @param deliveryTimeframe + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryTimeframe(DeliveryTimeframeEnum deliveryTimeframe) { this.deliveryTimeframe = deliveryTimeframe; return this; } - /** - * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` * @return deliveryTimeframe - **/ + */ @ApiModelProperty(value = "The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping`") @JsonProperty(JSON_PROPERTY_DELIVERY_TIMEFRAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryTimeframeEnum getDeliveryTimeframe() { return deliveryTimeframe; } - - /** - * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` - * - * @param deliveryTimeframe - */ + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + * + * @param deliveryTimeframe + */ @JsonProperty(JSON_PROPERTY_DELIVERY_TIMEFRAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryTimeframe(DeliveryTimeframeEnum deliveryTimeframe) { this.deliveryTimeframe = deliveryTimeframe; } - + /** + * giftCardAmount + * + * @param giftCardAmount + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardAmount(Amount giftCardAmount) { this.giftCardAmount = giftCardAmount; return this; } - /** - * Get giftCardAmount + /** + * giftCardAmount * @return giftCardAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIFT_CARD_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getGiftCardAmount() { return giftCardAmount; } - - /** - * giftCardAmount - * - * @param giftCardAmount - */ + /** + * giftCardAmount + * + * @param giftCardAmount + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardAmount(Amount giftCardAmount) { this.giftCardAmount = giftCardAmount; } - + /** + * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. + * + * @param giftCardCount + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardCount(Integer giftCardCount) { this.giftCardCount = giftCardCount; return this; } - /** + /** * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. * @return giftCardCount - **/ + */ @ApiModelProperty(value = "For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased.") @JsonProperty(JSON_PROPERTY_GIFT_CARD_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getGiftCardCount() { return giftCardCount; } - - /** - * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. - * - * @param giftCardCount - */ + /** + * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. + * + * @param giftCardCount + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardCount(Integer giftCardCount) { this.giftCardCount = giftCardCount; } - + /** + * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. + * + * @param giftCardCurr + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardCurr(String giftCardCurr) { this.giftCardCurr = giftCardCurr; return this; } - /** + /** * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. * @return giftCardCurr - **/ + */ @ApiModelProperty(value = "For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification.") @JsonProperty(JSON_PROPERTY_GIFT_CARD_CURR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGiftCardCurr() { return giftCardCurr; } - - /** - * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. - * - * @param giftCardCurr - */ + /** + * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. + * + * @param giftCardCurr + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_CURR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardCurr(String giftCardCurr) { this.giftCardCurr = giftCardCurr; } - + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + * + * @param preOrderDate + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderDate(OffsetDateTime preOrderDate) { this.preOrderDate = preOrderDate; return this; } - /** + /** * For pre-order purchases, the expected date this product will be available to the shopper. * @return preOrderDate - **/ + */ @ApiModelProperty(value = "For pre-order purchases, the expected date this product will be available to the shopper.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPreOrderDate() { return preOrderDate; } - - /** - * For pre-order purchases, the expected date this product will be available to the shopper. - * - * @param preOrderDate - */ + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + * + * @param preOrderDate + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderDate(OffsetDateTime preOrderDate) { this.preOrderDate = preOrderDate; } - + /** + * Indicator for whether this transaction is for pre-ordering a product. + * + * @param preOrderPurchase + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderPurchase(Boolean preOrderPurchase) { this.preOrderPurchase = preOrderPurchase; return this; } - /** + /** * Indicator for whether this transaction is for pre-ordering a product. * @return preOrderPurchase - **/ + */ @ApiModelProperty(value = "Indicator for whether this transaction is for pre-ordering a product.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPreOrderPurchase() { return preOrderPurchase; } - - /** - * Indicator for whether this transaction is for pre-ordering a product. - * - * @param preOrderPurchase - */ + /** + * Indicator for whether this transaction is for pre-ordering a product. + * + * @param preOrderPurchase + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderPurchase(Boolean preOrderPurchase) { this.preOrderPurchase = preOrderPurchase; } - + /** + * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. + * + * @param preOrderPurchaseInd + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderPurchaseInd(String preOrderPurchaseInd) { this.preOrderPurchaseInd = preOrderPurchaseInd; return this; } - /** + /** * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. * @return preOrderPurchaseInd - **/ + */ @ApiModelProperty(value = "Indicates whether Cardholder is placing an order for merchandise with a future availability or release date.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPreOrderPurchaseInd() { return preOrderPurchaseInd; } - - /** - * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. - * - * @param preOrderPurchaseInd - */ + /** + * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. + * + * @param preOrderPurchaseInd + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderPurchaseInd(String preOrderPurchaseInd) { this.preOrderPurchaseInd = preOrderPurchaseInd; } - + /** + * Indicator for whether the shopper has already purchased the same items in the past. + * + * @param reorderItems + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator reorderItems(Boolean reorderItems) { this.reorderItems = reorderItems; return this; } - /** + /** * Indicator for whether the shopper has already purchased the same items in the past. * @return reorderItems - **/ + */ @ApiModelProperty(value = "Indicator for whether the shopper has already purchased the same items in the past.") @JsonProperty(JSON_PROPERTY_REORDER_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReorderItems() { return reorderItems; } - - /** - * Indicator for whether the shopper has already purchased the same items in the past. - * - * @param reorderItems - */ + /** + * Indicator for whether the shopper has already purchased the same items in the past. + * + * @param reorderItems + */ @JsonProperty(JSON_PROPERTY_REORDER_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReorderItems(Boolean reorderItems) { this.reorderItems = reorderItems; } - + /** + * Indicates whether the cardholder is reordering previously purchased merchandise. + * + * @param reorderItemsInd + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator reorderItemsInd(String reorderItemsInd) { this.reorderItemsInd = reorderItemsInd; return this; } - /** + /** * Indicates whether the cardholder is reordering previously purchased merchandise. * @return reorderItemsInd - **/ + */ @ApiModelProperty(value = "Indicates whether the cardholder is reordering previously purchased merchandise.") @JsonProperty(JSON_PROPERTY_REORDER_ITEMS_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReorderItemsInd() { return reorderItemsInd; } - - /** - * Indicates whether the cardholder is reordering previously purchased merchandise. - * - * @param reorderItemsInd - */ + /** + * Indicates whether the cardholder is reordering previously purchased merchandise. + * + * @param reorderItemsInd + */ @JsonProperty(JSON_PROPERTY_REORDER_ITEMS_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReorderItemsInd(String reorderItemsInd) { this.reorderItemsInd = reorderItemsInd; } - + /** + * Indicates shipping method chosen for the transaction. + * + * @param shipIndicator + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator shipIndicator(String shipIndicator) { this.shipIndicator = shipIndicator; return this; } - /** + /** * Indicates shipping method chosen for the transaction. * @return shipIndicator - **/ + */ @ApiModelProperty(value = "Indicates shipping method chosen for the transaction.") @JsonProperty(JSON_PROPERTY_SHIP_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipIndicator() { return shipIndicator; } - - /** - * Indicates shipping method chosen for the transaction. - * - * @param shipIndicator - */ + /** + * Indicates shipping method chosen for the transaction. + * + * @param shipIndicator + */ @JsonProperty(JSON_PROPERTY_SHIP_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipIndicator(String shipIndicator) { this.shipIndicator = shipIndicator; } - /** * Return true if this MerchantRiskIndicator object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MobilePayDetails.java b/src/main/java/com/adyen/model/checkout/MobilePayDetails.java index 1434f5996..7f831c00c 100644 --- a/src/main/java/com/adyen/model/checkout/MobilePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/MobilePayDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public MobilePayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code MobilePayDetails} instance, allowing for method chaining + */ public MobilePayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * **mobilepay** + * + * @param type + * @return the current {@code MobilePayDetails} instance, allowing for method chaining + */ public MobilePayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **mobilepay** * @return type - **/ + */ @ApiModelProperty(value = "**mobilepay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **mobilepay** - * - * @param type - */ + /** + * **mobilepay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MobilePayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ModelConfiguration.java b/src/main/java/com/adyen/model/checkout/ModelConfiguration.java index 2965f7f59..a700a0a13 100644 --- a/src/main/java/com/adyen/model/checkout/ModelConfiguration.java +++ b/src/main/java/com/adyen/model/checkout/ModelConfiguration.java @@ -94,126 +94,138 @@ public static CardHolderNameEnum fromValue(String value) { public ModelConfiguration() { } + /** + * avs + * + * @param avs + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration avs(Avs avs) { this.avs = avs; return this; } - /** - * Get avs + /** + * avs * @return avs - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AVS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Avs getAvs() { return avs; } - - /** - * avs - * - * @param avs - */ + /** + * avs + * + * @param avs + */ @JsonProperty(JSON_PROPERTY_AVS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvs(Avs avs) { this.avs = avs; } - + /** + * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED + * + * @param cardHolderName + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration cardHolderName(CardHolderNameEnum cardHolderName) { this.cardHolderName = cardHolderName; return this; } - /** + /** * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED * @return cardHolderName - **/ + */ @ApiModelProperty(value = "Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardHolderNameEnum getCardHolderName() { return cardHolderName; } - - /** - * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED - * - * @param cardHolderName - */ + /** + * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED + * + * @param cardHolderName + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderName(CardHolderNameEnum cardHolderName) { this.cardHolderName = cardHolderName; } - + /** + * installments + * + * @param installments + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration installments(InstallmentsNumber installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public InstallmentsNumber getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(InstallmentsNumber installments) { this.installments = installments; } - + /** + * shopperInput + * + * @param shopperInput + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration shopperInput(ShopperInput shopperInput) { this.shopperInput = shopperInput; return this; } - /** - * Get shopperInput + /** + * shopperInput * @return shopperInput - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_INPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInput getShopperInput() { return shopperInput; } - - /** - * shopperInput - * - * @param shopperInput - */ + /** + * shopperInput + * + * @param shopperInput + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInput(ShopperInput shopperInput) { this.shopperInput = shopperInput; } - /** * Return true if this Configuration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/MolPayDetails.java b/src/main/java/com/adyen/model/checkout/MolPayDetails.java index 2f5a2be4f..4f6193e06 100644 --- a/src/main/java/com/adyen/model/checkout/MolPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/MolPayDetails.java @@ -84,96 +84,105 @@ public static TypeEnum fromValue(String value) { public MolPayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code MolPayDetails} instance, allowing for method chaining + */ public MolPayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The shopper's bank. Specify this with the issuer value that corresponds to this bank. + * + * @param issuer + * @return the current {@code MolPayDetails} instance, allowing for method chaining + */ public MolPayDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The shopper's bank. Specify this with the issuer value that corresponds to this bank. + /** + * The shopper's bank. Specify this with the issuer value that corresponds to this bank. * @return issuer - **/ + */ @ApiModelProperty(required = true, value = "The shopper's bank. Specify this with the issuer value that corresponds to this bank.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The shopper's bank. Specify this with the issuer value that corresponds to this bank. - * - * @param issuer - */ + /** + * The shopper's bank. Specify this with the issuer value that corresponds to this bank. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * **molpay** + * + * @param type + * @return the current {@code MolPayDetails} instance, allowing for method chaining + */ public MolPayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **molpay** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**molpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **molpay** - * - * @param type - */ + /** + * **molpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MolPayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Name.java b/src/main/java/com/adyen/model/checkout/Name.java index 44e28b90f..e977b16bb 100644 --- a/src/main/java/com/adyen/model/checkout/Name.java +++ b/src/main/java/com/adyen/model/checkout/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java b/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java index 6294b1d70..7f9833826 100644 --- a/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java +++ b/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java @@ -54,7 +54,7 @@ public class OpenInvoiceDetails { private String personalDetails; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -103,152 +103,176 @@ public static TypeEnum fromValue(String value) { public OpenInvoiceDetails() { } + /** + * The address where to send the invoice. + * + * @param billingAddress + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails billingAddress(String billingAddress) { this.billingAddress = billingAddress; return this; } - /** + /** * The address where to send the invoice. * @return billingAddress - **/ + */ @ApiModelProperty(value = "The address where to send the invoice.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddress() { return billingAddress; } - - /** - * The address where to send the invoice. - * - * @param billingAddress - */ + /** + * The address where to send the invoice. + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(String billingAddress) { this.billingAddress = billingAddress; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails deliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** + /** * The address where the goods should be delivered. * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "The address where the goods should be delivered.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryAddress() { return deliveryAddress; } - - /** - * The address where the goods should be delivered. - * - * @param deliveryAddress - */ + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails personalDetails(String personalDetails) { this.personalDetails = personalDetails; return this; } - /** + /** * Shopper name, date of birth, phone number, and email address. * @return personalDetails - **/ + */ @ApiModelProperty(value = "Shopper name, date of birth, phone number, and email address.") @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPersonalDetails() { return personalDetails; } - - /** - * Shopper name, date of birth, phone number, and email address. - * - * @param personalDetails - */ + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + */ @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPersonalDetails(String personalDetails) { this.personalDetails = personalDetails; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public OpenInvoiceDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -256,67 +280,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **openinvoice** + * + * @param type + * @return the current {@code OpenInvoiceDetails} instance, allowing for method chaining + */ public OpenInvoiceDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **openinvoice** * @return type - **/ + */ @ApiModelProperty(value = "**openinvoice**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **openinvoice** - * - * @param type - */ + /** + * **openinvoice** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this OpenInvoiceDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayByBankDetails.java b/src/main/java/com/adyen/model/checkout/PayByBankDetails.java index 536902c84..f7cfc2b27 100644 --- a/src/main/java/com/adyen/model/checkout/PayByBankDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayByBankDetails.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public PayByBankDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayByBankDetails} instance, allowing for method chaining + */ public PayByBankDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The PayByBank issuer value of the shopper's selected bank. + * + * @param issuer + * @return the current {@code PayByBankDetails} instance, allowing for method chaining + */ public PayByBankDetails issuer(String issuer) { this.issuer = issuer; return this; } - /** - * The PayByBank issuer value of the shopper's selected bank. + /** + * The PayByBank issuer value of the shopper's selected bank. * @return issuer - **/ + */ @ApiModelProperty(value = "The PayByBank issuer value of the shopper's selected bank.") @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuer() { return issuer; } - - /** - * The PayByBank issuer value of the shopper's selected bank. - * - * @param issuer - */ + /** + * The PayByBank issuer value of the shopper's selected bank. + * + * @param issuer + */ @JsonProperty(JSON_PROPERTY_ISSUER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuer(String issuer) { this.issuer = issuer; } - + /** + * **paybybank** + * + * @param type + * @return the current {@code PayByBankDetails} instance, allowing for method chaining + */ public PayByBankDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **paybybank** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**paybybank**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **paybybank** - * - * @param type - */ + /** + * **paybybank** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PayByBankDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayPalDetails.java b/src/main/java/com/adyen/model/checkout/PayPalDetails.java index 70079f5f0..ab8e4b205 100644 --- a/src/main/java/com/adyen/model/checkout/PayPalDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayPalDetails.java @@ -59,7 +59,7 @@ public class PayPalDetails { private String payerSelected; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -144,182 +144,209 @@ public static TypeEnum fromValue(String value) { public PayPalDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The unique ID associated with the order. + * + * @param orderID + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails orderID(String orderID) { this.orderID = orderID; return this; } - /** + /** * The unique ID associated with the order. * @return orderID - **/ + */ @ApiModelProperty(value = "The unique ID associated with the order.") @JsonProperty(JSON_PROPERTY_ORDER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderID() { return orderID; } - - /** - * The unique ID associated with the order. - * - * @param orderID - */ + /** + * The unique ID associated with the order. + * + * @param orderID + */ @JsonProperty(JSON_PROPERTY_ORDER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderID(String orderID) { this.orderID = orderID; } - + /** + * IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED + * + * @param payeePreferred + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails payeePreferred(String payeePreferred) { this.payeePreferred = payeePreferred; return this; } - /** + /** * IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED * @return payeePreferred - **/ + */ @ApiModelProperty(value = "IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED") @JsonProperty(JSON_PROPERTY_PAYEE_PREFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayeePreferred() { return payeePreferred; } - - /** - * IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED - * - * @param payeePreferred - */ + /** + * IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED + * + * @param payeePreferred + */ @JsonProperty(JSON_PROPERTY_PAYEE_PREFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayeePreferred(String payeePreferred) { this.payeePreferred = payeePreferred; } - + /** + * The unique ID associated with the payer. + * + * @param payerID + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails payerID(String payerID) { this.payerID = payerID; return this; } - /** + /** * The unique ID associated with the payer. * @return payerID - **/ + */ @ApiModelProperty(value = "The unique ID associated with the payer.") @JsonProperty(JSON_PROPERTY_PAYER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayerID() { return payerID; } - - /** - * The unique ID associated with the payer. - * - * @param payerID - */ + /** + * The unique ID associated with the payer. + * + * @param payerID + */ @JsonProperty(JSON_PROPERTY_PAYER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayerID(String payerID) { this.payerID = payerID; } - + /** + * PAYPAL or PAYPAL_CREDIT + * + * @param payerSelected + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails payerSelected(String payerSelected) { this.payerSelected = payerSelected; return this; } - /** + /** * PAYPAL or PAYPAL_CREDIT * @return payerSelected - **/ + */ @ApiModelProperty(value = "PAYPAL or PAYPAL_CREDIT") @JsonProperty(JSON_PROPERTY_PAYER_SELECTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayerSelected() { return payerSelected; } - - /** - * PAYPAL or PAYPAL_CREDIT - * - * @param payerSelected - */ + /** + * PAYPAL or PAYPAL_CREDIT + * + * @param payerSelected + */ @JsonProperty(JSON_PROPERTY_PAYER_SELECTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayerSelected(String payerSelected) { this.payerSelected = payerSelected; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code PayPalDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public PayPalDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -327,97 +354,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The type of flow to initiate. + * + * @param subtype + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails subtype(SubtypeEnum subtype) { this.subtype = subtype; return this; } - /** + /** * The type of flow to initiate. * @return subtype - **/ + */ @ApiModelProperty(value = "The type of flow to initiate.") @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SubtypeEnum getSubtype() { return subtype; } - - /** - * The type of flow to initiate. - * - * @param subtype - */ + /** + * The type of flow to initiate. + * + * @param subtype + */ @JsonProperty(JSON_PROPERTY_SUBTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubtype(SubtypeEnum subtype) { this.subtype = subtype; } - + /** + * **paypal** + * + * @param type + * @return the current {@code PayPalDetails} instance, allowing for method chaining + */ public PayPalDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **paypal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**paypal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **paypal** - * - * @param type - */ + /** + * **paypal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PayPalDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayToDetails.java b/src/main/java/com/adyen/model/checkout/PayToDetails.java index 40a5dc80e..3fb89eac9 100644 --- a/src/main/java/com/adyen/model/checkout/PayToDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayToDetails.java @@ -43,7 +43,7 @@ public class PayToDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_ACCOUNT_IDENTIFIER = "shopperAccountIdentifier"; @@ -91,62 +91,77 @@ public static TypeEnum fromValue(String value) { public PayToDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayToDetails} instance, allowing for method chaining + */ public PayToDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code PayToDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public PayToDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -154,97 +169,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The shopper's banking details or payId reference, used to complete payment. + * + * @param shopperAccountIdentifier + * @return the current {@code PayToDetails} instance, allowing for method chaining + */ public PayToDetails shopperAccountIdentifier(String shopperAccountIdentifier) { this.shopperAccountIdentifier = shopperAccountIdentifier; return this; } - /** - * The shopper's banking details or payId reference, used to complete payment. + /** + * The shopper's banking details or payId reference, used to complete payment. * @return shopperAccountIdentifier - **/ + */ @ApiModelProperty(value = "The shopper's banking details or payId reference, used to complete payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_ACCOUNT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperAccountIdentifier() { return shopperAccountIdentifier; } - - /** - * The shopper's banking details or payId reference, used to complete payment. - * - * @param shopperAccountIdentifier - */ + /** + * The shopper's banking details or payId reference, used to complete payment. + * + * @param shopperAccountIdentifier + */ @JsonProperty(JSON_PROPERTY_SHOPPER_ACCOUNT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperAccountIdentifier(String shopperAccountIdentifier) { this.shopperAccountIdentifier = shopperAccountIdentifier; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code PayToDetails} instance, allowing for method chaining + */ public PayToDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **payto** + * + * @param type + * @return the current {@code PayToDetails} instance, allowing for method chaining + */ public PayToDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **payto** * @return type - **/ + */ @ApiModelProperty(value = "**payto**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **payto** - * - * @param type - */ + /** + * **payto** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PayToDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java b/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java index 24f2e0d57..40d6775f1 100644 --- a/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java @@ -44,7 +44,7 @@ public class PayUUpiDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference"; @@ -95,62 +95,77 @@ public static TypeEnum fromValue(String value) { public PayUUpiDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + */ public PayUUpiDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public PayUUpiDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -158,127 +173,138 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + */ public PayUUpiDetails shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. - * - * @param shopperNotificationReference - */ + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + */ public PayUUpiDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **payu_IN_upi** + * + * @param type + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + */ public PayUUpiDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **payu_IN_upi** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**payu_IN_upi**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **payu_IN_upi** - * - * @param type - */ + /** + * **payu_IN_upi** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The virtual payment address for UPI. + * + * @param virtualPaymentAddress + * @return the current {@code PayUUpiDetails} instance, allowing for method chaining + */ public PayUUpiDetails virtualPaymentAddress(String virtualPaymentAddress) { this.virtualPaymentAddress = virtualPaymentAddress; return this; } - /** + /** * The virtual payment address for UPI. * @return virtualPaymentAddress - **/ + */ @ApiModelProperty(value = "The virtual payment address for UPI.") @JsonProperty(JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVirtualPaymentAddress() { return virtualPaymentAddress; } - - /** - * The virtual payment address for UPI. - * - * @param virtualPaymentAddress - */ + /** + * The virtual payment address for UPI. + * + * @param virtualPaymentAddress + */ @JsonProperty(JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVirtualPaymentAddress(String virtualPaymentAddress) { this.virtualPaymentAddress = virtualPaymentAddress; } - /** * Return true if this PayUUpiDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java b/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java index f66dfa15a..69981c7d4 100644 --- a/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java @@ -86,7 +86,7 @@ public static FundingSourceEnum fromValue(String value) { private String googlePayToken; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -134,122 +134,143 @@ public static TypeEnum fromValue(String value) { public PayWithGoogleDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails googlePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; return this; } - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. * @return googlePayToken - **/ + */ @ApiModelProperty(required = true, value = "The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayToken() { return googlePayToken; } - - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. - * - * @param googlePayToken - */ + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public PayWithGoogleDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -257,97 +278,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * **paywithgoogle** + * + * @param type + * @return the current {@code PayWithGoogleDetails} instance, allowing for method chaining + */ public PayWithGoogleDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **paywithgoogle** * @return type - **/ + */ @ApiModelProperty(value = "**paywithgoogle**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **paywithgoogle** - * - * @param type - */ + /** + * **paywithgoogle** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PayWithGoogleDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java b/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java index 6134f242f..d80e10ae4 100644 --- a/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java +++ b/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java @@ -86,7 +86,7 @@ public static FundingSourceEnum fromValue(String value) { private String googlePayToken; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -134,122 +134,143 @@ public static TypeEnum fromValue(String value) { public PayWithGoogleDonations() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations googlePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; return this; } - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. * @return googlePayToken - **/ + */ @ApiModelProperty(required = true, value = "The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGooglePayToken() { return googlePayToken; } - - /** - * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. - * - * @param googlePayToken - */ + /** + * The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response. + * + * @param googlePayToken + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePayToken(String googlePayToken) { this.googlePayToken = googlePayToken; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public PayWithGoogleDonations recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -257,97 +278,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations threeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; return this; } - /** + /** * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. * @return threeDS2SdkVersion - **/ + */ @ApiModelProperty(value = "Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2SdkVersion() { return threeDS2SdkVersion; } - - /** - * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. - * - * @param threeDS2SdkVersion - */ + /** + * Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @param threeDS2SdkVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2SdkVersion(String threeDS2SdkVersion) { this.threeDS2SdkVersion = threeDS2SdkVersion; } - + /** + * **paywithgoogle** + * + * @param type + * @return the current {@code PayWithGoogleDonations} instance, allowing for method chaining + */ public PayWithGoogleDonations type(TypeEnum type) { this.type = type; return this; } - /** + /** * **paywithgoogle** * @return type - **/ + */ @ApiModelProperty(value = "**paywithgoogle**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **paywithgoogle** - * - * @param type - */ + /** + * **paywithgoogle** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PayWithGoogleDonations object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java index b52251d3a..5c79a0339 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java @@ -108,96 +108,111 @@ public static IndustryUsageEnum fromValue(String value) { public PaymentAmountUpdateRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest industryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; return this; } - /** + /** * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** * @return industryUsage - **/ + */ @ApiModelProperty(value = "The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment**") @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IndustryUsageEnum getIndustryUsage() { return industryUsage; } - - /** - * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** - * - * @param industryUsage - */ + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -211,91 +226,100 @@ public PaymentAmountUpdateRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reference for the amount update request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the amount update request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the amount update request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the amount update request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the amount update request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). + * + * @param splits + * @return the current {@code PaymentAmountUpdateRequest} instance, allowing for method chaining + */ public PaymentAmountUpdateRequest splits(List splits) { this.splits = splits; return this; @@ -309,31 +333,28 @@ public PaymentAmountUpdateRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - /** * Return true if this PaymentAmountUpdateRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java index 970ab0cfa..d06535d10 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java @@ -148,66 +148,78 @@ public static StatusEnum fromValue(String value) { public PaymentAmountUpdateResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse industryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; return this; } - /** + /** * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** * @return industryUsage - **/ + */ @ApiModelProperty(value = "The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment**") @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IndustryUsageEnum getIndustryUsage() { return industryUsage; } - - /** - * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** - * - * @param industryUsage - */ + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -221,151 +233,166 @@ public PaymentAmountUpdateResponse addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. + * + * @param paymentPspReference + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse paymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; return this; } - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. * @return paymentPspReference - **/ + */ @ApiModelProperty(required = true, value = "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. ") @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentPspReference() { return paymentPspReference; } - - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. - * - * @param paymentPspReference - */ + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to update. + * + * @param paymentPspReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; } - + /** + * Adyen's 16-character reference associated with the amount update request. + * + * @param pspReference + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the amount update request. + /** + * Adyen's 16-character reference associated with the amount update request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the amount update request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the amount update request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the amount update request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the amount update request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the amount update request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "Your reference for the amount update request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the amount update request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the amount update request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). + * + * @param splits + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse splits(List splits) { this.splits = splits; return this; @@ -379,61 +406,61 @@ public PaymentAmountUpdateResponse addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code PaymentAmountUpdateResponse} instance, allowing for method chaining + */ public PaymentAmountUpdateResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this PaymentAmountUpdateResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCancelRequest.java b/src/main/java/com/adyen/model/checkout/PaymentCancelRequest.java index 302ee7061..fd8cc6108 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCancelRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCancelRequest.java @@ -50,96 +50,105 @@ public class PaymentCancelRequest { public PaymentCancelRequest() { } + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentCancelRequest} instance, allowing for method chaining + */ public PaymentCancelRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentCancelRequest} instance, allowing for method chaining + */ public PaymentCancelRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reference for the cancel request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentCancelRequest} instance, allowing for method chaining + */ public PaymentCancelRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the cancel request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the cancel request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the cancel request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the cancel request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this PaymentCancelRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCancelResponse.java b/src/main/java/com/adyen/model/checkout/PaymentCancelResponse.java index c410ea3dc..e87ec6106 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCancelResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCancelResponse.java @@ -90,156 +90,171 @@ public static StatusEnum fromValue(String value) { public PaymentCancelResponse() { } + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentCancelResponse} instance, allowing for method chaining + */ public PaymentCancelResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. + * + * @param paymentPspReference + * @return the current {@code PaymentCancelResponse} instance, allowing for method chaining + */ public PaymentCancelResponse paymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; return this; } - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. * @return paymentPspReference - **/ + */ @ApiModelProperty(required = true, value = "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. ") @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentPspReference() { return paymentPspReference; } - - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. - * - * @param paymentPspReference - */ + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to cancel. + * + * @param paymentPspReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; } - + /** + * Adyen's 16-character reference associated with the cancel request. + * + * @param pspReference + * @return the current {@code PaymentCancelResponse} instance, allowing for method chaining + */ public PaymentCancelResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the cancel request. + /** + * Adyen's 16-character reference associated with the cancel request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the cancel request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the cancel request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the cancel request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the cancel request. + * + * @param reference + * @return the current {@code PaymentCancelResponse} instance, allowing for method chaining + */ public PaymentCancelResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the cancel request. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the cancel request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the cancel request. - * - * @param reference - */ + /** + * Your reference for the cancel request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code PaymentCancelResponse} instance, allowing for method chaining + */ public PaymentCancelResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this PaymentCancelResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java b/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java index 469fa72e3..764eab51d 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java @@ -77,66 +77,78 @@ public class PaymentCaptureRequest { public PaymentCaptureRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -150,121 +162,133 @@ public PaymentCaptureRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the capture request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the capture request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the capture request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the capture request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the capture request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest splits(List splits) { this.splits = splits; return this; @@ -278,31 +302,34 @@ public PaymentCaptureRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * A List of sub-merchants. + * + * @param subMerchants + * @return the current {@code PaymentCaptureRequest} instance, allowing for method chaining + */ public PaymentCaptureRequest subMerchants(List subMerchants) { this.subMerchants = subMerchants; return this; @@ -316,31 +343,28 @@ public PaymentCaptureRequest addSubMerchantsItem(SubMerchantInfo subMerchantsIte return this; } - /** + /** * A List of sub-merchants. * @return subMerchants - **/ + */ @ApiModelProperty(value = "A List of sub-merchants.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubMerchants() { return subMerchants; } - - /** - * A List of sub-merchants. - * - * @param subMerchants - */ + /** + * A List of sub-merchants. + * + * @param subMerchants + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchants(List subMerchants) { this.subMerchants = subMerchants; } - /** * Return true if this PaymentCaptureRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java b/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java index 06faaf13c..277eb5ece 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java @@ -117,36 +117,45 @@ public static StatusEnum fromValue(String value) { public PaymentCaptureResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -160,181 +169,199 @@ public PaymentCaptureResponse addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. + * + * @param paymentPspReference + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse paymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; return this; } - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. * @return paymentPspReference - **/ + */ @ApiModelProperty(required = true, value = "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. ") @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentPspReference() { return paymentPspReference; } - - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. - * - * @param paymentPspReference - */ + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture. + * + * @param paymentPspReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Adyen's 16-character reference associated with the capture request. + * + * @param pspReference + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the capture request. + /** + * Adyen's 16-character reference associated with the capture request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the capture request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the capture request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the capture request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the capture request. + * + * @param reference + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the capture request. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the capture request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the capture request. - * - * @param reference - */ + /** + * Your reference for the capture request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse splits(List splits) { this.splits = splits; return this; @@ -348,61 +375,67 @@ public PaymentCaptureResponse addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * List of sub-merchants. + * + * @param subMerchants + * @return the current {@code PaymentCaptureResponse} instance, allowing for method chaining + */ public PaymentCaptureResponse subMerchants(List subMerchants) { this.subMerchants = subMerchants; return this; @@ -416,31 +449,28 @@ public PaymentCaptureResponse addSubMerchantsItem(SubMerchantInfo subMerchantsIt return this; } - /** + /** * List of sub-merchants. * @return subMerchants - **/ + */ @ApiModelProperty(value = "List of sub-merchants.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubMerchants() { return subMerchants; } - - /** - * List of sub-merchants. - * - * @param subMerchants - */ + /** + * List of sub-merchants. + * + * @param subMerchants + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchants(List subMerchants) { this.subMerchants = subMerchants; } - /** * Return true if this PaymentCaptureResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java b/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java index f1ffb3780..4d1ffc0c6 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java @@ -117,606 +117,666 @@ public class PaymentCompletionDetails { public PaymentCompletionDetails() { } + /** + * A payment session identifier returned by the card issuer. + * + * @param MD + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails MD(String MD) { this.MD = MD; return this; } - /** + /** * A payment session identifier returned by the card issuer. * @return MD - **/ + */ @ApiModelProperty(value = "A payment session identifier returned by the card issuer.") @JsonProperty(JSON_PROPERTY_M_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMD() { return MD; } - - /** - * A payment session identifier returned by the card issuer. - * - * @param MD - */ + /** + * A payment session identifier returned by the card issuer. + * + * @param MD + */ @JsonProperty(JSON_PROPERTY_M_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMD(String MD) { this.MD = MD; } - + /** + * (3D) Payment Authentication Request data for the card issuer. + * + * @param paReq + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails paReq(String paReq) { this.paReq = paReq; return this; } - /** + /** * (3D) Payment Authentication Request data for the card issuer. * @return paReq - **/ + */ @ApiModelProperty(value = "(3D) Payment Authentication Request data for the card issuer.") @JsonProperty(JSON_PROPERTY_PA_REQ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaReq() { return paReq; } - - /** - * (3D) Payment Authentication Request data for the card issuer. - * - * @param paReq - */ + /** + * (3D) Payment Authentication Request data for the card issuer. + * + * @param paReq + */ @JsonProperty(JSON_PROPERTY_PA_REQ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaReq(String paReq) { this.paReq = paReq; } - + /** + * (3D) Payment Authentication Response data by the card issuer. + * + * @param paRes + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails paRes(String paRes) { this.paRes = paRes; return this; } - /** + /** * (3D) Payment Authentication Response data by the card issuer. * @return paRes - **/ + */ @ApiModelProperty(value = "(3D) Payment Authentication Response data by the card issuer.") @JsonProperty(JSON_PROPERTY_PA_RES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaRes() { return paRes; } - - /** - * (3D) Payment Authentication Response data by the card issuer. - * - * @param paRes - */ + /** + * (3D) Payment Authentication Response data by the card issuer. + * + * @param paRes + */ @JsonProperty(JSON_PROPERTY_PA_RES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaRes(String paRes) { this.paRes = paRes; } - + /** + * authorizationToken + * + * @param authorizationToken + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails authorizationToken(String authorizationToken) { this.authorizationToken = authorizationToken; return this; } - /** - * Get authorizationToken + /** + * authorizationToken * @return authorizationToken - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHORIZATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorizationToken() { return authorizationToken; } - - /** - * authorizationToken - * - * @param authorizationToken - */ + /** + * authorizationToken + * + * @param authorizationToken + */ @JsonProperty(JSON_PROPERTY_AUTHORIZATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorizationToken(String authorizationToken) { this.authorizationToken = authorizationToken; } - + /** + * PayPal-generated token for recurring payments. + * + * @param billingToken + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails billingToken(String billingToken) { this.billingToken = billingToken; return this; } - /** + /** * PayPal-generated token for recurring payments. * @return billingToken - **/ + */ @ApiModelProperty(value = "PayPal-generated token for recurring payments.") @JsonProperty(JSON_PROPERTY_BILLING_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingToken() { return billingToken; } - - /** - * PayPal-generated token for recurring payments. - * - * @param billingToken - */ + /** + * PayPal-generated token for recurring payments. + * + * @param billingToken + */ @JsonProperty(JSON_PROPERTY_BILLING_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingToken(String billingToken) { this.billingToken = billingToken; } - + /** + * The SMS verification code collected from the shopper. + * + * @param cupsecureplusSmscode + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails cupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; return this; } - /** + /** * The SMS verification code collected from the shopper. * @return cupsecureplusSmscode - **/ + */ @ApiModelProperty(value = "The SMS verification code collected from the shopper.") @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCupsecureplusSmscode() { return cupsecureplusSmscode; } - - /** - * The SMS verification code collected from the shopper. - * - * @param cupsecureplusSmscode - */ + /** + * The SMS verification code collected from the shopper. + * + * @param cupsecureplusSmscode + */ @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCupsecureplusSmscode(String cupsecureplusSmscode) { this.cupsecureplusSmscode = cupsecureplusSmscode; } - + /** + * PayPal-generated third party access token. + * + * @param facilitatorAccessToken + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails facilitatorAccessToken(String facilitatorAccessToken) { this.facilitatorAccessToken = facilitatorAccessToken; return this; } - /** + /** * PayPal-generated third party access token. * @return facilitatorAccessToken - **/ + */ @ApiModelProperty(value = "PayPal-generated third party access token.") @JsonProperty(JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFacilitatorAccessToken() { return facilitatorAccessToken; } - - /** - * PayPal-generated third party access token. - * - * @param facilitatorAccessToken - */ + /** + * PayPal-generated third party access token. + * + * @param facilitatorAccessToken + */ @JsonProperty(JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFacilitatorAccessToken(String facilitatorAccessToken) { this.facilitatorAccessToken = facilitatorAccessToken; } - + /** + * A random number sent to the mobile phone number of the shopper to verify the payment. + * + * @param oneTimePasscode + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails oneTimePasscode(String oneTimePasscode) { this.oneTimePasscode = oneTimePasscode; return this; } - /** + /** * A random number sent to the mobile phone number of the shopper to verify the payment. * @return oneTimePasscode - **/ + */ @ApiModelProperty(value = "A random number sent to the mobile phone number of the shopper to verify the payment.") @JsonProperty(JSON_PROPERTY_ONE_TIME_PASSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOneTimePasscode() { return oneTimePasscode; } - - /** - * A random number sent to the mobile phone number of the shopper to verify the payment. - * - * @param oneTimePasscode - */ + /** + * A random number sent to the mobile phone number of the shopper to verify the payment. + * + * @param oneTimePasscode + */ @JsonProperty(JSON_PROPERTY_ONE_TIME_PASSCODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOneTimePasscode(String oneTimePasscode) { this.oneTimePasscode = oneTimePasscode; } - + /** + * PayPal-assigned ID for the order. + * + * @param orderID + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails orderID(String orderID) { this.orderID = orderID; return this; } - /** + /** * PayPal-assigned ID for the order. * @return orderID - **/ + */ @ApiModelProperty(value = "PayPal-assigned ID for the order.") @JsonProperty(JSON_PROPERTY_ORDER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderID() { return orderID; } - - /** - * PayPal-assigned ID for the order. - * - * @param orderID - */ + /** + * PayPal-assigned ID for the order. + * + * @param orderID + */ @JsonProperty(JSON_PROPERTY_ORDER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderID(String orderID) { this.orderID = orderID; } - + /** + * PayPal-assigned ID for the payer (shopper). + * + * @param payerID + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails payerID(String payerID) { this.payerID = payerID; return this; } - /** + /** * PayPal-assigned ID for the payer (shopper). * @return payerID - **/ + */ @ApiModelProperty(value = "PayPal-assigned ID for the payer (shopper).") @JsonProperty(JSON_PROPERTY_PAYER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayerID() { return payerID; } - - /** - * PayPal-assigned ID for the payer (shopper). - * - * @param payerID - */ + /** + * PayPal-assigned ID for the payer (shopper). + * + * @param payerID + */ @JsonProperty(JSON_PROPERTY_PAYER_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayerID(String payerID) { this.payerID = payerID; } - + /** + * Payload appended to the `returnURL` as a result of the redirect. + * + * @param payload + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails payload(String payload) { this.payload = payload; return this; } - /** - * Payload appended to the `returnURL` as a result of the redirect. + /** + * Payload appended to the `returnURL` as a result of the redirect. * @return payload - **/ + */ @ApiModelProperty(value = "Payload appended to the `returnURL` as a result of the redirect.") @JsonProperty(JSON_PROPERTY_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayload() { return payload; } - - /** - * Payload appended to the `returnURL` as a result of the redirect. - * - * @param payload - */ + /** + * Payload appended to the `returnURL` as a result of the redirect. + * + * @param payload + */ @JsonProperty(JSON_PROPERTY_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayload(String payload) { this.payload = payload; } - + /** + * PayPal-generated ID for the payment. + * + * @param paymentID + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails paymentID(String paymentID) { this.paymentID = paymentID; return this; } - /** + /** * PayPal-generated ID for the payment. * @return paymentID - **/ + */ @ApiModelProperty(value = "PayPal-generated ID for the payment.") @JsonProperty(JSON_PROPERTY_PAYMENT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentID() { return paymentID; } - - /** - * PayPal-generated ID for the payment. - * - * @param paymentID - */ + /** + * PayPal-generated ID for the payment. + * + * @param paymentID + */ @JsonProperty(JSON_PROPERTY_PAYMENT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentID(String paymentID) { this.paymentID = paymentID; } - + /** + * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`. + * + * @param paymentStatus + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails paymentStatus(String paymentStatus) { this.paymentStatus = paymentStatus; return this; } - /** - * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`. + /** + * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`. * @return paymentStatus - **/ + */ @ApiModelProperty(value = "Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.") @JsonProperty(JSON_PROPERTY_PAYMENT_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentStatus() { return paymentStatus; } - - /** - * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`. - * - * @param paymentStatus - */ + /** + * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`. + * + * @param paymentStatus + */ @JsonProperty(JSON_PROPERTY_PAYMENT_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentStatus(String paymentStatus) { this.paymentStatus = paymentStatus; } - + /** + * The result of the redirect as appended to the `returnURL`. + * + * @param redirectResult + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails redirectResult(String redirectResult) { this.redirectResult = redirectResult; return this; } - /** - * The result of the redirect as appended to the `returnURL`. + /** + * The result of the redirect as appended to the `returnURL`. * @return redirectResult - **/ + */ @ApiModelProperty(value = "The result of the redirect as appended to the `returnURL`.") @JsonProperty(JSON_PROPERTY_REDIRECT_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectResult() { return redirectResult; } - - /** - * The result of the redirect as appended to the `returnURL`. - * - * @param redirectResult - */ + /** + * The result of the redirect as appended to the `returnURL`. + * + * @param redirectResult + */ @JsonProperty(JSON_PROPERTY_REDIRECT_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectResult(String redirectResult) { this.redirectResult = redirectResult; } - + /** + * Value you received from the WeChat Pay SDK. + * + * @param resultCode + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** + /** * Value you received from the WeChat Pay SDK. * @return resultCode - **/ + */ @ApiModelProperty(value = "Value you received from the WeChat Pay SDK.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * Value you received from the WeChat Pay SDK. - * - * @param resultCode - */ + /** + * Value you received from the WeChat Pay SDK. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - + /** + * The query string as appended to the `returnURL` when using direct issuer links . + * + * @param returnUrlQueryString + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails returnUrlQueryString(String returnUrlQueryString) { this.returnUrlQueryString = returnUrlQueryString; return this; } - /** - * The query string as appended to the `returnURL` when using direct issuer links . + /** + * The query string as appended to the `returnURL` when using direct issuer links . * @return returnUrlQueryString - **/ + */ @ApiModelProperty(value = "The query string as appended to the `returnURL` when using direct issuer links .") @JsonProperty(JSON_PROPERTY_RETURN_URL_QUERY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrlQueryString() { return returnUrlQueryString; } - - /** - * The query string as appended to the `returnURL` when using direct issuer links . - * - * @param returnUrlQueryString - */ + /** + * The query string as appended to the `returnURL` when using direct issuer links . + * + * @param returnUrlQueryString + */ @JsonProperty(JSON_PROPERTY_RETURN_URL_QUERY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrlQueryString(String returnUrlQueryString) { this.returnUrlQueryString = returnUrlQueryString; } - + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`. + * + * @param threeDSResult + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails threeDSResult(String threeDSResult) { this.threeDSResult = threeDSResult; return this; } - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`. + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`. * @return threeDSResult - **/ + */ @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.") @JsonProperty(JSON_PROPERTY_THREE_D_S_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSResult() { return threeDSResult; } - - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`. - * - * @param threeDSResult - */ + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`. + * + * @param threeDSResult + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSResult(String threeDSResult) { this.threeDSResult = threeDSResult; } - + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. + * + * @param threeds2ChallengeResult + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails threeds2ChallengeResult(String threeds2ChallengeResult) { this.threeds2ChallengeResult = threeds2ChallengeResult; return this; } - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. * @return threeds2ChallengeResult - **/ + */ @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.") @JsonProperty(JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeds2ChallengeResult() { return threeds2ChallengeResult; } - - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. - * - * @param threeds2ChallengeResult - */ + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. + * + * @param threeds2ChallengeResult + */ @JsonProperty(JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeds2ChallengeResult(String threeds2ChallengeResult) { this.threeds2ChallengeResult = threeds2ChallengeResult; } - + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. + * + * @param threeds2Fingerprint + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails threeds2Fingerprint(String threeds2Fingerprint) { this.threeds2Fingerprint = threeds2Fingerprint; return this; } - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. * @return threeds2Fingerprint - **/ + */ @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.") @JsonProperty(JSON_PROPERTY_THREEDS2_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeds2Fingerprint() { return threeds2Fingerprint; } - - /** - * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. - * - * @param threeds2Fingerprint - */ + /** + * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. + * + * @param threeds2Fingerprint + */ @JsonProperty(JSON_PROPERTY_THREEDS2_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeds2Fingerprint(String threeds2Fingerprint) { this.threeds2Fingerprint = threeds2Fingerprint; } - + /** + * PayPalv2-generated token for recurring payments. + * + * @param vaultToken + * @return the current {@code PaymentCompletionDetails} instance, allowing for method chaining + */ public PaymentCompletionDetails vaultToken(String vaultToken) { this.vaultToken = vaultToken; return this; } - /** + /** * PayPalv2-generated token for recurring payments. * @return vaultToken - **/ + */ @ApiModelProperty(value = "PayPalv2-generated token for recurring payments.") @JsonProperty(JSON_PROPERTY_VAULT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVaultToken() { return vaultToken; } - - /** - * PayPalv2-generated token for recurring payments. - * - * @param vaultToken - */ + /** + * PayPalv2-generated token for recurring payments. + * + * @param vaultToken + */ @JsonProperty(JSON_PROPERTY_VAULT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVaultToken(String vaultToken) { this.vaultToken = vaultToken; } - /** * Return true if this PaymentCompletionDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentDetails.java b/src/main/java/com/adyen/model/checkout/PaymentDetails.java index 9bc07c981..4e8aac254 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentDetails.java +++ b/src/main/java/com/adyen/model/checkout/PaymentDetails.java @@ -258,66 +258,72 @@ public static TypeEnum fromValue(String value) { public PaymentDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code PaymentDetails} instance, allowing for method chaining + */ public PaymentDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The payment method type. + * + * @param type + * @return the current {@code PaymentDetails} instance, allowing for method chaining + */ public PaymentDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * The payment method type. * @return type - **/ + */ @ApiModelProperty(value = "The payment method type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The payment method type. - * - * @param type - */ + /** + * The payment method type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentDetailsRequest.java b/src/main/java/com/adyen/model/checkout/PaymentDetailsRequest.java index fb2cf6c4b..5ac32bbea 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentDetailsRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentDetailsRequest.java @@ -50,128 +50,149 @@ public class PaymentDetailsRequest { private String paymentData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public PaymentDetailsRequest() { } + /** + * authenticationData + * + * @param authenticationData + * @return the current {@code PaymentDetailsRequest} instance, allowing for method chaining + */ public PaymentDetailsRequest authenticationData(DetailsRequestAuthenticationData authenticationData) { this.authenticationData = authenticationData; return this; } - /** - * Get authenticationData + /** + * authenticationData * @return authenticationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DetailsRequestAuthenticationData getAuthenticationData() { return authenticationData; } - - /** - * authenticationData - * - * @param authenticationData - */ + /** + * authenticationData + * + * @param authenticationData + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationData(DetailsRequestAuthenticationData authenticationData) { this.authenticationData = authenticationData; } - + /** + * details + * + * @param details + * @return the current {@code PaymentDetailsRequest} instance, allowing for method chaining + */ public PaymentDetailsRequest details(PaymentCompletionDetails details) { this.details = details; return this; } - /** - * Get details + /** + * details * @return details - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentCompletionDetails getDetails() { return details; } - - /** - * details - * - * @param details - */ + /** + * details + * + * @param details + */ @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetails(PaymentCompletionDetails details) { this.details = details; } - + /** + * Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response. + * + * @param paymentData + * @return the current {@code PaymentDetailsRequest} instance, allowing for method chaining + */ public PaymentDetailsRequest paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** - * Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response. + /** + * Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response. * @return paymentData - **/ + */ @ApiModelProperty(value = "Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response. - * - * @param paymentData - */ + /** + * Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentDetailsRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public PaymentDetailsRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** - * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + /** + * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. - * - * @param threeDSAuthenticationOnly - */ + /** + * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -179,7 +200,6 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - /** * Return true if this PaymentDetailsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentDetailsResponse.java b/src/main/java/com/adyen/model/checkout/PaymentDetailsResponse.java index ce471d419..f2b7a23b2 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentDetailsResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentDetailsResponse.java @@ -165,6 +165,12 @@ public static ResultCodeEnum fromValue(String value) { public PaymentDetailsResponse() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -178,451 +184,490 @@ public PaymentDetailsResponse putAdditionalDataItem(String key, String additiona return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Donation Token containing payment details for Adyen Giving. + * + * @param donationToken + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse donationToken(String donationToken) { this.donationToken = donationToken; return this; } - /** + /** * Donation Token containing payment details for Adyen Giving. * @return donationToken - **/ + */ @ApiModelProperty(value = "Donation Token containing payment details for Adyen Giving.") @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationToken() { return donationToken; } - - /** - * Donation Token containing payment details for Adyen Giving. - * - * @param donationToken - */ + /** + * Donation Token containing payment details for Adyen Giving. + * + * @param donationToken + */ @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationToken(String donationToken) { this.donationToken = donationToken; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * The reference used during the /payments request. + * + * @param merchantReference + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * The reference used during the /payments request. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The reference used during the /payments request.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The reference used during the /payments request. - * - * @param merchantReference - */ + /** + * The reference used during the /payments request. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * order + * + * @param order + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse order(CheckoutOrderResponse order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutOrderResponse getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(CheckoutOrderResponse order) { this.order = order; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse paymentMethod(ResponsePaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResponsePaymentMethod getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(ResponsePaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse refusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; return this; } - /** + /** * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReasonCode - **/ + */ @ApiModelProperty(value = "Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonCode() { return refusalReasonCode; } - - /** - * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReasonCode - */ + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; } - + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. - * - * @param resultCode - */ + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * The shopperLocale. + * + * @param shopperLocale + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The shopperLocale. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The shopperLocale.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The shopperLocale. - * - * @param shopperLocale - */ + /** + * The shopperLocale. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * threeDS2ResponseData + * + * @param threeDS2ResponseData + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse threeDS2ResponseData(ThreeDS2ResponseData threeDS2ResponseData) { this.threeDS2ResponseData = threeDS2ResponseData; return this; } - /** - * Get threeDS2ResponseData + /** + * threeDS2ResponseData * @return threeDS2ResponseData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESPONSE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2ResponseData getThreeDS2ResponseData() { return threeDS2ResponseData; } - - /** - * threeDS2ResponseData - * - * @param threeDS2ResponseData - */ + /** + * threeDS2ResponseData + * + * @param threeDS2ResponseData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESPONSE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2ResponseData(ThreeDS2ResponseData threeDS2ResponseData) { this.threeDS2ResponseData = threeDS2ResponseData; } - + /** + * threeDS2Result + * + * @param threeDS2Result + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse threeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; return this; } - /** - * Get threeDS2Result + /** + * threeDS2Result * @return threeDS2Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2Result getThreeDS2Result() { return threeDS2Result; } - - /** - * threeDS2Result - * - * @param threeDS2Result - */ + /** + * threeDS2Result + * + * @param threeDS2Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; } - + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + * + * @param threeDSPaymentData + * @return the current {@code PaymentDetailsResponse} instance, allowing for method chaining + */ public PaymentDetailsResponse threeDSPaymentData(String threeDSPaymentData) { this.threeDSPaymentData = threeDSPaymentData; return this; } - /** - * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. * @return threeDSPaymentData - **/ + */ @ApiModelProperty(value = "When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`.") @JsonProperty(JSON_PROPERTY_THREE_D_S_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSPaymentData() { return threeDSPaymentData; } - - /** - * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. - * - * @param threeDSPaymentData - */ + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + * + * @param threeDSPaymentData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSPaymentData(String threeDSPaymentData) { this.threeDSPaymentData = threeDSPaymentData; } - /** * Return true if this PaymentDetailsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java index 58fd32971..eb49fd542 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java @@ -338,6 +338,12 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public PaymentLinkRequest() { } + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -351,121 +357,133 @@ public PaymentLinkRequest addAllowedPaymentMethodsItem(String allowedPaymentMeth return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -479,301 +497,331 @@ public PaymentLinkRequest addBlockedPaymentMethodsItem(String blockedPaymentMeth return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The shopper's two-letter country code. + * + * @param countryCode + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * The shopper's two-letter country code. + /** + * The shopper's two-letter country code. * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper's two-letter country code.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper's two-letter country code. - * - * @param countryCode - */ + /** + * The shopper's two-letter country code. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param deliverAt - */ + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * A short description visible on the payment page. Maximum length: 280 characters. + * + * @param description + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest description(String description) { this.description = description; return this; } - /** + /** * A short description visible on the payment page. Maximum length: 280 characters. * @return description - **/ + */ @ApiModelProperty(value = "A short description visible on the payment page. Maximum length: 280 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A short description visible on the payment page. Maximum length: 280 characters. - * - * @param description - */ + /** + * A short description visible on the payment page. Maximum length: 280 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * + * @param expiresAt + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. - * - * @param expiresAt - */ + /** + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - + /** + * fundOrigin + * + * @param fundOrigin + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest fundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; return this; } - /** - * Get fundOrigin + /** + * fundOrigin * @return fundOrigin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundOrigin getFundOrigin() { return fundOrigin; } - - /** - * fundOrigin - * - * @param fundOrigin - */ + /** + * fundOrigin + * + * @param fundOrigin + */ @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; } - + /** + * fundRecipient + * + * @param fundRecipient + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest fundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; return this; } - /** - * Get fundRecipient + /** + * fundRecipient * @return fundRecipient - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundRecipient getFundRecipient() { return fundRecipient; } - - /** - * fundRecipient - * - * @param fundRecipient - */ + /** + * fundRecipient + * + * @param fundRecipient + */ @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; } - + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest installmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; return this; @@ -787,31 +835,34 @@ public PaymentLinkRequest putInstallmentOptionsItem(String key, InstallmentOptio return this; } - /** + /** * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. * @return installmentOptions - **/ + */ @ApiModelProperty(value = "A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getInstallmentOptions() { return installmentOptions; } - - /** - * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. - * - * @param installmentOptions - */ + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -825,151 +876,166 @@ public PaymentLinkRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** + /** * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). + * + * @param manualCapture + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest manualCapture(Boolean manualCapture) { this.manualCapture = manualCapture; return this; } - /** + /** * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). * @return manualCapture - **/ + */ @ApiModelProperty(value = "Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture).") @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getManualCapture() { return manualCapture; } - - /** - * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). - * - * @param manualCapture - */ + /** + * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). + * + * @param manualCapture + */ @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setManualCapture(Boolean manualCapture) { this.manualCapture = manualCapture; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier for which the payment link is created. + * + * @param merchantAccount + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier for which the payment link is created. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier for which the payment link is created.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier for which the payment link is created. - * - * @param merchantAccount - */ + /** + * The merchant account identifier for which the payment link is created. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. + * + * @param merchantOrderReference + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** + /** * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + * + * @param metadata + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -983,121 +1049,133 @@ public PaymentLinkRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * A reference that is used to uniquely identify the payment in future communications about the payment status. + * + * @param reference + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * A reference that is used to uniquely identify the payment in future communications about the payment status. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "A reference that is used to uniquely identify the payment in future communications about the payment status.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference that is used to uniquely identify the payment in future communications about the payment status. - * - * @param reference - */ + /** + * A reference that is used to uniquely identify the payment in future communications about the payment status. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + * + * @param requiredShopperFields + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest requiredShopperFields(List requiredShopperFields) { this.requiredShopperFields = requiredShopperFields; return this; @@ -1111,361 +1189,397 @@ public PaymentLinkRequest addRequiredShopperFieldsItem(RequiredShopperFieldsEnum return this; } - /** - * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. * @return requiredShopperFields - **/ + */ @ApiModelProperty(value = "List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. ") @JsonProperty(JSON_PROPERTY_REQUIRED_SHOPPER_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRequiredShopperFields() { return requiredShopperFields; } - - /** - * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. - * - * @param requiredShopperFields - */ + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + * + * @param requiredShopperFields + */ @JsonProperty(JSON_PROPERTY_REQUIRED_SHOPPER_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequiredShopperFields(List requiredShopperFields) { this.requiredShopperFields = requiredShopperFields; } - + /** + * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. + * + * @param returnUrl + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** + /** * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. * @return returnUrl - **/ + */ @ApiModelProperty(value = "Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. - * - * @param returnUrl - */ + /** + * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. + * + * @param reusable + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest reusable(Boolean reusable) { this.reusable = reusable; return this; } - /** + /** * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. * @return reusable - **/ + */ @ApiModelProperty(value = "Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only.") @JsonProperty(JSON_PROPERTY_REUSABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReusable() { return reusable; } - - /** - * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. - * - * @param reusable - */ + /** + * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. + * + * @param reusable + */ @JsonProperty(JSON_PROPERTY_REUSABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReusable(Boolean reusable) { this.reusable = reusable; } - + /** + * riskData + * + * @param riskData + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + * + * @param shopperLocale + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** - * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language).") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). - * - * @param shopperLocale - */ + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * Set to **false** to hide the button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest showRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; return this; } - /** + /** * Set to **false** to hide the button that lets the shopper remove a stored payment method. * @return showRemovePaymentMethodButton - **/ + */ @ApiModelProperty(value = "Set to **false** to hide the button that lets the shopper remove a stored payment method.") @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowRemovePaymentMethodButton() { return showRemovePaymentMethodButton; } - - /** - * Set to **false** to hide the button that lets the shopper remove a stored payment method. - * - * @param showRemovePaymentMethodButton - */ + /** + * Set to **false** to hide the button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + */ @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest splitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; return this; } - /** + /** * Boolean value indicating whether the card payment method should be split into separate debit and credit options. * @return splitCardFundingSources - **/ + */ @ApiModelProperty(value = "Boolean value indicating whether the card payment method should be split into separate debit and credit options.") @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSplitCardFundingSources() { return splitCardFundingSources; } - - /** - * Boolean value indicating whether the card payment method should be split into separate debit and credit options. - * - * @param splitCardFundingSources - */ + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + */ @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; } - + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest splits(List splits) { this.splits = splits; return this; @@ -1479,181 +1593,193 @@ public PaymentLinkRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + * + * @param storePaymentMethodMode + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest storePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; return this; } - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. * @return storePaymentMethodMode - **/ + */ @ApiModelProperty(value = "Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter.") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StorePaymentMethodModeEnum getStorePaymentMethodMode() { return storePaymentMethodMode; } - - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. - * - * @param storePaymentMethodMode - */ + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + * + * @param storePaymentMethodMode + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * + * @param themeId + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest themeId(String themeId) { this.themeId = themeId; return this; } - /** + /** * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. * @return themeId - **/ + */ @ApiModelProperty(value = "A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area.") @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThemeId() { return themeId; } - - /** - * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. - * - * @param themeId - */ + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * + * @param themeId + */ @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemeId(String themeId) { this.themeId = themeId; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining + */ public PaymentLinkRequest threeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutSessionThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - /** * Return true if this PaymentLinkRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java index 8e6492ad2..81fe8b6e2 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java @@ -395,6 +395,12 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public PaymentLinkResponse() { } + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -408,121 +414,133 @@ public PaymentLinkResponse addAllowedPaymentMethodsItem(String allowedPaymentMet return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -536,331 +554,364 @@ public PaymentLinkResponse addBlockedPaymentMethodsItem(String blockedPaymentMet return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The shopper's two-letter country code. + * + * @param countryCode + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * The shopper's two-letter country code. + /** + * The shopper's two-letter country code. * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper's two-letter country code.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper's two-letter country code. - * - * @param countryCode - */ + /** + * The shopper's two-letter country code. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param deliverAt - */ + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * A short description visible on the payment page. Maximum length: 280 characters. + * + * @param description + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse description(String description) { this.description = description; return this; } - /** + /** * A short description visible on the payment page. Maximum length: 280 characters. * @return description - **/ + */ @ApiModelProperty(value = "A short description visible on the payment page. Maximum length: 280 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A short description visible on the payment page. Maximum length: 280 characters. - * - * @param description - */ + /** + * A short description visible on the payment page. Maximum length: 280 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * + * @param expiresAt + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. * @return expiresAt - **/ + */ @ApiModelProperty(value = "The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. - * - * @param expiresAt - */ + /** + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - + /** + * fundOrigin + * + * @param fundOrigin + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse fundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; return this; } - /** - * Get fundOrigin + /** + * fundOrigin * @return fundOrigin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundOrigin getFundOrigin() { return fundOrigin; } - - /** - * fundOrigin - * - * @param fundOrigin - */ + /** + * fundOrigin + * + * @param fundOrigin + */ @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; } - + /** + * fundRecipient + * + * @param fundRecipient + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse fundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; return this; } - /** - * Get fundRecipient + /** + * fundRecipient * @return fundRecipient - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundRecipient getFundRecipient() { return fundRecipient; } - - /** - * fundRecipient - * - * @param fundRecipient - */ + /** + * fundRecipient + * + * @param fundRecipient + */ @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; } - + /** + * A unique identifier of the payment link. + * + * @param id + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse id(String id) { this.id = id; return this; } - /** + /** * A unique identifier of the payment link. * @return id - **/ + */ @ApiModelProperty(required = true, value = "A unique identifier of the payment link.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * A unique identifier of the payment link. - * - * @param id - */ + /** + * A unique identifier of the payment link. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse installmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; return this; @@ -874,31 +925,34 @@ public PaymentLinkResponse putInstallmentOptionsItem(String key, InstallmentOpti return this; } - /** + /** * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. * @return installmentOptions - **/ + */ @ApiModelProperty(value = "A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getInstallmentOptions() { return installmentOptions; } - - /** - * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. - * - * @param installmentOptions - */ + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + * + * @param installmentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentOptions(Map installmentOptions) { this.installmentOptions = installmentOptions; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -912,151 +966,166 @@ public PaymentLinkResponse addLineItemsItem(LineItem lineItemsItem) { return this; } - /** + /** * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). + * + * @param manualCapture + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse manualCapture(Boolean manualCapture) { this.manualCapture = manualCapture; return this; } - /** + /** * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). * @return manualCapture - **/ + */ @ApiModelProperty(value = "Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture).") @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getManualCapture() { return manualCapture; } - - /** - * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). - * - * @param manualCapture - */ + /** + * Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture). + * + * @param manualCapture + */ @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setManualCapture(Boolean manualCapture) { this.manualCapture = manualCapture; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier for which the payment link is created. + * + * @param merchantAccount + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier for which the payment link is created. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier for which the payment link is created.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier for which the payment link is created. - * - * @param merchantAccount - */ + /** + * The merchant account identifier for which the payment link is created. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. + * + * @param merchantOrderReference + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** + /** * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + * + * @param metadata + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse metadata(Map metadata) { this.metadata = metadata; return this; @@ -1070,121 +1139,133 @@ public PaymentLinkResponse putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when `storePaymentMethodMode` is set to **askForConsent** or **enabled**. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * A reference that is used to uniquely identify the payment in future communications about the payment status. + * + * @param reference + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * A reference that is used to uniquely identify the payment in future communications about the payment status. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "A reference that is used to uniquely identify the payment in future communications about the payment status.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference that is used to uniquely identify the payment in future communications about the payment status. - * - * @param reference - */ + /** + * A reference that is used to uniquely identify the payment in future communications about the payment status. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + * + * @param requiredShopperFields + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse requiredShopperFields(List requiredShopperFields) { this.requiredShopperFields = requiredShopperFields; return this; @@ -1198,361 +1279,397 @@ public PaymentLinkResponse addRequiredShopperFieldsItem(RequiredShopperFieldsEnu return this; } - /** - * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. * @return requiredShopperFields - **/ + */ @ApiModelProperty(value = "List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. ") @JsonProperty(JSON_PROPERTY_REQUIRED_SHOPPER_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRequiredShopperFields() { return requiredShopperFields; } - - /** - * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. - * - * @param requiredShopperFields - */ + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper's email address. * **shopperName** – The shopper's full name. * **telephoneNumber** – The shopper's phone number. + * + * @param requiredShopperFields + */ @JsonProperty(JSON_PROPERTY_REQUIRED_SHOPPER_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequiredShopperFields(List requiredShopperFields) { this.requiredShopperFields = requiredShopperFields; } - + /** + * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. + * + * @param returnUrl + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** + /** * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. * @return returnUrl - **/ + */ @ApiModelProperty(value = "Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. - * - * @param returnUrl - */ + /** + * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. + * + * @param reusable + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse reusable(Boolean reusable) { this.reusable = reusable; return this; } - /** + /** * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. * @return reusable - **/ + */ @ApiModelProperty(value = "Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only.") @JsonProperty(JSON_PROPERTY_REUSABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReusable() { return reusable; } - - /** - * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. - * - * @param reusable - */ + /** + * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. + * + * @param reusable + */ @JsonProperty(JSON_PROPERTY_REUSABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReusable(Boolean reusable) { this.reusable = reusable; } - + /** + * riskData + * + * @param riskData + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + * + * @param shopperLocale + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** - * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language).") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). - * - * @param shopperLocale - */ + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#language). + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * Set to **false** to hide the button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse showRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; return this; } - /** + /** * Set to **false** to hide the button that lets the shopper remove a stored payment method. * @return showRemovePaymentMethodButton - **/ + */ @ApiModelProperty(value = "Set to **false** to hide the button that lets the shopper remove a stored payment method.") @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowRemovePaymentMethodButton() { return showRemovePaymentMethodButton; } - - /** - * Set to **false** to hide the button that lets the shopper remove a stored payment method. - * - * @param showRemovePaymentMethodButton - */ + /** + * Set to **false** to hide the button that lets the shopper remove a stored payment method. + * + * @param showRemovePaymentMethodButton + */ @JsonProperty(JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowRemovePaymentMethodButton(Boolean showRemovePaymentMethodButton) { this.showRemovePaymentMethodButton = showRemovePaymentMethodButton; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse splitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; return this; } - /** + /** * Boolean value indicating whether the card payment method should be split into separate debit and credit options. * @return splitCardFundingSources - **/ + */ @ApiModelProperty(value = "Boolean value indicating whether the card payment method should be split into separate debit and credit options.") @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSplitCardFundingSources() { return splitCardFundingSources; } - - /** - * Boolean value indicating whether the card payment method should be split into separate debit and credit options. - * - * @param splitCardFundingSources - */ + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + */ @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; } - + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse splits(List splits) { this.splits = splits; return this; @@ -1566,271 +1683,292 @@ public PaymentLinkResponse addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow. + * + * @param status + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow. * @return status - **/ + */ @ApiModelProperty(required = true, value = "Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow. - * - * @param status - */ + /** + * Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + * + * @param storePaymentMethodMode + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse storePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; return this; } - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. * @return storePaymentMethodMode - **/ + */ @ApiModelProperty(value = "Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter.") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StorePaymentMethodModeEnum getStorePaymentMethodMode() { return storePaymentMethodMode; } - - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. - * - * @param storePaymentMethodMode - */ + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. When set to **askForConsent** or **enabled**, you must also include the `recurringProcessingModel` parameter. + * + * @param storePaymentMethodMode + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethodMode(StorePaymentMethodModeEnum storePaymentMethodMode) { this.storePaymentMethodMode = storePaymentMethodMode; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * + * @param themeId + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse themeId(String themeId) { this.themeId = themeId; return this; } - /** + /** * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. * @return themeId - **/ + */ @ApiModelProperty(value = "A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area.") @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThemeId() { return themeId; } - - /** - * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. - * - * @param themeId - */ + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * + * @param themeId + */ @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemeId(String themeId) { this.themeId = themeId; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse threeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutSessionThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(CheckoutSessionThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param updatedAt + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } - /** + /** * The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. * @return updatedAt - **/ + */ @ApiModelProperty(value = "The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_UPDATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getUpdatedAt() { return updatedAt; } - - /** - * The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. - * - * @param updatedAt - */ + /** + * The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + * + * @param updatedAt + */ @JsonProperty(JSON_PROPERTY_UPDATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - + /** + * The URL at which the shopper can complete the payment. + * + * @param url + * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining + */ public PaymentLinkResponse url(String url) { this.url = url; return this; } - /** + /** * The URL at which the shopper can complete the payment. * @return url - **/ + */ @ApiModelProperty(required = true, value = "The URL at which the shopper can complete the payment.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * The URL at which the shopper can complete the payment. - * - * @param url - */ + /** + * The URL at which the shopper can complete the payment. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this PaymentLinkResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethod.java b/src/main/java/com/adyen/model/checkout/PaymentMethod.java index e2600ed3b..3fbc8d48a 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethod.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethod.java @@ -106,7 +106,7 @@ public static FundingSourceEnum fromValue(String value) { private PaymentMethodGroup group; public static final String JSON_PROPERTY_INPUT_DETAILS = "inputDetails"; - @Deprecated + @Deprecated // deprecated private List inputDetails = null; public static final String JSON_PROPERTY_ISSUERS = "issuers"; @@ -121,6 +121,12 @@ public static FundingSourceEnum fromValue(String value) { public PaymentMethod() { } + /** + * A list of apps for this payment method. + * + * @param apps + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod apps(List apps) { this.apps = apps; return this; @@ -134,61 +140,67 @@ public PaymentMethod addAppsItem(PaymentMethodUPIApps appsItem) { return this; } - /** + /** * A list of apps for this payment method. * @return apps - **/ + */ @ApiModelProperty(value = "A list of apps for this payment method.") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * A list of apps for this payment method. - * - * @param apps - */ + /** + * A list of apps for this payment method. + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * Brand for the selected gift card. For example: plastix, hmclub. + * + * @param brand + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod brand(String brand) { this.brand = brand; return this; } - /** + /** * Brand for the selected gift card. For example: plastix, hmclub. * @return brand - **/ + */ @ApiModelProperty(value = "Brand for the selected gift card. For example: plastix, hmclub.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Brand for the selected gift card. For example: plastix, hmclub. - * - * @param brand - */ + /** + * Brand for the selected gift card. For example: plastix, hmclub. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * List of possible brands. For example: visa, mc. + * + * @param brands + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod brands(List brands) { this.brands = brands; return this; @@ -202,31 +214,34 @@ public PaymentMethod addBrandsItem(String brandsItem) { return this; } - /** + /** * List of possible brands. For example: visa, mc. * @return brands - **/ + */ @ApiModelProperty(value = "List of possible brands. For example: visa, mc.") @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBrands() { return brands; } - - /** - * List of possible brands. For example: visa, mc. - * - * @param brands - */ + /** + * List of possible brands. For example: visa, mc. + * + * @param brands + */ @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrands(List brands) { this.brands = brands; } - + /** + * The configuration of the payment method. + * + * @param configuration + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod configuration(Map configuration) { this.configuration = configuration; return this; @@ -240,91 +255,102 @@ public PaymentMethod putConfigurationItem(String key, String configurationItem) return this; } - /** + /** * The configuration of the payment method. * @return configuration - **/ + */ @ApiModelProperty(value = "The configuration of the payment method.") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getConfiguration() { return configuration; } - - /** - * The configuration of the payment method. - * - * @param configuration - */ + /** + * The configuration of the payment method. + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(Map configuration) { this.configuration = configuration; } - + /** + * The funding source of the payment method. + * + * @param fundingSource + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source of the payment method. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source of the payment method.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source of the payment method. - * - * @param fundingSource - */ + /** + * The funding source of the payment method. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * group + * + * @param group + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod group(PaymentMethodGroup group) { this.group = group; return this; } - /** - * Get group + /** + * group * @return group - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentMethodGroup getGroup() { return group; } - - /** - * group - * - * @param group - */ + /** + * group + * + * @param group + */ @JsonProperty(JSON_PROPERTY_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGroup(PaymentMethodGroup group) { this.group = group; } - + /** + * All input details to be provided to complete the payment with this payment method. + * + * @param inputDetails + * @return the current {@code PaymentMethod} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public PaymentMethod inputDetails(List inputDetails) { this.inputDetails = inputDetails; @@ -339,26 +365,27 @@ public PaymentMethod addInputDetailsItem(InputDetail inputDetailsItem) { return this; } - /** + /** * All input details to be provided to complete the payment with this payment method. * @return inputDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "All input details to be provided to complete the payment with this payment method.") @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInputDetails() { return inputDetails; } - - /** - * All input details to be provided to complete the payment with this payment method. - * - * @param inputDetails - */ + /** + * All input details to be provided to complete the payment with this payment method. + * + * @param inputDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -366,7 +393,12 @@ public void setInputDetails(List inputDetails) { this.inputDetails = inputDetails; } - + /** + * A list of issuers for this payment method. + * + * @param issuers + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod issuers(List issuers) { this.issuers = issuers; return this; @@ -380,91 +412,94 @@ public PaymentMethod addIssuersItem(PaymentMethodIssuer issuersItem) { return this; } - /** + /** * A list of issuers for this payment method. * @return issuers - **/ + */ @ApiModelProperty(value = "A list of issuers for this payment method.") @JsonProperty(JSON_PROPERTY_ISSUERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIssuers() { return issuers; } - - /** - * A list of issuers for this payment method. - * - * @param issuers - */ + /** + * A list of issuers for this payment method. + * + * @param issuers + */ @JsonProperty(JSON_PROPERTY_ISSUERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuers(List issuers) { this.issuers = issuers; } - + /** + * The displayable name of this payment method. + * + * @param name + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod name(String name) { this.name = name; return this; } - /** + /** * The displayable name of this payment method. * @return name - **/ + */ @ApiModelProperty(value = "The displayable name of this payment method.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The displayable name of this payment method. - * - * @param name - */ + /** + * The displayable name of this payment method. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The unique payment method code. + * + * @param type + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod type(String type) { this.type = type; return this; } - /** + /** * The unique payment method code. * @return type - **/ + */ @ApiModelProperty(value = "The unique payment method code.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The unique payment method code. - * - * @param type - */ + /** + * The unique payment method code. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this PaymentMethod object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodGroup.java b/src/main/java/com/adyen/model/checkout/PaymentMethodGroup.java index b94eff1de..7541dbb62 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodGroup.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodGroup.java @@ -49,96 +49,105 @@ public class PaymentMethodGroup { public PaymentMethodGroup() { } + /** + * The name of the group. + * + * @param name + * @return the current {@code PaymentMethodGroup} instance, allowing for method chaining + */ public PaymentMethodGroup name(String name) { this.name = name; return this; } - /** + /** * The name of the group. * @return name - **/ + */ @ApiModelProperty(value = "The name of the group.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the group. - * - * @param name - */ + /** + * The name of the group. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Echo data to be used if the payment method is displayed as part of this group. + * + * @param paymentMethodData + * @return the current {@code PaymentMethodGroup} instance, allowing for method chaining + */ public PaymentMethodGroup paymentMethodData(String paymentMethodData) { this.paymentMethodData = paymentMethodData; return this; } - /** + /** * Echo data to be used if the payment method is displayed as part of this group. * @return paymentMethodData - **/ + */ @ApiModelProperty(value = "Echo data to be used if the payment method is displayed as part of this group.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodData() { return paymentMethodData; } - - /** - * Echo data to be used if the payment method is displayed as part of this group. - * - * @param paymentMethodData - */ + /** + * Echo data to be used if the payment method is displayed as part of this group. + * + * @param paymentMethodData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodData(String paymentMethodData) { this.paymentMethodData = paymentMethodData; } - + /** + * The unique code of the group. + * + * @param type + * @return the current {@code PaymentMethodGroup} instance, allowing for method chaining + */ public PaymentMethodGroup type(String type) { this.type = type; return this; } - /** + /** * The unique code of the group. * @return type - **/ + */ @ApiModelProperty(value = "The unique code of the group.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The unique code of the group. - * - * @param type - */ + /** + * The unique code of the group. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this PaymentMethodGroup object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java b/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java index 620e7cd93..bc71d8c3c 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java @@ -49,96 +49,105 @@ public class PaymentMethodIssuer { public PaymentMethodIssuer() { } + /** + * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. + * + * @param disabled + * @return the current {@code PaymentMethodIssuer} instance, allowing for method chaining + */ public PaymentMethodIssuer disabled(Boolean disabled) { this.disabled = disabled; return this; } - /** - * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. + /** + * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. * @return disabled - **/ + */ @ApiModelProperty(value = "A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline.") @JsonProperty(JSON_PROPERTY_DISABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDisabled() { return disabled; } - - /** - * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. - * - * @param disabled - */ + /** + * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. + * + * @param disabled + */ @JsonProperty(JSON_PROPERTY_DISABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisabled(Boolean disabled) { this.disabled = disabled; } - + /** + * The unique identifier of this issuer, to submit in requests to /payments. + * + * @param id + * @return the current {@code PaymentMethodIssuer} instance, allowing for method chaining + */ public PaymentMethodIssuer id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of this issuer, to submit in requests to /payments. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of this issuer, to submit in requests to /payments.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of this issuer, to submit in requests to /payments. - * - * @param id - */ + /** + * The unique identifier of this issuer, to submit in requests to /payments. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A localized name of the issuer. + * + * @param name + * @return the current {@code PaymentMethodIssuer} instance, allowing for method chaining + */ public PaymentMethodIssuer name(String name) { this.name = name; return this; } - /** + /** * A localized name of the issuer. * @return name - **/ + */ @ApiModelProperty(required = true, value = "A localized name of the issuer.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * A localized name of the issuer. - * - * @param name - */ + /** + * A localized name of the issuer. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this PaymentMethodIssuer object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java b/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java index e73ddb921..91cc16b91 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java @@ -81,336 +81,369 @@ public class PaymentMethodToStore { public PaymentMethodToStore() { } + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore brand(String brand) { this.brand = brand; return this; } - /** + /** * Secondary brand of the card. For example: **plastix**, **hmclub**. * @return brand - **/ + */ @ApiModelProperty(value = "Secondary brand of the card. For example: **plastix**, **hmclub**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Secondary brand of the card. For example: **plastix**, **hmclub**. - * - * @param brand - */ + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return cvc - **/ + */ @ApiModelProperty(value = "The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param cvc - */ + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The encrypted card number. + * + * @param encryptedCardNumber + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore encryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; return this; } - /** + /** * The encrypted card number. * @return encryptedCardNumber - **/ + */ @ApiModelProperty(value = "The encrypted card number.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedCardNumber() { return encryptedCardNumber; } - - /** - * The encrypted card number. - * - * @param encryptedCardNumber - */ + /** + * The encrypted card number. + * + * @param encryptedCardNumber + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedCardNumber(String encryptedCardNumber) { this.encryptedCardNumber = encryptedCardNumber; } - + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore encryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; return this; } - /** + /** * The encrypted card expiry month. * @return encryptedExpiryMonth - **/ + */ @ApiModelProperty(value = "The encrypted card expiry month.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryMonth() { return encryptedExpiryMonth; } - - /** - * The encrypted card expiry month. - * - * @param encryptedExpiryMonth - */ + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryMonth(String encryptedExpiryMonth) { this.encryptedExpiryMonth = encryptedExpiryMonth; } - + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore encryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; return this; } - /** + /** * The encrypted card expiry year. * @return encryptedExpiryYear - **/ + */ @ApiModelProperty(value = "The encrypted card expiry year.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedExpiryYear() { return encryptedExpiryYear; } - - /** - * The encrypted card expiry year. - * - * @param encryptedExpiryYear - */ + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedExpiryYear(String encryptedExpiryYear) { this.encryptedExpiryYear = encryptedExpiryYear; } - + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore encryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; return this; } - /** + /** * The encrypted card verification code. * @return encryptedSecurityCode - **/ + */ @ApiModelProperty(value = "The encrypted card verification code.") @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEncryptedSecurityCode() { return encryptedSecurityCode; } - - /** - * The encrypted card verification code. - * - * @param encryptedSecurityCode - */ + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptedSecurityCode(String encryptedSecurityCode) { this.encryptedSecurityCode = encryptedSecurityCode; } - + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** + /** * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryMonth - */ + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param expiryYear - */ + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The name of the card holder. + * + * @param holderName + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the card holder. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the card holder.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the card holder. - * - * @param holderName - */ + /** + * The name of the card holder. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore number(String number) { this.number = number; return this; } - /** + /** * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). * @return number - **/ + */ @ApiModelProperty(value = "The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). - * - * @param number - */ + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * Set to **scheme**. + * + * @param type + * @return the current {@code PaymentMethodToStore} instance, allowing for method chaining + */ public PaymentMethodToStore type(String type) { this.type = type; return this; } - /** + /** * Set to **scheme**. * @return type - **/ + */ @ApiModelProperty(value = "Set to **scheme**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Set to **scheme**. - * - * @param type - */ + /** + * Set to **scheme**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this PaymentMethodToStore object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodUPIApps.java b/src/main/java/com/adyen/model/checkout/PaymentMethodUPIApps.java index cdea25172..e390118a8 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodUPIApps.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodUPIApps.java @@ -45,66 +45,72 @@ public class PaymentMethodUPIApps { public PaymentMethodUPIApps() { } + /** + * The unique identifier of this app, to submit in requests to /payments. + * + * @param id + * @return the current {@code PaymentMethodUPIApps} instance, allowing for method chaining + */ public PaymentMethodUPIApps id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of this app, to submit in requests to /payments. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of this app, to submit in requests to /payments.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of this app, to submit in requests to /payments. - * - * @param id - */ + /** + * The unique identifier of this app, to submit in requests to /payments. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A localized name of the app. + * + * @param name + * @return the current {@code PaymentMethodUPIApps} instance, allowing for method chaining + */ public PaymentMethodUPIApps name(String name) { this.name = name; return this; } - /** + /** * A localized name of the app. * @return name - **/ + */ @ApiModelProperty(required = true, value = "A localized name of the app.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * A localized name of the app. - * - * @param name - */ + /** + * A localized name of the app. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this PaymentMethodUPIApps object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java index 29b17f4ef..5a826f403 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java @@ -169,6 +169,12 @@ public static StoreFiltrationModeEnum fromValue(String value) { public PaymentMethodsRequest() { } + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -182,31 +188,34 @@ public PaymentMethodsRequest putAdditionalDataItem(String key, String additional return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -220,61 +229,67 @@ public PaymentMethodsRequest addAllowedPaymentMethodsItem(String allowedPaymentM return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -288,301 +303,325 @@ public PaymentMethodsRequest addBlockedPaymentMethodsItem(String blockedPaymentM return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web + * + * @param channel + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest channel(ChannelEnum channel) { this.channel = channel; return this; } - /** + /** * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * The shopper's country code. + * + * @param countryCode + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * The shopper's country code. + /** + * The shopper's country code. * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper's country code.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper's country code. - * - * @param countryCode - */ + /** + * The shopper's country code. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * order + * + * @param order + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest order(EncryptedOrderData order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptedOrderData getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(EncryptedOrderData order) { this.order = order; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest splitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; return this; } - /** + /** * Boolean value indicating whether the card payment method should be split into separate debit and credit options. * @return splitCardFundingSources - **/ + */ @ApiModelProperty(value = "Boolean value indicating whether the card payment method should be split into separate debit and credit options.") @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSplitCardFundingSources() { return splitCardFundingSources; } - - /** - * Boolean value indicating whether the card payment method should be split into separate debit and credit options. - * - * @param splitCardFundingSources - */ + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + * + * @param splitCardFundingSources + */ @JsonProperty(JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitCardFundingSources(Boolean splitCardFundingSources) { this.splitCardFundingSources = splitCardFundingSources; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + * @return the current {@code PaymentMethodsRequest} instance, allowing for method chaining + */ public PaymentMethodsRequest storeFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; return this; } - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. * @return storeFiltrationMode - **/ + */ @ApiModelProperty(value = "Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.") @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreFiltrationModeEnum getStoreFiltrationMode() { return storeFiltrationMode; } - - /** - * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - * - * @param storeFiltrationMode - */ + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. + * + * @param storeFiltrationMode + */ @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { this.storeFiltrationMode = storeFiltrationMode; } - /** * Return true if this PaymentMethodsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodsResponse.java b/src/main/java/com/adyen/model/checkout/PaymentMethodsResponse.java index 8f5d4e428..87255521b 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodsResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodsResponse.java @@ -49,6 +49,12 @@ public class PaymentMethodsResponse { public PaymentMethodsResponse() { } + /** + * Detailed list of payment methods required to generate payment forms. + * + * @param paymentMethods + * @return the current {@code PaymentMethodsResponse} instance, allowing for method chaining + */ public PaymentMethodsResponse paymentMethods(List paymentMethods) { this.paymentMethods = paymentMethods; return this; @@ -62,31 +68,34 @@ public PaymentMethodsResponse addPaymentMethodsItem(PaymentMethod paymentMethods return this; } - /** + /** * Detailed list of payment methods required to generate payment forms. * @return paymentMethods - **/ + */ @ApiModelProperty(value = "Detailed list of payment methods required to generate payment forms.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPaymentMethods() { return paymentMethods; } - - /** - * Detailed list of payment methods required to generate payment forms. - * - * @param paymentMethods - */ + /** + * Detailed list of payment methods required to generate payment forms. + * + * @param paymentMethods + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethods(List paymentMethods) { this.paymentMethods = paymentMethods; } - + /** + * List of all stored payment methods. + * + * @param storedPaymentMethods + * @return the current {@code PaymentMethodsResponse} instance, allowing for method chaining + */ public PaymentMethodsResponse storedPaymentMethods(List storedPaymentMethods) { this.storedPaymentMethods = storedPaymentMethods; return this; @@ -100,31 +109,28 @@ public PaymentMethodsResponse addStoredPaymentMethodsItem(StoredPaymentMethod st return this; } - /** + /** * List of all stored payment methods. * @return storedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of all stored payment methods.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStoredPaymentMethods() { return storedPaymentMethods; } - - /** - * List of all stored payment methods. - * - * @param storedPaymentMethods - */ + /** + * List of all stored payment methods. + * + * @param storedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethods(List storedPaymentMethods) { this.storedPaymentMethods = storedPaymentMethods; } - /** * Return true if this PaymentMethodsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java b/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java index 2a9981b11..6c8016a49 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java @@ -116,66 +116,78 @@ public static MerchantRefundReasonEnum fromValue(String value) { public PaymentRefundRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -189,121 +201,133 @@ public PaymentRefundRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reason for the refund request + * + * @param merchantRefundReason + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest merchantRefundReason(MerchantRefundReasonEnum merchantRefundReason) { this.merchantRefundReason = merchantRefundReason; return this; } - /** + /** * Your reason for the refund request * @return merchantRefundReason - **/ + */ @ApiModelProperty(value = "Your reason for the refund request") @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRefundReasonEnum getMerchantRefundReason() { return merchantRefundReason; } - - /** - * Your reason for the refund request - * - * @param merchantRefundReason - */ + /** + * Your reason for the refund request + * + * @param merchantRefundReason + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRefundReason(MerchantRefundReasonEnum merchantRefundReason) { this.merchantRefundReason = merchantRefundReason; } - + /** + * Your reference for the refund request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the refund request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the refund request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the refund request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the refund request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest splits(List splits) { this.splits = splits; return this; @@ -317,61 +341,61 @@ public PaymentRefundRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @param store + * @return the current {@code PaymentRefundRequest} instance, allowing for method chaining + */ public PaymentRefundRequest store(String store) { this.store = store; return this; } - /** + /** * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. * @return store - **/ + */ @ApiModelProperty(value = "The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. - * - * @param store - */ + /** + * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this PaymentRefundRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java b/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java index 5ff2c6f67..1b69776f7 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java @@ -156,36 +156,45 @@ public static StatusEnum fromValue(String value) { public PaymentRefundResponse() { } + /** + * amount + * + * @param amount + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -199,181 +208,199 @@ public PaymentRefundResponse addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reason for the refund request. + * + * @param merchantRefundReason + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse merchantRefundReason(MerchantRefundReasonEnum merchantRefundReason) { this.merchantRefundReason = merchantRefundReason; return this; } - /** + /** * Your reason for the refund request. * @return merchantRefundReason - **/ + */ @ApiModelProperty(value = "Your reason for the refund request.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRefundReasonEnum getMerchantRefundReason() { return merchantRefundReason; } - - /** - * Your reason for the refund request. - * - * @param merchantRefundReason - */ + /** + * Your reason for the refund request. + * + * @param merchantRefundReason + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRefundReason(MerchantRefundReasonEnum merchantRefundReason) { this.merchantRefundReason = merchantRefundReason; } - + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. + * + * @param paymentPspReference + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse paymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; return this; } - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. * @return paymentPspReference - **/ + */ @ApiModelProperty(required = true, value = "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. ") @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentPspReference() { return paymentPspReference; } - - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. - * - * @param paymentPspReference - */ + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund. + * + * @param paymentPspReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; } - + /** + * Adyen's 16-character reference associated with the refund request. + * + * @param pspReference + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the refund request. + /** + * Adyen's 16-character reference associated with the refund request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the refund request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the refund request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the refund request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the refund request. + * + * @param reference + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the refund request. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the refund request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the refund request. - * - * @param reference - */ + /** + * Your reference for the refund request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse splits(List splits) { this.splits = splits; return this; @@ -387,91 +414,94 @@ public PaymentRefundResponse addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @param store + * @return the current {@code PaymentRefundResponse} instance, allowing for method chaining + */ public PaymentRefundResponse store(String store) { this.store = store; return this; } - /** + /** * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. * @return store - **/ + */ @ApiModelProperty(value = "The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. - * - * @param store - */ + /** + * The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this PaymentRefundResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRequest.java b/src/main/java/com/adyen/model/checkout/PaymentRequest.java index 0e1bbce4a..40ab5885a 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRequest.java @@ -205,7 +205,7 @@ public static ChannelEnum fromValue(String value) { private Company company; public static final String JSON_PROPERTY_CONVERSION_ID = "conversionId"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `checkoutAttemptId` instead private String conversionId; public static final String JSON_PROPERTY_COUNTRY_CODE = "countryCode"; @@ -224,7 +224,7 @@ public static ChannelEnum fromValue(String value) { private DeliveryAddress deliveryAddress; public static final String JSON_PROPERTY_DELIVERY_DATE = "deliveryDate"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v70: Use `deliverAt` instead. private OffsetDateTime deliveryDate; public static final String JSON_PROPERTY_DEVICE_FINGERPRINT = "deviceFingerprint"; @@ -517,7 +517,7 @@ public static ShopperInteractionEnum fromValue(String value) { private ThreeDS2RequestFields threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; @@ -526,66 +526,78 @@ public static ShopperInteractionEnum fromValue(String value) { public PaymentRequest() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -599,327 +611,363 @@ public PaymentRequest putAdditionalDataItem(String key, String additionalDataIte return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * authenticationData + * + * @param authenticationData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest authenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; return this; } - /** - * Get authenticationData + /** + * authenticationData * @return authenticationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationData getAuthenticationData() { return authenticationData; } - - /** - * authenticationData - * - * @param authenticationData - */ + /** + * authenticationData + * + * @param authenticationData + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationData(AuthenticationData authenticationData) { this.authenticationData = authenticationData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest billingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddress getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(BillingAddress billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest channel(ChannelEnum channel) { this.channel = channel; return this; } - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param checkoutAttemptId - */ + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * company + * + * @param company + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest company(Company company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Company getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(Company company) { this.company = company; } - + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * @return the current {@code PaymentRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated public PaymentRequest conversionId(String conversionId) { this.conversionId = conversionId; return this; } - /** + /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return conversionId - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @ApiModelProperty(value = "Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConversionId() { return conversionId; } - - /** - * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param conversionId - */ + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -927,183 +975,209 @@ public void setConversionId(String conversionId) { this.conversionId = conversionId; } - + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** + /** * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE * @return countryCode - **/ + */ @ApiModelProperty(value = "The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE - * - * @param countryCode - */ + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest dateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(OffsetDateTime dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliverAt + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliverAt - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliverAt() { return deliverAt; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliverAt - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliverAt + */ @JsonProperty(JSON_PROPERTY_DELIVER_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliverAt(OffsetDateTime deliverAt) { this.deliverAt = deliverAt; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(DeliveryAddress deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code PaymentRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v70 + * Use `deliverAt` instead. + */ @Deprecated public PaymentRequest deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v70 + * Use `deliverAt` instead. + */ @Deprecated @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * + * @deprecated since Adyen Checkout API v70 + * Use `deliverAt` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1111,307 +1185,342 @@ public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest enableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; return this; } - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). * @return enableOneClick - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition).") @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableOneClick() { return enableOneClick; } - - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). - * - * @param enableOneClick - */ + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future [one-click payments](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#one-click-payments-definition). + * + * @param enableOneClick + */ @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; } - + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest enablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. * @return enablePayOut - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be tokenized for payouts.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayOut() { return enablePayOut; } - - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. - * - * @param enablePayOut - */ + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest enableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. * @return enableRecurring - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments.") @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableRecurring() { return enableRecurring; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. - * - * @param enableRecurring - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types) where the shopper is not present, such as subscription or automatic top-up payments. + * + * @param enableRecurring + */ @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; } - + /** + * The type of the entity the payment is processed for. + * + * @param entityType + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** + /** * The type of the entity the payment is processed for. * @return entityType - **/ + */ @ApiModelProperty(value = "The type of the entity the payment is processed for.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payment is processed for. - * - * @param entityType - */ + /** + * The type of the entity the payment is processed for. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * fundOrigin + * + * @param fundOrigin + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; return this; } - /** - * Get fundOrigin + /** + * fundOrigin * @return fundOrigin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundOrigin getFundOrigin() { return fundOrigin; } - - /** - * fundOrigin - * - * @param fundOrigin - */ + /** + * fundOrigin + * + * @param fundOrigin + */ @JsonProperty(JSON_PROPERTY_FUND_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundOrigin(FundOrigin fundOrigin) { this.fundOrigin = fundOrigin; } - + /** + * fundRecipient + * + * @param fundRecipient + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; return this; } - /** - * Get fundRecipient + /** + * fundRecipient * @return fundRecipient - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundRecipient getFundRecipient() { return fundRecipient; } - - /** - * fundRecipient - * - * @param fundRecipient - */ + /** + * fundRecipient + * + * @param fundRecipient + */ @JsonProperty(JSON_PROPERTY_FUND_RECIPIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundRecipient(FundRecipient fundRecipient) { this.fundRecipient = fundRecipient; } - + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest industryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; return this; } - /** + /** * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** * @return industryUsage - **/ + */ @ApiModelProperty(value = "The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment**") @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IndustryUsageEnum getIndustryUsage() { return industryUsage; } - - /** - * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** - * - * @param industryUsage - */ + /** + * The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** + * + * @param industryUsage + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; } - + /** + * installments + * + * @param installments + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -1425,31 +1534,34 @@ public PaymentRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. - * - * @param lineItems - */ + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -1463,181 +1575,199 @@ public PaymentRequest putLocalizedShopperStatementItem(String key, String locali return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * mandate + * + * @param mandate + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mandate(Mandate mandate) { this.mandate = mandate; return this; } - /** - * Get mandate + /** + * mandate * @return mandate - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Mandate getMandate() { return mandate; } - - /** - * mandate - * - * @param mandate - */ + /** + * mandate + * + * @param mandate + */ @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMandate(Mandate mandate) { this.mandate = mandate; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -1651,721 +1781,793 @@ public PaymentRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * order + * + * @param order + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest order(EncryptedOrderData order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptedOrderData getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(EncryptedOrderData order) { this.order = order; } - + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest orderReference(String orderReference) { this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * + * @param origin + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest origin(String origin) { this.origin = origin; return this; } - /** - * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. * @return origin - **/ + */ @ApiModelProperty(value = "Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from.") @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrigin() { return origin; } - - /** - * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. - * - * @param origin - */ + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * + * @param origin + */ @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrigin(String origin) { this.origin = origin; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest paymentMethod(CheckoutPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutPaymentMethod getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(CheckoutPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest redirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting back from the issuer. * @return redirectFromIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting back from the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectFromIssuerMethod() { return redirectFromIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting back from the issuer. - * - * @param redirectFromIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + * + * @param redirectFromIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_FROM_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectFromIssuerMethod(String redirectFromIssuerMethod) { this.redirectFromIssuerMethod = redirectFromIssuerMethod; } - + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest redirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; return this; } - /** + /** * Specifies the redirect method (GET or POST) when redirecting to the issuer. * @return redirectToIssuerMethod - **/ + */ @ApiModelProperty(value = "Specifies the redirect method (GET or POST) when redirecting to the issuer.") @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectToIssuerMethod() { return redirectToIssuerMethod; } - - /** - * Specifies the redirect method (GET or POST) when redirecting to the issuer. - * - * @param redirectToIssuerMethod - */ + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + * + * @param redirectToIssuerMethod + */ @JsonProperty(JSON_PROPERTY_REDIRECT_TO_ISSUER_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectToIssuerMethod(String redirectToIssuerMethod) { this.redirectToIssuerMethod = redirectToIssuerMethod; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * @return returnUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. - * - * @param returnUrl - */ + /** + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * riskData + * + * @param riskData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest sessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; return this; } - /** + /** * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 * @return sessionValidity - **/ + */ @ApiModelProperty(value = "The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionValidity() { return sessionValidity; } - - /** - * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 - * - * @param sessionValidity - */ + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + */ @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest splits(List splits) { this.splits = splits; return this; @@ -2379,91 +2581,100 @@ public PaymentRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest storePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). * @return storePaymentMethod - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types).") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getStorePaymentMethod() { return storePaymentMethod; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). - * - * @param storePaymentMethod - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored for future [recurring payments](https://docs.adyen.com/online-payments/tokenization/#recurring-payment-types). + * + * @param storePaymentMethod + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; } - + /** + * This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator + * + * @param subMerchants + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest subMerchants(List subMerchants) { this.subMerchants = subMerchants; return this; @@ -2477,117 +2688,132 @@ public PaymentRequest addSubMerchantsItem(SubMerchantInfo subMerchantsItem) { return this; } - /** + /** * This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator * @return subMerchants - **/ + */ @ApiModelProperty(value = "This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator") @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubMerchants() { return subMerchants; } - - /** - * This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator - * - * @param subMerchants - */ + /** + * This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator + * + * @param subMerchants + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchants(List subMerchants) { this.subMerchants = subMerchants; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest threeDS2RequestData(ThreeDS2RequestFields threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestFields getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestFields threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public PaymentRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2595,37 +2821,39 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this PaymentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentResponse.java b/src/main/java/com/adyen/model/checkout/PaymentResponse.java index 5df15b7e9..317c8be6a 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentResponse.java @@ -166,36 +166,45 @@ public static ResultCodeEnum fromValue(String value) { public PaymentResponse() { } + /** + * action + * + * @param action + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse action(PaymentResponseAction action) { this.action = action; return this; } - /** - * Get action + /** + * action * @return action - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentResponseAction getAction() { return action; } - - /** - * action - * - * @param action - */ + /** + * action + * + * @param action + */ @JsonProperty(JSON_PROPERTY_ACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAction(PaymentResponseAction action) { this.action = action; } - + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -209,421 +218,457 @@ public PaymentResponse putAdditionalDataItem(String key, String additionalDataIt return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Donation Token containing payment details for Adyen Giving. + * + * @param donationToken + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse donationToken(String donationToken) { this.donationToken = donationToken; return this; } - /** + /** * Donation Token containing payment details for Adyen Giving. * @return donationToken - **/ + */ @ApiModelProperty(value = "Donation Token containing payment details for Adyen Giving.") @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationToken() { return donationToken; } - - /** - * Donation Token containing payment details for Adyen Giving. - * - * @param donationToken - */ + /** + * Donation Token containing payment details for Adyen Giving. + * + * @param donationToken + */ @JsonProperty(JSON_PROPERTY_DONATION_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationToken(String donationToken) { this.donationToken = donationToken; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param merchantReference + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param merchantReference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * order + * + * @param order + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse order(CheckoutOrderResponse order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutOrderResponse getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(CheckoutOrderResponse order) { this.order = order; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse paymentMethod(ResponsePaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResponsePaymentMethod getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(ResponsePaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. + * + * @param pspReference + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse refusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; return this; } - /** + /** * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReasonCode - **/ + */ @ApiModelProperty(value = "Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonCode() { return refusalReasonCode; } - - /** - * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReasonCode - */ + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; } - + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. - * - * @param resultCode - */ + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * threeDS2ResponseData + * + * @param threeDS2ResponseData + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse threeDS2ResponseData(ThreeDS2ResponseData threeDS2ResponseData) { this.threeDS2ResponseData = threeDS2ResponseData; return this; } - /** - * Get threeDS2ResponseData + /** + * threeDS2ResponseData * @return threeDS2ResponseData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESPONSE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2ResponseData getThreeDS2ResponseData() { return threeDS2ResponseData; } - - /** - * threeDS2ResponseData - * - * @param threeDS2ResponseData - */ + /** + * threeDS2ResponseData + * + * @param threeDS2ResponseData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESPONSE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2ResponseData(ThreeDS2ResponseData threeDS2ResponseData) { this.threeDS2ResponseData = threeDS2ResponseData; } - + /** + * threeDS2Result + * + * @param threeDS2Result + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse threeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; return this; } - /** - * Get threeDS2Result + /** + * threeDS2Result * @return threeDS2Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2Result getThreeDS2Result() { return threeDS2Result; } - - /** - * threeDS2Result - * - * @param threeDS2Result - */ + /** + * threeDS2Result + * + * @param threeDS2Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; } - + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + * + * @param threeDSPaymentData + * @return the current {@code PaymentResponse} instance, allowing for method chaining + */ public PaymentResponse threeDSPaymentData(String threeDSPaymentData) { this.threeDSPaymentData = threeDSPaymentData; return this; } - /** - * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. * @return threeDSPaymentData - **/ + */ @ApiModelProperty(value = "When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`.") @JsonProperty(JSON_PROPERTY_THREE_D_S_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSPaymentData() { return threeDSPaymentData; } - - /** - * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. - * - * @param threeDSPaymentData - */ + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. + * + * @param threeDSPaymentData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSPaymentData(String threeDSPaymentData) { this.threeDSPaymentData = threeDSPaymentData; } - /** * Return true if this PaymentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentReversalRequest.java b/src/main/java/com/adyen/model/checkout/PaymentReversalRequest.java index 2a5455964..ee66859fb 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentReversalRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentReversalRequest.java @@ -50,96 +50,105 @@ public class PaymentReversalRequest { public PaymentReversalRequest() { } + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentReversalRequest} instance, allowing for method chaining + */ public PaymentReversalRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentReversalRequest} instance, allowing for method chaining + */ public PaymentReversalRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Your reference for the reversal request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentReversalRequest} instance, allowing for method chaining + */ public PaymentReversalRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the reversal request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the reversal request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the reversal request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the reversal request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this PaymentReversalRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentReversalResponse.java b/src/main/java/com/adyen/model/checkout/PaymentReversalResponse.java index 59e703953..5cf27ee7d 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentReversalResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentReversalResponse.java @@ -90,156 +90,171 @@ public static StatusEnum fromValue(String value) { public PaymentReversalResponse() { } + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code PaymentReversalResponse} instance, allowing for method chaining + */ public PaymentReversalResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. + * + * @param paymentPspReference + * @return the current {@code PaymentReversalResponse} instance, allowing for method chaining + */ public PaymentReversalResponse paymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; return this; } - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. * @return paymentPspReference - **/ + */ @ApiModelProperty(required = true, value = "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. ") @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentPspReference() { return paymentPspReference; } - - /** - * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. - * - * @param paymentPspReference - */ + /** + * The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to reverse. + * + * @param paymentPspReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentPspReference(String paymentPspReference) { this.paymentPspReference = paymentPspReference; } - + /** + * Adyen's 16-character reference associated with the reversal request. + * + * @param pspReference + * @return the current {@code PaymentReversalResponse} instance, allowing for method chaining + */ public PaymentReversalResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the reversal request. + /** + * Adyen's 16-character reference associated with the reversal request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the reversal request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the reversal request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the reversal request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the reversal request. + * + * @param reference + * @return the current {@code PaymentReversalResponse} instance, allowing for method chaining + */ public PaymentReversalResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the reversal request. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the reversal request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the reversal request. - * - * @param reference - */ + /** + * Your reference for the reversal request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code PaymentReversalResponse} instance, allowing for method chaining + */ public PaymentReversalResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this PaymentReversalResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java b/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java index 1a89466f4..ea5d44dd0 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java @@ -185,7 +185,7 @@ public static ChannelEnum fromValue(String value) { private ModelConfiguration configuration; public static final String JSON_PROPERTY_CONVERSION_ID = "conversionId"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `checkoutAttemptId` instead private String conversionId; public static final String JSON_PROPERTY_COUNTRY_CODE = "countryCode"; @@ -386,7 +386,7 @@ public static ShopperInteractionEnum fromValue(String value) { private String telephoneNumber; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v69: Use `authenticationData.authenticationOnly` instead. private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOKEN = "token"; @@ -398,36 +398,45 @@ public static ShopperInteractionEnum fromValue(String value) { public PaymentSetupRequest() { } + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -441,31 +450,34 @@ public PaymentSetupRequest putAdditionalDataItem(String key, String additionalDa return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest allowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; @@ -479,121 +491,133 @@ public PaymentSetupRequest addAllowedPaymentMethodsItem(String allowedPaymentMet return this; } - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return allowedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedPaymentMethods() { return allowedPaymentMethods; } - - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param allowedPaymentMethods - */ + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param allowedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_ALLOWED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedPaymentMethods(List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest blockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; return this; @@ -607,207 +631,231 @@ public PaymentSetupRequest addBlockedPaymentMethodsItem(String blockedPaymentMet return this; } - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` * @return blockedPaymentMethods - **/ + */ @ApiModelProperty(value = "List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`") @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBlockedPaymentMethods() { return blockedPaymentMethods; } - - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @param blockedPaymentMethods - */ + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + * + * @param blockedPaymentMethods + */ @JsonProperty(JSON_PROPERTY_BLOCKED_PAYMENT_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBlockedPaymentMethods(List blockedPaymentMethods) { this.blockedPaymentMethods = blockedPaymentMethods; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest channel(ChannelEnum channel) { this.channel = channel; return this; } - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web * @return channel - **/ + */ @ApiModelProperty(value = "The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChannelEnum getChannel() { return channel; } - - /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web - * - * @param channel - */ + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(ChannelEnum channel) { this.channel = channel; } - + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param checkoutAttemptId - */ + /** + * Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * company + * + * @param company + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest company(Company company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Company getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(Company company) { this.company = company; } - + /** + * configuration + * + * @param configuration + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest configuration(ModelConfiguration configuration) { this.configuration = configuration; return this; } - /** - * Get configuration + /** + * configuration * @return configuration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelConfiguration getConfiguration() { return configuration; } - - /** - * configuration - * - * @param configuration - */ + /** + * configuration + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(ModelConfiguration configuration) { this.configuration = configuration; } - + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated public PaymentSetupRequest conversionId(String conversionId) { this.conversionId = conversionId; return this; } - /** + /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. * @return conversionId - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @ApiModelProperty(value = "Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey.") @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConversionId() { return conversionId; } - - /** - * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. - * - * @param conversionId - */ + /** + * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @param conversionId + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONVERSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -815,337 +863,375 @@ public void setConversionId(String conversionId) { this.conversionId = conversionId; } - + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** + /** * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE * @return countryCode - **/ + */ @ApiModelProperty(required = true, value = "The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE - * - * @param countryCode - */ + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + * + * @param enableOneClick + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest enableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; return this; } - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. * @return enableOneClick - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments.") @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableOneClick() { return enableOneClick; } - - /** - * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. - * - * @param enableOneClick - */ + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + * + * @param enableOneClick + */ @JsonProperty(JSON_PROPERTY_ENABLE_ONE_CLICK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableOneClick(Boolean enableOneClick) { this.enableOneClick = enableOneClick; } - + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest enablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. * @return enablePayOut - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be tokenized for payouts.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayOut() { return enablePayOut; } - - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. - * - * @param enablePayOut - */ + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * + * @param enablePayOut + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_OUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayOut(Boolean enablePayOut) { this.enablePayOut = enablePayOut; } - + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + * + * @param enableRecurring + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest enableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. * @return enableRecurring - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments.") @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableRecurring() { return enableRecurring; } - - /** - * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. - * - * @param enableRecurring - */ + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + * + * @param enableRecurring + */ @JsonProperty(JSON_PROPERTY_ENABLE_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableRecurring(Boolean enableRecurring) { this.enableRecurring = enableRecurring; } - + /** + * The type of the entity the payment is processed for. + * + * @param entityType + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** + /** * The type of the entity the payment is processed for. * @return entityType - **/ + */ @ApiModelProperty(value = "The type of the entity the payment is processed for.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payment is processed for. - * - * @param entityType - */ + /** + * The type of the entity the payment is processed for. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * installments + * + * @param installments + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest lineItems(List lineItems) { this.lineItems = lineItems; return this; @@ -1159,31 +1245,34 @@ public PaymentSetupRequest addLineItemsItem(LineItem lineItemsItem) { return this; } - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. * @return lineItems - **/ + */ @ApiModelProperty(value = "Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.") @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLineItems() { return lineItems; } - - /** - * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. - * - * @param lineItems - */ + /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @param lineItems + */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLineItems(List lineItems) { this.lineItems = lineItems; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -1197,151 +1286,166 @@ public PaymentSetupRequest putLocalizedShopperStatementItem(String key, String l return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * mandate + * + * @param mandate + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest mandate(Mandate mandate) { this.mandate = mandate; return this; } - /** - * Get mandate + /** + * mandate * @return mandate - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Mandate getMandate() { return mandate; } - - /** - * mandate - * - * @param mandate - */ + /** + * mandate + * + * @param mandate + */ @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMandate(Mandate mandate) { this.mandate = mandate; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -1355,601 +1459,661 @@ public PaymentSetupRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest orderReference(String orderReference) { this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - + /** + * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. + * + * @param origin + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest origin(String origin) { this.origin = origin; return this; } - /** + /** * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. * @return origin - **/ + */ @ApiModelProperty(value = "Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from.") @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrigin() { return origin; } - - /** - * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. - * - * @param origin - */ + /** + * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. + * + * @param origin + */ @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrigin(String origin) { this.origin = origin; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * @return returnUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReturnUrl() { return returnUrl; } - - /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. - * - * @param returnUrl - */ + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * + * @param returnUrl + */ @JsonProperty(JSON_PROPERTY_RETURN_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } - + /** + * riskData + * + * @param riskData + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest riskData(RiskData riskData) { this.riskData = riskData; return this; } - /** - * Get riskData + /** + * riskData * @return riskData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RiskData getRiskData() { return riskData; } - - /** - * riskData - * - * @param riskData - */ + /** + * riskData + * + * @param riskData + */ @JsonProperty(JSON_PROPERTY_RISK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskData(RiskData riskData) { this.riskData = riskData; } - + /** + * The version of the SDK you are using (for Web SDK integrations only). + * + * @param sdkVersion + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest sdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; return this; } - /** + /** * The version of the SDK you are using (for Web SDK integrations only). * @return sdkVersion - **/ + */ @ApiModelProperty(value = "The version of the SDK you are using (for Web SDK integrations only).") @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkVersion() { return sdkVersion; } - - /** - * The version of the SDK you are using (for Web SDK integrations only). - * - * @param sdkVersion - */ + /** + * The version of the SDK you are using (for Web SDK integrations only). + * + * @param sdkVersion + */ @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; } - + /** + * secureRemoteCommerceCheckoutData + * + * @param secureRemoteCommerceCheckoutData + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest secureRemoteCommerceCheckoutData(SecureRemoteCommerceCheckoutData secureRemoteCommerceCheckoutData) { this.secureRemoteCommerceCheckoutData = secureRemoteCommerceCheckoutData; return this; } - /** - * Get secureRemoteCommerceCheckoutData + /** + * secureRemoteCommerceCheckoutData * @return secureRemoteCommerceCheckoutData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SECURE_REMOTE_COMMERCE_CHECKOUT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SecureRemoteCommerceCheckoutData getSecureRemoteCommerceCheckoutData() { return secureRemoteCommerceCheckoutData; } - - /** - * secureRemoteCommerceCheckoutData - * - * @param secureRemoteCommerceCheckoutData - */ + /** + * secureRemoteCommerceCheckoutData + * + * @param secureRemoteCommerceCheckoutData + */ @JsonProperty(JSON_PROPERTY_SECURE_REMOTE_COMMERCE_CHECKOUT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSecureRemoteCommerceCheckoutData(SecureRemoteCommerceCheckoutData secureRemoteCommerceCheckoutData) { this.secureRemoteCommerceCheckoutData = secureRemoteCommerceCheckoutData; } - + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest sessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; return this; } - /** + /** * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 * @return sessionValidity - **/ + */ @ApiModelProperty(value = "The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionValidity() { return sessionValidity; } - - /** - * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 - * - * @param sessionValidity - */ + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + * + * @param sessionValidity + */ @JsonProperty(JSON_PROPERTY_SESSION_VALIDITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionValidity(String sessionValidity) { this.sessionValidity = sessionValidity; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest splits(List splits) { this.splits = splits; return this; @@ -1963,147 +2127,165 @@ public PaymentSetupRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * When true and `shopperReference` is provided, the payment details will be stored. + * + * @param storePaymentMethod + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest storePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; return this; } - /** - * When true and `shopperReference` is provided, the payment details will be stored. + /** + * When true and `shopperReference` is provided, the payment details will be stored. * @return storePaymentMethod - **/ + */ @ApiModelProperty(value = "When true and `shopperReference` is provided, the payment details will be stored.") @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getStorePaymentMethod() { return storePaymentMethod; } - - /** - * When true and `shopperReference` is provided, the payment details will be stored. - * - * @param storePaymentMethod - */ + /** + * When true and `shopperReference` is provided, the payment details will be stored. + * + * @param storePaymentMethod + */ @JsonProperty(JSON_PROPERTY_STORE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStorePaymentMethod(Boolean storePaymentMethod) { this.storePaymentMethod = storePaymentMethod; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated public PaymentSetupRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2111,67 +2293,72 @@ public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. + * + * @param token + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest token(String token) { this.token = token; return this; } - /** - * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. + /** + * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. * @return token - **/ + */ @ApiModelProperty(value = "The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. - * - * @param token - */ + /** + * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code PaymentSetupRequest} instance, allowing for method chaining + */ public PaymentSetupRequest trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this PaymentSetupRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentSetupResponse.java b/src/main/java/com/adyen/model/checkout/PaymentSetupResponse.java index 32d705575..a126b02e3 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentSetupResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentSetupResponse.java @@ -43,42 +43,53 @@ public class PaymentSetupResponse { private String paymentSession; public static final String JSON_PROPERTY_RECURRING_DETAILS = "recurringDetails"; - @Deprecated + @Deprecated // deprecated private List recurringDetails = null; public PaymentSetupResponse() { } + /** + * The encoded payment session that you need to pass to the SDK. + * + * @param paymentSession + * @return the current {@code PaymentSetupResponse} instance, allowing for method chaining + */ public PaymentSetupResponse paymentSession(String paymentSession) { this.paymentSession = paymentSession; return this; } - /** + /** * The encoded payment session that you need to pass to the SDK. * @return paymentSession - **/ + */ @ApiModelProperty(value = "The encoded payment session that you need to pass to the SDK.") @JsonProperty(JSON_PROPERTY_PAYMENT_SESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentSession() { return paymentSession; } - - /** - * The encoded payment session that you need to pass to the SDK. - * - * @param paymentSession - */ + /** + * The encoded payment session that you need to pass to the SDK. + * + * @param paymentSession + */ @JsonProperty(JSON_PROPERTY_PAYMENT_SESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentSession(String paymentSession) { this.paymentSession = paymentSession; } - + /** + * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. + * + * @param recurringDetails + * @return the current {@code PaymentSetupResponse} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public PaymentSetupResponse recurringDetails(List recurringDetails) { this.recurringDetails = recurringDetails; @@ -93,26 +104,27 @@ public PaymentSetupResponse addRecurringDetailsItem(RecurringDetail recurringDet return this; } - /** + /** * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. * @return recurringDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRecurringDetails() { return recurringDetails; } - - /** - * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. - * - * @param recurringDetails - */ + /** + * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. + * + * @param recurringDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -120,7 +132,6 @@ public void setRecurringDetails(List recurringDetails) { this.recurringDetails = recurringDetails; } - /** * Return true if this PaymentSetupResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentVerificationRequest.java b/src/main/java/com/adyen/model/checkout/PaymentVerificationRequest.java index 828256dd1..774098205 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentVerificationRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentVerificationRequest.java @@ -41,36 +41,39 @@ public class PaymentVerificationRequest { public PaymentVerificationRequest() { } + /** + * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. + * + * @param payload + * @return the current {@code PaymentVerificationRequest} instance, allowing for method chaining + */ public PaymentVerificationRequest payload(String payload) { this.payload = payload; return this; } - /** + /** * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. * @return payload - **/ + */ @ApiModelProperty(required = true, value = "Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment.") @JsonProperty(JSON_PROPERTY_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayload() { return payload; } - - /** - * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. - * - * @param payload - */ + /** + * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. + * + * @param payload + */ @JsonProperty(JSON_PROPERTY_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayload(String payload) { this.payload = payload; } - /** * Return true if this PaymentVerificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentVerificationResponse.java b/src/main/java/com/adyen/model/checkout/PaymentVerificationResponse.java index 16c4aa7c2..01eac52aa 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentVerificationResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentVerificationResponse.java @@ -142,6 +142,12 @@ public static ResultCodeEnum fromValue(String value) { public PaymentVerificationResponse() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -155,301 +161,325 @@ public PaymentVerificationResponse putAdditionalDataItem(String key, String addi return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. + * + * @param merchantReference + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** - * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. + /** + * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. * @return merchantReference - **/ + */ @ApiModelProperty(required = true, value = "A unique value that you provided in the initial `/paymentSession` request as a `reference` field.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. - * - * @param merchantReference - */ + /** + * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * order + * + * @param order + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse order(CheckoutOrderResponse order) { this.order = order; return this; } - /** - * Get order + /** + * order * @return order - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CheckoutOrderResponse getOrder() { return order; } - - /** - * order - * - * @param order - */ + /** + * order + * + * @param order + */ @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(CheckoutOrderResponse order) { this.order = order; } - + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse refusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; return this; } - /** + /** * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReasonCode - **/ + */ @ApiModelProperty(value = "Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonCode() { return refusalReasonCode; } - - /** - * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReasonCode - */ + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReasonCode + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonCode(String refusalReasonCode) { this.refusalReasonCode = refusalReasonCode; } - + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. - * - * @param resultCode - */ + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * serviceError + * + * @param serviceError + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse serviceError(ServiceErrorDetails serviceError) { this.serviceError = serviceError; return this; } - /** - * Get serviceError + /** + * serviceError * @return serviceError - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SERVICE_ERROR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ServiceErrorDetails getServiceError() { return serviceError; } - - /** - * serviceError - * - * @param serviceError - */ + /** + * serviceError + * + * @param serviceError + */ @JsonProperty(JSON_PROPERTY_SERVICE_ERROR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setServiceError(ServiceErrorDetails serviceError) { this.serviceError = serviceError; } - + /** + * The shopperLocale value provided in the payment request. + * + * @param shopperLocale + * @return the current {@code PaymentVerificationResponse} instance, allowing for method chaining + */ public PaymentVerificationResponse shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The shopperLocale value provided in the payment request. * @return shopperLocale - **/ + */ @ApiModelProperty(required = true, value = "The shopperLocale value provided in the payment request.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The shopperLocale value provided in the payment request. - * - * @param shopperLocale - */ + /** + * The shopperLocale value provided in the payment request. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - /** * Return true if this PaymentVerificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java index 41075c12e..001c90aa0 100644 --- a/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java @@ -66,36 +66,45 @@ public class PaypalUpdateOrderRequest { public PaypalUpdateOrderRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The list of new delivery methods and the cost of each. + * + * @param deliveryMethods + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest deliveryMethods(List deliveryMethods) { this.deliveryMethods = deliveryMethods; return this; @@ -109,151 +118,160 @@ public PaypalUpdateOrderRequest addDeliveryMethodsItem(DeliveryMethod deliveryMe return this; } - /** + /** * The list of new delivery methods and the cost of each. * @return deliveryMethods - **/ + */ @ApiModelProperty(value = "The list of new delivery methods and the cost of each.") @JsonProperty(JSON_PROPERTY_DELIVERY_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDeliveryMethods() { return deliveryMethods; } - - /** - * The list of new delivery methods and the cost of each. - * - * @param deliveryMethods - */ + /** + * The list of new delivery methods and the cost of each. + * + * @param deliveryMethods + */ @JsonProperty(JSON_PROPERTY_DELIVERY_METHODS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryMethods(List deliveryMethods) { this.deliveryMethods = deliveryMethods; } - + /** + * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. + * + * @param paymentData + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** - * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. + /** + * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. * @return paymentData - **/ + */ @ApiModelProperty(value = "The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. - * - * @param paymentData - */ + /** + * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * The original `pspReference` from the `/payments` response. + * + * @param pspReference + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * The original `pspReference` from the `/payments` response. + /** + * The original `pspReference` from the `/payments` response. * @return pspReference - **/ + */ @ApiModelProperty(value = "The original `pspReference` from the `/payments` response.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The original `pspReference` from the `/payments` response. - * - * @param pspReference - */ + /** + * The original `pspReference` from the `/payments` response. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The original `sessionId` from the `/sessions` response. + * + * @param sessionId + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest sessionId(String sessionId) { this.sessionId = sessionId; return this; } - /** - * The original `sessionId` from the `/sessions` response. + /** + * The original `sessionId` from the `/sessions` response. * @return sessionId - **/ + */ @ApiModelProperty(value = "The original `sessionId` from the `/sessions` response.") @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionId() { return sessionId; } - - /** - * The original `sessionId` from the `/sessions` response. - * - * @param sessionId - */ + /** + * The original `sessionId` from the `/sessions` response. + * + * @param sessionId + */ @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionId(String sessionId) { this.sessionId = sessionId; } - + /** + * taxTotal + * + * @param taxTotal + * @return the current {@code PaypalUpdateOrderRequest} instance, allowing for method chaining + */ public PaypalUpdateOrderRequest taxTotal(TaxTotal taxTotal) { this.taxTotal = taxTotal; return this; } - /** - * Get taxTotal + /** + * taxTotal * @return taxTotal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TAX_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TaxTotal getTaxTotal() { return taxTotal; } - - /** - * taxTotal - * - * @param taxTotal - */ + /** + * taxTotal + * + * @param taxTotal + */ @JsonProperty(JSON_PROPERTY_TAX_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxTotal(TaxTotal taxTotal) { this.taxTotal = taxTotal; } - /** * Return true if this PaypalUpdateOrderRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java index 81d92da60..7aa3cec47 100644 --- a/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java @@ -80,66 +80,72 @@ public static StatusEnum fromValue(String value) { public PaypalUpdateOrderResponse() { } + /** + * The updated paymentData. + * + * @param paymentData + * @return the current {@code PaypalUpdateOrderResponse} instance, allowing for method chaining + */ public PaypalUpdateOrderResponse paymentData(String paymentData) { this.paymentData = paymentData; return this; } - /** + /** * The updated paymentData. * @return paymentData - **/ + */ @ApiModelProperty(required = true, value = "The updated paymentData.") @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentData() { return paymentData; } - - /** - * The updated paymentData. - * - * @param paymentData - */ + /** + * The updated paymentData. + * + * @param paymentData + */ @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentData(String paymentData) { this.paymentData = paymentData; } - + /** + * The status of the request. This indicates whether the order was successfully updated with PayPal. + * + * @param status + * @return the current {@code PaypalUpdateOrderResponse} instance, allowing for method chaining + */ public PaypalUpdateOrderResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the request. This indicates whether the order was successfully updated with PayPal. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the request. This indicates whether the order was successfully updated with PayPal.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the request. This indicates whether the order was successfully updated with PayPal. - * - * @param status - */ + /** + * The status of the request. This indicates whether the order was successfully updated with PayPal. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this PaypalUpdateOrderResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Phone.java b/src/main/java/com/adyen/model/checkout/Phone.java index 1ef24b9f5..766f33f45 100644 --- a/src/main/java/com/adyen/model/checkout/Phone.java +++ b/src/main/java/com/adyen/model/checkout/Phone.java @@ -45,66 +45,72 @@ public class Phone { public Phone() { } + /** + * Country code. Length: 1–3 characters. + * + * @param cc + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone cc(String cc) { this.cc = cc; return this; } - /** + /** * Country code. Length: 1–3 characters. * @return cc - **/ + */ @ApiModelProperty(value = "Country code. Length: 1–3 characters.") @JsonProperty(JSON_PROPERTY_CC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCc() { return cc; } - - /** - * Country code. Length: 1–3 characters. - * - * @param cc - */ + /** + * Country code. Length: 1–3 characters. + * + * @param cc + */ @JsonProperty(JSON_PROPERTY_CC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCc(String cc) { this.cc = cc; } - + /** + * Subscriber number. Maximum length: 15 characters. + * + * @param subscriber + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone subscriber(String subscriber) { this.subscriber = subscriber; return this; } - /** + /** * Subscriber number. Maximum length: 15 characters. * @return subscriber - **/ + */ @ApiModelProperty(value = "Subscriber number. Maximum length: 15 characters.") @JsonProperty(JSON_PROPERTY_SUBSCRIBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubscriber() { return subscriber; } - - /** - * Subscriber number. Maximum length: 15 characters. - * - * @param subscriber - */ + /** + * Subscriber number. Maximum length: 15 characters. + * + * @param subscriber + */ @JsonProperty(JSON_PROPERTY_SUBSCRIBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubscriber(String subscriber) { this.subscriber = subscriber; } - /** * Return true if this Phone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/PlatformChargebackLogic.java b/src/main/java/com/adyen/model/checkout/PlatformChargebackLogic.java index a894e3f93..f0f71d5d5 100644 --- a/src/main/java/com/adyen/model/checkout/PlatformChargebackLogic.java +++ b/src/main/java/com/adyen/model/checkout/PlatformChargebackLogic.java @@ -86,96 +86,105 @@ public static BehaviorEnum fromValue(String value) { public PlatformChargebackLogic() { } + /** + * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param behavior + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic behavior(BehaviorEnum behavior) { this.behavior = behavior; return this; } - /** + /** * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. * @return behavior - **/ + */ @ApiModelProperty(value = "The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.") @JsonProperty(JSON_PROPERTY_BEHAVIOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BehaviorEnum getBehavior() { return behavior; } - - /** - * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. - * - * @param behavior - */ + /** + * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param behavior + */ @JsonProperty(JSON_PROPERTY_BEHAVIOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBehavior(BehaviorEnum behavior) { this.behavior = behavior; } - + /** + * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. + * + * @param costAllocationAccount + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic costAllocationAccount(String costAllocationAccount) { this.costAllocationAccount = costAllocationAccount; return this; } - /** + /** * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. * @return costAllocationAccount - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account.") @JsonProperty(JSON_PROPERTY_COST_ALLOCATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCostAllocationAccount() { return costAllocationAccount; } - - /** - * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. - * - * @param costAllocationAccount - */ + /** + * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. + * + * @param costAllocationAccount + */ @JsonProperty(JSON_PROPERTY_COST_ALLOCATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCostAllocationAccount(String costAllocationAccount) { this.costAllocationAccount = costAllocationAccount; } - + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + * + * @param targetAccount + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic targetAccount(String targetAccount) { this.targetAccount = targetAccount; return this; } - /** - * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. * @return targetAccount - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_TARGET_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTargetAccount() { return targetAccount; } - - /** - * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. - * - * @param targetAccount - */ + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + * + * @param targetAccount + */ @JsonProperty(JSON_PROPERTY_TARGET_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAccount(String targetAccount) { this.targetAccount = targetAccount; } - /** * Return true if this PlatformChargebackLogic object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/RatepayDetails.java b/src/main/java/com/adyen/model/checkout/RatepayDetails.java index 2ef6332f2..00f9067ab 100644 --- a/src/main/java/com/adyen/model/checkout/RatepayDetails.java +++ b/src/main/java/com/adyen/model/checkout/RatepayDetails.java @@ -54,7 +54,7 @@ public class RatepayDetails { private String personalDetails; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -101,152 +101,176 @@ public static TypeEnum fromValue(String value) { public RatepayDetails() { } + /** + * The address where to send the invoice. + * + * @param billingAddress + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails billingAddress(String billingAddress) { this.billingAddress = billingAddress; return this; } - /** + /** * The address where to send the invoice. * @return billingAddress - **/ + */ @ApiModelProperty(value = "The address where to send the invoice.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddress() { return billingAddress; } - - /** - * The address where to send the invoice. - * - * @param billingAddress - */ + /** + * The address where to send the invoice. + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(String billingAddress) { this.billingAddress = billingAddress; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails deliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** + /** * The address where the goods should be delivered. * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "The address where the goods should be delivered.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryAddress() { return deliveryAddress; } - - /** - * The address where the goods should be delivered. - * - * @param deliveryAddress - */ + /** + * The address where the goods should be delivered. + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(String deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails personalDetails(String personalDetails) { this.personalDetails = personalDetails; return this; } - /** + /** * Shopper name, date of birth, phone number, and email address. * @return personalDetails - **/ + */ @ApiModelProperty(value = "Shopper name, date of birth, phone number, and email address.") @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPersonalDetails() { return personalDetails; } - - /** - * Shopper name, date of birth, phone number, and email address. - * - * @param personalDetails - */ + /** + * Shopper name, date of birth, phone number, and email address. + * + * @param personalDetails + */ @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPersonalDetails(String personalDetails) { this.personalDetails = personalDetails; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code RatepayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public RatepayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -254,67 +278,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **ratepay** + * + * @param type + * @return the current {@code RatepayDetails} instance, allowing for method chaining + */ public RatepayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ratepay** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**ratepay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ratepay** - * - * @param type - */ + /** + * **ratepay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this RatepayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Recurring.java b/src/main/java/com/adyen/model/checkout/Recurring.java index 08073e686..c21390102 100644 --- a/src/main/java/com/adyen/model/checkout/Recurring.java +++ b/src/main/java/com/adyen/model/checkout/Recurring.java @@ -134,156 +134,171 @@ public static TokenServiceEnum fromValue(String value) { public Recurring() { } + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring contract(ContractEnum contract) { this.contract = contract; return this; } - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * @return contract - **/ + */ @ApiModelProperty(value = "The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractEnum getContract() { return contract; } - - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). - * - * @param contract - */ + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(ContractEnum contract) { this.contract = contract; } - + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; return this; } - /** + /** * A descriptive name for this detail. * @return recurringDetailName - **/ + */ @ApiModelProperty(value = "A descriptive name for this detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailName() { return recurringDetailName; } - - /** - * A descriptive name for this detail. - * - * @param recurringDetailName - */ + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The name of the token service. + * + * @param tokenService + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring tokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; return this; } - /** + /** * The name of the token service. * @return tokenService - **/ + */ @ApiModelProperty(value = "The name of the token service.") @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenServiceEnum getTokenService() { return tokenService; } - - /** - * The name of the token service. - * - * @param tokenService - */ + /** + * The name of the token service. + * + * @param tokenService + */ @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; } - /** * Return true if this Recurring object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/RecurringDetail.java b/src/main/java/com/adyen/model/checkout/RecurringDetail.java index 68cf28400..2d7080674 100644 --- a/src/main/java/com/adyen/model/checkout/RecurringDetail.java +++ b/src/main/java/com/adyen/model/checkout/RecurringDetail.java @@ -109,7 +109,7 @@ public static FundingSourceEnum fromValue(String value) { private PaymentMethodGroup group; public static final String JSON_PROPERTY_INPUT_DETAILS = "inputDetails"; - @Deprecated + @Deprecated // deprecated private List inputDetails = null; public static final String JSON_PROPERTY_ISSUERS = "issuers"; @@ -130,6 +130,12 @@ public static FundingSourceEnum fromValue(String value) { public RecurringDetail() { } + /** + * A list of apps for this payment method. + * + * @param apps + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail apps(List apps) { this.apps = apps; return this; @@ -143,61 +149,67 @@ public RecurringDetail addAppsItem(PaymentMethodUPIApps appsItem) { return this; } - /** + /** * A list of apps for this payment method. * @return apps - **/ + */ @ApiModelProperty(value = "A list of apps for this payment method.") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * A list of apps for this payment method. - * - * @param apps - */ + /** + * A list of apps for this payment method. + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * Brand for the selected gift card. For example: plastix, hmclub. + * + * @param brand + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail brand(String brand) { this.brand = brand; return this; } - /** + /** * Brand for the selected gift card. For example: plastix, hmclub. * @return brand - **/ + */ @ApiModelProperty(value = "Brand for the selected gift card. For example: plastix, hmclub.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Brand for the selected gift card. For example: plastix, hmclub. - * - * @param brand - */ + /** + * Brand for the selected gift card. For example: plastix, hmclub. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * List of possible brands. For example: visa, mc. + * + * @param brands + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail brands(List brands) { this.brands = brands; return this; @@ -211,31 +223,34 @@ public RecurringDetail addBrandsItem(String brandsItem) { return this; } - /** + /** * List of possible brands. For example: visa, mc. * @return brands - **/ + */ @ApiModelProperty(value = "List of possible brands. For example: visa, mc.") @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBrands() { return brands; } - - /** - * List of possible brands. For example: visa, mc. - * - * @param brands - */ + /** + * List of possible brands. For example: visa, mc. + * + * @param brands + */ @JsonProperty(JSON_PROPERTY_BRANDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrands(List brands) { this.brands = brands; } - + /** + * The configuration of the payment method. + * + * @param configuration + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail configuration(Map configuration) { this.configuration = configuration; return this; @@ -249,91 +264,102 @@ public RecurringDetail putConfigurationItem(String key, String configurationItem return this; } - /** + /** * The configuration of the payment method. * @return configuration - **/ + */ @ApiModelProperty(value = "The configuration of the payment method.") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getConfiguration() { return configuration; } - - /** - * The configuration of the payment method. - * - * @param configuration - */ + /** + * The configuration of the payment method. + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(Map configuration) { this.configuration = configuration; } - + /** + * The funding source of the payment method. + * + * @param fundingSource + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source of the payment method. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source of the payment method.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source of the payment method. - * - * @param fundingSource - */ + /** + * The funding source of the payment method. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * group + * + * @param group + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail group(PaymentMethodGroup group) { this.group = group; return this; } - /** - * Get group + /** + * group * @return group - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentMethodGroup getGroup() { return group; } - - /** - * group - * - * @param group - */ + /** + * group + * + * @param group + */ @JsonProperty(JSON_PROPERTY_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGroup(PaymentMethodGroup group) { this.group = group; } - + /** + * All input details to be provided to complete the payment with this payment method. + * + * @param inputDetails + * @return the current {@code RecurringDetail} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public RecurringDetail inputDetails(List inputDetails) { this.inputDetails = inputDetails; @@ -348,26 +374,27 @@ public RecurringDetail addInputDetailsItem(InputDetail inputDetailsItem) { return this; } - /** + /** * All input details to be provided to complete the payment with this payment method. * @return inputDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "All input details to be provided to complete the payment with this payment method.") @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInputDetails() { return inputDetails; } - - /** - * All input details to be provided to complete the payment with this payment method. - * - * @param inputDetails - */ + /** + * All input details to be provided to complete the payment with this payment method. + * + * @param inputDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_INPUT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -375,7 +402,12 @@ public void setInputDetails(List inputDetails) { this.inputDetails = inputDetails; } - + /** + * A list of issuers for this payment method. + * + * @param issuers + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail issuers(List issuers) { this.issuers = issuers; return this; @@ -389,151 +421,160 @@ public RecurringDetail addIssuersItem(PaymentMethodIssuer issuersItem) { return this; } - /** + /** * A list of issuers for this payment method. * @return issuers - **/ + */ @ApiModelProperty(value = "A list of issuers for this payment method.") @JsonProperty(JSON_PROPERTY_ISSUERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIssuers() { return issuers; } - - /** - * A list of issuers for this payment method. - * - * @param issuers - */ + /** + * A list of issuers for this payment method. + * + * @param issuers + */ @JsonProperty(JSON_PROPERTY_ISSUERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuers(List issuers) { this.issuers = issuers; } - + /** + * The displayable name of this payment method. + * + * @param name + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail name(String name) { this.name = name; return this; } - /** + /** * The displayable name of this payment method. * @return name - **/ + */ @ApiModelProperty(value = "The displayable name of this payment method.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The displayable name of this payment method. - * - * @param name - */ + /** + * The displayable name of this payment method. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The reference that uniquely identifies the recurring detail. + * + * @param recurringDetailReference + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** + /** * The reference that uniquely identifies the recurring detail. * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "The reference that uniquely identifies the recurring detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * The reference that uniquely identifies the recurring detail. - * - * @param recurringDetailReference - */ + /** + * The reference that uniquely identifies the recurring detail. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * storedDetails + * + * @param storedDetails + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail storedDetails(StoredDetails storedDetails) { this.storedDetails = storedDetails; return this; } - /** - * Get storedDetails + /** + * storedDetails * @return storedDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STORED_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoredDetails getStoredDetails() { return storedDetails; } - - /** - * storedDetails - * - * @param storedDetails - */ + /** + * storedDetails + * + * @param storedDetails + */ @JsonProperty(JSON_PROPERTY_STORED_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredDetails(StoredDetails storedDetails) { this.storedDetails = storedDetails; } - + /** + * The unique payment method code. + * + * @param type + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail type(String type) { this.type = type; return this; } - /** + /** * The unique payment method code. * @return type - **/ + */ @ApiModelProperty(value = "The unique payment method code.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The unique payment method code. - * - * @param type - */ + /** + * The unique payment method code. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this RecurringDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalData3DSecure.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalData3DSecure.java index 3a57f123e..7f2037c83 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalData3DSecure.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalData3DSecure.java @@ -57,156 +57,171 @@ public class ResponseAdditionalData3DSecure { public ResponseAdditionalData3DSecure() { } + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; return this; } - /** + /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. * @return cardHolderInfo - **/ + */ @ApiModelProperty(value = "Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. ") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderInfo() { return cardHolderInfo; } - - /** - * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. - * - * @param cardHolderInfo - */ + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; } - + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavv(String cavv) { this.cavv = cavv; return this; } - /** + /** * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. * @return cavv - **/ + */ @ApiModelProperty(value = "The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array.") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavv() { return cavv; } - - /** - * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. - * - * @param cavv - */ + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(String cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure scaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; return this; } - /** + /** * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * @return scaExemptionRequested - **/ + */ @ApiModelProperty(value = "Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** ") @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScaExemptionRequested() { return scaExemptionRequested; } - - /** - * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** - * - * @param scaExemptionRequested - */ + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + */ @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; } - + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure threeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; return this; } - /** + /** * Indicates whether a card is enrolled for 3D Secure 2. * @return threeds2CardEnrolled - **/ + */ @ApiModelProperty(value = "Indicates whether a card is enrolled for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeds2CardEnrolled() { return threeds2CardEnrolled; } - - /** - * Indicates whether a card is enrolled for 3D Secure 2. - * - * @param threeds2CardEnrolled - */ + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + */ @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; } - /** * Return true if this ResponseAdditionalData3DSecure object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataBillingAddress.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataBillingAddress.java index 12c9c07cb..244eb02e3 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataBillingAddress.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataBillingAddress.java @@ -61,186 +61,204 @@ public class ResponseAdditionalDataBillingAddress { public ResponseAdditionalDataBillingAddress() { } + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; return this; } - /** + /** * The billing address city passed in the payment request. * @return billingAddressCity - **/ + */ @ApiModelProperty(value = "The billing address city passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCity() { return billingAddressCity; } - - /** - * The billing address city passed in the payment request. - * - * @param billingAddressCity - */ + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; } - + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; return this; } - /** + /** * The billing address country passed in the payment request. Example: NL * @return billingAddressCountry - **/ + */ @ApiModelProperty(value = "The billing address country passed in the payment request. Example: NL") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCountry() { return billingAddressCountry; } - - /** - * The billing address country passed in the payment request. Example: NL - * - * @param billingAddressCountry - */ + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; } - + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; return this; } - /** + /** * The billing address house number or name passed in the payment request. * @return billingAddressHouseNumberOrName - **/ + */ @ApiModelProperty(value = "The billing address house number or name passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressHouseNumberOrName() { return billingAddressHouseNumberOrName; } - - /** - * The billing address house number or name passed in the payment request. - * - * @param billingAddressHouseNumberOrName - */ + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; } - + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; return this; } - /** + /** * The billing address postal code passed in the payment request. Example: 1011 DJ * @return billingAddressPostalCode - **/ + */ @ApiModelProperty(value = "The billing address postal code passed in the payment request. Example: 1011 DJ") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressPostalCode() { return billingAddressPostalCode; } - - /** - * The billing address postal code passed in the payment request. Example: 1011 DJ - * - * @param billingAddressPostalCode - */ + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; } - + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; return this; } - /** + /** * The billing address state or province passed in the payment request. Example: NH * @return billingAddressStateOrProvince - **/ + */ @ApiModelProperty(value = "The billing address state or province passed in the payment request. Example: NH") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStateOrProvince() { return billingAddressStateOrProvince; } - - /** - * The billing address state or province passed in the payment request. Example: NH - * - * @param billingAddressStateOrProvince - */ + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; } - + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; return this; } - /** + /** * The billing address street passed in the payment request. * @return billingAddressStreet - **/ + */ @ApiModelProperty(value = "The billing address street passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStreet() { return billingAddressStreet; } - - /** - * The billing address street passed in the payment request. - * - * @param billingAddressStreet - */ + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; } - /** * Return true if this ResponseAdditionalDataBillingAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCard.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCard.java index 03a6e0a56..2ffdc164e 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCard.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCard.java @@ -69,246 +69,270 @@ public class ResponseAdditionalDataCard { public ResponseAdditionalDataCard() { } + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardBin(String cardBin) { this.cardBin = cardBin; return this; } - /** + /** * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 * @return cardBin - **/ + */ @ApiModelProperty(value = "The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234") @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardBin() { return cardBin; } - - /** - * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 - * - * @param cardBin - */ + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + */ @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardBin(String cardBin) { this.cardBin = cardBin; } - + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; return this; } - /** + /** * The cardholder name passed in the payment request. * @return cardHolderName - **/ + */ @ApiModelProperty(value = "The cardholder name passed in the payment request.") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderName() { return cardHolderName; } - - /** - * The cardholder name passed in the payment request. - * - * @param cardHolderName - */ + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; } - + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; return this; } - /** + /** * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. * @return cardIssuingBank - **/ + */ @ApiModelProperty(value = "The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingBank() { return cardIssuingBank; } - - /** - * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. - * - * @param cardIssuingBank - */ + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; } - + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; return this; } - /** + /** * The country where the card was issued. Example: US * @return cardIssuingCountry - **/ + */ @ApiModelProperty(value = "The country where the card was issued. Example: US") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCountry() { return cardIssuingCountry; } - - /** - * The country where the card was issued. Example: US - * - * @param cardIssuingCountry - */ + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; } - + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; return this; } - /** + /** * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD * @return cardIssuingCurrency - **/ + */ @ApiModelProperty(value = "The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCurrency() { return cardIssuingCurrency; } - - /** - * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD - * - * @param cardIssuingCurrency - */ + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; } - + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; return this; } - /** + /** * The card payment method used for the transaction. Example: amex * @return cardPaymentMethod - **/ + */ @ApiModelProperty(value = "The card payment method used for the transaction. Example: amex") @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardPaymentMethod() { return cardPaymentMethod; } - - /** - * The card payment method used for the transaction. Example: amex - * - * @param cardPaymentMethod - */ + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + */ @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; } - + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardSummary(String cardSummary) { this.cardSummary = cardSummary; return this; } - /** - * The last four digits of a card number. > Returned only in case of a card payment. + /** + * The last four digits of a card number. > Returned only in case of a card payment. * @return cardSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a card number. > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardSummary() { return cardSummary; } - - /** - * The last four digits of a card number. > Returned only in case of a card payment. - * - * @param cardSummary - */ + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + */ @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardSummary(String cardSummary) { this.cardSummary = cardSummary; } - + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard issuerBin(String issuerBin) { this.issuerBin = issuerBin; return this; } - /** + /** * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 * @return issuerBin - **/ + */ @ApiModelProperty(value = "The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423") @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerBin() { return issuerBin; } - - /** - * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 - * - * @param issuerBin - */ + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + */ @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerBin(String issuerBin) { this.issuerBin = issuerBin; } - /** * Return true if this ResponseAdditionalDataCard object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCommon.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCommon.java index 03e9a8b5a..fbe4783ed 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataCommon.java @@ -345,1776 +345,1953 @@ public static RecurringProcessingModelEnum fromValue(String value) { public ResponseAdditionalDataCommon() { } + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; return this; } - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. * @return acquirerAccountCode - **/ + */ @ApiModelProperty(value = "The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerAccountCode() { return acquirerAccountCode; } - - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. - * - * @param acquirerAccountCode - */ + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; } - + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; return this; } - /** + /** * The name of the acquirer processing the payment request. Example: TestPmmAcquirer * @return acquirerCode - **/ + */ @ApiModelProperty(value = "The name of the acquirer processing the payment request. Example: TestPmmAcquirer") @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerCode() { return acquirerCode; } - - /** - * The name of the acquirer processing the payment request. Example: TestPmmAcquirer - * - * @param acquirerCode - */ + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; } - + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; return this; } - /** + /** * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 * @return acquirerReference - **/ + */ @ApiModelProperty(value = "The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9") @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerReference() { return acquirerReference; } - - /** - * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 - * - * @param acquirerReference - */ + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; } - + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon alias(String alias) { this.alias = alias; return this; } - /** + /** * The Adyen alias of the card. Example: H167852639363479 * @return alias - **/ + */ @ApiModelProperty(value = "The Adyen alias of the card. Example: H167852639363479") @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAlias() { return alias; } - - /** - * The Adyen alias of the card. Example: H167852639363479 - * - * @param alias - */ + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + */ @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAlias(String alias) { this.alias = alias; } - + /** + * The type of the card alias. Example: Default + * + * @param aliasType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon aliasType(String aliasType) { this.aliasType = aliasType; return this; } - /** + /** * The type of the card alias. Example: Default * @return aliasType - **/ + */ @ApiModelProperty(value = "The type of the card alias. Example: Default") @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAliasType() { return aliasType; } - - /** - * The type of the card alias. Example: Default - * - * @param aliasType - */ + /** + * The type of the card alias. Example: Default + * + * @param aliasType + */ @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAliasType(String aliasType) { this.aliasType = aliasType; } - + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; return this; } - /** + /** * Merchant ID known by the acquirer. * @return authorisationMid - **/ + */ @ApiModelProperty(value = "Merchant ID known by the acquirer.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationMid() { return authorisationMid; } - - /** - * Merchant ID known by the acquirer. - * - * @param authorisationMid - */ + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; } - + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; return this; } - /** + /** * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountCurrency - **/ + */ @ApiModelProperty(value = "The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountCurrency() { return authorisedAmountCurrency; } - - /** - * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountCurrency - */ + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; } - + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; return this; } - /** + /** * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountValue - **/ + */ @ApiModelProperty(value = "Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountValue() { return authorisedAmountValue; } - - /** - * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountValue - */ + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; } - + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResult(String avsResult) { this.avsResult = avsResult; return this; } - /** + /** * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). * @return avsResult - **/ + */ @ApiModelProperty(value = "The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs).") @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResult() { return avsResult; } - - /** - * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). - * - * @param avsResult - */ + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResult(String avsResult) { this.avsResult = avsResult; } - + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; return this; } - /** + /** * Raw AVS result received from the acquirer, where available. Example: D * @return avsResultRaw - **/ + */ @ApiModelProperty(value = "Raw AVS result received from the acquirer, where available. Example: D") @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResultRaw() { return avsResultRaw; } - - /** - * Raw AVS result received from the acquirer, where available. Example: D - * - * @param avsResultRaw - */ + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; } - + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon bic(String bic) { this.bic = bic; return this; } - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. * @return bic - **/ + */ @ApiModelProperty(value = "BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. - * - * @param bic - */ + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon coBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; return this; } - /** + /** * Includes the co-branded card information. * @return coBrandedWith - **/ + */ @ApiModelProperty(value = "Includes the co-branded card information.") @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCoBrandedWith() { return coBrandedWith; } - - /** - * Includes the co-branded card information. - * - * @param coBrandedWith - */ + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + */ @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCoBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; } - + /** + * The result of CVC verification. + * + * @param cvcResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResult(String cvcResult) { this.cvcResult = cvcResult; return this; } - /** + /** * The result of CVC verification. * @return cvcResult - **/ + */ @ApiModelProperty(example = "1 Matches", value = "The result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResult() { return cvcResult; } - - /** - * The result of CVC verification. - * - * @param cvcResult - */ + /** + * The result of CVC verification. + * + * @param cvcResult + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResult(String cvcResult) { this.cvcResult = cvcResult; } - + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; return this; } - /** + /** * The raw result of CVC verification. * @return cvcResultRaw - **/ + */ @ApiModelProperty(example = "M", value = "The raw result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResultRaw() { return cvcResultRaw; } - - /** - * The raw result of CVC verification. - * - * @param cvcResultRaw - */ + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; } - + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. - * - * @param dsTransID - */ + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon eci(String eci) { this.eci = eci; return this; } - /** + /** * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 * @return eci - **/ + */ @ApiModelProperty(value = "The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 - * - * @param eci - */ + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon expiryDate(String expiryDate) { this.expiryDate = expiryDate; return this; } - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. * @return expiryDate - **/ + */ @ApiModelProperty(value = "The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryDate() { return expiryDate; } - - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. - * - * @param expiryDate - */ + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + */ @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; } - + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; return this; } - /** + /** * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR * @return extraCostsCurrency - **/ + */ @ApiModelProperty(value = "The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsCurrency() { return extraCostsCurrency; } - - /** - * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR - * - * @param extraCostsCurrency - */ + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; } - + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; return this; } - /** + /** * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. * @return extraCostsValue - **/ + */ @ApiModelProperty(value = "The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units.") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsValue() { return extraCostsValue; } - - /** - * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. - * - * @param extraCostsValue - */ + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; } - + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; return this; } - /** + /** * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. * @return fraudCheckItemNrFraudCheckname - **/ + */ @ApiModelProperty(value = "The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair.") @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudCheckItemNrFraudCheckname() { return fraudCheckItemNrFraudCheckname; } - - /** - * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. - * - * @param fraudCheckItemNrFraudCheckname - */ + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + */ @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; } - + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; return this; } - /** + /** * Indicates if the payment is sent to manual review. * @return fraudManualReview - **/ + */ @ApiModelProperty(value = "Indicates if the payment is sent to manual review.") @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudManualReview() { return fraudManualReview; } - - /** - * Indicates if the payment is sent to manual review. - * - * @param fraudManualReview - */ + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + */ @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; } - + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; return this; } - /** + /** * The fraud result properties of the payment. * @return fraudResultType - **/ + */ @ApiModelProperty(value = "The fraud result properties of the payment.") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResultTypeEnum getFraudResultType() { return fraudResultType; } - - /** - * The fraud result properties of the payment. - * - * @param fraudResultType - */ + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; } - + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. - * - * @param fundingSource - */ + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; return this; } - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". * @return fundsAvailability - **/ + */ @ApiModelProperty(value = "Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\".") @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundsAvailability() { return fundsAvailability; } - - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". - * - * @param fundsAvailability - */ + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + */ @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; } - + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon inferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; return this; } - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card * @return inferredRefusalReason - **/ + */ @ApiModelProperty(value = "Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card") @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInferredRefusalReason() { return inferredRefusalReason; } - - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card - * - * @param inferredRefusalReason - */ + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + */ @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; } - + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon isCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; return this; } - /** + /** * Indicates if the card is used for business purposes only. * @return isCardCommercial - **/ + */ @ApiModelProperty(value = "Indicates if the card is used for business purposes only.") @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIsCardCommercial() { return isCardCommercial; } - - /** - * Indicates if the card is used for business purposes only. - * - * @param isCardCommercial - */ + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + */ @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; } - + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP * @return issuerCountry - **/ + */ @ApiModelProperty(value = "The issuing country of the card based on the BIN list that Adyen maintains. Example: JP") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP - * - * @param issuerCountry - */ + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + */ @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon liabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; return this; } - /** + /** * A Boolean value indicating whether a liability shift was offered for this payment. * @return liabilityShift - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether a liability shift was offered for this payment.") @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLiabilityShift() { return liabilityShift; } - - /** - * A Boolean value indicating whether a liability shift was offered for this payment. - * - * @param liabilityShift - */ + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + */ @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLiabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; } - + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon mcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; return this; } - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. * @return mcBankNetReferenceNumber - **/ + */ @ApiModelProperty(value = "The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcBankNetReferenceNumber() { return mcBankNetReferenceNumber; } - - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. - * - * @param mcBankNetReferenceNumber - */ + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + */ @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; } - + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; return this; } - /** + /** * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). * @return merchantAdviceCode - **/ + */ @ApiModelProperty(value = "The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes).") @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAdviceCode() { return merchantAdviceCode; } - - /** - * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). - * - * @param merchantAdviceCode - */ + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; } - + /** + * The reference provided for the transaction. + * + * @param merchantReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * The reference provided for the transaction. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The reference provided for the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The reference provided for the transaction. - * - * @param merchantReference - */ + /** + * The reference provided for the transaction. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. * @return ownerName - **/ + */ @ApiModelProperty(value = "The owner name of a bank account. Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. - * - * @param ownerName - */ + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; return this; } - /** + /** * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. * @return paymentAccountReference - **/ + */ @ApiModelProperty(value = "The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAccountReference() { return paymentAccountReference; } - - /** - * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. - * - * @param paymentAccountReference - */ + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; } - + /** + * The payment method used in the transaction. + * + * @param paymentMethod + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method used in the transaction. * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The payment method used in the transaction.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method used in the transaction. - * - * @param paymentMethod - */ + /** + * The payment method used in the transaction. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; return this; } - /** + /** * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro * @return paymentMethodVariant - **/ + */ @ApiModelProperty(value = "The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodVariant() { return paymentMethodVariant; } - - /** - * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro - * - * @param paymentMethodVariant - */ + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; } - + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon payoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; return this; } - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) * @return payoutEligible - **/ + */ @ApiModelProperty(value = "Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown)") @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayoutEligible() { return payoutEligible; } - - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) - * - * @param payoutEligible - */ + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + */ @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; } - + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon realtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; return this; } - /** + /** * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder * @return realtimeAccountUpdaterStatus - **/ + */ @ApiModelProperty(value = "The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder") @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRealtimeAccountUpdaterStatus() { return realtimeAccountUpdaterStatus; } - - /** - * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder - * - * @param realtimeAccountUpdaterStatus - */ + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + */ @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRealtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; } - + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon receiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; return this; } - /** + /** * Message to be displayed on the terminal. * @return receiptFreeText - **/ + */ @ApiModelProperty(value = "Message to be displayed on the terminal.") @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReceiptFreeText() { return receiptFreeText; } - - /** - * Message to be displayed on the terminal. - * - * @param receiptFreeText - */ + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + */ @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; } - + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; return this; } - /** + /** * The recurring contract types applicable to the transaction. * @return recurringContractTypes - **/ + */ @ApiModelProperty(value = "The recurring contract types applicable to the transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringContractTypes() { return recurringContractTypes; } - - /** - * The recurring contract types applicable to the transaction. - * - * @param recurringContractTypes - */ + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + */ @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; } - + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; return this; } - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. * @return recurringFirstPspReference - **/ + */ @ApiModelProperty(value = "The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.") @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFirstPspReference() { return recurringFirstPspReference; } - - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. - * - * @param recurringFirstPspReference - */ + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; } - + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; return this; } - /** + /** * The reference that uniquely identifies the recurring transaction. * @return recurringRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The reference that uniquely identifies the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringRecurringDetailReference() { return recurringRecurringDetailReference; } - - /** - * The reference that uniquely identifies the recurring transaction. - * - * @param recurringRecurringDetailReference - */ + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; } - + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; return this; } - /** + /** * The provided reference of the shopper for a recurring transaction. * @return recurringShopperReference - **/ + */ @ApiModelProperty(value = "The provided reference of the shopper for a recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringShopperReference() { return recurringShopperReference; } - - /** - * The provided reference of the shopper for a recurring transaction. - * - * @param recurringShopperReference - */ + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; } - + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** + /** * The processing model used for the recurring transaction. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "The processing model used for the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * The processing model used for the recurring transaction. - * - * @param recurringProcessingModel - */ + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon referred(String referred) { this.referred = referred; return this; } - /** + /** * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true * @return referred - **/ + */ @ApiModelProperty(value = "If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true") @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferred() { return referred; } - - /** - * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true - * - * @param referred - */ + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + */ @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferred(String referred) { this.referred = referred; } - + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon refusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; return this; } - /** + /** * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED * @return refusalReasonRaw - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the acquirer, where available. Example: AUTHORISED") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonRaw() { return refusalReasonRaw; } - - /** - * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED - * - * @param refusalReasonRaw - */ + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; } - + /** + * The amount of the payment request. + * + * @param requestAmount + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestAmount(String requestAmount) { this.requestAmount = requestAmount; return this; } - /** + /** * The amount of the payment request. * @return requestAmount - **/ + */ @ApiModelProperty(value = "The amount of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestAmount() { return requestAmount; } - - /** - * The amount of the payment request. - * - * @param requestAmount - */ + /** + * The amount of the payment request. + * + * @param requestAmount + */ @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestAmount(String requestAmount) { this.requestAmount = requestAmount; } - + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; return this; } - /** + /** * The currency of the payment request. * @return requestCurrencyCode - **/ + */ @ApiModelProperty(value = "The currency of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestCurrencyCode() { return requestCurrencyCode; } - - /** - * The currency of the payment request. - * - * @param requestCurrencyCode - */ + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + */ @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; } - + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The shopper interaction type of the payment request. Example: Ecommerce * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "The shopper interaction type of the payment request. Example: Ecommerce") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperInteraction() { return shopperInteraction; } - - /** - * The shopper interaction type of the payment request. Example: Ecommerce - * - * @param shopperInteraction - */ + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * The shopperReference passed in the payment request. Example: AdyenTestShopperXX * @return shopperReference - **/ + */ @ApiModelProperty(value = "The shopperReference passed in the payment request. Example: AdyenTestShopperXX") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopperReference passed in the payment request. Example: AdyenTestShopperXX - * - * @param shopperReference - */ + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The terminal ID used in a point-of-sale payment. Example: 06022622 * @return terminalId - **/ + */ @ApiModelProperty(value = "The terminal ID used in a point-of-sale payment. Example: 06022622") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The terminal ID used in a point-of-sale payment. Example: 06022622 - * - * @param terminalId - */ + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; return this; } - /** + /** * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true * @return threeDAuthenticated - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticated() { return threeDAuthenticated; } - - /** - * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true - * - * @param threeDAuthenticated - */ + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; } - + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; return this; } - /** + /** * The raw 3DS authentication result from the card issuer. Example: N * @return threeDAuthenticatedResponse - **/ + */ @ApiModelProperty(value = "The raw 3DS authentication result from the card issuer. Example: N") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticatedResponse() { return threeDAuthenticatedResponse; } - - /** - * The raw 3DS authentication result from the card issuer. Example: N - * - * @param threeDAuthenticatedResponse - */ + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; } - + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; return this; } - /** + /** * A Boolean value indicating whether 3DS was offered for this payment. Example: true * @return threeDOffered - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS was offered for this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOffered() { return threeDOffered; } - - /** - * A Boolean value indicating whether 3DS was offered for this payment. Example: true - * - * @param threeDOffered - */ + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; } - + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; return this; } - /** + /** * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y * @return threeDOfferedResponse - **/ + */ @ApiModelProperty(value = "The raw enrollment result from the 3DS directory services of the card schemes. Example: Y") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOfferedResponse() { return threeDOfferedResponse; } - - /** - * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y - * - * @param threeDOfferedResponse - */ + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; } - + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The 3D Secure 2 version. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The 3D Secure 2 version.") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * The 3D Secure 2 version. - * - * @param threeDSVersion - */ + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon visaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; return this; } - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. * @return visaTransactionId - **/ + */ @ApiModelProperty(value = "The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisaTransactionId() { return visaTransactionId; } - - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. - * - * @param visaTransactionId - */ + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + */ @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; } - + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon xid(String xid) { this.xid = xid; return this; } - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= * @return xid - **/ + */ @ApiModelProperty(value = "The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA=") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getXid() { return xid; } - - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= - * - * @param xid - */ + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(String xid) { this.xid = xid; } - /** * Return true if this ResponseAdditionalDataCommon object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataDomesticError.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataDomesticError.java index 068cb95e5..6ce49c8d8 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataDomesticError.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataDomesticError.java @@ -45,66 +45,72 @@ public class ResponseAdditionalDataDomesticError { public ResponseAdditionalDataDomesticError() { } + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; return this; } - /** + /** * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. * @return domesticRefusalReasonRaw - **/ + */ @ApiModelProperty(value = "The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticRefusalReasonRaw() { return domesticRefusalReasonRaw; } - - /** - * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. - * - * @param domesticRefusalReasonRaw - */ + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; } - + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; return this; } - /** + /** * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. * @return domesticShopperAdvice - **/ + */ @ApiModelProperty(value = "The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticShopperAdvice() { return domesticShopperAdvice; } - - /** - * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. - * - * @param domesticShopperAdvice - */ + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; } - /** * Return true if this ResponseAdditionalDataDomesticError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataInstallments.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataInstallments.java index 86447199a..ea86633f7 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataInstallments.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataInstallments.java @@ -85,366 +85,402 @@ public class ResponseAdditionalDataInstallments { public ResponseAdditionalDataInstallments() { } + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; return this; } - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. * @return installmentPaymentDataInstallmentType - **/ + */ @ApiModelProperty(value = "Type of installment. The value of `installmentType` should be **IssuerFinanced**.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataInstallmentType() { return installmentPaymentDataInstallmentType; } - - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. - * - * @param installmentPaymentDataInstallmentType - */ + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; } - + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; return this; } - /** + /** * Annual interest rate. * @return installmentPaymentDataOptionItemNrAnnualPercentageRate - **/ + */ @ApiModelProperty(value = "Annual interest rate.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrAnnualPercentageRate() { return installmentPaymentDataOptionItemNrAnnualPercentageRate; } - - /** - * Annual interest rate. - * - * @param installmentPaymentDataOptionItemNrAnnualPercentageRate - */ + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; } - + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; return this; } - /** + /** * First Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrFirstInstallmentAmount - **/ + */ @ApiModelProperty(value = "First Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrFirstInstallmentAmount() { return installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - - /** - * First Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount - */ + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; return this; } - /** + /** * Installment fee amount in minor units. * @return installmentPaymentDataOptionItemNrInstallmentFee - **/ + */ @ApiModelProperty(value = "Installment fee amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInstallmentFee() { return installmentPaymentDataOptionItemNrInstallmentFee; } - - /** - * Installment fee amount in minor units. - * - * @param installmentPaymentDataOptionItemNrInstallmentFee - */ + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; } - + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; return this; } - /** + /** * Interest rate for the installment period. * @return installmentPaymentDataOptionItemNrInterestRate - **/ + */ @ApiModelProperty(value = "Interest rate for the installment period.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInterestRate() { return installmentPaymentDataOptionItemNrInterestRate; } - - /** - * Interest rate for the installment period. - * - * @param installmentPaymentDataOptionItemNrInterestRate - */ + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; } - + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; return this; } - /** + /** * Maximum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Maximum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - - /** - * Maximum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - */ + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; return this; } - /** + /** * Minimum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Minimum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - - /** - * Minimum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - */ + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; return this; } - /** + /** * Total number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Total number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrNumberOfInstallments() { return installmentPaymentDataOptionItemNrNumberOfInstallments; } - - /** - * Total number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrNumberOfInstallments - */ + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; } - + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; return this; } - /** + /** * Subsequent Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - **/ + */ @ApiModelProperty(value = "Subsequent Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount() { return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - - /** - * Subsequent Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - */ + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; return this; } - /** + /** * Total amount in minor units. * @return installmentPaymentDataOptionItemNrTotalAmountDue - **/ + */ @ApiModelProperty(value = "Total amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrTotalAmountDue() { return installmentPaymentDataOptionItemNrTotalAmountDue; } - - /** - * Total amount in minor units. - * - * @param installmentPaymentDataOptionItemNrTotalAmountDue - */ + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; } - + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; return this; } - /** + /** * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments * @return installmentPaymentDataPaymentOptions - **/ + */ @ApiModelProperty(value = "Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataPaymentOptions() { return installmentPaymentDataPaymentOptions; } - - /** - * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments - * - * @param installmentPaymentDataPaymentOptions - */ + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; } - + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; return this; } - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. * @return installmentsValue - **/ + */ @ApiModelProperty(value = "The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments.") @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentsValue() { return installmentsValue; } - - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. - * - * @param installmentsValue - */ + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; } - /** * Return true if this ResponseAdditionalDataInstallments object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataNetworkTokens.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataNetworkTokens.java index 64099fce4..7a18bd618 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataNetworkTokens.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataNetworkTokens.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataNetworkTokens { public ResponseAdditionalDataNetworkTokens() { } + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; return this; } - /** + /** * Indicates whether a network token is available for the specified card. * @return networkTokenAvailable - **/ + */ @ApiModelProperty(value = "Indicates whether a network token is available for the specified card.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenAvailable() { return networkTokenAvailable; } - - /** - * Indicates whether a network token is available for the specified card. - * - * @param networkTokenAvailable - */ + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; } - + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; return this; } - /** + /** * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. * @return networkTokenBin - **/ + */ @ApiModelProperty(value = "The Bank Identification Number of a tokenized card, which is the first six digits of a card number.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenBin() { return networkTokenBin; } - - /** - * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. - * - * @param networkTokenBin - */ + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; } - + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; return this; } - /** + /** * The last four digits of a network token. * @return networkTokenTokenSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a network token.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenTokenSummary() { return networkTokenTokenSummary; } - - /** - * The last four digits of a network token. - * - * @param networkTokenTokenSummary - */ + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; } - /** * Return true if this ResponseAdditionalDataNetworkTokens object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataOpi.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataOpi.java index 075215b6f..70c69f764 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataOpi.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataOpi.java @@ -41,36 +41,39 @@ public class ResponseAdditionalDataOpi { public ResponseAdditionalDataOpi() { } + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + * @return the current {@code ResponseAdditionalDataOpi} instance, allowing for method chaining + */ public ResponseAdditionalDataOpi opiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; return this; } - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). * @return opiTransToken - **/ + */ @ApiModelProperty(value = "Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).") @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpiTransToken() { return opiTransToken; } - - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). - * - * @param opiTransToken - */ + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + */ @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; } - /** * Return true if this ResponseAdditionalDataOpi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataSepa.java b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataSepa.java index 778dbf4c7..1c4ecd603 100644 --- a/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataSepa.java +++ b/src/main/java/com/adyen/model/checkout/ResponseAdditionalDataSepa.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataSepa { public ResponseAdditionalDataSepa() { } + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; return this; } - /** + /** * The transaction signature date. Format: yyyy-MM-dd * @return sepadirectdebitDateOfSignature - **/ + */ @ApiModelProperty(value = "The transaction signature date. Format: yyyy-MM-dd") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitDateOfSignature() { return sepadirectdebitDateOfSignature; } - - /** - * The transaction signature date. Format: yyyy-MM-dd - * - * @param sepadirectdebitDateOfSignature - */ + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; } - + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; return this; } - /** + /** * Its value corresponds to the pspReference value of the transaction. * @return sepadirectdebitMandateId - **/ + */ @ApiModelProperty(value = "Its value corresponds to the pspReference value of the transaction.") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitMandateId() { return sepadirectdebitMandateId; } - - /** - * Its value corresponds to the pspReference value of the transaction. - * - * @param sepadirectdebitMandateId - */ + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; } - + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; return this; } - /** + /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF * @return sepadirectdebitSequenceType - **/ + */ @ApiModelProperty(value = "This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitSequenceType() { return sepadirectdebitSequenceType; } - - /** - * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF - * - * @param sepadirectdebitSequenceType - */ + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; } - /** * Return true if this ResponseAdditionalDataSepa object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ResponsePaymentMethod.java b/src/main/java/com/adyen/model/checkout/ResponsePaymentMethod.java index 077d46897..d66218eff 100644 --- a/src/main/java/com/adyen/model/checkout/ResponsePaymentMethod.java +++ b/src/main/java/com/adyen/model/checkout/ResponsePaymentMethod.java @@ -45,66 +45,72 @@ public class ResponsePaymentMethod { public ResponsePaymentMethod() { } + /** + * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. + * + * @param brand + * @return the current {@code ResponsePaymentMethod} instance, allowing for method chaining + */ public ResponsePaymentMethod brand(String brand) { this.brand = brand; return this; } - /** - * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. + /** + * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. * @return brand - **/ + */ @ApiModelProperty(value = "The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. - * - * @param brand - */ + /** + * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The `paymentMethod.type` value used in the request. + * + * @param type + * @return the current {@code ResponsePaymentMethod} instance, allowing for method chaining + */ public ResponsePaymentMethod type(String type) { this.type = type; return this; } - /** - * The `paymentMethod.type` value used in the request. + /** + * The `paymentMethod.type` value used in the request. * @return type - **/ + */ @ApiModelProperty(value = "The `paymentMethod.type` value used in the request.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The `paymentMethod.type` value used in the request. - * - * @param type - */ + /** + * The `paymentMethod.type` value used in the request. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this ResponsePaymentMethod object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/RiskData.java b/src/main/java/com/adyen/model/checkout/RiskData.java index cccffdd37..e186f696c 100644 --- a/src/main/java/com/adyen/model/checkout/RiskData.java +++ b/src/main/java/com/adyen/model/checkout/RiskData.java @@ -56,36 +56,45 @@ public class RiskData { public RiskData() { } + /** + * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. + * + * @param clientData + * @return the current {@code RiskData} instance, allowing for method chaining + */ public RiskData clientData(String clientData) { this.clientData = clientData; return this; } - /** + /** * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. * @return clientData - **/ + */ @ApiModelProperty(value = "Contains client-side data, like the device fingerprint, cookies, and specific browser settings.") @JsonProperty(JSON_PROPERTY_CLIENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientData() { return clientData; } - - /** - * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. - * - * @param clientData - */ + /** + * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. + * + * @param clientData + */ @JsonProperty(JSON_PROPERTY_CLIENT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientData(String clientData) { this.clientData = clientData; } - + /** + * Any custom fields used as part of the input to configured risk rules. + * + * @param customFields + * @return the current {@code RiskData} instance, allowing for method chaining + */ public RiskData customFields(Map customFields) { this.customFields = customFields; return this; @@ -99,91 +108,94 @@ public RiskData putCustomFieldsItem(String key, String customFieldsItem) { return this; } - /** + /** * Any custom fields used as part of the input to configured risk rules. * @return customFields - **/ + */ @ApiModelProperty(value = "Any custom fields used as part of the input to configured risk rules.") @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCustomFields() { return customFields; } - - /** - * Any custom fields used as part of the input to configured risk rules. - * - * @param customFields - */ + /** + * Any custom fields used as part of the input to configured risk rules. + * + * @param customFields + */ @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomFields(Map customFields) { this.customFields = customFields; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code RiskData} instance, allowing for method chaining + */ public RiskData fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied. + * + * @param profileReference + * @return the current {@code RiskData} instance, allowing for method chaining + */ public RiskData profileReference(String profileReference) { this.profileReference = profileReference; return this; } - /** - * The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied. + /** + * The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied. * @return profileReference - **/ + */ @ApiModelProperty(value = "The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied.") @JsonProperty(JSON_PROPERTY_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProfileReference() { return profileReference; } - - /** - * The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied. - * - * @param profileReference - */ + /** + * The risk profile to assign to this payment. When left empty, the merchant-level account's default risk profile will be applied. + * + * @param profileReference + */ @JsonProperty(JSON_PROPERTY_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProfileReference(String profileReference) { this.profileReference = profileReference; } - /** * Return true if this RiskData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SDKEphemPubKey.java b/src/main/java/com/adyen/model/checkout/SDKEphemPubKey.java index 3cb050343..97d14d691 100644 --- a/src/main/java/com/adyen/model/checkout/SDKEphemPubKey.java +++ b/src/main/java/com/adyen/model/checkout/SDKEphemPubKey.java @@ -53,126 +53,138 @@ public class SDKEphemPubKey { public SDKEphemPubKey() { } + /** + * The `crv` value as received from the 3D Secure 2 SDK. + * + * @param crv + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey crv(String crv) { this.crv = crv; return this; } - /** - * The `crv` value as received from the 3D Secure 2 SDK. + /** + * The `crv` value as received from the 3D Secure 2 SDK. * @return crv - **/ + */ @ApiModelProperty(value = "The `crv` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_CRV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCrv() { return crv; } - - /** - * The `crv` value as received from the 3D Secure 2 SDK. - * - * @param crv - */ + /** + * The `crv` value as received from the 3D Secure 2 SDK. + * + * @param crv + */ @JsonProperty(JSON_PROPERTY_CRV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCrv(String crv) { this.crv = crv; } - + /** + * The `kty` value as received from the 3D Secure 2 SDK. + * + * @param kty + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey kty(String kty) { this.kty = kty; return this; } - /** - * The `kty` value as received from the 3D Secure 2 SDK. + /** + * The `kty` value as received from the 3D Secure 2 SDK. * @return kty - **/ + */ @ApiModelProperty(value = "The `kty` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_KTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getKty() { return kty; } - - /** - * The `kty` value as received from the 3D Secure 2 SDK. - * - * @param kty - */ + /** + * The `kty` value as received from the 3D Secure 2 SDK. + * + * @param kty + */ @JsonProperty(JSON_PROPERTY_KTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKty(String kty) { this.kty = kty; } - + /** + * The `x` value as received from the 3D Secure 2 SDK. + * + * @param x + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey x(String x) { this.x = x; return this; } - /** - * The `x` value as received from the 3D Secure 2 SDK. + /** + * The `x` value as received from the 3D Secure 2 SDK. * @return x - **/ + */ @ApiModelProperty(value = "The `x` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_X) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getX() { return x; } - - /** - * The `x` value as received from the 3D Secure 2 SDK. - * - * @param x - */ + /** + * The `x` value as received from the 3D Secure 2 SDK. + * + * @param x + */ @JsonProperty(JSON_PROPERTY_X) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setX(String x) { this.x = x; } - + /** + * The `y` value as received from the 3D Secure 2 SDK. + * + * @param y + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey y(String y) { this.y = y; return this; } - /** - * The `y` value as received from the 3D Secure 2 SDK. + /** + * The `y` value as received from the 3D Secure 2 SDK. * @return y - **/ + */ @ApiModelProperty(value = "The `y` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_Y) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getY() { return y; } - - /** - * The `y` value as received from the 3D Secure 2 SDK. - * - * @param y - */ + /** + * The `y` value as received from the 3D Secure 2 SDK. + * + * @param y + */ @JsonProperty(JSON_PROPERTY_Y) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setY(String y) { this.y = y; } - /** * Return true if this SDKEphemPubKey object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java b/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java index 56438df2b..8b0e9d6de 100644 --- a/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java @@ -82,7 +82,7 @@ public static FundingSourceEnum fromValue(String value) { private FundingSourceEnum fundingSource; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SAMSUNG_PAY_TOKEN = "samsungPayToken"; @@ -130,92 +130,110 @@ public static TypeEnum fromValue(String value) { public SamsungPayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + */ public SamsungPayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + */ public SamsungPayDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public SamsungPayDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -223,97 +241,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The payload you received from the Samsung Pay SDK response. + * + * @param samsungPayToken + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + */ public SamsungPayDetails samsungPayToken(String samsungPayToken) { this.samsungPayToken = samsungPayToken; return this; } - /** + /** * The payload you received from the Samsung Pay SDK response. * @return samsungPayToken - **/ + */ @ApiModelProperty(required = true, value = "The payload you received from the Samsung Pay SDK response.") @JsonProperty(JSON_PROPERTY_SAMSUNG_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSamsungPayToken() { return samsungPayToken; } - - /** - * The payload you received from the Samsung Pay SDK response. - * - * @param samsungPayToken - */ + /** + * The payload you received from the Samsung Pay SDK response. + * + * @param samsungPayToken + */ @JsonProperty(JSON_PROPERTY_SAMSUNG_PAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSamsungPayToken(String samsungPayToken) { this.samsungPayToken = samsungPayToken; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + */ public SamsungPayDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **samsungpay** + * + * @param type + * @return the current {@code SamsungPayDetails} instance, allowing for method chaining + */ public SamsungPayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **samsungpay** * @return type - **/ + */ @ApiModelProperty(value = "**samsungpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **samsungpay** - * - * @param type - */ + /** + * **samsungpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SamsungPayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SecureRemoteCommerceCheckoutData.java b/src/main/java/com/adyen/model/checkout/SecureRemoteCommerceCheckoutData.java index c7730ade3..34166e151 100644 --- a/src/main/java/com/adyen/model/checkout/SecureRemoteCommerceCheckoutData.java +++ b/src/main/java/com/adyen/model/checkout/SecureRemoteCommerceCheckoutData.java @@ -96,186 +96,204 @@ public static SchemeEnum fromValue(String value) { public SecureRemoteCommerceCheckoutData() { } + /** + * The Secure Remote Commerce checkout payload to process the payment with. + * + * @param checkoutPayload + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData checkoutPayload(String checkoutPayload) { this.checkoutPayload = checkoutPayload; return this; } - /** + /** * The Secure Remote Commerce checkout payload to process the payment with. * @return checkoutPayload - **/ + */ @ApiModelProperty(value = "The Secure Remote Commerce checkout payload to process the payment with.") @JsonProperty(JSON_PROPERTY_CHECKOUT_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutPayload() { return checkoutPayload; } - - /** - * The Secure Remote Commerce checkout payload to process the payment with. - * - * @param checkoutPayload - */ + /** + * The Secure Remote Commerce checkout payload to process the payment with. + * + * @param checkoutPayload + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutPayload(String checkoutPayload) { this.checkoutPayload = checkoutPayload; } - + /** + * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). + * + * @param correlationId + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData correlationId(String correlationId) { this.correlationId = correlationId; return this; } - /** + /** * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). * @return correlationId - **/ + */ @ApiModelProperty(value = "This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).") @JsonProperty(JSON_PROPERTY_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCorrelationId() { return correlationId; } - - /** - * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). - * - * @param correlationId - */ + /** + * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). + * + * @param correlationId + */ @JsonProperty(JSON_PROPERTY_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCorrelationId(String correlationId) { this.correlationId = correlationId; } - + /** + * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). + * + * @param cvc + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + * + * @param digitalCardId + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData digitalCardId(String digitalCardId) { this.digitalCardId = digitalCardId; return this; } - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. * @return digitalCardId - **/ + */ @ApiModelProperty(value = "A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.") @JsonProperty(JSON_PROPERTY_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDigitalCardId() { return digitalCardId; } - - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. - * - * @param digitalCardId - */ + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + * + * @param digitalCardId + */ @JsonProperty(JSON_PROPERTY_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDigitalCardId(String digitalCardId) { this.digitalCardId = digitalCardId; } - + /** + * The Secure Remote Commerce scheme. + * + * @param scheme + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData scheme(SchemeEnum scheme) { this.scheme = scheme; return this; } - /** + /** * The Secure Remote Commerce scheme. * @return scheme - **/ + */ @ApiModelProperty(value = "The Secure Remote Commerce scheme.") @JsonProperty(JSON_PROPERTY_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SchemeEnum getScheme() { return scheme; } - - /** - * The Secure Remote Commerce scheme. - * - * @param scheme - */ + /** + * The Secure Remote Commerce scheme. + * + * @param scheme + */ @JsonProperty(JSON_PROPERTY_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScheme(SchemeEnum scheme) { this.scheme = scheme; } - + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + * + * @param tokenReference + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData tokenReference(String tokenReference) { this.tokenReference = tokenReference; return this; } - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. * @return tokenReference - **/ + */ @ApiModelProperty(value = "A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.") @JsonProperty(JSON_PROPERTY_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenReference() { return tokenReference; } - - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. - * - * @param tokenReference - */ + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + * + * @param tokenReference + */ @JsonProperty(JSON_PROPERTY_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenReference(String tokenReference) { this.tokenReference = tokenReference; } - /** * Return true if this SecureRemoteCommerceCheckoutData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java b/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java index a6ef9b090..d21a94c0f 100644 --- a/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java +++ b/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java @@ -51,7 +51,7 @@ public class SepaDirectDebitDetails { private String ownerName; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -101,122 +101,143 @@ public static TypeEnum fromValue(String value) { public SepaDirectDebitDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The International Bank Account Number (IBAN). + * + * @param iban + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails iban(String iban) { this.iban = iban; return this; } - /** + /** * The International Bank Account Number (IBAN). * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The International Bank Account Number (IBAN).") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The International Bank Account Number (IBAN). - * - * @param iban - */ + /** + * The International Bank Account Number (IBAN). + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The name of the bank account holder. + * + * @param ownerName + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The name of the bank account holder. * @return ownerName - **/ + */ @ApiModelProperty(required = true, value = "The name of the bank account holder.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. - * - * @param ownerName - */ + /** + * The name of the bank account holder. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public SepaDirectDebitDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -224,97 +245,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of your user's verified transfer instrument, which you can use to top up their balance accounts. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - + /** + * **sepadirectdebit** + * + * @param type + * @return the current {@code SepaDirectDebitDetails} instance, allowing for method chaining + */ public SepaDirectDebitDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **sepadirectdebit** * @return type - **/ + */ @ApiModelProperty(value = "**sepadirectdebit**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **sepadirectdebit** - * - * @param type - */ + /** + * **sepadirectdebit** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SepaDirectDebitDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ServiceError.java b/src/main/java/com/adyen/model/checkout/ServiceError.java index ce4e931ce..c931ff7a0 100644 --- a/src/main/java/com/adyen/model/checkout/ServiceError.java +++ b/src/main/java/com/adyen/model/checkout/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ServiceErrorDetails.java b/src/main/java/com/adyen/model/checkout/ServiceErrorDetails.java index f11bc544f..a9da00b90 100644 --- a/src/main/java/com/adyen/model/checkout/ServiceErrorDetails.java +++ b/src/main/java/com/adyen/model/checkout/ServiceErrorDetails.java @@ -53,126 +53,138 @@ public class ServiceErrorDetails { public ServiceErrorDetails() { } + /** + * errorCode + * + * @param errorCode + * @return the current {@code ServiceErrorDetails} instance, allowing for method chaining + */ public ServiceErrorDetails errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** - * Get errorCode + /** + * errorCode * @return errorCode - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * errorCode - * - * @param errorCode - */ + /** + * errorCode + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * errorType + * + * @param errorType + * @return the current {@code ServiceErrorDetails} instance, allowing for method chaining + */ public ServiceErrorDetails errorType(String errorType) { this.errorType = errorType; return this; } - /** - * Get errorType + /** + * errorType * @return errorType - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * errorType - * - * @param errorType - */ + /** + * errorType + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * message + * + * @param message + * @return the current {@code ServiceErrorDetails} instance, allowing for method chaining + */ public ServiceErrorDetails message(String message) { this.message = message; return this; } - /** - * Get message + /** + * message * @return message - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * message - * - * @param message - */ + /** + * message + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * pspReference + * + * @param pspReference + * @return the current {@code ServiceErrorDetails} instance, allowing for method chaining + */ public ServiceErrorDetails pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Get pspReference + /** + * pspReference * @return pspReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * pspReference - * - * @param pspReference - */ + /** + * pspReference + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this ServiceErrorDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SessionResultResponse.java b/src/main/java/com/adyen/model/checkout/SessionResultResponse.java index a08283b23..3ecd9f236 100644 --- a/src/main/java/com/adyen/model/checkout/SessionResultResponse.java +++ b/src/main/java/com/adyen/model/checkout/SessionResultResponse.java @@ -88,66 +88,72 @@ public static StatusEnum fromValue(String value) { public SessionResultResponse() { } + /** + * A unique identifier of the session. + * + * @param id + * @return the current {@code SessionResultResponse} instance, allowing for method chaining + */ public SessionResultResponse id(String id) { this.id = id; return this; } - /** + /** * A unique identifier of the session. * @return id - **/ + */ @ApiModelProperty(value = "A unique identifier of the session.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * A unique identifier of the session. - * - * @param id - */ + /** + * A unique identifier of the session. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. + * + * @param status + * @return the current {@code SessionResultResponse} instance, allowing for method chaining + */ public SessionResultResponse status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. + /** + * The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. * @return status - **/ + */ @ApiModelProperty(value = "The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. - * - * @param status - */ + /** + * The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * **completed** – The shopper completed the payment. This means that the payment was authorized. * **paymentPending** – The shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow. * **refused** – The session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session. * **canceled** – The shopper canceled the payment. * **active** – The session is still active and can be paid. * **expired** – The session expired (default: 1 hour after session creation). Shoppers can no longer complete the payment with this session. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this SessionResultResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ShopperInput.java b/src/main/java/com/adyen/model/checkout/ShopperInput.java index 4c5499017..f774b5a21 100644 --- a/src/main/java/com/adyen/model/checkout/ShopperInput.java +++ b/src/main/java/com/adyen/model/checkout/ShopperInput.java @@ -160,96 +160,105 @@ public static PersonalDetailsEnum fromValue(String value) { public ShopperInput() { } + /** + * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly + * + * @param billingAddress + * @return the current {@code ShopperInput} instance, allowing for method chaining + */ public ShopperInput billingAddress(BillingAddressEnum billingAddress) { this.billingAddress = billingAddress; return this; } - /** + /** * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly * @return billingAddress - **/ + */ @ApiModelProperty(value = "Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddressEnum getBillingAddress() { return billingAddress; } - - /** - * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly - * - * @param billingAddress - */ + /** + * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(BillingAddressEnum billingAddress) { this.billingAddress = billingAddress; } - + /** + * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly + * + * @param deliveryAddress + * @return the current {@code ShopperInput} instance, allowing for method chaining + */ public ShopperInput deliveryAddress(DeliveryAddressEnum deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** + /** * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddressEnum getDeliveryAddress() { return deliveryAddress; } - - /** - * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly - * - * @param deliveryAddress - */ + /** + * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(DeliveryAddressEnum deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly + * + * @param personalDetails + * @return the current {@code ShopperInput} instance, allowing for method chaining + */ public ShopperInput personalDetails(PersonalDetailsEnum personalDetails) { this.personalDetails = personalDetails; return this; } - /** + /** * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly * @return personalDetails - **/ + */ @ApiModelProperty(value = "Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly") @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PersonalDetailsEnum getPersonalDetails() { return personalDetails; } - - /** - * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly - * - * @param personalDetails - */ + /** + * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly + * + * @param personalDetails + */ @JsonProperty(JSON_PROPERTY_PERSONAL_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPersonalDetails(PersonalDetailsEnum personalDetails) { this.personalDetails = personalDetails; } - /** * Return true if this ShopperInput object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ShopperInteractionDevice.java b/src/main/java/com/adyen/model/checkout/ShopperInteractionDevice.java index bac6cbba9..34aa25bd7 100644 --- a/src/main/java/com/adyen/model/checkout/ShopperInteractionDevice.java +++ b/src/main/java/com/adyen/model/checkout/ShopperInteractionDevice.java @@ -49,96 +49,105 @@ public class ShopperInteractionDevice { public ShopperInteractionDevice() { } + /** + * Locale on the shopper interaction device. + * + * @param locale + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice locale(String locale) { this.locale = locale; return this; } - /** + /** * Locale on the shopper interaction device. * @return locale - **/ + */ @ApiModelProperty(value = "Locale on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLocale() { return locale; } - - /** - * Locale on the shopper interaction device. - * - * @param locale - */ + /** + * Locale on the shopper interaction device. + * + * @param locale + */ @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocale(String locale) { this.locale = locale; } - + /** + * Operating system running on the shopper interaction device. + * + * @param os + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice os(String os) { this.os = os; return this; } - /** + /** * Operating system running on the shopper interaction device. * @return os - **/ + */ @ApiModelProperty(value = "Operating system running on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOs() { return os; } - - /** - * Operating system running on the shopper interaction device. - * - * @param os - */ + /** + * Operating system running on the shopper interaction device. + * + * @param os + */ @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOs(String os) { this.os = os; } - + /** + * Version of the operating system on the shopper interaction device. + * + * @param osVersion + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice osVersion(String osVersion) { this.osVersion = osVersion; return this; } - /** + /** * Version of the operating system on the shopper interaction device. * @return osVersion - **/ + */ @ApiModelProperty(value = "Version of the operating system on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsVersion() { return osVersion; } - - /** - * Version of the operating system on the shopper interaction device. - * - * @param osVersion - */ + /** + * Version of the operating system on the shopper interaction device. + * + * @param osVersion + */ @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - /** * Return true if this ShopperInteractionDevice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/Split.java b/src/main/java/com/adyen/model/checkout/Split.java index 4857cc28e..ffc5e7c04 100644 --- a/src/main/java/com/adyen/model/checkout/Split.java +++ b/src/main/java/com/adyen/model/checkout/Split.java @@ -119,156 +119,171 @@ public static TypeEnum fromValue(String value) { public Split() { } + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * + * @param account + * @return the current {@code Split} instance, allowing for method chaining + */ public Split account(String account) { this.account = account; return this; } - /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. * @return account - **/ + */ @ApiModelProperty(value = "The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked.") @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccount() { return account; } - - /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. - * - * @param account - */ + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * + * @param account + */ @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccount(String account) { this.account = account; } - + /** + * amount + * + * @param amount + * @return the current {@code Split} instance, allowing for method chaining + */ public Split amount(SplitAmount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SplitAmount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(SplitAmount amount) { this.amount = amount; } - + /** + * Your description for the split item. + * + * @param description + * @return the current {@code Split} instance, allowing for method chaining + */ public Split description(String description) { this.description = description; return this; } - /** + /** * Your description for the split item. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the split item.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the split item. - * - * @param description - */ + /** + * Your description for the split item. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * + * @param reference + * @return the current {@code Split} instance, allowing for method chaining + */ public Split reference(String reference) { this.reference = reference; return this; } - /** - * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. * @return reference - **/ + */ @ApiModelProperty(value = "Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. - * - * @param reference - */ + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + * + * @param type + * @return the current {@code Split} instance, allowing for method chaining + */ public Split type(TypeEnum type) { this.type = type; return this; } - /** - * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. - * - * @param type - */ + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Split object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SplitAmount.java b/src/main/java/com/adyen/model/checkout/SplitAmount.java index 78cfa5bb2..08a9f4243 100644 --- a/src/main/java/com/adyen/model/checkout/SplitAmount.java +++ b/src/main/java/com/adyen/model/checkout/SplitAmount.java @@ -45,66 +45,72 @@ public class SplitAmount { public SplitAmount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. + * + * @param currency + * @return the current {@code SplitAmount} instance, allowing for method chaining + */ public SplitAmount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. * @return currency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code SplitAmount} instance, allowing for method chaining + */ public SplitAmount value(Long value) { this.value = value; return this; } - /** + /** * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this SplitAmount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelRequest.java b/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelRequest.java index dce080921..1c054ac8a 100644 --- a/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelRequest.java +++ b/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelRequest.java @@ -54,126 +54,138 @@ public class StandalonePaymentCancelRequest { public StandalonePaymentCancelRequest() { } + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code StandalonePaymentCancelRequest} instance, allowing for method chaining + */ public StandalonePaymentCancelRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code StandalonePaymentCancelRequest} instance, allowing for method chaining + */ public StandalonePaymentCancelRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel. + * + * @param paymentReference + * @return the current {@code StandalonePaymentCancelRequest} instance, allowing for method chaining + */ public StandalonePaymentCancelRequest paymentReference(String paymentReference) { this.paymentReference = paymentReference; return this; } - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel. + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel. * @return paymentReference - **/ + */ @ApiModelProperty(required = true, value = "The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel.") @JsonProperty(JSON_PROPERTY_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentReference() { return paymentReference; } - - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel. - * - * @param paymentReference - */ + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel. + * + * @param paymentReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentReference(String paymentReference) { this.paymentReference = paymentReference; } - + /** + * Your reference for the cancel request. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StandalonePaymentCancelRequest} instance, allowing for method chaining + */ public StandalonePaymentCancelRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the cancel request. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the cancel request. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the cancel request. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the cancel request. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this StandalonePaymentCancelRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelResponse.java b/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelResponse.java index 00b39af0a..6fa579908 100644 --- a/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelResponse.java +++ b/src/main/java/com/adyen/model/checkout/StandalonePaymentCancelResponse.java @@ -90,156 +90,171 @@ public static StatusEnum fromValue(String value) { public StandalonePaymentCancelResponse() { } + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code StandalonePaymentCancelResponse} instance, allowing for method chaining + */ public StandalonePaymentCancelResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel. + * + * @param paymentReference + * @return the current {@code StandalonePaymentCancelResponse} instance, allowing for method chaining + */ public StandalonePaymentCancelResponse paymentReference(String paymentReference) { this.paymentReference = paymentReference; return this; } - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel. + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel. * @return paymentReference - **/ + */ @ApiModelProperty(required = true, value = "The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel.") @JsonProperty(JSON_PROPERTY_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentReference() { return paymentReference; } - - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel. - * - * @param paymentReference - */ + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel. + * + * @param paymentReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentReference(String paymentReference) { this.paymentReference = paymentReference; } - + /** + * Adyen's 16-character reference associated with the cancel request. + * + * @param pspReference + * @return the current {@code StandalonePaymentCancelResponse} instance, allowing for method chaining + */ public StandalonePaymentCancelResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the cancel request. + /** + * Adyen's 16-character reference associated with the cancel request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character reference associated with the cancel request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the cancel request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the cancel request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Your reference for the cancel request. + * + * @param reference + * @return the current {@code StandalonePaymentCancelResponse} instance, allowing for method chaining + */ public StandalonePaymentCancelResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the cancel request. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the cancel request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the cancel request. - * - * @param reference - */ + /** + * Your reference for the cancel request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of your request. This will always have the value **received**. + * + * @param status + * @return the current {@code StandalonePaymentCancelResponse} instance, allowing for method chaining + */ public StandalonePaymentCancelResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of your request. This will always have the value **received**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of your request. This will always have the value **received**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of your request. This will always have the value **received**. - * - * @param status - */ + /** + * The status of your request. This will always have the value **received**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this StandalonePaymentCancelResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StoredDetails.java b/src/main/java/com/adyen/model/checkout/StoredDetails.java index 61e0e03d5..10f024625 100644 --- a/src/main/java/com/adyen/model/checkout/StoredDetails.java +++ b/src/main/java/com/adyen/model/checkout/StoredDetails.java @@ -51,96 +51,105 @@ public class StoredDetails { public StoredDetails() { } + /** + * bank + * + * @param bank + * @return the current {@code StoredDetails} instance, allowing for method chaining + */ public StoredDetails bank(BankAccount bank) { this.bank = bank; return this; } - /** - * Get bank + /** + * bank * @return bank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBank() { return bank; } - - /** - * bank - * - * @param bank - */ + /** + * bank + * + * @param bank + */ @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBank(BankAccount bank) { this.bank = bank; } - + /** + * card + * + * @param card + * @return the current {@code StoredDetails} instance, allowing for method chaining + */ public StoredDetails card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The email associated with stored payment details. + * + * @param emailAddress + * @return the current {@code StoredDetails} instance, allowing for method chaining + */ public StoredDetails emailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; } - /** + /** * The email associated with stored payment details. * @return emailAddress - **/ + */ @ApiModelProperty(value = "The email associated with stored payment details.") @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmailAddress() { return emailAddress; } - - /** - * The email associated with stored payment details. - * - * @param emailAddress - */ + /** + * The email associated with stored payment details. + * + * @param emailAddress + */ @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } - /** * Return true if this StoredDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StoredPaymentMethod.java b/src/main/java/com/adyen/model/checkout/StoredPaymentMethod.java index bd850075c..dae630b16 100644 --- a/src/main/java/com/adyen/model/checkout/StoredPaymentMethod.java +++ b/src/main/java/com/adyen/model/checkout/StoredPaymentMethod.java @@ -107,426 +107,474 @@ public class StoredPaymentMethod { public StoredPaymentMethod() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The location id of the bank. The field value is `nil` in most cases. + /** + * The location id of the bank. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The location id of the bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The location id of the bank. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The brand of the card. + * + * @param brand + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod brand(String brand) { this.brand = brand; return this; } - /** + /** * The brand of the card. * @return brand - **/ + */ @ApiModelProperty(value = "The brand of the card.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The brand of the card. - * - * @param brand - */ + /** + * The brand of the card. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The month the card expires. + * + * @param expiryMonth + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** + /** * The month the card expires. * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The month the card expires.") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The month the card expires. - * - * @param expiryMonth - */ + /** + * The month the card expires. + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The last two digits of the year the card expires. For example, **22** for the year 2022. + * + * @param expiryYear + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The last two digits of the year the card expires. For example, **22** for the year 2022. * @return expiryYear - **/ + */ @ApiModelProperty(value = "The last two digits of the year the card expires. For example, **22** for the year 2022.") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The last two digits of the year the card expires. For example, **22** for the year 2022. - * - * @param expiryYear - */ + /** + * The last two digits of the year the card expires. For example, **22** for the year 2022. + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The unique payment method code. + * + * @param holderName + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The unique payment method code. * @return holderName - **/ + */ @ApiModelProperty(value = "The unique payment method code.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The unique payment method code. - * - * @param holderName - */ + /** + * The unique payment method code. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The IBAN of the bank account. + * + * @param iban + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod iban(String iban) { this.iban = iban; return this; } - /** + /** * The IBAN of the bank account. * @return iban - **/ + */ @ApiModelProperty(value = "The IBAN of the bank account.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The IBAN of the bank account. - * - * @param iban - */ + /** + * The IBAN of the bank account. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * A unique identifier of this stored payment method. + * + * @param id + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod id(String id) { this.id = id; return this; } - /** + /** * A unique identifier of this stored payment method. * @return id - **/ + */ @ApiModelProperty(value = "A unique identifier of this stored payment method.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * A unique identifier of this stored payment method. - * - * @param id - */ + /** + * A unique identifier of this stored payment method. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The shopper’s issuer account label + * + * @param label + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod label(String label) { this.label = label; return this; } - /** + /** * The shopper’s issuer account label * @return label - **/ + */ @ApiModelProperty(value = "The shopper’s issuer account label") @JsonProperty(JSON_PROPERTY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLabel() { return label; } - - /** - * The shopper’s issuer account label - * - * @param label - */ + /** + * The shopper’s issuer account label + * + * @param label + */ @JsonProperty(JSON_PROPERTY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLabel(String label) { this.label = label; } - + /** + * The last four digits of the PAN. + * + * @param lastFour + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod lastFour(String lastFour) { this.lastFour = lastFour; return this; } - /** + /** * The last four digits of the PAN. * @return lastFour - **/ + */ @ApiModelProperty(value = "The last four digits of the PAN.") @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastFour() { return lastFour; } - - /** - * The last four digits of the PAN. - * - * @param lastFour - */ + /** + * The last four digits of the PAN. + * + * @param lastFour + */ @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastFour(String lastFour) { this.lastFour = lastFour; } - + /** + * The display name of the stored payment method. + * + * @param name + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod name(String name) { this.name = name; return this; } - /** + /** * The display name of the stored payment method. * @return name - **/ + */ @ApiModelProperty(value = "The display name of the stored payment method.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The display name of the stored payment method. - * - * @param name - */ + /** + * The display name of the stored payment method. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The name of the bank account holder. + * + * @param ownerName + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The name of the bank account holder. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. - * - * @param ownerName - */ + /** + * The name of the bank account holder. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The shopper’s email address. + * + * @param shopperEmail + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The shopper’s email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper’s email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper’s email address. - * - * @param shopperEmail - */ + /** + * The shopper’s email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The supported recurring processing models for this stored payment method. + * + * @param supportedRecurringProcessingModels + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod supportedRecurringProcessingModels(List supportedRecurringProcessingModels) { this.supportedRecurringProcessingModels = supportedRecurringProcessingModels; return this; @@ -540,31 +588,34 @@ public StoredPaymentMethod addSupportedRecurringProcessingModelsItem(String supp return this; } - /** + /** * The supported recurring processing models for this stored payment method. * @return supportedRecurringProcessingModels - **/ + */ @ApiModelProperty(value = "The supported recurring processing models for this stored payment method.") @JsonProperty(JSON_PROPERTY_SUPPORTED_RECURRING_PROCESSING_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSupportedRecurringProcessingModels() { return supportedRecurringProcessingModels; } - - /** - * The supported recurring processing models for this stored payment method. - * - * @param supportedRecurringProcessingModels - */ + /** + * The supported recurring processing models for this stored payment method. + * + * @param supportedRecurringProcessingModels + */ @JsonProperty(JSON_PROPERTY_SUPPORTED_RECURRING_PROCESSING_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportedRecurringProcessingModels(List supportedRecurringProcessingModels) { this.supportedRecurringProcessingModels = supportedRecurringProcessingModels; } - + /** + * The supported shopper interactions for this stored payment method. + * + * @param supportedShopperInteractions + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod supportedShopperInteractions(List supportedShopperInteractions) { this.supportedShopperInteractions = supportedShopperInteractions; return this; @@ -578,61 +629,61 @@ public StoredPaymentMethod addSupportedShopperInteractionsItem(String supportedS return this; } - /** + /** * The supported shopper interactions for this stored payment method. * @return supportedShopperInteractions - **/ + */ @ApiModelProperty(value = "The supported shopper interactions for this stored payment method.") @JsonProperty(JSON_PROPERTY_SUPPORTED_SHOPPER_INTERACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSupportedShopperInteractions() { return supportedShopperInteractions; } - - /** - * The supported shopper interactions for this stored payment method. - * - * @param supportedShopperInteractions - */ + /** + * The supported shopper interactions for this stored payment method. + * + * @param supportedShopperInteractions + */ @JsonProperty(JSON_PROPERTY_SUPPORTED_SHOPPER_INTERACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportedShopperInteractions(List supportedShopperInteractions) { this.supportedShopperInteractions = supportedShopperInteractions; } - + /** + * The type of payment method. + * + * @param type + * @return the current {@code StoredPaymentMethod} instance, allowing for method chaining + */ public StoredPaymentMethod type(String type) { this.type = type; return this; } - /** + /** * The type of payment method. * @return type - **/ + */ @ApiModelProperty(value = "The type of payment method.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of payment method. - * - * @param type - */ + /** + * The type of payment method. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this StoredPaymentMethod object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodDetails.java b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodDetails.java index 1d0c9f5fa..53ea1de56 100644 --- a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodDetails.java +++ b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodDetails.java @@ -42,7 +42,7 @@ public class StoredPaymentMethodDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -121,62 +121,77 @@ public static TypeEnum fromValue(String value) { public StoredPaymentMethodDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code StoredPaymentMethodDetails} instance, allowing for method chaining + */ public StoredPaymentMethodDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code StoredPaymentMethodDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public StoredPaymentMethodDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -184,67 +199,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code StoredPaymentMethodDetails} instance, allowing for method chaining + */ public StoredPaymentMethodDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * The payment method type. + * + * @param type + * @return the current {@code StoredPaymentMethodDetails} instance, allowing for method chaining + */ public StoredPaymentMethodDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * The payment method type. * @return type - **/ + */ @ApiModelProperty(value = "The payment method type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The payment method type. - * - * @param type - */ + /** + * The payment method type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this StoredPaymentMethodDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java index 42bc3d939..d0aefdb01 100644 --- a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java +++ b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java @@ -99,186 +99,204 @@ public static RecurringProcessingModelEnum fromValue(String value) { public StoredPaymentMethodRequest() { } + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * paymentMethod + * + * @param paymentMethod + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest paymentMethod(PaymentMethodToStore paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * Get paymentMethod + /** + * paymentMethod * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentMethodToStore getPaymentMethod() { return paymentMethod; } - - /** - * paymentMethod - * - * @param paymentMethod - */ + /** + * paymentMethod + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(PaymentMethodToStore paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(required = true, value = "Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + * + * @param shopperEmail + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The IP address of a shopper. + * + * @param shopperIP + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** + /** * The IP address of a shopper. * @return shopperIP - **/ + */ @ApiModelProperty(value = "The IP address of a shopper.") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The IP address of a shopper. - * - * @param shopperIP - */ + /** + * The IP address of a shopper. + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * A unique identifier for the shopper (for example, user ID or account ID). + * + * @param shopperReference + * @return the current {@code StoredPaymentMethodRequest} instance, allowing for method chaining + */ public StoredPaymentMethodRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * A unique identifier for the shopper (for example, user ID or account ID). * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "A unique identifier for the shopper (for example, user ID or account ID).") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * A unique identifier for the shopper (for example, user ID or account ID). - * - * @param shopperReference - */ + /** + * A unique identifier for the shopper (for example, user ID or account ID). + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this StoredPaymentMethodRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodResource.java b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodResource.java index 28f5c9a34..7d33f146c 100644 --- a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodResource.java +++ b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodResource.java @@ -107,456 +107,507 @@ public class StoredPaymentMethodResource { public StoredPaymentMethodResource() { } + /** + * The brand of the card. + * + * @param brand + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource brand(String brand) { this.brand = brand; return this; } - /** + /** * The brand of the card. * @return brand - **/ + */ @ApiModelProperty(value = "The brand of the card.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The brand of the card. - * - * @param brand - */ + /** + * The brand of the card. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The month the card expires. + * + * @param expiryMonth + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** + /** * The month the card expires. * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The month the card expires.") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The month the card expires. - * - * @param expiryMonth - */ + /** + * The month the card expires. + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The last two digits of the year the card expires. For example, **22** for the year 2022. + * + * @param expiryYear + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The last two digits of the year the card expires. For example, **22** for the year 2022. * @return expiryYear - **/ + */ @ApiModelProperty(value = "The last two digits of the year the card expires. For example, **22** for the year 2022.") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The last two digits of the year the card expires. For example, **22** for the year 2022. - * - * @param expiryYear - */ + /** + * The last two digits of the year the card expires. For example, **22** for the year 2022. + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The response code returned by an external system (for example after a provisioning operation). + * + * @param externalResponseCode + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource externalResponseCode(String externalResponseCode) { this.externalResponseCode = externalResponseCode; return this; } - /** + /** * The response code returned by an external system (for example after a provisioning operation). * @return externalResponseCode - **/ + */ @ApiModelProperty(value = "The response code returned by an external system (for example after a provisioning operation).") @JsonProperty(JSON_PROPERTY_EXTERNAL_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalResponseCode() { return externalResponseCode; } - - /** - * The response code returned by an external system (for example after a provisioning operation). - * - * @param externalResponseCode - */ + /** + * The response code returned by an external system (for example after a provisioning operation). + * + * @param externalResponseCode + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalResponseCode(String externalResponseCode) { this.externalResponseCode = externalResponseCode; } - + /** + * The token reference of a linked token in an external system (for example a network token reference). + * + * @param externalTokenReference + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource externalTokenReference(String externalTokenReference) { this.externalTokenReference = externalTokenReference; return this; } - /** + /** * The token reference of a linked token in an external system (for example a network token reference). * @return externalTokenReference - **/ + */ @ApiModelProperty(value = "The token reference of a linked token in an external system (for example a network token reference).") @JsonProperty(JSON_PROPERTY_EXTERNAL_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalTokenReference() { return externalTokenReference; } - - /** - * The token reference of a linked token in an external system (for example a network token reference). - * - * @param externalTokenReference - */ + /** + * The token reference of a linked token in an external system (for example a network token reference). + * + * @param externalTokenReference + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalTokenReference(String externalTokenReference) { this.externalTokenReference = externalTokenReference; } - + /** + * The unique payment method code. + * + * @param holderName + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The unique payment method code. * @return holderName - **/ + */ @ApiModelProperty(value = "The unique payment method code.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The unique payment method code. - * - * @param holderName - */ + /** + * The unique payment method code. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The IBAN of the bank account. + * + * @param iban + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource iban(String iban) { this.iban = iban; return this; } - /** + /** * The IBAN of the bank account. * @return iban - **/ + */ @ApiModelProperty(value = "The IBAN of the bank account.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The IBAN of the bank account. - * - * @param iban - */ + /** + * The IBAN of the bank account. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * A unique identifier of this stored payment method. + * + * @param id + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource id(String id) { this.id = id; return this; } - /** + /** * A unique identifier of this stored payment method. * @return id - **/ + */ @ApiModelProperty(value = "A unique identifier of this stored payment method.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * A unique identifier of this stored payment method. - * - * @param id - */ + /** + * A unique identifier of this stored payment method. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The name of the issuer of token or card. + * + * @param issuerName + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource issuerName(String issuerName) { this.issuerName = issuerName; return this; } - /** + /** * The name of the issuer of token or card. * @return issuerName - **/ + */ @ApiModelProperty(value = "The name of the issuer of token or card.") @JsonProperty(JSON_PROPERTY_ISSUER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerName() { return issuerName; } - - /** - * The name of the issuer of token or card. - * - * @param issuerName - */ + /** + * The name of the issuer of token or card. + * + * @param issuerName + */ @JsonProperty(JSON_PROPERTY_ISSUER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerName(String issuerName) { this.issuerName = issuerName; } - + /** + * The last four digits of the PAN. + * + * @param lastFour + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource lastFour(String lastFour) { this.lastFour = lastFour; return this; } - /** + /** * The last four digits of the PAN. * @return lastFour - **/ + */ @ApiModelProperty(value = "The last four digits of the PAN.") @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastFour() { return lastFour; } - - /** - * The last four digits of the PAN. - * - * @param lastFour - */ + /** + * The last four digits of the PAN. + * + * @param lastFour + */ @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastFour(String lastFour) { this.lastFour = lastFour; } - + /** + * The display name of the stored payment method. + * + * @param name + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource name(String name) { this.name = name; return this; } - /** + /** * The display name of the stored payment method. * @return name - **/ + */ @ApiModelProperty(value = "The display name of the stored payment method.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The display name of the stored payment method. - * - * @param name - */ + /** + * The display name of the stored payment method. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The name of the bank account holder. + * + * @param ownerName + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The name of the bank account holder. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. - * - * @param ownerName - */ + /** + * The name of the bank account holder. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The shopper’s email address. + * + * @param shopperEmail + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * The shopper’s email address. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper’s email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper’s email address. - * - * @param shopperEmail - */ + /** + * The shopper’s email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param supportedRecurringProcessingModels + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource supportedRecurringProcessingModels(List supportedRecurringProcessingModels) { this.supportedRecurringProcessingModels = supportedRecurringProcessingModels; return this; @@ -570,61 +621,61 @@ public StoredPaymentMethodResource addSupportedRecurringProcessingModelsItem(Str return this; } - /** - * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return supportedRecurringProcessingModels - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount.") @JsonProperty(JSON_PROPERTY_SUPPORTED_RECURRING_PROCESSING_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSupportedRecurringProcessingModels() { return supportedRecurringProcessingModels; } - - /** - * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param supportedRecurringProcessingModels - */ + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param supportedRecurringProcessingModels + */ @JsonProperty(JSON_PROPERTY_SUPPORTED_RECURRING_PROCESSING_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportedRecurringProcessingModels(List supportedRecurringProcessingModels) { this.supportedRecurringProcessingModels = supportedRecurringProcessingModels; } - + /** + * The type of payment method. + * + * @param type + * @return the current {@code StoredPaymentMethodResource} instance, allowing for method chaining + */ public StoredPaymentMethodResource type(String type) { this.type = type; return this; } - /** + /** * The type of payment method. * @return type - **/ + */ @ApiModelProperty(value = "The type of payment method.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of payment method. - * - * @param type - */ + /** + * The type of payment method. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this StoredPaymentMethodResource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SubInputDetail.java b/src/main/java/com/adyen/model/checkout/SubInputDetail.java index 23eb867cb..f3c9fc978 100644 --- a/src/main/java/com/adyen/model/checkout/SubInputDetail.java +++ b/src/main/java/com/adyen/model/checkout/SubInputDetail.java @@ -66,6 +66,12 @@ public class SubInputDetail { public SubInputDetail() { } + /** + * Configuration parameters for the required input. + * + * @param configuration + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail configuration(Map configuration) { this.configuration = configuration; return this; @@ -79,31 +85,34 @@ public SubInputDetail putConfigurationItem(String key, String configurationItem) return this; } - /** + /** * Configuration parameters for the required input. * @return configuration - **/ + */ @ApiModelProperty(value = "Configuration parameters for the required input.") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getConfiguration() { return configuration; } - - /** - * Configuration parameters for the required input. - * - * @param configuration - */ + /** + * Configuration parameters for the required input. + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(Map configuration) { this.configuration = configuration; } - + /** + * In case of a select, the items to choose from. + * + * @param items + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail items(List items) { this.items = items; return this; @@ -117,151 +126,160 @@ public SubInputDetail addItemsItem(Item itemsItem) { return this; } - /** + /** * In case of a select, the items to choose from. * @return items - **/ + */ @ApiModelProperty(value = "In case of a select, the items to choose from.") @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItems() { return items; } - - /** - * In case of a select, the items to choose from. - * - * @param items - */ + /** + * In case of a select, the items to choose from. + * + * @param items + */ @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItems(List items) { this.items = items; } - + /** + * The value to provide in the result. + * + * @param key + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail key(String key) { this.key = key; return this; } - /** + /** * The value to provide in the result. * @return key - **/ + */ @ApiModelProperty(value = "The value to provide in the result.") @JsonProperty(JSON_PROPERTY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getKey() { return key; } - - /** - * The value to provide in the result. - * - * @param key - */ + /** + * The value to provide in the result. + * + * @param key + */ @JsonProperty(JSON_PROPERTY_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKey(String key) { this.key = key; } - + /** + * True if this input is optional to provide. + * + * @param optional + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail optional(Boolean optional) { this.optional = optional; return this; } - /** + /** * True if this input is optional to provide. * @return optional - **/ + */ @ApiModelProperty(value = "True if this input is optional to provide.") @JsonProperty(JSON_PROPERTY_OPTIONAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getOptional() { return optional; } - - /** - * True if this input is optional to provide. - * - * @param optional - */ + /** + * True if this input is optional to provide. + * + * @param optional + */ @JsonProperty(JSON_PROPERTY_OPTIONAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOptional(Boolean optional) { this.optional = optional; } - + /** + * The type of the required input. + * + * @param type + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail type(String type) { this.type = type; return this; } - /** + /** * The type of the required input. * @return type - **/ + */ @ApiModelProperty(value = "The type of the required input.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of the required input. - * - * @param type - */ + /** + * The type of the required input. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * The value can be pre-filled, if available. + * + * @param value + * @return the current {@code SubInputDetail} instance, allowing for method chaining + */ public SubInputDetail value(String value) { this.value = value; return this; } - /** + /** * The value can be pre-filled, if available. * @return value - **/ + */ @ApiModelProperty(value = "The value can be pre-filled, if available.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The value can be pre-filled, if available. - * - * @param value - */ + /** + * The value can be pre-filled, if available. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this SubInputDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SubMerchant.java b/src/main/java/com/adyen/model/checkout/SubMerchant.java index 9a5b38449..37d205dfe 100644 --- a/src/main/java/com/adyen/model/checkout/SubMerchant.java +++ b/src/main/java/com/adyen/model/checkout/SubMerchant.java @@ -57,156 +57,171 @@ public class SubMerchant { public SubMerchant() { } + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param city + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant city(String city) { this.city = city; return this; } - /** - * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters * @return city - **/ + */ @ApiModelProperty(value = "The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters - * - * @param city - */ + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param country + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant country(String country) { this.country = country; return this; } - /** - * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters * @return country - **/ + */ @ApiModelProperty(value = "The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters - * - * @param country - */ + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant mcc(String mcc) { this.mcc = mcc; return this; } - /** - * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits * @return mcc - **/ + */ @ApiModelProperty(value = "The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits - * - * @param mcc - */ + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant name(String name) { this.name = name; return this; } - /** + /** * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters * @return name - **/ + */ @ApiModelProperty(value = "The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters - * - * @param name - */ + /** + * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ * @return taxId - **/ + */ @ApiModelProperty(value = "The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ - * - * @param taxId - */ + /** + * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this SubMerchant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/SubMerchantInfo.java b/src/main/java/com/adyen/model/checkout/SubMerchantInfo.java index 2031a4e3f..36fbc4761 100644 --- a/src/main/java/com/adyen/model/checkout/SubMerchantInfo.java +++ b/src/main/java/com/adyen/model/checkout/SubMerchantInfo.java @@ -79,306 +79,336 @@ public class SubMerchantInfo { public SubMerchantInfo() { } + /** + * address + * + * @param address + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo address(BillingAddress address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAddress getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(BillingAddress address) { this.address = address; } - + /** + * amount + * + * @param amount + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account. + * + * @param email + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo email(String email) { this.email = email; return this; } - /** - * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account. + /** + * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account. * @return email - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account. - * - * @param email - */ + /** + * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant's account. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param id + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo id(String id) { this.id = id; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters * @return id - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters - * - * @param id - */ + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo mcc(String mcc) { this.mcc = mcc; return this; } - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits * @return mcc - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits - * - * @param mcc - */ + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo name(String name) { this.name = name; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters * @return name - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters - * - * @param name - */ + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account. + * + * @param phoneNumber + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account. + /** + * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account.") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account. - * - * @param phoneNumber - */ + /** + * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant's account. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * registeredSince + * + * @param registeredSince + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo registeredSince(String registeredSince) { this.registeredSince = registeredSince; return this; } - /** - * Get registeredSince + /** + * registeredSince * @return registeredSince - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REGISTERED_SINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegisteredSince() { return registeredSince; } - - /** - * registeredSince - * - * @param registeredSince - */ + /** + * registeredSince + * + * @param registeredSince + */ @JsonProperty(JSON_PROPERTY_REGISTERED_SINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegisteredSince(String registeredSince) { this.registeredSince = registeredSince; } - + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ * @return taxId - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ - * - * @param taxId - */ + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop. + * + * @param url + * @return the current {@code SubMerchantInfo} instance, allowing for method chaining + */ public SubMerchantInfo url(String url) { this.url = url; return this; } - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop. + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop. * @return url - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop. - * - * @param url - */ + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's URL on the platform, i.e. the sub-merchant's shop. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this SubMerchantInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/TaxTotal.java b/src/main/java/com/adyen/model/checkout/TaxTotal.java index 4196c278e..65c79824f 100644 --- a/src/main/java/com/adyen/model/checkout/TaxTotal.java +++ b/src/main/java/com/adyen/model/checkout/TaxTotal.java @@ -42,36 +42,39 @@ public class TaxTotal { public TaxTotal() { } + /** + * amount + * + * @param amount + * @return the current {@code TaxTotal} instance, allowing for method chaining + */ public TaxTotal amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this TaxTotal object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java index 2b16ab2c2..abaa1f025 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java @@ -167,7 +167,7 @@ public static AddrMatchEnum fromValue(String value) { private AddrMatchEnum addrMatch; public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v50: Use `threeDSAuthenticationOnly` instead. private Boolean authenticationOnly; /** @@ -210,7 +210,7 @@ public static ChallengeIndicatorEnum fromValue(String value) { } public static final String JSON_PROPERTY_CHALLENGE_INDICATOR = "challengeIndicator"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `threeDSRequestorChallengeInd` instead. private ChallengeIndicatorEnum challengeIndicator; public static final String JSON_PROPERTY_DEVICE_CHANNEL = "deviceChannel"; @@ -437,182 +437,209 @@ public static TransactionTypeEnum fromValue(String value) { public ThreeDS2RequestData() { } + /** + * acctInfo + * + * @param acctInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; return this; } - /** - * Get acctInfo + /** + * acctInfo * @return acctInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctInfo getAcctInfo() { return acctInfo; } - - /** - * acctInfo - * - * @param acctInfo - */ + /** + * acctInfo + * + * @param acctInfo + */ @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; } - + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acctType(AcctTypeEnum acctType) { this.acctType = acctType; return this; } - /** + /** * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit * @return acctType - **/ + */ @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit") @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctTypeEnum getAcctType() { return acctType; } - - /** - * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit - * - * @param acctType - */ + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + */ @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctType(AcctTypeEnum acctType) { this.acctType = acctType; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerBIN - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerBIN() { return acquirerBIN; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerBIN - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerMerchantID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerMerchantID() { return acquirerMerchantID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerMerchantID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; } - + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData addrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; return this; } - /** + /** * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. * @return addrMatch - **/ + */ @ApiModelProperty(value = "Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.") @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AddrMatchEnum getAddrMatch() { return addrMatch; } - - /** - * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. - * - * @param addrMatch - */ + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + */ @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated public ThreeDS2RequestData authenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return authenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthenticationOnly() { return authenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param authenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -620,33 +647,44 @@ public void setAuthenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; } - + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated public ThreeDS2RequestData challengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; return this; } - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` * @return challengeIndicator - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @ApiModelProperty(value = "Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` ") @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeIndicatorEnum getChallengeIndicator() { return challengeIndicator; } - - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` - * - * @param challengeIndicator - */ + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -654,967 +692,1062 @@ public void setChallengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; } - + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + * + * @param deviceChannel + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData deviceChannel(String deviceChannel) { this.deviceChannel = deviceChannel; return this; } - /** - * The environment of the shopper. Allowed values: * `app` * `browser` + /** + * The environment of the shopper. Allowed values: * `app` * `browser` * @return deviceChannel - **/ + */ @ApiModelProperty(required = true, value = "The environment of the shopper. Allowed values: * `app` * `browser`") @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceChannel() { return deviceChannel; } - - /** - * The environment of the shopper. Allowed values: * `app` * `browser` - * - * @param deviceChannel - */ + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + * + * @param deviceChannel + */ @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceChannel(String deviceChannel) { this.deviceChannel = deviceChannel; } - + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData deviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; return this; } - /** - * Get deviceRenderOptions + /** + * deviceRenderOptions * @return deviceRenderOptions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeviceRenderOptions getDeviceRenderOptions() { return deviceRenderOptions; } - - /** - * deviceRenderOptions - * - * @param deviceRenderOptions - */ + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + */ @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; } - + /** + * homePhone + * + * @param homePhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData homePhone(Phone homePhone) { this.homePhone = homePhone; return this; } - /** - * Get homePhone + /** + * homePhone * @return homePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getHomePhone() { return homePhone; } - - /** - * homePhone - * - * @param homePhone - */ + /** + * homePhone + * + * @param homePhone + */ @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHomePhone(Phone homePhone) { this.homePhone = homePhone; } - + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData mcc(String mcc) { this.mcc = mcc; return this; } - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. * @return mcc - **/ + */ @ApiModelProperty(value = "Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. - * - * @param mcc - */ + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData merchantName(String merchantName) { this.merchantName = merchantName; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. * @return merchantName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.") @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantName() { return merchantName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. - * - * @param merchantName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantName(String merchantName) { this.merchantName = merchantName; } - + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. * @return messageVersion - **/ + */ @ApiModelProperty(value = "The `messageVersion` value indicating the 3D Secure 2 protocol version.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. - * - * @param messageVersion - */ + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * mobilePhone + * + * @param mobilePhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData mobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Get mobilePhone + /** + * mobilePhone * @return mobilePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getMobilePhone() { return mobilePhone; } - - /** - * mobilePhone - * - * @param mobilePhone - */ + /** + * mobilePhone + * + * @param mobilePhone + */ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData notificationURL(String notificationURL) { this.notificationURL = notificationURL; return this; } - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. * @return notificationURL - **/ + */ @ApiModelProperty(value = "URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.") @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationURL() { return notificationURL; } - - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. - * - * @param notificationURL - */ + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationURL(String notificationURL) { this.notificationURL = notificationURL; } - + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData payTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; return this; } - /** + /** * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. * @return payTokenInd - **/ + */ @ApiModelProperty(value = "Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.") @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPayTokenInd() { return payTokenInd; } - - /** - * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. - * - * @param payTokenInd - */ + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + */ @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; } - + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData paymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; return this; } - /** + /** * Indicates the type of payment for which an authentication is requested (message extension) * @return paymentAuthenticationUseCase - **/ + */ @ApiModelProperty(value = "Indicates the type of payment for which an authentication is requested (message extension)") @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAuthenticationUseCase() { return paymentAuthenticationUseCase; } - - /** - * Indicates the type of payment for which an authentication is requested (message extension) - * - * @param paymentAuthenticationUseCase - */ + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + */ @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; } - + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; } - /** + /** * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. * @return purchaseInstalData - **/ + */ @ApiModelProperty(value = "Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.") @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPurchaseInstalData() { return purchaseInstalData; } - - /** - * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. - * - * @param purchaseInstalData - */ + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + */ @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; } - + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Format: YYYYMMDD * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Format: YYYYMMDD") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Format: YYYYMMDD - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Indicates the minimum number of days between authorisations. Maximum length: 4 characters.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. - * - * @param recurringFrequency - */ + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkAppID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; return this; } - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. * @return sdkAppID - **/ + */ @ApiModelProperty(value = "The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkAppID() { return sdkAppID; } - - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. - * - * @param sdkAppID - */ + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkAppID + */ @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; } - + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkEncData + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkEncData(String sdkEncData) { this.sdkEncData = sdkEncData; return this; } - /** - * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. * @return sdkEncData - **/ + */ @ApiModelProperty(value = "The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_ENC_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkEncData() { return sdkEncData; } - - /** - * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. - * - * @param sdkEncData - */ + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkEncData + */ @JsonProperty(JSON_PROPERTY_SDK_ENC_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEncData(String sdkEncData) { this.sdkEncData = sdkEncData; } - + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; return this; } - /** - * Get sdkEphemPubKey + /** + * sdkEphemPubKey * @return sdkEphemPubKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SDKEphemPubKey getSdkEphemPubKey() { return sdkEphemPubKey; } - - /** - * sdkEphemPubKey - * - * @param sdkEphemPubKey - */ + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + */ @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; } - + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; return this; } - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. * @return sdkMaxTimeout - **/ + */ @ApiModelProperty(value = "The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.") @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSdkMaxTimeout() { return sdkMaxTimeout; } - - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. - * - * @param sdkMaxTimeout - */ + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + */ @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; } - + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkReferenceNumber + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; return this; } - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. * @return sdkReferenceNumber - **/ + */ @ApiModelProperty(value = "The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkReferenceNumber() { return sdkReferenceNumber; } - - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkReferenceNumber - */ + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkReferenceNumber + */ @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; } - + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkTransID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; return this; } - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. * @return sdkTransID - **/ + */ @ApiModelProperty(value = "The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkTransID() { return sdkTransID; } - - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkTransID - */ + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkTransID + */ @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; } - + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkVersion + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; return this; } - /** - * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. * @return sdkVersion - **/ + */ @ApiModelProperty(value = "Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkVersion() { return sdkVersion; } - - /** - * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkVersion - */ + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkVersion + */ @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; } - + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; return this; } - /** + /** * Completion indicator for the device fingerprinting. * @return threeDSCompInd - **/ + */ @ApiModelProperty(value = "Completion indicator for the device fingerprinting.") @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSCompInd() { return threeDSCompInd; } - - /** - * Completion indicator for the device fingerprinting. - * - * @param threeDSCompInd - */ + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; } - + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; return this; } - /** + /** * Indicates the type of Authentication request. * @return threeDSRequestorAuthenticationInd - **/ + */ @ApiModelProperty(value = "Indicates the type of Authentication request.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorAuthenticationInd() { return threeDSRequestorAuthenticationInd; } - - /** - * Indicates the type of Authentication request. - * - * @param threeDSRequestorAuthenticationInd - */ + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; } - + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorAuthenticationInfo + /** + * threeDSRequestorAuthenticationInfo * @return threeDSRequestorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo() { return threeDSRequestorAuthenticationInfo; } - - /** - * threeDSRequestorAuthenticationInfo - * - * @param threeDSRequestorAuthenticationInfo - */ + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorID() { return threeDSRequestorID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorName() { return threeDSRequestorName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; } - + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorPriorAuthenticationInfo + /** + * threeDSRequestorPriorAuthenticationInfo * @return threeDSRequestorPriorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo() { return threeDSRequestorPriorAuthenticationInfo; } - - /** - * threeDSRequestorPriorAuthenticationInfo - * - * @param threeDSRequestorPriorAuthenticationInfo - */ + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; } - + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; return this; } - /** + /** * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. * @return threeDSRequestorURL - **/ + */ @ApiModelProperty(value = "URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorURL() { return threeDSRequestorURL; } - - /** - * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. - * - * @param threeDSRequestorURL - */ + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; } - + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData transType(TransTypeEnum transType) { this.transType = transType; return this; } - /** + /** * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load * @return transType - **/ + */ @ApiModelProperty(value = "Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load") @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransTypeEnum getTransType() { return transType; } - - /** - * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load - * - * @param transType - */ + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + */ @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransType(TransTypeEnum transType) { this.transType = transType; } - + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData transactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; return this; } - /** + /** * Identify the type of the transaction being authenticated. * @return transactionType - **/ + */ @ApiModelProperty(value = "Identify the type of the transaction being authenticated.") @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionTypeEnum getTransactionType() { return transactionType; } - - /** - * Identify the type of the transaction being authenticated. - * - * @param transactionType - */ + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; } - + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData whiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; return this; } - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. * @return whiteListStatus - **/ + */ @ApiModelProperty(value = "The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.") @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWhiteListStatus() { return whiteListStatus; } - - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. - * - * @param whiteListStatus - */ + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + */ @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } - + /** + * workPhone + * + * @param workPhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData workPhone(Phone workPhone) { this.workPhone = workPhone; return this; } - /** - * Get workPhone + /** + * workPhone * @return workPhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getWorkPhone() { return workPhone; } - - /** - * workPhone - * - * @param workPhone - */ + /** + * workPhone + * + * @param workPhone + */ @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWorkPhone(Phone workPhone) { this.workPhone = workPhone; } - /** * Return true if this ThreeDS2RequestData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java index 3c7b3b4e2..4171d8ca0 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java @@ -164,7 +164,7 @@ public static AddrMatchEnum fromValue(String value) { private AddrMatchEnum addrMatch; public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v50: Use `threeDSAuthenticationOnly` instead. private Boolean authenticationOnly; /** @@ -207,7 +207,7 @@ public static ChallengeIndicatorEnum fromValue(String value) { } public static final String JSON_PROPERTY_CHALLENGE_INDICATOR = "challengeIndicator"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v68: Use `threeDSRequestorChallengeInd` instead. private ChallengeIndicatorEnum challengeIndicator; public static final String JSON_PROPERTY_DEVICE_RENDER_OPTIONS = "deviceRenderOptions"; @@ -425,182 +425,209 @@ public static TransactionTypeEnum fromValue(String value) { public ThreeDS2RequestFields() { } + /** + * acctInfo + * + * @param acctInfo + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields acctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; return this; } - /** - * Get acctInfo + /** + * acctInfo * @return acctInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctInfo getAcctInfo() { return acctInfo; } - - /** - * acctInfo - * - * @param acctInfo - */ + /** + * acctInfo + * + * @param acctInfo + */ @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; } - + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields acctType(AcctTypeEnum acctType) { this.acctType = acctType; return this; } - /** + /** * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit * @return acctType - **/ + */ @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit") @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctTypeEnum getAcctType() { return acctType; } - - /** - * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit - * - * @param acctType - */ + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + */ @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctType(AcctTypeEnum acctType) { this.acctType = acctType; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields acquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerBIN - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerBIN() { return acquirerBIN; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerBIN - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields acquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerMerchantID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerMerchantID() { return acquirerMerchantID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerMerchantID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; } - + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields addrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; return this; } - /** + /** * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. * @return addrMatch - **/ + */ @ApiModelProperty(value = "Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.") @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AddrMatchEnum getAddrMatch() { return addrMatch; } - - /** - * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. - * - * @param addrMatch - */ + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + */ @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated public ThreeDS2RequestFields authenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return authenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthenticationOnly() { return authenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param authenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -608,33 +635,44 @@ public void setAuthenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; } - + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated public ThreeDS2RequestFields challengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; return this; } - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` * @return challengeIndicator - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @ApiModelProperty(value = "Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` ") @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeIndicatorEnum getChallengeIndicator() { return challengeIndicator; } - - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` - * - * @param challengeIndicator - */ + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -642,877 +680,963 @@ public void setChallengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; } - + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields deviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; return this; } - /** - * Get deviceRenderOptions + /** + * deviceRenderOptions * @return deviceRenderOptions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeviceRenderOptions getDeviceRenderOptions() { return deviceRenderOptions; } - - /** - * deviceRenderOptions - * - * @param deviceRenderOptions - */ + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + */ @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; } - + /** + * homePhone + * + * @param homePhone + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields homePhone(Phone homePhone) { this.homePhone = homePhone; return this; } - /** - * Get homePhone + /** + * homePhone * @return homePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getHomePhone() { return homePhone; } - - /** - * homePhone - * - * @param homePhone - */ + /** + * homePhone + * + * @param homePhone + */ @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHomePhone(Phone homePhone) { this.homePhone = homePhone; } - + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields mcc(String mcc) { this.mcc = mcc; return this; } - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. * @return mcc - **/ + */ @ApiModelProperty(value = "Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. - * - * @param mcc - */ + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields merchantName(String merchantName) { this.merchantName = merchantName; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. * @return merchantName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.") @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantName() { return merchantName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. - * - * @param merchantName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantName(String merchantName) { this.merchantName = merchantName; } - + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. * @return messageVersion - **/ + */ @ApiModelProperty(value = "The `messageVersion` value indicating the 3D Secure 2 protocol version.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. - * - * @param messageVersion - */ + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * mobilePhone + * + * @param mobilePhone + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields mobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Get mobilePhone + /** + * mobilePhone * @return mobilePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getMobilePhone() { return mobilePhone; } - - /** - * mobilePhone - * - * @param mobilePhone - */ + /** + * mobilePhone + * + * @param mobilePhone + */ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields notificationURL(String notificationURL) { this.notificationURL = notificationURL; return this; } - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. * @return notificationURL - **/ + */ @ApiModelProperty(value = "URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.") @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationURL() { return notificationURL; } - - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. - * - * @param notificationURL - */ + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationURL(String notificationURL) { this.notificationURL = notificationURL; } - + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields payTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; return this; } - /** + /** * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. * @return payTokenInd - **/ + */ @ApiModelProperty(value = "Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.") @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPayTokenInd() { return payTokenInd; } - - /** - * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. - * - * @param payTokenInd - */ + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + */ @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; } - + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields paymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; return this; } - /** + /** * Indicates the type of payment for which an authentication is requested (message extension) * @return paymentAuthenticationUseCase - **/ + */ @ApiModelProperty(value = "Indicates the type of payment for which an authentication is requested (message extension)") @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAuthenticationUseCase() { return paymentAuthenticationUseCase; } - - /** - * Indicates the type of payment for which an authentication is requested (message extension) - * - * @param paymentAuthenticationUseCase - */ + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + */ @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; } - + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; } - /** + /** * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. * @return purchaseInstalData - **/ + */ @ApiModelProperty(value = "Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.") @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPurchaseInstalData() { return purchaseInstalData; } - - /** - * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. - * - * @param purchaseInstalData - */ + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + */ @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; } - + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Format: YYYYMMDD * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Format: YYYYMMDD") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Format: YYYYMMDD - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Indicates the minimum number of days between authorisations. Maximum length: 4 characters.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. - * - * @param recurringFrequency - */ + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. + * + * @param sdkAppID + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields sdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; return this; } - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. * @return sdkAppID - **/ + */ @ApiModelProperty(value = "The `sdkAppID` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkAppID() { return sdkAppID; } - - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. - * - * @param sdkAppID - */ + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. + * + * @param sdkAppID + */ @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; } - + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; return this; } - /** - * Get sdkEphemPubKey + /** + * sdkEphemPubKey * @return sdkEphemPubKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SDKEphemPubKey getSdkEphemPubKey() { return sdkEphemPubKey; } - - /** - * sdkEphemPubKey - * - * @param sdkEphemPubKey - */ + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + */ @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; } - + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields sdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; return this; } - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. * @return sdkMaxTimeout - **/ + */ @ApiModelProperty(value = "The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.") @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSdkMaxTimeout() { return sdkMaxTimeout; } - - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. - * - * @param sdkMaxTimeout - */ + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + */ @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; } - + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. + * + * @param sdkReferenceNumber + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields sdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; return this; } - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. * @return sdkReferenceNumber - **/ + */ @ApiModelProperty(value = "The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkReferenceNumber() { return sdkReferenceNumber; } - - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. - * - * @param sdkReferenceNumber - */ + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. + * + * @param sdkReferenceNumber + */ @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; } - + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. + * + * @param sdkTransID + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields sdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; return this; } - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. * @return sdkTransID - **/ + */ @ApiModelProperty(value = "The `sdkTransID` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkTransID() { return sdkTransID; } - - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. - * - * @param sdkTransID - */ + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. + * + * @param sdkTransID + */ @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; } - + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; return this; } - /** + /** * Completion indicator for the device fingerprinting. * @return threeDSCompInd - **/ + */ @ApiModelProperty(value = "Completion indicator for the device fingerprinting.") @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSCompInd() { return threeDSCompInd; } - - /** - * Completion indicator for the device fingerprinting. - * - * @param threeDSCompInd - */ + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; } - + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; return this; } - /** + /** * Indicates the type of Authentication request. * @return threeDSRequestorAuthenticationInd - **/ + */ @ApiModelProperty(value = "Indicates the type of Authentication request.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorAuthenticationInd() { return threeDSRequestorAuthenticationInd; } - - /** - * Indicates the type of Authentication request. - * - * @param threeDSRequestorAuthenticationInd - */ + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; } - + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorAuthenticationInfo + /** + * threeDSRequestorAuthenticationInfo * @return threeDSRequestorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo() { return threeDSRequestorAuthenticationInfo; } - - /** - * threeDSRequestorAuthenticationInfo - * - * @param threeDSRequestorAuthenticationInfo - */ + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorID() { return threeDSRequestorID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorName() { return threeDSRequestorName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; } - + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorPriorAuthenticationInfo + /** + * threeDSRequestorPriorAuthenticationInfo * @return threeDSRequestorPriorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo() { return threeDSRequestorPriorAuthenticationInfo; } - - /** - * threeDSRequestorPriorAuthenticationInfo - * - * @param threeDSRequestorPriorAuthenticationInfo - */ + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; } - + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields threeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; return this; } - /** + /** * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. * @return threeDSRequestorURL - **/ + */ @ApiModelProperty(value = "URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorURL() { return threeDSRequestorURL; } - - /** - * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. - * - * @param threeDSRequestorURL - */ + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; } - + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields transType(TransTypeEnum transType) { this.transType = transType; return this; } - /** + /** * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load * @return transType - **/ + */ @ApiModelProperty(value = "Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load") @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransTypeEnum getTransType() { return transType; } - - /** - * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load - * - * @param transType - */ + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + */ @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransType(TransTypeEnum transType) { this.transType = transType; } - + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields transactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; return this; } - /** + /** * Identify the type of the transaction being authenticated. * @return transactionType - **/ + */ @ApiModelProperty(value = "Identify the type of the transaction being authenticated.") @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionTypeEnum getTransactionType() { return transactionType; } - - /** - * Identify the type of the transaction being authenticated. - * - * @param transactionType - */ + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; } - + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields whiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; return this; } - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. * @return whiteListStatus - **/ + */ @ApiModelProperty(value = "The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.") @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWhiteListStatus() { return whiteListStatus; } - - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. - * - * @param whiteListStatus - */ + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + */ @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } - + /** + * workPhone + * + * @param workPhone + * @return the current {@code ThreeDS2RequestFields} instance, allowing for method chaining + */ public ThreeDS2RequestFields workPhone(Phone workPhone) { this.workPhone = workPhone; return this; } - /** - * Get workPhone + /** + * workPhone * @return workPhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getWorkPhone() { return workPhone; } - - /** - * workPhone - * - * @param workPhone - */ + /** + * workPhone + * + * @param workPhone + */ @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWorkPhone(Phone workPhone) { this.workPhone = workPhone; } - /** * Return true if this ThreeDS2RequestFields object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2ResponseData.java b/src/main/java/com/adyen/model/checkout/ThreeDS2ResponseData.java index 73ebf19ad..fa9545d55 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2ResponseData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2ResponseData.java @@ -113,576 +113,633 @@ public class ThreeDS2ResponseData { public ThreeDS2ResponseData() { } + /** + * acsChallengeMandated + * + * @param acsChallengeMandated + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsChallengeMandated(String acsChallengeMandated) { this.acsChallengeMandated = acsChallengeMandated; return this; } - /** - * Get acsChallengeMandated + /** + * acsChallengeMandated * @return acsChallengeMandated - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_CHALLENGE_MANDATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsChallengeMandated() { return acsChallengeMandated; } - - /** - * acsChallengeMandated - * - * @param acsChallengeMandated - */ + /** + * acsChallengeMandated + * + * @param acsChallengeMandated + */ @JsonProperty(JSON_PROPERTY_ACS_CHALLENGE_MANDATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsChallengeMandated(String acsChallengeMandated) { this.acsChallengeMandated = acsChallengeMandated; } - + /** + * acsOperatorID + * + * @param acsOperatorID + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsOperatorID(String acsOperatorID) { this.acsOperatorID = acsOperatorID; return this; } - /** - * Get acsOperatorID + /** + * acsOperatorID * @return acsOperatorID - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_OPERATOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsOperatorID() { return acsOperatorID; } - - /** - * acsOperatorID - * - * @param acsOperatorID - */ + /** + * acsOperatorID + * + * @param acsOperatorID + */ @JsonProperty(JSON_PROPERTY_ACS_OPERATOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsOperatorID(String acsOperatorID) { this.acsOperatorID = acsOperatorID; } - + /** + * acsReferenceNumber + * + * @param acsReferenceNumber + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsReferenceNumber(String acsReferenceNumber) { this.acsReferenceNumber = acsReferenceNumber; return this; } - /** - * Get acsReferenceNumber + /** + * acsReferenceNumber * @return acsReferenceNumber - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsReferenceNumber() { return acsReferenceNumber; } - - /** - * acsReferenceNumber - * - * @param acsReferenceNumber - */ + /** + * acsReferenceNumber + * + * @param acsReferenceNumber + */ @JsonProperty(JSON_PROPERTY_ACS_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsReferenceNumber(String acsReferenceNumber) { this.acsReferenceNumber = acsReferenceNumber; } - + /** + * acsSignedContent + * + * @param acsSignedContent + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsSignedContent(String acsSignedContent) { this.acsSignedContent = acsSignedContent; return this; } - /** - * Get acsSignedContent + /** + * acsSignedContent * @return acsSignedContent - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_SIGNED_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsSignedContent() { return acsSignedContent; } - - /** - * acsSignedContent - * - * @param acsSignedContent - */ + /** + * acsSignedContent + * + * @param acsSignedContent + */ @JsonProperty(JSON_PROPERTY_ACS_SIGNED_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsSignedContent(String acsSignedContent) { this.acsSignedContent = acsSignedContent; } - + /** + * acsTransID + * + * @param acsTransID + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsTransID(String acsTransID) { this.acsTransID = acsTransID; return this; } - /** - * Get acsTransID + /** + * acsTransID * @return acsTransID - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsTransID() { return acsTransID; } - - /** - * acsTransID - * - * @param acsTransID - */ + /** + * acsTransID + * + * @param acsTransID + */ @JsonProperty(JSON_PROPERTY_ACS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsTransID(String acsTransID) { this.acsTransID = acsTransID; } - + /** + * acsURL + * + * @param acsURL + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData acsURL(String acsURL) { this.acsURL = acsURL; return this; } - /** - * Get acsURL + /** + * acsURL * @return acsURL - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACS_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcsURL() { return acsURL; } - - /** - * acsURL - * - * @param acsURL - */ + /** + * acsURL + * + * @param acsURL + */ @JsonProperty(JSON_PROPERTY_ACS_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcsURL(String acsURL) { this.acsURL = acsURL; } - + /** + * authenticationType + * + * @param authenticationType + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData authenticationType(String authenticationType) { this.authenticationType = authenticationType; return this; } - /** - * Get authenticationType + /** + * authenticationType * @return authenticationType - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthenticationType() { return authenticationType; } - - /** - * authenticationType - * - * @param authenticationType - */ + /** + * authenticationType + * + * @param authenticationType + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationType(String authenticationType) { this.authenticationType = authenticationType; } - + /** + * cardHolderInfo + * + * @param cardHolderInfo + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData cardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; return this; } - /** - * Get cardHolderInfo + /** + * cardHolderInfo * @return cardHolderInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderInfo() { return cardHolderInfo; } - - /** - * cardHolderInfo - * - * @param cardHolderInfo - */ + /** + * cardHolderInfo + * + * @param cardHolderInfo + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; } - + /** + * cavvAlgorithm + * + * @param cavvAlgorithm + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** - * Get cavvAlgorithm + /** + * cavvAlgorithm * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * cavvAlgorithm - * - * @param cavvAlgorithm - */ + /** + * cavvAlgorithm + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * challengeIndicator + * + * @param challengeIndicator + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData challengeIndicator(String challengeIndicator) { this.challengeIndicator = challengeIndicator; return this; } - /** - * Get challengeIndicator + /** + * challengeIndicator * @return challengeIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChallengeIndicator() { return challengeIndicator; } - - /** - * challengeIndicator - * - * @param challengeIndicator - */ + /** + * challengeIndicator + * + * @param challengeIndicator + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeIndicator(String challengeIndicator) { this.challengeIndicator = challengeIndicator; } - + /** + * dsReferenceNumber + * + * @param dsReferenceNumber + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData dsReferenceNumber(String dsReferenceNumber) { this.dsReferenceNumber = dsReferenceNumber; return this; } - /** - * Get dsReferenceNumber + /** + * dsReferenceNumber * @return dsReferenceNumber - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DS_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsReferenceNumber() { return dsReferenceNumber; } - - /** - * dsReferenceNumber - * - * @param dsReferenceNumber - */ + /** + * dsReferenceNumber + * + * @param dsReferenceNumber + */ @JsonProperty(JSON_PROPERTY_DS_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsReferenceNumber(String dsReferenceNumber) { this.dsReferenceNumber = dsReferenceNumber; } - + /** + * dsTransID + * + * @param dsTransID + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** - * Get dsTransID + /** + * dsTransID * @return dsTransID - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * dsTransID - * - * @param dsTransID - */ + /** + * dsTransID + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * exemptionIndicator + * + * @param exemptionIndicator + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData exemptionIndicator(String exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; return this; } - /** - * Get exemptionIndicator + /** + * exemptionIndicator * @return exemptionIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExemptionIndicator() { return exemptionIndicator; } - - /** - * exemptionIndicator - * - * @param exemptionIndicator - */ + /** + * exemptionIndicator + * + * @param exemptionIndicator + */ @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExemptionIndicator(String exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; } - + /** + * messageVersion + * + * @param messageVersion + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * Get messageVersion + /** + * messageVersion * @return messageVersion - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * messageVersion - * - * @param messageVersion - */ + /** + * messageVersion + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * riskScore + * + * @param riskScore + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData riskScore(String riskScore) { this.riskScore = riskScore; return this; } - /** - * Get riskScore + /** + * riskScore * @return riskScore - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskScore() { return riskScore; } - - /** - * riskScore - * - * @param riskScore - */ + /** + * riskScore + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(String riskScore) { this.riskScore = riskScore; } - + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData sdkEphemPubKey(String sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; return this; } - /** - * Get sdkEphemPubKey + /** + * sdkEphemPubKey * @return sdkEphemPubKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkEphemPubKey() { return sdkEphemPubKey; } - - /** - * sdkEphemPubKey - * - * @param sdkEphemPubKey - */ + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + */ @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEphemPubKey(String sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; } - + /** + * threeDSServerTransID + * + * @param threeDSServerTransID + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData threeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; return this; } - /** - * Get threeDSServerTransID + /** + * threeDSServerTransID * @return threeDSServerTransID - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSServerTransID() { return threeDSServerTransID; } - - /** - * threeDSServerTransID - * - * @param threeDSServerTransID - */ + /** + * threeDSServerTransID + * + * @param threeDSServerTransID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; } - + /** + * transStatus + * + * @param transStatus + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData transStatus(String transStatus) { this.transStatus = transStatus; return this; } - /** - * Get transStatus + /** + * transStatus * @return transStatus - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatus() { return transStatus; } - - /** - * transStatus - * - * @param transStatus - */ + /** + * transStatus + * + * @param transStatus + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatus(String transStatus) { this.transStatus = transStatus; } - + /** + * transStatusReason + * + * @param transStatusReason + * @return the current {@code ThreeDS2ResponseData} instance, allowing for method chaining + */ public ThreeDS2ResponseData transStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Get transStatusReason + /** + * transStatusReason * @return transStatusReason - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatusReason() { return transStatusReason; } - - /** - * transStatusReason - * - * @param transStatusReason - */ + /** + * transStatusReason + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; } - /** * Return true if this ThreeDS2ResponseData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2Result.java b/src/main/java/com/adyen/model/checkout/ThreeDS2Result.java index db967527b..bd2c10753 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2Result.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2Result.java @@ -220,426 +220,468 @@ public static ThreeDSRequestorChallengeIndEnum fromValue(String value) { public ThreeDS2Result() { } + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + * + * @param authenticationValue + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result authenticationValue(String authenticationValue) { this.authenticationValue = authenticationValue; return this; } - /** - * The `authenticationValue` value as defined in the 3D Secure 2 specification. + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. * @return authenticationValue - **/ + */ @ApiModelProperty(value = "The `authenticationValue` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthenticationValue() { return authenticationValue; } - - /** - * The `authenticationValue` value as defined in the 3D Secure 2 specification. - * - * @param authenticationValue - */ + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + * + * @param authenticationValue + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationValue(String authenticationValue) { this.authenticationValue = authenticationValue; } - + /** + * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. + * + * @param cavvAlgorithm + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. - * - * @param cavvAlgorithm - */ + /** + * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result challengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; return this; } - /** + /** * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). * @return challengeCancel - **/ + */ @ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).") @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeCancelEnum getChallengeCancel() { return challengeCancel; } - - /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). - * - * @param challengeCancel - */ + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; } - + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + * + * @param dsTransID + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** - * The `dsTransID` value as defined in the 3D Secure 2 specification. + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. * @return dsTransID - **/ + */ @ApiModelProperty(value = "The `dsTransID` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * The `dsTransID` value as defined in the 3D Secure 2 specification. - * - * @param dsTransID - */ + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The `eci` value as defined in the 3D Secure 2 specification. + * + * @param eci + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result eci(String eci) { this.eci = eci; return this; } - /** - * The `eci` value as defined in the 3D Secure 2 specification. + /** + * The `eci` value as defined in the 3D Secure 2 specification. * @return eci - **/ + */ @ApiModelProperty(value = "The `eci` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The `eci` value as defined in the 3D Secure 2 specification. - * - * @param eci - */ + /** + * The `eci` value as defined in the 3D Secure 2 specification. + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + * + * @param exemptionIndicator + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result exemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; return this; } - /** - * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` * @return exemptionIndicator - **/ + */ @ApiModelProperty(value = "Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` ") @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExemptionIndicatorEnum getExemptionIndicator() { return exemptionIndicator; } - - /** - * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` - * - * @param exemptionIndicator - */ + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + * + * @param exemptionIndicator + */ @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; } - + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. * @return messageVersion - **/ + */ @ApiModelProperty(value = "The `messageVersion` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. - * - * @param messageVersion - */ + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * Risk score calculated by Cartes Bancaires Directory Server (DS). + * + * @param riskScore + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result riskScore(String riskScore) { this.riskScore = riskScore; return this; } - /** + /** * Risk score calculated by Cartes Bancaires Directory Server (DS). * @return riskScore - **/ + */ @ApiModelProperty(value = "Risk score calculated by Cartes Bancaires Directory Server (DS).") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskScore() { return riskScore; } - - /** - * Risk score calculated by Cartes Bancaires Directory Server (DS). - * - * @param riskScore - */ + /** + * Risk score calculated by Cartes Bancaires Directory Server (DS). + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(String riskScore) { this.riskScore = riskScore; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result threeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; return this; } - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. * @return threeDSServerTransID - **/ + */ @ApiModelProperty(value = "The `threeDSServerTransID` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSServerTransID() { return threeDSServerTransID; } - - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. - * - * @param threeDSServerTransID - */ + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; } - + /** + * The `timestamp` value of the 3D Secure 2 authentication. + * + * @param timestamp + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result timestamp(String timestamp) { this.timestamp = timestamp; return this; } - /** - * The `timestamp` value of the 3D Secure 2 authentication. + /** + * The `timestamp` value of the 3D Secure 2 authentication. * @return timestamp - **/ + */ @ApiModelProperty(value = "The `timestamp` value of the 3D Secure 2 authentication.") @JsonProperty(JSON_PROPERTY_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimestamp() { return timestamp; } - - /** - * The `timestamp` value of the 3D Secure 2 authentication. - * - * @param timestamp - */ + /** + * The `timestamp` value of the 3D Secure 2 authentication. + * + * @param timestamp + */ @JsonProperty(JSON_PROPERTY_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimestamp(String timestamp) { this.timestamp = timestamp; } - + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + * + * @param transStatus + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result transStatus(String transStatus) { this.transStatus = transStatus; return this; } - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. * @return transStatus - **/ + */ @ApiModelProperty(value = "The `transStatus` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatus() { return transStatus; } - - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. - * - * @param transStatus - */ + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + * + * @param transStatus + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatus(String transStatus) { this.transStatus = transStatus; } - + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result transStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). * @return transStatusReason - **/ + */ @ApiModelProperty(value = "Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatusReason() { return transStatusReason; } - - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). - * - * @param transStatusReason - */ + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; } - + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + * + * @param whiteListStatus + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result whiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; return this; } - /** - * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. * @return whiteListStatus - **/ + */ @ApiModelProperty(value = "The `whiteListStatus` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWhiteListStatus() { return whiteListStatus; } - - /** - * The `whiteListStatus` value as defined in the 3D Secure 2 specification. - * - * @param whiteListStatus - */ + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + * + * @param whiteListStatus + */ @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } - /** * Return true if this ThreeDS2Result object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDSRequestData.java b/src/main/java/com/adyen/model/checkout/ThreeDSRequestData.java index c6054a435..545221c0f 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDSRequestData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDSRequestData.java @@ -197,126 +197,138 @@ public static ThreeDSVersionEnum fromValue(String value) { public ThreeDSRequestData() { } + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + * @return the current {@code ThreeDSRequestData} instance, allowing for method chaining + */ public ThreeDSRequestData challengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; return this; } - /** + /** * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen * @return challengeWindowSize - **/ + */ @ApiModelProperty(value = "Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen") @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeWindowSizeEnum getChallengeWindowSize() { return challengeWindowSize; } - - /** - * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen - * - * @param challengeWindowSize - */ + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; } - + /** + * Flag for data only flow. + * + * @param dataOnly + * @return the current {@code ThreeDSRequestData} instance, allowing for method chaining + */ public ThreeDSRequestData dataOnly(DataOnlyEnum dataOnly) { this.dataOnly = dataOnly; return this; } - /** + /** * Flag for data only flow. * @return dataOnly - **/ + */ @ApiModelProperty(value = "Flag for data only flow.") @JsonProperty(JSON_PROPERTY_DATA_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DataOnlyEnum getDataOnly() { return dataOnly; } - - /** - * Flag for data only flow. - * - * @param dataOnly - */ + /** + * Flag for data only flow. + * + * @param dataOnly + */ @JsonProperty(JSON_PROPERTY_DATA_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDataOnly(DataOnlyEnum dataOnly) { this.dataOnly = dataOnly; } - + /** + * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. + * + * @param nativeThreeDS + * @return the current {@code ThreeDSRequestData} instance, allowing for method chaining + */ public ThreeDSRequestData nativeThreeDS(NativeThreeDSEnum nativeThreeDS) { this.nativeThreeDS = nativeThreeDS; return this; } - /** + /** * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. * @return nativeThreeDS - **/ + */ @ApiModelProperty(value = "Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available.") @JsonProperty(JSON_PROPERTY_NATIVE_THREE_D_S) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NativeThreeDSEnum getNativeThreeDS() { return nativeThreeDS; } - - /** - * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. - * - * @param nativeThreeDS - */ + /** + * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. + * + * @param nativeThreeDS + */ @JsonProperty(JSON_PROPERTY_NATIVE_THREE_D_S) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNativeThreeDS(NativeThreeDSEnum nativeThreeDS) { this.nativeThreeDS = nativeThreeDS; } - + /** + * The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0** + * + * @param threeDSVersion + * @return the current {@code ThreeDSRequestData} instance, allowing for method chaining + */ public ThreeDSRequestData threeDSVersion(ThreeDSVersionEnum threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0** * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0**") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSVersionEnum getThreeDSVersion() { return threeDSVersion; } - - /** - * The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0** - * - * @param threeDSVersion - */ + /** + * The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0** + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(ThreeDSVersionEnum threeDSVersion) { this.threeDSVersion = threeDSVersion; } - /** * Return true if this ThreeDSRequestData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDSRequestorAuthenticationInfo.java b/src/main/java/com/adyen/model/checkout/ThreeDSRequestorAuthenticationInfo.java index 21de9d11e..8c98aa080 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDSRequestorAuthenticationInfo.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDSRequestorAuthenticationInfo.java @@ -92,96 +92,105 @@ public static ThreeDSReqAuthMethodEnum fromValue(String value) { public ThreeDSRequestorAuthenticationInfo() { } + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqAuthData + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthData(String threeDSReqAuthData) { this.threeDSReqAuthData = threeDSReqAuthData; return this; } - /** + /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. * @return threeDSReqAuthData - **/ + */ @ApiModelProperty(value = "Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqAuthData() { return threeDSReqAuthData; } - - /** - * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. - * - * @param threeDSReqAuthData - */ + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqAuthData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthData(String threeDSReqAuthData) { this.threeDSReqAuthData = threeDSReqAuthData; } - + /** + * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. + * + * @param threeDSReqAuthMethod + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthMethod(ThreeDSReqAuthMethodEnum threeDSReqAuthMethod) { this.threeDSReqAuthMethod = threeDSReqAuthMethod; return this; } - /** + /** * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. * @return threeDSReqAuthMethod - **/ + */ @ApiModelProperty(value = "Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSReqAuthMethodEnum getThreeDSReqAuthMethod() { return threeDSReqAuthMethod; } - - /** - * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. - * - * @param threeDSReqAuthMethod - */ + /** + * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. + * + * @param threeDSReqAuthMethod + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthMethod(ThreeDSReqAuthMethodEnum threeDSReqAuthMethod) { this.threeDSReqAuthMethod = threeDSReqAuthMethod; } - + /** + * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqAuthTimestamp + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthTimestamp(String threeDSReqAuthTimestamp) { this.threeDSReqAuthTimestamp = threeDSReqAuthTimestamp; return this; } - /** + /** * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM * @return threeDSReqAuthTimestamp - **/ + */ @ApiModelProperty(value = "Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqAuthTimestamp() { return threeDSReqAuthTimestamp; } - - /** - * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM - * - * @param threeDSReqAuthTimestamp - */ + /** + * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqAuthTimestamp + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthTimestamp(String threeDSReqAuthTimestamp) { this.threeDSReqAuthTimestamp = threeDSReqAuthTimestamp; } - /** * Return true if this ThreeDSRequestorAuthenticationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDSRequestorPriorAuthenticationInfo.java b/src/main/java/com/adyen/model/checkout/ThreeDSRequestorPriorAuthenticationInfo.java index e68f22e77..343360bbc 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDSRequestorPriorAuthenticationInfo.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDSRequestorPriorAuthenticationInfo.java @@ -92,126 +92,138 @@ public static ThreeDSReqPriorAuthMethodEnum fromValue(String value) { public ThreeDSRequestorPriorAuthenticationInfo() { } + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqPriorAuthData + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthData(String threeDSReqPriorAuthData) { this.threeDSReqPriorAuthData = threeDSReqPriorAuthData; return this; } - /** + /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. * @return threeDSReqPriorAuthData - **/ + */ @ApiModelProperty(value = "Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorAuthData() { return threeDSReqPriorAuthData; } - - /** - * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. - * - * @param threeDSReqPriorAuthData - */ + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqPriorAuthData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthData(String threeDSReqPriorAuthData) { this.threeDSReqPriorAuthData = threeDSReqPriorAuthData; } - + /** + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. + * + * @param threeDSReqPriorAuthMethod + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthMethod(ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod) { this.threeDSReqPriorAuthMethod = threeDSReqPriorAuthMethod; return this; } - /** + /** * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. * @return threeDSReqPriorAuthMethod - **/ + */ @ApiModelProperty(value = "Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSReqPriorAuthMethodEnum getThreeDSReqPriorAuthMethod() { return threeDSReqPriorAuthMethod; } - - /** - * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. - * - * @param threeDSReqPriorAuthMethod - */ + /** + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. + * + * @param threeDSReqPriorAuthMethod + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthMethod(ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod) { this.threeDSReqPriorAuthMethod = threeDSReqPriorAuthMethod; } - + /** + * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqPriorAuthTimestamp + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp) { this.threeDSReqPriorAuthTimestamp = threeDSReqPriorAuthTimestamp; return this; } - /** + /** * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM * @return threeDSReqPriorAuthTimestamp - **/ + */ @ApiModelProperty(value = "Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorAuthTimestamp() { return threeDSReqPriorAuthTimestamp; } - - /** - * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM - * - * @param threeDSReqPriorAuthTimestamp - */ + /** + * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqPriorAuthTimestamp + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp) { this.threeDSReqPriorAuthTimestamp = threeDSReqPriorAuthTimestamp; } - + /** + * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. + * + * @param threeDSReqPriorRef + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorRef(String threeDSReqPriorRef) { this.threeDSReqPriorRef = threeDSReqPriorRef; return this; } - /** + /** * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. * @return threeDSReqPriorRef - **/ + */ @ApiModelProperty(value = "This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorRef() { return threeDSReqPriorRef; } - - /** - * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. - * - * @param threeDSReqPriorRef - */ + /** + * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. + * + * @param threeDSReqPriorRef + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorRef(String threeDSReqPriorRef) { this.threeDSReqPriorRef = threeDSReqPriorRef; } - /** * Return true if this ThreeDSRequestorPriorAuthenticationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ThreeDSecureData.java b/src/main/java/com/adyen/model/checkout/ThreeDSecureData.java index 9fd13963a..24b6ece0d 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDSecureData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDSecureData.java @@ -216,366 +216,402 @@ public static DirectoryResponseEnum fromValue(String value) { public ThreeDSecureData() { } + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + * + * @param authenticationResponse + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData authenticationResponse(AuthenticationResponseEnum authenticationResponse) { this.authenticationResponse = authenticationResponse; return this; } - /** - * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. * @return authenticationResponse - **/ + */ @ApiModelProperty(value = "In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationResponseEnum getAuthenticationResponse() { return authenticationResponse; } - - /** - * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. - * - * @param authenticationResponse - */ + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + * + * @param authenticationResponse + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationResponse(AuthenticationResponseEnum authenticationResponse) { this.authenticationResponse = authenticationResponse; } - + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + * + * @param cavv + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData cavv(byte[] cavv) { this.cavv = cavv; return this; } - /** + /** * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). * @return cavv - **/ + */ @ApiModelProperty(value = "The cardholder authentication value (base64 encoded, 20 bytes in a decoded form).") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getCavv() { return cavv; } - - /** - * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). - * - * @param cavv - */ + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(byte[] cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + * + * @param cavvAlgorithm + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. Include this only for 3D Secure 1. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used. Include this only for 3D Secure 1.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. Include this only for 3D Secure 1. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData challengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; return this; } - /** + /** * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). * @return challengeCancel - **/ + */ @ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).") @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeCancelEnum getChallengeCancel() { return challengeCancel; } - - /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). - * - * @param challengeCancel - */ + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; } - + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + * + * @param directoryResponse + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData directoryResponse(DirectoryResponseEnum directoryResponse) { this.directoryResponse = directoryResponse; return this; } - /** - * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. * @return directoryResponse - **/ + */ @ApiModelProperty(value = "In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`.") @JsonProperty(JSON_PROPERTY_DIRECTORY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DirectoryResponseEnum getDirectoryResponse() { return directoryResponse; } - - /** - * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. - * - * @param directoryResponse - */ + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + * + * @param directoryResponse + */ @JsonProperty(JSON_PROPERTY_DIRECTORY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirectoryResponse(DirectoryResponseEnum directoryResponse) { this.directoryResponse = directoryResponse; } - + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + * + * @param dsTransID + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. - * - * @param dsTransID - */ + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The electronic commerce indicator. + * + * @param eci + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData eci(String eci) { this.eci = eci; return this; } - /** + /** * The electronic commerce indicator. * @return eci - **/ + */ @ApiModelProperty(value = "The electronic commerce indicator.") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The electronic commerce indicator. - * - * @param eci - */ + /** + * The electronic commerce indicator. + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. + * + * @param riskScore + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData riskScore(String riskScore) { this.riskScore = riskScore; return this; } - /** + /** * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. * @return riskScore - **/ + */ @ApiModelProperty(value = "Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations.") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskScore() { return riskScore; } - - /** - * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. - * - * @param riskScore - */ + /** + * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(String riskScore) { this.riskScore = riskScore; } - + /** + * The version of the 3D Secure protocol. + * + * @param threeDSVersion + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The version of the 3D Secure protocol. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The version of the 3D Secure protocol.") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * The version of the 3D Secure protocol. - * - * @param threeDSVersion - */ + /** + * The version of the 3D Secure protocol. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - + /** + * Network token authentication verification value (TAVV). The network token cryptogram. + * + * @param tokenAuthenticationVerificationValue + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData tokenAuthenticationVerificationValue(byte[] tokenAuthenticationVerificationValue) { this.tokenAuthenticationVerificationValue = tokenAuthenticationVerificationValue; return this; } - /** + /** * Network token authentication verification value (TAVV). The network token cryptogram. * @return tokenAuthenticationVerificationValue - **/ + */ @ApiModelProperty(value = "Network token authentication verification value (TAVV). The network token cryptogram.") @JsonProperty(JSON_PROPERTY_TOKEN_AUTHENTICATION_VERIFICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getTokenAuthenticationVerificationValue() { return tokenAuthenticationVerificationValue; } - - /** - * Network token authentication verification value (TAVV). The network token cryptogram. - * - * @param tokenAuthenticationVerificationValue - */ + /** + * Network token authentication verification value (TAVV). The network token cryptogram. + * + * @param tokenAuthenticationVerificationValue + */ @JsonProperty(JSON_PROPERTY_TOKEN_AUTHENTICATION_VERIFICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenAuthenticationVerificationValue(byte[] tokenAuthenticationVerificationValue) { this.tokenAuthenticationVerificationValue = tokenAuthenticationVerificationValue; } - + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData transStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). * @return transStatusReason - **/ + */ @ApiModelProperty(value = "Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatusReason() { return transStatusReason; } - - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). - * - * @param transStatusReason - */ + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; } - + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + * + * @param xid + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData xid(byte[] xid) { this.xid = xid; return this; } - /** + /** * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). * @return xid - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getXid() { return xid; } - - /** - * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). - * - * @param xid - */ + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(byte[] xid) { this.xid = xid; } - /** * Return true if this ThreeDSecureData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/UpdatePaymentLinkRequest.java b/src/main/java/com/adyen/model/checkout/UpdatePaymentLinkRequest.java index 57082cc4a..81bfac6aa 100644 --- a/src/main/java/com/adyen/model/checkout/UpdatePaymentLinkRequest.java +++ b/src/main/java/com/adyen/model/checkout/UpdatePaymentLinkRequest.java @@ -74,36 +74,39 @@ public static StatusEnum fromValue(String value) { public UpdatePaymentLinkRequest() { } + /** + * Status of the payment link. Possible values: * **expired** + * + * @param status + * @return the current {@code UpdatePaymentLinkRequest} instance, allowing for method chaining + */ public UpdatePaymentLinkRequest status(StatusEnum status) { this.status = status; return this; } - /** + /** * Status of the payment link. Possible values: * **expired** * @return status - **/ + */ @ApiModelProperty(required = true, value = "Status of the payment link. Possible values: * **expired**") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * Status of the payment link. Possible values: * **expired** - * - * @param status - */ + /** + * Status of the payment link. Possible values: * **expired** + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this UpdatePaymentLinkRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java b/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java index 61536af32..7c25fa718 100644 --- a/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java +++ b/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java @@ -48,7 +48,7 @@ public class UpiCollectDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference"; @@ -99,92 +99,110 @@ public static TypeEnum fromValue(String value) { public UpiCollectDetails() { } + /** + * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. + * + * @param billingSequenceNumber + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails billingSequenceNumber(String billingSequenceNumber) { this.billingSequenceNumber = billingSequenceNumber; return this; } - /** + /** * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. * @return billingSequenceNumber - **/ + */ @ApiModelProperty(required = true, value = "The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.") @JsonProperty(JSON_PROPERTY_BILLING_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingSequenceNumber() { return billingSequenceNumber; } - - /** - * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. - * - * @param billingSequenceNumber - */ + /** + * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. + * + * @param billingSequenceNumber + */ @JsonProperty(JSON_PROPERTY_BILLING_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingSequenceNumber(String billingSequenceNumber) { this.billingSequenceNumber = billingSequenceNumber; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public UpiCollectDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -192,127 +210,138 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. - * - * @param shopperNotificationReference - */ + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **upi_collect** + * + * @param type + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **upi_collect** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**upi_collect**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **upi_collect** - * - * @param type - */ + /** + * **upi_collect** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The virtual payment address for UPI. + * + * @param virtualPaymentAddress + * @return the current {@code UpiCollectDetails} instance, allowing for method chaining + */ public UpiCollectDetails virtualPaymentAddress(String virtualPaymentAddress) { this.virtualPaymentAddress = virtualPaymentAddress; return this; } - /** + /** * The virtual payment address for UPI. * @return virtualPaymentAddress - **/ + */ @ApiModelProperty(value = "The virtual payment address for UPI.") @JsonProperty(JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVirtualPaymentAddress() { return virtualPaymentAddress; } - - /** - * The virtual payment address for UPI. - * - * @param virtualPaymentAddress - */ + /** + * The virtual payment address for UPI. + * + * @param virtualPaymentAddress + */ @JsonProperty(JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVirtualPaymentAddress(String virtualPaymentAddress) { this.virtualPaymentAddress = virtualPaymentAddress; } - /** * Return true if this UpiCollectDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java b/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java index ace0f8962..7372a1b65 100644 --- a/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java +++ b/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java @@ -47,7 +47,7 @@ public class UpiIntentDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference"; @@ -95,92 +95,110 @@ public static TypeEnum fromValue(String value) { public UpiIntentDetails() { } + /** + * TPAP (Third Party Application) Id that is being used to make the UPI payment + * + * @param appId + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + */ public UpiIntentDetails appId(String appId) { this.appId = appId; return this; } - /** + /** * TPAP (Third Party Application) Id that is being used to make the UPI payment * @return appId - **/ + */ @ApiModelProperty(value = "TPAP (Third Party Application) Id that is being used to make the UPI payment") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAppId() { return appId; } - - /** - * TPAP (Third Party Application) Id that is being used to make the UPI payment - * - * @param appId - */ + /** + * TPAP (Third Party Application) Id that is being used to make the UPI payment + * + * @param appId + */ @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + */ public UpiIntentDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public UpiIntentDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -188,97 +206,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + */ public UpiIntentDetails shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. - * - * @param shopperNotificationReference - */ + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + */ public UpiIntentDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **upi_intent** + * + * @param type + * @return the current {@code UpiIntentDetails} instance, allowing for method chaining + */ public UpiIntentDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **upi_intent** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**upi_intent**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **upi_intent** - * - * @param type - */ + /** + * **upi_intent** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UpiIntentDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/UtilityRequest.java b/src/main/java/com/adyen/model/checkout/UtilityRequest.java index cdc9eeb38..132507e97 100644 --- a/src/main/java/com/adyen/model/checkout/UtilityRequest.java +++ b/src/main/java/com/adyen/model/checkout/UtilityRequest.java @@ -43,6 +43,12 @@ public class UtilityRequest { public UtilityRequest() { } + /** + * The list of origin domains, for which origin keys are requested. + * + * @param originDomains + * @return the current {@code UtilityRequest} instance, allowing for method chaining + */ public UtilityRequest originDomains(List originDomains) { this.originDomains = originDomains; return this; @@ -53,31 +59,28 @@ public UtilityRequest addOriginDomainsItem(String originDomainsItem) { return this; } - /** + /** * The list of origin domains, for which origin keys are requested. * @return originDomains - **/ + */ @ApiModelProperty(required = true, value = "The list of origin domains, for which origin keys are requested.") @JsonProperty(JSON_PROPERTY_ORIGIN_DOMAINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOriginDomains() { return originDomains; } - - /** - * The list of origin domains, for which origin keys are requested. - * - * @param originDomains - */ + /** + * The list of origin domains, for which origin keys are requested. + * + * @param originDomains + */ @JsonProperty(JSON_PROPERTY_ORIGIN_DOMAINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginDomains(List originDomains) { this.originDomains = originDomains; } - /** * Return true if this UtilityRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/UtilityResponse.java b/src/main/java/com/adyen/model/checkout/UtilityResponse.java index 6db1d95ee..cd4f9db47 100644 --- a/src/main/java/com/adyen/model/checkout/UtilityResponse.java +++ b/src/main/java/com/adyen/model/checkout/UtilityResponse.java @@ -44,6 +44,12 @@ public class UtilityResponse { public UtilityResponse() { } + /** + * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. + * + * @param originKeys + * @return the current {@code UtilityResponse} instance, allowing for method chaining + */ public UtilityResponse originKeys(Map originKeys) { this.originKeys = originKeys; return this; @@ -57,31 +63,28 @@ public UtilityResponse putOriginKeysItem(String key, String originKeysItem) { return this; } - /** + /** * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. * @return originKeys - **/ + */ @ApiModelProperty(value = "The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.") @JsonProperty(JSON_PROPERTY_ORIGIN_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getOriginKeys() { return originKeys; } - - /** - * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. - * - * @param originKeys - */ + /** + * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. + * + * @param originKeys + */ @JsonProperty(JSON_PROPERTY_ORIGIN_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginKeys(Map originKeys) { this.originKeys = originKeys; } - /** * Return true if this UtilityResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/VippsDetails.java b/src/main/java/com/adyen/model/checkout/VippsDetails.java index 91410b9c0..5ca17583c 100644 --- a/src/main/java/com/adyen/model/checkout/VippsDetails.java +++ b/src/main/java/com/adyen/model/checkout/VippsDetails.java @@ -43,7 +43,7 @@ public class VippsDetails { private String checkoutAttemptId; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -91,62 +91,77 @@ public static TypeEnum fromValue(String value) { public VippsDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code VippsDetails} instance, allowing for method chaining + */ public VippsDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code VippsDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public VippsDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -154,97 +169,105 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code VippsDetails} instance, allowing for method chaining + */ public VippsDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * + * + * @param telephoneNumber + * @return the current {@code VippsDetails} instance, allowing for method chaining + */ public VippsDetails telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * * @return telephoneNumber - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * - * - * @param telephoneNumber - */ + /** + * + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * **vipps** + * + * @param type + * @return the current {@code VippsDetails} instance, allowing for method chaining + */ public VippsDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **vipps** * @return type - **/ + */ @ApiModelProperty(value = "**vipps**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **vipps** - * - * @param type - */ + /** + * **vipps** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this VippsDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java b/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java index 50465069d..c6c19fb33 100644 --- a/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java +++ b/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public VisaCheckoutDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code VisaCheckoutDetails} instance, allowing for method chaining + */ public VisaCheckoutDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code VisaCheckoutDetails} instance, allowing for method chaining + */ public VisaCheckoutDetails fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * **visacheckout** + * + * @param type + * @return the current {@code VisaCheckoutDetails} instance, allowing for method chaining + */ public VisaCheckoutDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **visacheckout** * @return type - **/ + */ @ApiModelProperty(value = "**visacheckout**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **visacheckout** - * - * @param type - */ + /** + * **visacheckout** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID. + * + * @param visaCheckoutCallId + * @return the current {@code VisaCheckoutDetails} instance, allowing for method chaining + */ public VisaCheckoutDetails visaCheckoutCallId(String visaCheckoutCallId) { this.visaCheckoutCallId = visaCheckoutCallId; return this; } - /** + /** * The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID. * @return visaCheckoutCallId - **/ + */ @ApiModelProperty(required = true, value = "The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID.") @JsonProperty(JSON_PROPERTY_VISA_CHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisaCheckoutCallId() { return visaCheckoutCallId; } - - /** - * The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID. - * - * @param visaCheckoutCallId - */ + /** + * The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID. + * + * @param visaCheckoutCallId + */ @JsonProperty(JSON_PROPERTY_VISA_CHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisaCheckoutCallId(String visaCheckoutCallId) { this.visaCheckoutCallId = visaCheckoutCallId; } - /** * Return true if this VisaCheckoutDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java b/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java index 759073982..d66fe21bd 100644 --- a/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public WeChatPayDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code WeChatPayDetails} instance, allowing for method chaining + */ public WeChatPayDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * **wechatpay** + * + * @param type + * @return the current {@code WeChatPayDetails} instance, allowing for method chaining + */ public WeChatPayDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **wechatpay** * @return type - **/ + */ @ApiModelProperty(value = "**wechatpay**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **wechatpay** - * - * @param type - */ + /** + * **wechatpay** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this WeChatPayDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java b/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java index f36246a81..ab44f0c2c 100644 --- a/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java +++ b/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java @@ -86,126 +86,138 @@ public static TypeEnum fromValue(String value) { public WeChatPayMiniProgramDetails() { } + /** + * appId + * + * @param appId + * @return the current {@code WeChatPayMiniProgramDetails} instance, allowing for method chaining + */ public WeChatPayMiniProgramDetails appId(String appId) { this.appId = appId; return this; } - /** - * Get appId + /** + * appId * @return appId - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAppId() { return appId; } - - /** - * appId - * - * @param appId - */ + /** + * appId + * + * @param appId + */ @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } - + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code WeChatPayMiniProgramDetails} instance, allowing for method chaining + */ public WeChatPayMiniProgramDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * openid + * + * @param openid + * @return the current {@code WeChatPayMiniProgramDetails} instance, allowing for method chaining + */ public WeChatPayMiniProgramDetails openid(String openid) { this.openid = openid; return this; } - /** - * Get openid + /** + * openid * @return openid - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OPENID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpenid() { return openid; } - - /** - * openid - * - * @param openid - */ + /** + * openid + * + * @param openid + */ @JsonProperty(JSON_PROPERTY_OPENID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpenid(String openid) { this.openid = openid; } - + /** + * **wechatpayMiniProgram** + * + * @param type + * @return the current {@code WeChatPayMiniProgramDetails} instance, allowing for method chaining + */ public WeChatPayMiniProgramDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **wechatpayMiniProgram** * @return type - **/ + */ @ApiModelProperty(value = "**wechatpayMiniProgram**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **wechatpayMiniProgram** - * - * @param type - */ + /** + * **wechatpayMiniProgram** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this WeChatPayMiniProgramDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/checkout/ZipDetails.java b/src/main/java/com/adyen/model/checkout/ZipDetails.java index 7392eb702..561405220 100644 --- a/src/main/java/com/adyen/model/checkout/ZipDetails.java +++ b/src/main/java/com/adyen/model/checkout/ZipDetails.java @@ -46,7 +46,7 @@ public class ZipDetails { private String clickAndCollect; public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; - @Deprecated + @Deprecated // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead. private String recurringDetailReference; public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId"; @@ -93,92 +93,110 @@ public static TypeEnum fromValue(String value) { public ZipDetails() { } + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + * @return the current {@code ZipDetails} instance, allowing for method chaining + */ public ZipDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; } - /** + /** * The checkout attempt identifier. * @return checkoutAttemptId - **/ + */ @ApiModelProperty(value = "The checkout attempt identifier.") @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutAttemptId() { return checkoutAttemptId; } - - /** - * The checkout attempt identifier. - * - * @param checkoutAttemptId - */ + /** + * The checkout attempt identifier. + * + * @param checkoutAttemptId + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; } - + /** + * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. + * + * @param clickAndCollect + * @return the current {@code ZipDetails} instance, allowing for method chaining + */ public ZipDetails clickAndCollect(String clickAndCollect) { this.clickAndCollect = clickAndCollect; return this; } - /** + /** * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. * @return clickAndCollect - **/ + */ @ApiModelProperty(value = "Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them.") @JsonProperty(JSON_PROPERTY_CLICK_AND_COLLECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClickAndCollect() { return clickAndCollect; } - - /** - * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. - * - * @param clickAndCollect - */ + /** + * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. + * + * @param clickAndCollect + */ @JsonProperty(JSON_PROPERTY_CLICK_AND_COLLECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClickAndCollect(String clickAndCollect) { this.clickAndCollect = clickAndCollect; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code ZipDetails} instance, allowing for method chaining + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated public ZipDetails recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - * @deprecated - **/ + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -186,67 +204,72 @@ public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code ZipDetails} instance, allowing for method chaining + */ public ZipDetails storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - + /** + * **zip** + * + * @param type + * @return the current {@code ZipDetails} instance, allowing for method chaining + */ public ZipDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * **zip** * @return type - **/ + */ @ApiModelProperty(value = "**zip**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **zip** - * - * @param type - */ + /** + * **zip** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ZipDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolder.java b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolder.java index c785b5953..619a4de61 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolder.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolder.java @@ -61,7 +61,7 @@ public class AccountHolder { private Map capabilities = null; public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails"; - @Deprecated + @Deprecated // deprecated private ContactDetails contactDetails; public static final String JSON_PROPERTY_DESCRIPTION = "description"; @@ -134,36 +134,45 @@ public static StatusEnum fromValue(String value) { public AccountHolder() { } + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. - * - * @param balancePlatform - */ + /** + * The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -177,57 +186,63 @@ public AccountHolder putCapabilitiesItem(String key, AccountHolderCapability cap return this; } - /** + /** * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * contactDetails + * + * @param contactDetails + * @return the current {@code AccountHolder} instance, allowing for method chaining + * + * @deprecated + */ @Deprecated public AccountHolder contactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; return this; } - /** - * Get contactDetails + /** + * contactDetails * @return contactDetails - * @deprecated - **/ + * + * @deprecated + */ @Deprecated @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContactDetails getContactDetails() { return contactDetails; } - - /** - * contactDetails - * - * @param contactDetails - */ + /** + * contactDetails + * + * @param contactDetails + * + * @deprecated + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONTACT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -235,97 +250,111 @@ public void setContactDetails(ContactDetails contactDetails) { this.contactDetails = contactDetails; } - + /** + * Your description for the account holder. + * + * @param description + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder description(String description) { this.description = description; return this; } - /** + /** * Your description for the account holder. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the account holder. - * - * @param description - */ + /** + * Your description for the account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the account holder. + * + * @param id + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the account holder. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the account holder.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the account holder. - * - * @param id - */ + /** + * The unique identifier of the account holder. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder metadata(Map metadata) { this.metadata = metadata; return this; @@ -339,181 +368,199 @@ public AccountHolder putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder migratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; return this; } - /** + /** * The unique identifier of the migrated account holder in the classic integration. * @return migratedAccountHolderCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountHolderCode() { return migratedAccountHolderCode; } - - /** - * The unique identifier of the migrated account holder in the classic integration. - * - * @param migratedAccountHolderCode - */ + /** + * The unique identifier of the migrated account holder in the classic integration. + * + * @param migratedAccountHolderCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_HOLDER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountHolderCode(String migratedAccountHolderCode) { this.migratedAccountHolderCode = migratedAccountHolderCode; } - + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder primaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; return this; } - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. * @return primaryBalanceAccount - **/ + */ @ApiModelProperty(value = "The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request.") @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPrimaryBalanceAccount() { return primaryBalanceAccount; } - - /** - * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. - * - * @param primaryBalanceAccount - */ + /** + * The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. + * + * @param primaryBalanceAccount + */ @JsonProperty(JSON_PROPERTY_PRIMARY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrimaryBalanceAccount(String primaryBalanceAccount) { this.primaryBalanceAccount = primaryBalanceAccount; } - + /** + * Your reference for the account holder. + * + * @param reference + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the account holder. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the account holder.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the account holder. - * - * @param reference - */ + /** + * Your reference for the account holder. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. * @return status - **/ + */ @ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. - * - * @param status - */ + /** + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + * @return the current {@code AccountHolder} instance, allowing for method chaining + */ public AccountHolder verificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; return this; @@ -527,31 +574,28 @@ public AccountHolder addVerificationDeadlinesItem(VerificationDeadline verificat return this; } - /** + /** * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. * @return verificationDeadlines - **/ + */ @ApiModelProperty(value = "List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.") @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationDeadlines() { return verificationDeadlines; } - - /** - * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. - * - * @param verificationDeadlines - */ + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; } - /** * Return true if this AccountHolder object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderCapability.java b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderCapability.java index 4201cdd37..141276c73 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderCapability.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderCapability.java @@ -199,126 +199,144 @@ public static VerificationStatusEnum fromValue(String value) { public AccountHolderCapability() { } + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. - * - * @param allowed - */ + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AllowedLevelEnum getAllowedLevel() { return allowedLevel; } - - /** - * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * allowedSettings + * + * @param allowedSettings + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability allowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; return this; } - /** - * Get allowedSettings + /** + * allowedSettings * @return allowedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getAllowedSettings() { return allowedSettings; } - - /** - * allowedSettings - * - * @param allowedSettings - */ + /** + * allowedSettings + * + * @param allowedSettings + */ @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; } - + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. - * - * @param enabled - */ + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * Contains verification errors and the actions that you can take to resolve them. + * + * @param problems + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability problems(List problems) { this.problems = problems; return this; @@ -332,121 +350,133 @@ public AccountHolderCapability addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * Contains verification errors and the actions that you can take to resolve them. * @return problems - **/ + */ @ApiModelProperty(value = "Contains verification errors and the actions that you can take to resolve them.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * Contains verification errors and the actions that you can take to resolve them. - * - * @param problems - */ + /** + * Contains verification errors and the actions that you can take to resolve them. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requested(Boolean requested) { this.requested = requested; return this; } - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. - * - * @param requested - */ + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(value = "The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestedLevelEnum getRequestedLevel() { return requestedLevel; } - - /** - * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * requestedSettings + * + * @param requestedSettings + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability requestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; return this; } - /** - * Get requestedSettings + /** + * requestedSettings * @return requestedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getRequestedSettings() { return requestedSettings; } - - /** - * requestedSettings - * - * @param requestedSettings - */ + /** + * requestedSettings + * + * @param requestedSettings + */ @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; } - + /** + * Contains the status of the transfer instruments associated with this capability. + * + * @param transferInstruments + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability transferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; return this; @@ -460,61 +490,61 @@ public AccountHolderCapability addTransferInstrumentsItem(AccountSupportingEntit return this; } - /** + /** * Contains the status of the transfer instruments associated with this capability. * @return transferInstruments - **/ + */ @ApiModelProperty(value = "Contains the status of the transfer instruments associated with this capability. ") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransferInstruments() { return transferInstruments; } - - /** - * Contains the status of the transfer instruments associated with this capability. - * - * @param transferInstruments - */ + /** + * Contains the status of the transfer instruments associated with this capability. + * + * @param transferInstruments + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; } - + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code AccountHolderCapability} instance, allowing for method chaining + */ public AccountHolderCapability verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this AccountHolderCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationData.java b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationData.java index 0f6115874..57d795166 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationData.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationData.java @@ -46,66 +46,72 @@ public class AccountHolderNotificationData { public AccountHolderNotificationData() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code AccountHolderNotificationData} instance, allowing for method chaining + */ public AccountHolderNotificationData accountHolder(AccountHolder accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountHolder getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(AccountHolder accountHolder) { this.accountHolder = accountHolder; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code AccountHolderNotificationData} instance, allowing for method chaining + */ public AccountHolderNotificationData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - /** * Return true if this AccountHolderNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationRequest.java b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationRequest.java index fb921ef7d..89b03e5a6 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationRequest.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/AccountHolderNotificationRequest.java @@ -85,96 +85,105 @@ public static TypeEnum fromValue(String value) { public AccountHolderNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code AccountHolderNotificationRequest} instance, allowing for method chaining + */ public AccountHolderNotificationRequest data(AccountHolderNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountHolderNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(AccountHolderNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code AccountHolderNotificationRequest} instance, allowing for method chaining + */ public AccountHolderNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of webhook. + * + * @param type + * @return the current {@code AccountHolderNotificationRequest} instance, allowing for method chaining + */ public AccountHolderNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of webhook. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of webhook. - * - * @param type - */ + /** + * Type of webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AccountHolderNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/AccountSupportingEntityCapability.java b/src/main/java/com/adyen/model/configurationwebhooks/AccountSupportingEntityCapability.java index aa392f65c..eabfddf95 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/AccountSupportingEntityCapability.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/AccountSupportingEntityCapability.java @@ -182,216 +182,237 @@ public static VerificationStatusEnum fromValue(String value) { public AccountSupportingEntityCapability() { } + /** + * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. - * - * @param allowed - */ + /** + * Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability allowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AllowedLevelEnum getAllowedLevel() { return allowedLevel; } - - /** - * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. - * - * @param enabled - */ + /** + * Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * The ID of the supporting entity. + * + * @param id + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability id(String id) { this.id = id; return this; } - /** + /** * The ID of the supporting entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the supporting entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the supporting entity. - * - * @param id - */ + /** + * The ID of the supporting entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability requested(Boolean requested) { this.requested = requested; return this; } - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. - * - * @param requested - */ + /** + * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability requestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(value = "The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestedLevelEnum getRequestedLevel() { return requestedLevel; } - - /** - * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code AccountSupportingEntityCapability} instance, allowing for method chaining + */ public AccountSupportingEntityCapability verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this AccountSupportingEntityCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Address.java b/src/main/java/com/adyen/model/configurationwebhooks/Address.java index 2fc5c3d2f..fed11a42e 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Address.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Amount.java b/src/main/java/com/adyen/model/configurationwebhooks/Amount.java index 97eb9bdc7..e512923fa 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Amount.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Authentication.java b/src/main/java/com/adyen/model/configurationwebhooks/Authentication.java index aaef2f9a3..b535d6ba3 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Authentication.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Authentication.java @@ -50,96 +50,105 @@ public class Authentication { public Authentication() { } + /** + * The email address where the one-time password (OTP) is sent. + * + * @param email + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication email(String email) { this.email = email; return this; } - /** + /** * The email address where the one-time password (OTP) is sent. * @return email - **/ + */ @ApiModelProperty(value = "The email address where the one-time password (OTP) is sent.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address where the one-time password (OTP) is sent. - * - * @param email - */ + /** + * The email address where the one-time password (OTP) is sent. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + * + * @param password + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication password(String password) { this.password = password; return this; } - /** - * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** * @return password - **/ + */ @ApiModelProperty(value = "The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó**") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** - * - * @param password - */ + /** + * The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó** + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * phone + * + * @param phone + * @return the current {@code Authentication} instance, allowing for method chaining + */ public Authentication phone(Phone phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(Phone phone) { this.phone = phone; } - /** * Return true if this Authentication object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Balance.java b/src/main/java/com/adyen/model/configurationwebhooks/Balance.java index ea9994ee7..2e6fef3fb 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Balance.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Balance.java @@ -57,156 +57,171 @@ public class Balance { public Balance() { } + /** + * The current balance minus any reserved balance. + * + * @param available + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance available(Long available) { this.available = available; return this; } - /** + /** * The current balance minus any reserved balance. * @return available - **/ + */ @ApiModelProperty(required = true, value = "The current balance minus any reserved balance.") @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getAvailable() { return available; } - - /** - * The current balance minus any reserved balance. - * - * @param available - */ + /** + * The current balance minus any reserved balance. + * + * @param available + */ @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvailable(Long available) { this.available = available; } - + /** + * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. + * + * @param balance + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance balance(Long balance) { this.balance = balance; return this; } - /** + /** * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. * @return balance - **/ + */ @ApiModelProperty(required = true, value = "The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out.") @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getBalance() { return balance; } - - /** - * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. - * - * @param balance - */ + /** + * The current balance of funds in the balance account. These are the funds from all transactions with a value date in the past that have not yet been paid out. + * + * @param balance + */ @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalance(Long balance) { this.balance = balance; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. + * + * @param currency + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). + * + * @param pending + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance pending(Long pending) { this.pending = pending; return this; } - /** + /** * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). * @return pending - **/ + */ @ApiModelProperty(value = "The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds).") @JsonProperty(JSON_PROPERTY_PENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getPending() { return pending; } - - /** - * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). - * - * @param pending - */ + /** + * The amount of funds that Adyen has processed for this account, but will be settled in a future date. For more information, see how to settle funds for users in your [platform](https://docs.adyen.com/platforms/settle-funds) and [marketplace](https://docs.adyen.com/marketplaces/settle-funds). + * + * @param pending + */ @JsonProperty(JSON_PROPERTY_PENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPending(Long pending) { this.pending = pending; } - + /** + * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). + * + * @param reserved + * @return the current {@code Balance} instance, allowing for method chaining + */ public Balance reserved(Long reserved) { this.reserved = reserved; return this; } - /** + /** * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). * @return reserved - **/ + */ @ApiModelProperty(required = true, value = "The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing).") @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReserved() { return reserved; } - - /** - * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). - * - * @param reserved - */ + /** + * The amount reserved for payments that have been [authorised](https://docs.adyen.com/issuing/payment-stages/#authorised), but not yet [captured](https://docs.adyen.com/issuing/payment-stages/#captured) by the merchant. Applies only to [Adyen-issued cards](https://docs.adyen.com/issuing). + * + * @param reserved + */ @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReserved(Long reserved) { this.reserved = reserved; } - /** * Return true if this Balance object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccount.java b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccount.java index 6afcb3628..0dad36d2d 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccount.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccount.java @@ -126,36 +126,45 @@ public static StatusEnum fromValue(String value) { public BalanceAccount() { } + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** + /** * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. * @return accountHolderId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. - * - * @param accountHolderId - */ + /** + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * List of balances with the amount and currency. + * + * @param balances + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount balances(List balances) { this.balances = balances; return this; @@ -169,121 +178,133 @@ public BalanceAccount addBalancesItem(Balance balancesItem) { return this; } - /** + /** * List of balances with the amount and currency. * @return balances - **/ + */ @ApiModelProperty(value = "List of balances with the amount and currency.") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalances() { return balances; } - - /** - * List of balances with the amount and currency. - * - * @param balances - */ + /** + * List of balances with the amount and currency. + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(List balances) { this.balances = balances; } - + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount defaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; return this; } - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. * @return defaultCurrencyCode - **/ + */ @ApiModelProperty(value = "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.") @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefaultCurrencyCode() { return defaultCurrencyCode; } - - /** - * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. - * - * @param defaultCurrencyCode - */ + /** + * The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency. + * + * @param defaultCurrencyCode + */ @JsonProperty(JSON_PROPERTY_DEFAULT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultCurrencyCode(String defaultCurrencyCode) { this.defaultCurrencyCode = defaultCurrencyCode; } - + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount description(String description) { this.description = description; return this; } - /** + /** * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. * @return description - **/ + */ @ApiModelProperty(value = "A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. - * - * @param description - */ + /** + * A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the balance account. + * + * @param id + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the balance account. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the balance account. - * - * @param id - */ + /** + * The unique identifier of the balance account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount metadata(Map metadata) { this.metadata = metadata; return this; @@ -297,181 +318,193 @@ public BalanceAccount putMetadataItem(String key, String metadataItem) { return this; } - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. * @return metadata - **/ + */ @ApiModelProperty(value = "A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. - * - * @param metadata - */ + /** + * A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount migratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; return this; } - /** + /** * The unique identifier of the account of the migrated account holder in the classic integration. * @return migratedAccountCode - **/ + */ @ApiModelProperty(value = "The unique identifier of the account of the migrated account holder in the classic integration.") @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMigratedAccountCode() { return migratedAccountCode; } - - /** - * The unique identifier of the account of the migrated account holder in the classic integration. - * - * @param migratedAccountCode - */ + /** + * The unique identifier of the account of the migrated account holder in the classic integration. + * + * @param migratedAccountCode + */ @JsonProperty(JSON_PROPERTY_MIGRATED_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMigratedAccountCode(String migratedAccountCode) { this.migratedAccountCode = migratedAccountCode; } - + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount platformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; return this; } - /** - * Get platformPaymentConfiguration + /** + * platformPaymentConfiguration * @return platformPaymentConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentConfiguration getPlatformPaymentConfiguration() { return platformPaymentConfiguration; } - - /** - * platformPaymentConfiguration - * - * @param platformPaymentConfiguration - */ + /** + * platformPaymentConfiguration + * + * @param platformPaymentConfiguration + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentConfiguration(PlatformPaymentConfiguration platformPaymentConfiguration) { this.platformPaymentConfiguration = platformPaymentConfiguration; } - + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the balance account, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the balance account, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the balance account, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the balance account, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the balance account, set to **active** by default. + * + * @param status + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the balance account, set to **active** by default. * @return status - **/ + */ @ApiModelProperty(value = "The status of the balance account, set to **active** by default. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the balance account, set to **active** by default. - * - * @param status - */ + /** + * The status of the balance account, set to **active** by default. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + * @return the current {@code BalanceAccount} instance, allowing for method chaining + */ public BalanceAccount timeZone(String timeZone) { this.timeZone = timeZone; return this; } - /** + /** * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). * @return timeZone - **/ + */ @ApiModelProperty(value = "The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).") @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZone() { return timeZone; } - - /** - * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - * - * @param timeZone - */ + /** + * The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + * + * @param timeZone + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZone(String timeZone) { this.timeZone = timeZone; } - /** * Return true if this BalanceAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationData.java b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationData.java index e6ffd75f8..7eb441c32 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationData.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationData.java @@ -46,66 +46,72 @@ public class BalanceAccountNotificationData { public BalanceAccountNotificationData() { } + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code BalanceAccountNotificationData} instance, allowing for method chaining + */ public BalanceAccountNotificationData balanceAccount(BalanceAccount balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BalanceAccount getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(BalanceAccount balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code BalanceAccountNotificationData} instance, allowing for method chaining + */ public BalanceAccountNotificationData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - /** * Return true if this BalanceAccountNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationRequest.java b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationRequest.java index b34a6b3c4..801ad4f0f 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationRequest.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BalanceAccountNotificationRequest.java @@ -85,96 +85,105 @@ public static TypeEnum fromValue(String value) { public BalanceAccountNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code BalanceAccountNotificationRequest} instance, allowing for method chaining + */ public BalanceAccountNotificationRequest data(BalanceAccountNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BalanceAccountNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(BalanceAccountNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code BalanceAccountNotificationRequest} instance, allowing for method chaining + */ public BalanceAccountNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of webhook. + * + * @param type + * @return the current {@code BalanceAccountNotificationRequest} instance, allowing for method chaining + */ public BalanceAccountNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of webhook. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of webhook. - * - * @param type - */ + /** + * Type of webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BalanceAccountNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BalancePlatformNotificationResponse.java b/src/main/java/com/adyen/model/configurationwebhooks/BalancePlatformNotificationResponse.java index 844574281..ac65842ea 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BalancePlatformNotificationResponse.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BalancePlatformNotificationResponse.java @@ -41,36 +41,39 @@ public class BalancePlatformNotificationResponse { public BalancePlatformNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code BalancePlatformNotificationResponse} instance, allowing for method chaining + */ public BalancePlatformNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this BalancePlatformNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BankAccountDetails.java b/src/main/java/com/adyen/model/configurationwebhooks/BankAccountDetails.java index 902affe67..f4b42637f 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BankAccountDetails.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BankAccountDetails.java @@ -33,6 +33,7 @@ @JsonPropertyOrder({ BankAccountDetails.JSON_PROPERTY_ACCOUNT_NUMBER, BankAccountDetails.JSON_PROPERTY_ACCOUNT_TYPE, + BankAccountDetails.JSON_PROPERTY_BRANCH_NUMBER, BankAccountDetails.JSON_PROPERTY_FORM_FACTOR, BankAccountDetails.JSON_PROPERTY_IBAN, BankAccountDetails.JSON_PROPERTY_ROUTING_NUMBER, @@ -47,6 +48,9 @@ public class BankAccountDetails { public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; private String accountType; + public static final String JSON_PROPERTY_BRANCH_NUMBER = "branchNumber"; + private String branchNumber; + public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; private String formFactor; @@ -65,216 +69,270 @@ public class BankAccountDetails { public BankAccountDetails() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails accountType(String accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(String accountType) { this.accountType = accountType; } + /** + * The bank account branch number, without separators or whitespace + * + * @param branchNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ + public BankAccountDetails branchNumber(String branchNumber) { + this.branchNumber = branchNumber; + return this; + } + + /** + * The bank account branch number, without separators or whitespace + * @return branchNumber + */ + @ApiModelProperty(value = "The bank account branch number, without separators or whitespace") + @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBranchNumber() { + return branchNumber; + } + + /** + * The bank account branch number, without separators or whitespace + * + * @param branchNumber + */ + @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBranchNumber(String branchNumber) { + this.branchNumber = branchNumber; + } + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails formFactor(String formFactor) { this.formFactor = formFactor; return this; } - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor - **/ + */ @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFormFactor() { return formFactor; } - - /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. - * - * @param formFactor - */ + /** + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(String formFactor) { this.formFactor = formFactor; } - + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(value = "The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(value = "The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **iban** or **usLocal** or **ukLocal** + * + * @param type + * @return the current {@code BankAccountDetails} instance, allowing for method chaining + */ public BankAccountDetails type(String type) { this.type = type; return this; } - /** + /** * **iban** or **usLocal** or **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban** or **usLocal** or **ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * **iban** or **usLocal** or **ukLocal** - * - * @param type - */ + /** + * **iban** or **usLocal** or **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this BankAccountDetails object is equal to o. */ @@ -289,6 +347,7 @@ public boolean equals(Object o) { BankAccountDetails bankAccountDetails = (BankAccountDetails) o; return Objects.equals(this.accountNumber, bankAccountDetails.accountNumber) && Objects.equals(this.accountType, bankAccountDetails.accountType) && + Objects.equals(this.branchNumber, bankAccountDetails.branchNumber) && Objects.equals(this.formFactor, bankAccountDetails.formFactor) && Objects.equals(this.iban, bankAccountDetails.iban) && Objects.equals(this.routingNumber, bankAccountDetails.routingNumber) && @@ -298,7 +357,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountNumber, accountType, formFactor, iban, routingNumber, sortCode, type); + return Objects.hash(accountNumber, accountType, branchNumber, formFactor, iban, routingNumber, sortCode, type); } @Override @@ -307,6 +366,7 @@ public String toString() { sb.append("class BankAccountDetails {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + sb.append(" branchNumber: ").append(toIndentedString(branchNumber)).append("\n"); sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); diff --git a/src/main/java/com/adyen/model/configurationwebhooks/BulkAddress.java b/src/main/java/com/adyen/model/configurationwebhooks/BulkAddress.java index 2f0ba0141..7e2037ef2 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/BulkAddress.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/BulkAddress.java @@ -73,276 +73,303 @@ public class BulkAddress { public BulkAddress() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The name of the company. + * + * @param company + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress company(String company) { this.company = company; return this; } - /** + /** * The name of the company. * @return company - **/ + */ @ApiModelProperty(value = "The name of the company.") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompany() { return company; } - - /** - * The name of the company. - * - * @param company - */ + /** + * The name of the company. + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(String company) { this.company = company; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. + * + * @param country + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress country(String country) { this.country = country; return this; } - /** + /** * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The email address. + * + * @param email + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress email(String email) { this.email = email; return this; } - /** + /** * The email address. * @return email - **/ + */ @ApiModelProperty(value = "The email address.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address. - * - * @param email - */ + /** + * The email address. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The house number or name. + * + * @param houseNumberOrName + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The house number or name. * @return houseNumberOrName - **/ + */ @ApiModelProperty(value = "The house number or name.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The house number or name. - * - * @param houseNumberOrName - */ + /** + * The house number or name. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * The full telephone number. + * + * @param mobile + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress mobile(String mobile) { this.mobile = mobile; return this; } - /** + /** * The full telephone number. * @return mobile - **/ + */ @ApiModelProperty(value = "The full telephone number.") @JsonProperty(JSON_PROPERTY_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMobile() { return mobile; } - - /** - * The full telephone number. - * - * @param mobile - */ + /** + * The full telephone number. + * + * @param mobile + */ @JsonProperty(JSON_PROPERTY_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobile(String mobile) { this.mobile = mobile; } - + /** + * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. + * + * @param postalCode + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. + * + * @param stateOrProvince + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** + /** * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The streetname of the house. + * + * @param street + * @return the current {@code BulkAddress} instance, allowing for method chaining + */ public BulkAddress street(String street) { this.street = street; return this; } - /** + /** * The streetname of the house. * @return street - **/ + */ @ApiModelProperty(value = "The streetname of the house.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The streetname of the house. - * - * @param street - */ + /** + * The streetname of the house. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this BulkAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblem.java b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblem.java index 9ebd231eb..470f57804 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblem.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblem.java @@ -49,36 +49,45 @@ public class CapabilityProblem { public CapabilityProblem() { } + /** + * entity + * + * @param entity + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem entity(CapabilityProblemEntity entity) { this.entity = entity; return this; } - /** - * Get entity + /** + * entity * @return entity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntity getEntity() { return entity; } - - /** - * entity - * - * @param entity - */ + /** + * entity + * + * @param entity + */ @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntity(CapabilityProblemEntity entity) { this.entity = entity; } - + /** + * Contains information about the verification error. + * + * @param verificationErrors + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem verificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; return this; @@ -92,31 +101,28 @@ public CapabilityProblem addVerificationErrorsItem(VerificationError verificatio return this; } - /** + /** * Contains information about the verification error. * @return verificationErrors - **/ + */ @ApiModelProperty(value = "Contains information about the verification error.") @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationErrors() { return verificationErrors; } - - /** - * Contains information about the verification error. - * - * @param verificationErrors - */ + /** + * Contains information about the verification error. + * + * @param verificationErrors + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; } - /** * Return true if this CapabilityProblem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntity.java b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntity.java index 24ffbd73d..e8990c18a 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntity.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntity.java @@ -93,6 +93,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntity() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity documents(List documents) { this.documents = documents; return this; @@ -106,121 +112,127 @@ public CapabilityProblemEntity addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * owner + * + * @param owner + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity owner(CapabilityProblemEntityRecursive owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * owner * @return owner - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntityRecursive getOwner() { return owner; } - - /** - * owner - * - * @param owner - */ + /** + * owner + * + * @param owner + */ @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwner(CapabilityProblemEntityRecursive owner) { this.owner = owner; } - + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. * @return type - **/ + */ @ApiModelProperty(value = "Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - * - * @param type - */ + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntityRecursive.java b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntityRecursive.java index 0e487429f..3d276b0bf 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntityRecursive.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CapabilityProblemEntityRecursive.java @@ -89,6 +89,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntityRecursive() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive documents(List documents) { this.documents = documents; return this; @@ -102,91 +108,94 @@ public CapabilityProblemEntityRecursive addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. * @return type - **/ + */ @ApiModelProperty(value = "Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - * - * @param type - */ + /** + * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CapabilitySettings.java b/src/main/java/com/adyen/model/configurationwebhooks/CapabilitySettings.java index 207e4f7da..2efe60ebb 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CapabilitySettings.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CapabilitySettings.java @@ -136,6 +136,12 @@ public static IntervalEnum fromValue(String value) { public CapabilitySettings() { } + /** + * + * + * @param amountPerIndustry + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings amountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; return this; @@ -149,61 +155,67 @@ public CapabilitySettings putAmountPerIndustryItem(String key, Amount amountPerI return this; } - /** + /** * * @return amountPerIndustry - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAmountPerIndustry() { return amountPerIndustry; } - - /** - * - * - * @param amountPerIndustry - */ + /** + * + * + * @param amountPerIndustry + */ @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; } - + /** + * + * + * @param authorizedCardUsers + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings authorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; return this; } - /** + /** * * @return authorizedCardUsers - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthorizedCardUsers() { return authorizedCardUsers; } - - /** - * - * - * @param authorizedCardUsers - */ + /** + * + * + * @param authorizedCardUsers + */ @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; } - + /** + * + * + * @param fundingSource + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings fundingSource(List fundingSource) { this.fundingSource = fundingSource; return this; @@ -217,91 +229,94 @@ public CapabilitySettings addFundingSourceItem(FundingSourceEnum fundingSourceIt return this; } - /** + /** * * @return fundingSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFundingSource() { return fundingSource; } - - /** - * - * - * @param fundingSource - */ + /** + * + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(List fundingSource) { this.fundingSource = fundingSource; } - + /** + * + * + * @param interval + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings interval(IntervalEnum interval) { this.interval = interval; return this; } - /** + /** * * @return interval - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IntervalEnum getInterval() { return interval; } - - /** - * - * - * @param interval - */ + /** + * + * + * @param interval + */ @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterval(IntervalEnum interval) { this.interval = interval; } - + /** + * maxAmount + * + * @param maxAmount + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings maxAmount(Amount maxAmount) { this.maxAmount = maxAmount; return this; } - /** - * Get maxAmount + /** + * maxAmount * @return maxAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getMaxAmount() { return maxAmount; } - - /** - * maxAmount - * - * @param maxAmount - */ + /** + * maxAmount + * + * @param maxAmount + */ @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxAmount(Amount maxAmount) { this.maxAmount = maxAmount; } - /** * Return true if this CapabilitySettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Card.java b/src/main/java/com/adyen/model/configurationwebhooks/Card.java index 8f133728a..e70e98c20 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Card.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Card.java @@ -130,396 +130,435 @@ public static FormFactorEnum fromValue(String value) { public Card() { } + /** + * authentication + * + * @param authentication + * @return the current {@code Card} instance, allowing for method chaining + */ public Card authentication(Authentication authentication) { this.authentication = authentication; return this; } - /** - * Get authentication + /** + * authentication * @return authentication - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Authentication getAuthentication() { return authentication; } - - /** - * authentication - * - * @param authentication - */ + /** + * authentication + * + * @param authentication + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthentication(Authentication authentication) { this.authentication = authentication; } - + /** + * The bank identification number (BIN) of the card number. + * + * @param bin + * @return the current {@code Card} instance, allowing for method chaining + */ public Card bin(String bin) { this.bin = bin; return this; } - /** + /** * The bank identification number (BIN) of the card number. * @return bin - **/ + */ @ApiModelProperty(value = "The bank identification number (BIN) of the card number.") @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBin() { return bin; } - - /** - * The bank identification number (BIN) of the card number. - * - * @param bin - */ + /** + * The bank identification number (BIN) of the card number. + * + * @param bin + */ @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBin(String bin) { this.bin = bin; } - + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + * @return the current {@code Card} instance, allowing for method chaining + */ public Card brand(String brand) { this.brand = brand; return this; } - /** + /** * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. * @return brand - **/ + */ @ApiModelProperty(required = true, value = "The brand of the physical or the virtual card. Possible values: **visa**, **mc**.") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. - * - * @param brand - */ + /** + * The brand of the physical or the virtual card. Possible values: **visa**, **mc**. + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + * @return the current {@code Card} instance, allowing for method chaining + */ public Card brandVariant(String brandVariant) { this.brandVariant = brandVariant; return this; } - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return brandVariant - **/ + */ @ApiModelProperty(required = true, value = "The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrandVariant() { return brandVariant; } - - /** - * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param brandVariant - */ + /** + * The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param brandVariant + */ @JsonProperty(JSON_PROPERTY_BRAND_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrandVariant(String brandVariant) { this.brandVariant = brandVariant; } - + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardholderName(String cardholderName) { this.cardholderName = cardholderName; return this; } - /** + /** * The name of the cardholder. Maximum length: 26 characters. * @return cardholderName - **/ + */ @ApiModelProperty(required = true, value = "The name of the cardholder. Maximum length: 26 characters.") @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardholderName() { return cardholderName; } - - /** - * The name of the cardholder. Maximum length: 26 characters. - * - * @param cardholderName - */ + /** + * The name of the cardholder. Maximum length: 26 characters. + * + * @param cardholderName + */ @JsonProperty(JSON_PROPERTY_CARDHOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardholderName(String cardholderName) { this.cardholderName = cardholderName; } - + /** + * configuration + * + * @param configuration + * @return the current {@code Card} instance, allowing for method chaining + */ public Card configuration(CardConfiguration configuration) { this.configuration = configuration; return this; } - /** - * Get configuration + /** + * configuration * @return configuration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardConfiguration getConfiguration() { return configuration; } - - /** - * configuration - * - * @param configuration - */ + /** + * configuration + * + * @param configuration + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfiguration(CardConfiguration configuration) { this.configuration = configuration; } - + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. * @return cvc - **/ + */ @ApiModelProperty(value = "The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. - * - * @param cvc - */ + /** + * The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * deliveryContact + * + * @param deliveryContact + * @return the current {@code Card} instance, allowing for method chaining + */ public Card deliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; return this; } - /** - * Get deliveryContact + /** + * deliveryContact * @return deliveryContact - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryContact getDeliveryContact() { return deliveryContact; } - - /** - * deliveryContact - * - * @param deliveryContact - */ + /** + * deliveryContact + * + * @param deliveryContact + */ @JsonProperty(JSON_PROPERTY_DELIVERY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryContact(DeliveryContact deliveryContact) { this.deliveryContact = deliveryContact; } - + /** + * expiration + * + * @param expiration + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiration(Expiry expiration) { this.expiration = expiration; return this; } - /** - * Get expiration + /** + * expiration * @return expiration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Expiry getExpiration() { return expiration; } - - /** - * expiration - * - * @param expiration - */ + /** + * expiration + * + * @param expiration + */ @JsonProperty(JSON_PROPERTY_EXPIRATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiration(Expiry expiration) { this.expiration = expiration; } - + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + * @return the current {@code Card} instance, allowing for method chaining + */ public Card formFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; return this; } - /** + /** * The form factor of the card. Possible values: **virtual**, **physical**. * @return formFactor - **/ + */ @ApiModelProperty(required = true, value = "The form factor of the card. Possible values: **virtual**, **physical**.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FormFactorEnum getFormFactor() { return formFactor; } - - /** - * The form factor of the card. Possible values: **virtual**, **physical**. - * - * @param formFactor - */ + /** + * The form factor of the card. Possible values: **virtual**, **physical**. + * + * @param formFactor + */ @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFormFactor(FormFactorEnum formFactor) { this.formFactor = formFactor; } - + /** + * Last last four digits of the card number. + * + * @param lastFour + * @return the current {@code Card} instance, allowing for method chaining + */ public Card lastFour(String lastFour) { this.lastFour = lastFour; return this; } - /** + /** * Last last four digits of the card number. * @return lastFour - **/ + */ @ApiModelProperty(value = "Last last four digits of the card number.") @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastFour() { return lastFour; } - - /** - * Last last four digits of the card number. - * - * @param lastFour - */ + /** + * Last last four digits of the card number. + * + * @param lastFour + */ @JsonProperty(JSON_PROPERTY_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastFour(String lastFour) { this.lastFour = lastFour; } - + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** - * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. * @return number - **/ + */ @ApiModelProperty(required = true, value = "The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. - * - * @param number - */ + /** + * The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + * @return the current {@code Card} instance, allowing for method chaining + */ public Card threeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; return this; } - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. * @return threeDSecure - **/ + */ @ApiModelProperty(value = "Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.") @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSecure() { return threeDSecure; } - - /** - * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. - * - * @param threeDSecure - */ + /** + * Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration. + * + * @param threeDSecure + */ @JsonProperty(JSON_PROPERTY_THREE_D_SECURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSecure(String threeDSecure) { this.threeDSecure = threeDSecure; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CardConfiguration.java b/src/main/java/com/adyen/model/configurationwebhooks/CardConfiguration.java index 082c69ecc..ca0560e50 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CardConfiguration.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CardConfiguration.java @@ -94,426 +94,468 @@ public class CardConfiguration { public CardConfiguration() { } + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + * + * @param activation + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration activation(String activation) { this.activation = activation; return this; } - /** - * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. * @return activation - **/ + */ @ApiModelProperty(value = "Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.") @JsonProperty(JSON_PROPERTY_ACTIVATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getActivation() { return activation; } - - /** - * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. - * - * @param activation - */ + /** + * Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. + * + * @param activation + */ @JsonProperty(JSON_PROPERTY_ACTIVATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActivation(String activation) { this.activation = activation; } - + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + * + * @param activationUrl + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration activationUrl(String activationUrl) { this.activationUrl = activationUrl; return this; } - /** - * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. * @return activationUrl - **/ + */ @ApiModelProperty(value = "Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.") @JsonProperty(JSON_PROPERTY_ACTIVATION_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getActivationUrl() { return activationUrl; } - - /** - * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. - * - * @param activationUrl - */ + /** + * Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters. + * + * @param activationUrl + */ @JsonProperty(JSON_PROPERTY_ACTIVATION_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActivationUrl(String activationUrl) { this.activationUrl = activationUrl; } - + /** + * bulkAddress + * + * @param bulkAddress + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration bulkAddress(BulkAddress bulkAddress) { this.bulkAddress = bulkAddress; return this; } - /** - * Get bulkAddress + /** + * bulkAddress * @return bulkAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BULK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BulkAddress getBulkAddress() { return bulkAddress; } - - /** - * bulkAddress - * - * @param bulkAddress - */ + /** + * bulkAddress + * + * @param bulkAddress + */ @JsonProperty(JSON_PROPERTY_BULK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBulkAddress(BulkAddress bulkAddress) { this.bulkAddress = bulkAddress; } - + /** + * The ID of the card image. This is the image that will be printed on the full front of the card. + * + * @param cardImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration cardImageId(String cardImageId) { this.cardImageId = cardImageId; return this; } - /** + /** * The ID of the card image. This is the image that will be printed on the full front of the card. * @return cardImageId - **/ + */ @ApiModelProperty(value = "The ID of the card image. This is the image that will be printed on the full front of the card.") @JsonProperty(JSON_PROPERTY_CARD_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardImageId() { return cardImageId; } - - /** - * The ID of the card image. This is the image that will be printed on the full front of the card. - * - * @param cardImageId - */ + /** + * The ID of the card image. This is the image that will be printed on the full front of the card. + * + * @param cardImageId + */ @JsonProperty(JSON_PROPERTY_CARD_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardImageId(String cardImageId) { this.cardImageId = cardImageId; } - + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + * + * @param carrier + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration carrier(String carrier) { this.carrier = carrier; return this; } - /** - * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. * @return carrier - **/ + */ @ApiModelProperty(value = "Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.") @JsonProperty(JSON_PROPERTY_CARRIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarrier() { return carrier; } - - /** - * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. - * - * @param carrier - */ + /** + * Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. + * + * @param carrier + */ @JsonProperty(JSON_PROPERTY_CARRIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarrier(String carrier) { this.carrier = carrier; } - + /** + * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. + * + * @param carrierImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration carrierImageId(String carrierImageId) { this.carrierImageId = carrierImageId; return this; } - /** + /** * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. * @return carrierImageId - **/ + */ @ApiModelProperty(value = "The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.") @JsonProperty(JSON_PROPERTY_CARRIER_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarrierImageId() { return carrierImageId; } - - /** - * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. - * - * @param carrierImageId - */ + /** + * The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. + * + * @param carrierImageId + */ @JsonProperty(JSON_PROPERTY_CARRIER_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarrierImageId(String carrierImageId) { this.carrierImageId = carrierImageId; } - + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + * + * @param configurationProfileId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration configurationProfileId(String configurationProfileId) { this.configurationProfileId = configurationProfileId; return this; } - /** - * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. * @return configurationProfileId - **/ + */ @ApiModelProperty(required = true, value = "The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.") @JsonProperty(JSON_PROPERTY_CONFIGURATION_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConfigurationProfileId() { return configurationProfileId; } - - /** - * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. - * - * @param configurationProfileId - */ + /** + * The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile. + * + * @param configurationProfileId + */ @JsonProperty(JSON_PROPERTY_CONFIGURATION_PROFILE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfigurationProfileId(String configurationProfileId) { this.configurationProfileId = configurationProfileId; } - + /** + * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. + * + * @param currency + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. * @return currency - **/ + */ @ApiModelProperty(value = "The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. - * - * @param currency - */ + /** + * The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. + * + * @param envelope + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration envelope(String envelope) { this.envelope = envelope; return this; } - /** - * Overrides the envelope design ID defined in the `configurationProfileId`. + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. * @return envelope - **/ + */ @ApiModelProperty(value = "Overrides the envelope design ID defined in the `configurationProfileId`. ") @JsonProperty(JSON_PROPERTY_ENVELOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvelope() { return envelope; } - - /** - * Overrides the envelope design ID defined in the `configurationProfileId`. - * - * @param envelope - */ + /** + * Overrides the envelope design ID defined in the `configurationProfileId`. + * + * @param envelope + */ @JsonProperty(JSON_PROPERTY_ENVELOPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvelope(String envelope) { this.envelope = envelope; } - + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + * + * @param insert + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration insert(String insert) { this.insert = insert; return this; } - /** - * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. * @return insert - **/ + */ @ApiModelProperty(value = "Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.") @JsonProperty(JSON_PROPERTY_INSERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInsert() { return insert; } - - /** - * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. - * - * @param insert - */ + /** + * Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. + * + * @param insert + */ @JsonProperty(JSON_PROPERTY_INSERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInsert(String insert) { this.insert = insert; } - + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. + * + * @param language + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration language(String language) { this.language = language; return this; } - /** + /** * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. * @return language - **/ + */ @ApiModelProperty(value = "The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. - * - * @param language - */ + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. + * + * @param logoImageId + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration logoImageId(String logoImageId) { this.logoImageId = logoImageId; return this; } - /** + /** * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. * @return logoImageId - **/ + */ @ApiModelProperty(value = "The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.") @JsonProperty(JSON_PROPERTY_LOGO_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogoImageId() { return logoImageId; } - - /** - * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. - * - * @param logoImageId - */ + /** + * The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. + * + * @param logoImageId + */ @JsonProperty(JSON_PROPERTY_LOGO_IMAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogoImageId(String logoImageId) { this.logoImageId = logoImageId; } - + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + * + * @param pinMailer + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration pinMailer(String pinMailer) { this.pinMailer = pinMailer; return this; } - /** - * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. * @return pinMailer - **/ + */ @ApiModelProperty(value = "Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.") @JsonProperty(JSON_PROPERTY_PIN_MAILER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPinMailer() { return pinMailer; } - - /** - * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. - * - * @param pinMailer - */ + /** + * Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. + * + * @param pinMailer + */ @JsonProperty(JSON_PROPERTY_PIN_MAILER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPinMailer(String pinMailer) { this.pinMailer = pinMailer; } - + /** + * Overrides the logistics company defined in the `configurationProfileId`. + * + * @param shipmentMethod + * @return the current {@code CardConfiguration} instance, allowing for method chaining + */ public CardConfiguration shipmentMethod(String shipmentMethod) { this.shipmentMethod = shipmentMethod; return this; } - /** - * Overrides the logistics company defined in the `configurationProfileId`. + /** + * Overrides the logistics company defined in the `configurationProfileId`. * @return shipmentMethod - **/ + */ @ApiModelProperty(value = "Overrides the logistics company defined in the `configurationProfileId`.") @JsonProperty(JSON_PROPERTY_SHIPMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipmentMethod() { return shipmentMethod; } - - /** - * Overrides the logistics company defined in the `configurationProfileId`. - * - * @param shipmentMethod - */ + /** + * Overrides the logistics company defined in the `configurationProfileId`. + * + * @param shipmentMethod + */ @JsonProperty(JSON_PROPERTY_SHIPMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipmentMethod(String shipmentMethod) { this.shipmentMethod = shipmentMethod; } - /** * Return true if this CardConfiguration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItem.java b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItem.java index 8890de356..e9e6849db 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItem.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItem.java @@ -71,246 +71,270 @@ public class CardOrderItem { public CardOrderItem() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * card + * + * @param card + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem card(CardOrderItemDeliveryStatus card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardOrderItemDeliveryStatus getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(CardOrderItemDeliveryStatus card) { this.card = card; } - + /** + * The unique identifier of the card order item. + * + * @param cardOrderItemId + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem cardOrderItemId(String cardOrderItemId) { this.cardOrderItemId = cardOrderItemId; return this; } - /** + /** * The unique identifier of the card order item. * @return cardOrderItemId - **/ + */ @ApiModelProperty(value = "The unique identifier of the card order item.") @JsonProperty(JSON_PROPERTY_CARD_ORDER_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardOrderItemId() { return cardOrderItemId; } - - /** - * The unique identifier of the card order item. - * - * @param cardOrderItemId - */ + /** + * The unique identifier of the card order item. + * + * @param cardOrderItemId + */ @JsonProperty(JSON_PROPERTY_CARD_ORDER_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardOrderItemId(String cardOrderItemId) { this.cardOrderItemId = cardOrderItemId; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the payment instrument related to the card order item. + * + * @param paymentInstrumentId + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the payment instrument related to the card order item. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the payment instrument related to the card order item.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the payment instrument related to the card order item. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the payment instrument related to the card order item. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * pin + * + * @param pin + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem pin(CardOrderItemDeliveryStatus pin) { this.pin = pin; return this; } - /** - * Get pin + /** + * pin * @return pin - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardOrderItemDeliveryStatus getPin() { return pin; } - - /** - * pin - * - * @param pin - */ + /** + * pin + * + * @param pin + */ @JsonProperty(JSON_PROPERTY_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPin(CardOrderItemDeliveryStatus pin) { this.pin = pin; } - + /** + * The shipping method used to deliver the card or the PIN. + * + * @param shippingMethod + * @return the current {@code CardOrderItem} instance, allowing for method chaining + */ public CardOrderItem shippingMethod(String shippingMethod) { this.shippingMethod = shippingMethod; return this; } - /** + /** * The shipping method used to deliver the card or the PIN. * @return shippingMethod - **/ + */ @ApiModelProperty(value = "The shipping method used to deliver the card or the PIN.") @JsonProperty(JSON_PROPERTY_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShippingMethod() { return shippingMethod; } - - /** - * The shipping method used to deliver the card or the PIN. - * - * @param shippingMethod - */ + /** + * The shipping method used to deliver the card or the PIN. + * + * @param shippingMethod + */ @JsonProperty(JSON_PROPERTY_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShippingMethod(String shippingMethod) { this.shippingMethod = shippingMethod; } - /** * Return true if this CardOrderItem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItemDeliveryStatus.java b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItemDeliveryStatus.java index 621fea5a7..4676f3885 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItemDeliveryStatus.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderItemDeliveryStatus.java @@ -96,96 +96,105 @@ public static StatusEnum fromValue(String value) { public CardOrderItemDeliveryStatus() { } + /** + * An error message. + * + * @param errorMessage + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } - /** + /** * An error message. * @return errorMessage - **/ + */ @ApiModelProperty(value = "An error message.") @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorMessage() { return errorMessage; } - - /** - * An error message. - * - * @param errorMessage - */ + /** + * An error message. + * + * @param errorMessage + */ @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - + /** + * The status of the PIN delivery. + * + * @param status + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the PIN delivery. * @return status - **/ + */ @ApiModelProperty(value = "The status of the PIN delivery.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the PIN delivery. - * - * @param status - */ + /** + * The status of the PIN delivery. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The tracking number of the PIN delivery. + * + * @param trackingNumber + * @return the current {@code CardOrderItemDeliveryStatus} instance, allowing for method chaining + */ public CardOrderItemDeliveryStatus trackingNumber(String trackingNumber) { this.trackingNumber = trackingNumber; return this; } - /** + /** * The tracking number of the PIN delivery. * @return trackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number of the PIN delivery.") @JsonProperty(JSON_PROPERTY_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTrackingNumber() { return trackingNumber; } - - /** - * The tracking number of the PIN delivery. - * - * @param trackingNumber - */ + /** + * The tracking number of the PIN delivery. + * + * @param trackingNumber + */ @JsonProperty(JSON_PROPERTY_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingNumber(String trackingNumber) { this.trackingNumber = trackingNumber; } - /** * Return true if this CardOrderItemDeliveryStatus object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderNotificationRequest.java b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderNotificationRequest.java index 43fe6e4da..708bfbcce 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/CardOrderNotificationRequest.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/CardOrderNotificationRequest.java @@ -85,96 +85,105 @@ public static TypeEnum fromValue(String value) { public CardOrderNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code CardOrderNotificationRequest} instance, allowing for method chaining + */ public CardOrderNotificationRequest data(CardOrderItem data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardOrderItem getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(CardOrderItem data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code CardOrderNotificationRequest} instance, allowing for method chaining + */ public CardOrderNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of webhook. + * + * @param type + * @return the current {@code CardOrderNotificationRequest} instance, allowing for method chaining + */ public CardOrderNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of webhook. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of webhook. - * - * @param type - */ + /** + * Type of webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CardOrderNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/ContactDetails.java b/src/main/java/com/adyen/model/configurationwebhooks/ContactDetails.java index bfdbe340a..2173fd156 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/ContactDetails.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/ContactDetails.java @@ -31,7 +31,7 @@ /** * ContactDetails - * @deprecated + * @deprecated */ @Deprecated @JsonPropertyOrder({ @@ -57,126 +57,138 @@ public class ContactDetails { public ContactDetails() { } + /** + * address + * + * @param address + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The email address of the account holder. + * + * @param email + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails email(String email) { this.email = email; return this; } - /** + /** * The email address of the account holder. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the account holder.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the account holder. - * - * @param email - */ + /** + * The email address of the account holder. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * phone + * + * @param phone + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails phone(Phone phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(Phone phone) { this.phone = phone; } - + /** + * The URL of the account holder's website. + * + * @param webAddress + * @return the current {@code ContactDetails} instance, allowing for method chaining + */ public ContactDetails webAddress(String webAddress) { this.webAddress = webAddress; return this; } - /** - * The URL of the account holder's website. + /** + * The URL of the account holder's website. * @return webAddress - **/ + */ @ApiModelProperty(value = "The URL of the account holder's website.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddress() { return webAddress; } - - /** - * The URL of the account holder's website. - * - * @param webAddress - */ + /** + * The URL of the account holder's website. + * + * @param webAddress + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddress(String webAddress) { this.webAddress = webAddress; } - /** * Return true if this ContactDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/DeliveryAddress.java b/src/main/java/com/adyen/model/configurationwebhooks/DeliveryAddress.java index abfbe313e..dd4f19c58 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/DeliveryAddress.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/DeliveryAddress.java @@ -65,216 +65,237 @@ public class DeliveryAddress { public DeliveryAddress() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. + * + * @param line1 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line1(String line1) { this.line1 = line1; return this; } - /** + /** * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. * @return line1 - **/ + */ @ApiModelProperty(value = "The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. - * - * @param line1 - */ + /** + * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. + * + * @param line2 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line2(String line2) { this.line2 = line2; return this; } - /** + /** * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. * @return line2 - **/ + */ @ApiModelProperty(value = "The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. - * - * @param line2 - */ + /** + * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * Additional information about the delivery address. + * + * @param line3 + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress line3(String line3) { this.line3 = line3; return this; } - /** + /** * Additional information about the delivery address. * @return line3 - **/ + */ @ApiModelProperty(value = "Additional information about the delivery address.") @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine3() { return line3; } - - /** - * Additional information about the delivery address. - * - * @param line3 - */ + /** + * Additional information about the delivery address. + * + * @param line3 + */ @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine3(String line3) { this.line3 = line3; } - + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code DeliveryAddress} instance, allowing for method chaining + */ public DeliveryAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this DeliveryAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/DeliveryContact.java b/src/main/java/com/adyen/model/configurationwebhooks/DeliveryContact.java index cde07b01e..08048aed3 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/DeliveryContact.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/DeliveryContact.java @@ -68,216 +68,237 @@ public class DeliveryContact { public DeliveryContact() { } + /** + * address + * + * @param address + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact address(DeliveryAddress address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddress getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(DeliveryAddress address) { this.address = address; } - + /** + * The company name of the contact. + * + * @param company + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact company(String company) { this.company = company; return this; } - /** + /** * The company name of the contact. * @return company - **/ + */ @ApiModelProperty(value = "The company name of the contact.") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompany() { return company; } - - /** - * The company name of the contact. - * - * @param company - */ + /** + * The company name of the contact. + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(String company) { this.company = company; } - + /** + * The email address of the contact. + * + * @param email + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact email(String email) { this.email = email; return this; } - /** + /** * The email address of the contact. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the contact.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the contact. - * - * @param email - */ + /** + * The email address of the contact. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + * + * @param fullPhoneNumber + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact fullPhoneNumber(String fullPhoneNumber) { this.fullPhoneNumber = fullPhoneNumber; return this; } - /** - * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" * @return fullPhoneNumber - **/ + */ @ApiModelProperty(value = "The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"") @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFullPhoneNumber() { return fullPhoneNumber; } - - /** - * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" - * - * @param fullPhoneNumber - */ + /** + * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" + * + * @param fullPhoneNumber + */ @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullPhoneNumber(String fullPhoneNumber) { this.fullPhoneNumber = fullPhoneNumber; } - + /** + * name + * + * @param name + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * phoneNumber + * + * @param phoneNumber + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact phoneNumber(PhoneNumber phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * Get phoneNumber + /** + * phoneNumber * @return phoneNumber - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PhoneNumber getPhoneNumber() { return phoneNumber; } - - /** - * phoneNumber - * - * @param phoneNumber - */ + /** + * phoneNumber + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(PhoneNumber phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * The URL of the contact's website. + * + * @param webAddress + * @return the current {@code DeliveryContact} instance, allowing for method chaining + */ public DeliveryContact webAddress(String webAddress) { this.webAddress = webAddress; return this; } - /** - * The URL of the contact's website. + /** + * The URL of the contact's website. * @return webAddress - **/ + */ @ApiModelProperty(value = "The URL of the contact's website.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddress() { return webAddress; } - - /** - * The URL of the contact's website. - * - * @param webAddress - */ + /** + * The URL of the contact's website. + * + * @param webAddress + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddress(String webAddress) { this.webAddress = webAddress; } - /** * Return true if this DeliveryContact object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Expiry.java b/src/main/java/com/adyen/model/configurationwebhooks/Expiry.java index 643bb8960..c6df823b9 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Expiry.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Expiry.java @@ -45,66 +45,72 @@ public class Expiry { public Expiry() { } + /** + * The month in which the card will expire. + * + * @param month + * @return the current {@code Expiry} instance, allowing for method chaining + */ public Expiry month(String month) { this.month = month; return this; } - /** + /** * The month in which the card will expire. * @return month - **/ + */ @ApiModelProperty(value = "The month in which the card will expire.") @JsonProperty(JSON_PROPERTY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMonth() { return month; } - - /** - * The month in which the card will expire. - * - * @param month - */ + /** + * The month in which the card will expire. + * + * @param month + */ @JsonProperty(JSON_PROPERTY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMonth(String month) { this.month = month; } - + /** + * The year in which the card will expire. + * + * @param year + * @return the current {@code Expiry} instance, allowing for method chaining + */ public Expiry year(String year) { this.year = year; return this; } - /** + /** * The year in which the card will expire. * @return year - **/ + */ @ApiModelProperty(value = "The year in which the card will expire.") @JsonProperty(JSON_PROPERTY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getYear() { return year; } - - /** - * The year in which the card will expire. - * - * @param year - */ + /** + * The year in which the card will expire. + * + * @param year + */ @JsonProperty(JSON_PROPERTY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setYear(String year) { this.year = year; } - /** * Return true if this Expiry object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java b/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java index 9a7f5e352..1370efedc 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * **iban** + * + * @param type + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **iban** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **iban** - * - * @param type - */ + /** + * **iban** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IbanAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/Name.java b/src/main/java/com/adyen/model/configurationwebhooks/Name.java index cbd0ffe93..864b370ca 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/Name.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/PaymentInstrument.java b/src/main/java/com/adyen/model/configurationwebhooks/PaymentInstrument.java index b837ed90e..ae53c0693 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/PaymentInstrument.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/PaymentInstrument.java @@ -53,7 +53,7 @@ public class PaymentInstrument { public static final String JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS = "additionalBankAccountIdentifications"; - @Deprecated + @Deprecated // deprecated since Configuration webhooks v2: Please use `bankAccount` object instead private List additionalBankAccountIdentifications = null; public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID = "balanceAccountId"; @@ -218,6 +218,15 @@ public static TypeEnum fromValue(String value) { public PaymentInstrument() { } + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + * + * @deprecated since Configuration webhooks v2 + * Please use `bankAccount` object instead + */ @Deprecated public PaymentInstrument additionalBankAccountIdentifications(List additionalBankAccountIdentifications) { this.additionalBankAccountIdentifications = additionalBankAccountIdentifications; @@ -232,26 +241,29 @@ public PaymentInstrument addAdditionalBankAccountIdentificationsItem(PaymentInst return this; } - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. * @return additionalBankAccountIdentifications - * @deprecated - **/ + * + * @deprecated since Configuration webhooks v2 + * Please use `bankAccount` object instead + */ @Deprecated @ApiModelProperty(value = "Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAdditionalBankAccountIdentifications() { return additionalBankAccountIdentifications; } - - /** - * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. - * - * @param additionalBankAccountIdentifications - */ + /** + * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @param additionalBankAccountIdentifications + * + * @deprecated since Configuration webhooks v2 + * Please use `bankAccount` object instead + */ @Deprecated @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_ACCOUNT_IDENTIFICATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -259,367 +271,402 @@ public void setAdditionalBankAccountIdentifications(List priorities) { this.priorities = priorities; return this; @@ -482,301 +511,325 @@ public SweepConfigurationV2 addPrioritiesItem(PrioritiesEnum prioritiesItem) { return this; } - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). * @return priorities - **/ + */ @ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - + /** + * The reason for disabling the sweep. + * + * @param reason + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for disabling the sweep. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for disabling the sweep.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for disabling the sweep. - * - * @param reason - */ + /** + * The reason for disabling the sweep. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the sweep configuration. + * + * @param reference + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the sweep configuration. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the sweep configuration.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the sweep configuration. - * - * @param reference - */ + /** + * Your reference for the sweep configuration. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** + /** * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = "The reference sent to or received from the counterparty. Only alphanumeric characters are allowed.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. - * - * @param referenceForBeneficiary - */ + /** + * The reference sent to or received from the counterparty. Only alphanumeric characters are allowed. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } - + /** + * schedule + * + * @param schedule + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 schedule(SweepSchedule schedule) { this.schedule = schedule; return this; } - /** - * Get schedule + /** + * schedule * @return schedule - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SweepSchedule getSchedule() { return schedule; } - - /** - * schedule - * - * @param schedule - */ + /** + * schedule + * + * @param schedule + */ @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedule(SweepSchedule schedule) { this.schedule = schedule; } - + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. * @return status - **/ + */ @ApiModelProperty(value = "The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. - * - * @param status - */ + /** + * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * sweepAmount + * + * @param sweepAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 sweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; return this; } - /** - * Get sweepAmount + /** + * sweepAmount * @return sweepAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSweepAmount() { return sweepAmount; } - - /** - * sweepAmount - * - * @param sweepAmount - */ + /** + * sweepAmount + * + * @param sweepAmount + */ @JsonProperty(JSON_PROPERTY_SWEEP_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSweepAmount(Amount sweepAmount) { this.sweepAmount = sweepAmount; } - + /** + * targetAmount + * + * @param targetAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 targetAmount(Amount targetAmount) { this.targetAmount = targetAmount; return this; } - /** - * Get targetAmount + /** + * targetAmount * @return targetAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTargetAmount() { return targetAmount; } - - /** - * targetAmount - * - * @param targetAmount - */ + /** + * targetAmount + * + * @param targetAmount + */ @JsonProperty(JSON_PROPERTY_TARGET_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAmount(Amount targetAmount) { this.targetAmount = targetAmount; } - + /** + * triggerAmount + * + * @param triggerAmount + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 triggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; return this; } - /** - * Get triggerAmount + /** + * triggerAmount * @return triggerAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getTriggerAmount() { return triggerAmount; } - - /** - * triggerAmount - * - * @param triggerAmount - */ + /** + * triggerAmount + * + * @param triggerAmount + */ @JsonProperty(JSON_PROPERTY_TRIGGER_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggerAmount(Amount triggerAmount) { this.triggerAmount = triggerAmount; } - + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + * @return the current {@code SweepConfigurationV2} instance, allowing for method chaining + */ public SweepConfigurationV2 type(TypeEnum type) { this.type = type; return this; } - /** + /** * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. * @return type - **/ + */ @ApiModelProperty(value = "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. - * - * @param type - */ + /** + * The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SweepConfigurationV2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/SweepCounterparty.java b/src/main/java/com/adyen/model/configurationwebhooks/SweepCounterparty.java index bf0fc8de6..c5d9a8052 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/SweepCounterparty.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/SweepCounterparty.java @@ -49,96 +49,105 @@ public class SweepCounterparty { public SweepCounterparty() { } + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + * + * @param balanceAccountId + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** - * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + * + * @param merchantAccount + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** - * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. - * - * @param merchantAccount - */ + /** + * The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + * + * @param transferInstrumentId + * @return the current {@code SweepCounterparty} instance, allowing for method chaining + */ public SweepCounterparty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** - * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this SweepCounterparty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/SweepSchedule.java b/src/main/java/com/adyen/model/configurationwebhooks/SweepSchedule.java index 14e80046f..fdd7d375f 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/SweepSchedule.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/SweepSchedule.java @@ -86,66 +86,72 @@ public static TypeEnum fromValue(String value) { public SweepSchedule() { } + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + * + * @param cronExpression + * @return the current {@code SweepSchedule} instance, allowing for method chaining + */ public SweepSchedule cronExpression(String cronExpression) { this.cronExpression = cronExpression; return this; } - /** - * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. * @return cronExpression - **/ + */ @ApiModelProperty(value = "A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. ") @JsonProperty(JSON_PROPERTY_CRON_EXPRESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCronExpression() { return cronExpression; } - - /** - * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. - * - * @param cronExpression - */ + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. Required when `type` is **cron**. + * + * @param cronExpression + */ @JsonProperty(JSON_PROPERTY_CRON_EXPRESSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCronExpression(String cronExpression) { this.cronExpression = cronExpression; } - + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + * + * @param type + * @return the current {@code SweepSchedule} instance, allowing for method chaining + */ public SweepSchedule type(TypeEnum type) { this.type = type; return this; } - /** - * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. - * - * @param type - */ + /** + * The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SweepSchedule object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/VerificationDeadline.java b/src/main/java/com/adyen/model/configurationwebhooks/VerificationDeadline.java index 998151d8e..62bef13c3 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/VerificationDeadline.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/VerificationDeadline.java @@ -86,6 +86,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -183,6 +185,12 @@ public static CapabilitiesEnum fromValue(String value) { public VerificationDeadline() { } + /** + * The names of the capabilities to be disallowed. + * + * @param capabilities + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -193,31 +201,34 @@ public VerificationDeadline addCapabilitiesItem(CapabilitiesEnum capabilitiesIte return this; } - /** + /** * The names of the capabilities to be disallowed. * @return capabilities - **/ + */ @ApiModelProperty(required = true, value = "The names of the capabilities to be disallowed.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * The names of the capabilities to be disallowed. - * - * @param capabilities - */ + /** + * The names of the capabilities to be disallowed. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The unique identifiers of the bank account(s) that the deadline applies to + * + * @param entityIds + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline entityIds(List entityIds) { this.entityIds = entityIds; return this; @@ -231,61 +242,61 @@ public VerificationDeadline addEntityIdsItem(String entityIdsItem) { return this; } - /** + /** * The unique identifiers of the bank account(s) that the deadline applies to * @return entityIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the bank account(s) that the deadline applies to") @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityIds() { return entityIds; } - - /** - * The unique identifiers of the bank account(s) that the deadline applies to - * - * @param entityIds - */ + /** + * The unique identifiers of the bank account(s) that the deadline applies to + * + * @param entityIds + */ @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityIds(List entityIds) { this.entityIds = entityIds; } - + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date that verification is due by before capabilities are disallowed. * @return expiresAt - **/ + */ @ApiModelProperty(required = true, value = "The date that verification is due by before capabilities are disallowed.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date that verification is due by before capabilities are disallowed. - * - * @param expiresAt - */ + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - /** * Return true if this VerificationDeadline object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/VerificationError.java b/src/main/java/com/adyen/model/configurationwebhooks/VerificationError.java index de55641a9..a5bd7d217 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/VerificationError.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/VerificationError.java @@ -90,6 +90,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -233,6 +235,12 @@ public static TypeEnum fromValue(String value) { public VerificationError() { } + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -246,91 +254,100 @@ public VerificationError addCapabilitiesItem(CapabilitiesEnum capabilitiesItem) return this; } - /** + /** * Contains the capabilities that the verification error applies to. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains the capabilities that the verification error applies to.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains the capabilities that the verification error applies to. - * - * @param capabilities - */ + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of the error. + * + * @param message + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError message(String message) { this.message = message; return this; } - /** + /** * A description of the error. * @return message - **/ + */ @ApiModelProperty(value = "A description of the error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of the error. - * - * @param message - */ + /** + * A description of the error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -344,31 +361,34 @@ public VerificationError addRemediatingActionsItem(RemediatingAction remediating return this; } - /** + /** * Contains the actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "Contains the actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * Contains the actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - + /** + * Contains more granular information about the verification error. + * + * @param subErrors + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError subErrors(List subErrors) { this.subErrors = subErrors; return this; @@ -382,61 +402,61 @@ public VerificationError addSubErrorsItem(VerificationErrorRecursive subErrorsIt return this; } - /** + /** * Contains more granular information about the verification error. * @return subErrors - **/ + */ @ApiModelProperty(value = "Contains more granular information about the verification error.") @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubErrors() { return subErrors; } - - /** - * Contains more granular information about the verification error. - * - * @param subErrors - */ + /** + * Contains more granular information about the verification error. + * + * @param subErrors + */ @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubErrors(List subErrors) { this.subErrors = subErrors; } - + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: **invalidInput**, **dataMissing**. * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: **invalidInput**, **dataMissing**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: **invalidInput**, **dataMissing**. - * - * @param type - */ + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this VerificationError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/configurationwebhooks/VerificationErrorRecursive.java b/src/main/java/com/adyen/model/configurationwebhooks/VerificationErrorRecursive.java index a00cf38dd..fef5496ad 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/VerificationErrorRecursive.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/VerificationErrorRecursive.java @@ -89,6 +89,8 @@ public enum CapabilitiesEnum { ISSUECARDCONSUMER("issueCardConsumer"), + ISSUECREDITLIMIT("issueCreditLimit"), + LOCALACCEPTANCE("localAcceptance"), PAYOUT("payout"), @@ -229,6 +231,12 @@ public static TypeEnum fromValue(String value) { public VerificationErrorRecursive() { } + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -242,121 +250,133 @@ public VerificationErrorRecursive addCapabilitiesItem(CapabilitiesEnum capabilit return this; } - /** + /** * Contains the capabilities that the verification error applies to. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains the capabilities that the verification error applies to.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains the capabilities that the verification error applies to. - * - * @param capabilities - */ + /** + * Contains the capabilities that the verification error applies to. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of the error. + * + * @param message + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive message(String message) { this.message = message; return this; } - /** + /** * A description of the error. * @return message - **/ + */ @ApiModelProperty(value = "A description of the error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of the error. - * - * @param message - */ + /** + * A description of the error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: **invalidInput**, **dataMissing**. * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: **invalidInput**, **dataMissing**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: **invalidInput**, **dataMissing**. - * - * @param type - */ + /** + * The type of error. Possible values: **invalidInput**, **dataMissing**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -370,31 +390,28 @@ public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction re return this; } - /** + /** * Contains the actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "Contains the actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * Contains the actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * Contains the actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - /** * Return true if this VerificationError-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/dataprotection/ServiceError.java b/src/main/java/com/adyen/model/dataprotection/ServiceError.java index df294f756..0ea28fb02 100644 --- a/src/main/java/com/adyen/model/dataprotection/ServiceError.java +++ b/src/main/java/com/adyen/model/dataprotection/ServiceError.java @@ -57,156 +57,171 @@ public class ServiceError { public ServiceError() { } + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/dataprotection/SubjectErasureByPspReferenceRequest.java b/src/main/java/com/adyen/model/dataprotection/SubjectErasureByPspReferenceRequest.java index 20f48f5f3..15f2c8b02 100644 --- a/src/main/java/com/adyen/model/dataprotection/SubjectErasureByPspReferenceRequest.java +++ b/src/main/java/com/adyen/model/dataprotection/SubjectErasureByPspReferenceRequest.java @@ -49,96 +49,105 @@ public class SubjectErasureByPspReferenceRequest { public SubjectErasureByPspReferenceRequest() { } + /** + * Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction. + * + * @param forceErasure + * @return the current {@code SubjectErasureByPspReferenceRequest} instance, allowing for method chaining + */ public SubjectErasureByPspReferenceRequest forceErasure(Boolean forceErasure) { this.forceErasure = forceErasure; return this; } - /** + /** * Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction. * @return forceErasure - **/ + */ @ApiModelProperty(value = "Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction.") @JsonProperty(JSON_PROPERTY_FORCE_ERASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getForceErasure() { return forceErasure; } - - /** - * Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction. - * - * @param forceErasure - */ + /** + * Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction. + * + * @param forceErasure + */ @JsonProperty(JSON_PROPERTY_FORCE_ERASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setForceErasure(Boolean forceErasure) { this.forceErasure = forceErasure; } - + /** + * Your merchant account + * + * @param merchantAccount + * @return the current {@code SubjectErasureByPspReferenceRequest} instance, allowing for method chaining + */ public SubjectErasureByPspReferenceRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * Your merchant account * @return merchantAccount - **/ + */ @ApiModelProperty(value = "Your merchant account") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * Your merchant account - * - * @param merchantAccount - */ + /** + * Your merchant account + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The PSP reference of the payment. We will delete all shopper-related data for this payment. + * + * @param pspReference + * @return the current {@code SubjectErasureByPspReferenceRequest} instance, allowing for method chaining + */ public SubjectErasureByPspReferenceRequest pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. We will delete all shopper-related data for this payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment. We will delete all shopper-related data for this payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. We will delete all shopper-related data for this payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. We will delete all shopper-related data for this payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this SubjectErasureByPspReferenceRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/dataprotection/SubjectErasureResponse.java b/src/main/java/com/adyen/model/dataprotection/SubjectErasureResponse.java index bc56d0b2b..cd662b42b 100644 --- a/src/main/java/com/adyen/model/dataprotection/SubjectErasureResponse.java +++ b/src/main/java/com/adyen/model/dataprotection/SubjectErasureResponse.java @@ -80,36 +80,39 @@ public static ResultEnum fromValue(String value) { public SubjectErasureResponse() { } + /** + * The result of this operation. + * + * @param result + * @return the current {@code SubjectErasureResponse} instance, allowing for method chaining + */ public SubjectErasureResponse result(ResultEnum result) { this.result = result; return this; } - /** + /** * The result of this operation. * @return result - **/ + */ @ApiModelProperty(value = "The result of this operation.") @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultEnum getResult() { return result; } - - /** - * The result of this operation. - * - * @param result - */ + /** + * The result of this operation. + * + * @param result + */ @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResult(ResultEnum result) { this.result = result; } - /** * Return true if this SubjectErasureResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/AcceptDisputeRequest.java b/src/main/java/com/adyen/model/disputes/AcceptDisputeRequest.java index ca22ae3de..ae455c53f 100644 --- a/src/main/java/com/adyen/model/disputes/AcceptDisputeRequest.java +++ b/src/main/java/com/adyen/model/disputes/AcceptDisputeRequest.java @@ -45,66 +45,72 @@ public class AcceptDisputeRequest { public AcceptDisputeRequest() { } + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + * @return the current {@code AcceptDisputeRequest} instance, allowing for method chaining + */ public AcceptDisputeRequest disputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; return this; } - /** + /** * The PSP reference assigned to the dispute. * @return disputePspReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference assigned to the dispute.") @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputePspReference() { return disputePspReference; } - - /** - * The PSP reference assigned to the dispute. - * - * @param disputePspReference - */ + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + */ @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; } - + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + * @return the current {@code AcceptDisputeRequest} instance, allowing for method chaining + */ public AcceptDisputeRequest merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The merchant account identifier, for which you want to process the dispute transaction. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, for which you want to process the dispute transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The merchant account identifier, for which you want to process the dispute transaction. - * - * @param merchantAccountCode - */ + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - /** * Return true if this AcceptDisputeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/AcceptDisputeResponse.java b/src/main/java/com/adyen/model/disputes/AcceptDisputeResponse.java index 76ec34b08..b8838c0ae 100644 --- a/src/main/java/com/adyen/model/disputes/AcceptDisputeResponse.java +++ b/src/main/java/com/adyen/model/disputes/AcceptDisputeResponse.java @@ -42,36 +42,39 @@ public class AcceptDisputeResponse { public AcceptDisputeResponse() { } + /** + * disputeServiceResult + * + * @param disputeServiceResult + * @return the current {@code AcceptDisputeResponse} instance, allowing for method chaining + */ public AcceptDisputeResponse disputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; return this; } - /** - * Get disputeServiceResult + /** + * disputeServiceResult * @return disputeServiceResult - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DisputeServiceResult getDisputeServiceResult() { return disputeServiceResult; } - - /** - * disputeServiceResult - * - * @param disputeServiceResult - */ + /** + * disputeServiceResult + * + * @param disputeServiceResult + */ @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; } - /** * Return true if this AcceptDisputeResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefendDisputeRequest.java b/src/main/java/com/adyen/model/disputes/DefendDisputeRequest.java index d0a1cd9b5..5e8335365 100644 --- a/src/main/java/com/adyen/model/disputes/DefendDisputeRequest.java +++ b/src/main/java/com/adyen/model/disputes/DefendDisputeRequest.java @@ -49,96 +49,105 @@ public class DefendDisputeRequest { public DefendDisputeRequest() { } + /** + * The defense reason code that was selected to defend this dispute. + * + * @param defenseReasonCode + * @return the current {@code DefendDisputeRequest} instance, allowing for method chaining + */ public DefendDisputeRequest defenseReasonCode(String defenseReasonCode) { this.defenseReasonCode = defenseReasonCode; return this; } - /** + /** * The defense reason code that was selected to defend this dispute. * @return defenseReasonCode - **/ + */ @ApiModelProperty(required = true, value = "The defense reason code that was selected to defend this dispute.") @JsonProperty(JSON_PROPERTY_DEFENSE_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefenseReasonCode() { return defenseReasonCode; } - - /** - * The defense reason code that was selected to defend this dispute. - * - * @param defenseReasonCode - */ + /** + * The defense reason code that was selected to defend this dispute. + * + * @param defenseReasonCode + */ @JsonProperty(JSON_PROPERTY_DEFENSE_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseReasonCode(String defenseReasonCode) { this.defenseReasonCode = defenseReasonCode; } - + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + * @return the current {@code DefendDisputeRequest} instance, allowing for method chaining + */ public DefendDisputeRequest disputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; return this; } - /** + /** * The PSP reference assigned to the dispute. * @return disputePspReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference assigned to the dispute.") @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputePspReference() { return disputePspReference; } - - /** - * The PSP reference assigned to the dispute. - * - * @param disputePspReference - */ + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + */ @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; } - + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + * @return the current {@code DefendDisputeRequest} instance, allowing for method chaining + */ public DefendDisputeRequest merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The merchant account identifier, for which you want to process the dispute transaction. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, for which you want to process the dispute transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The merchant account identifier, for which you want to process the dispute transaction. - * - * @param merchantAccountCode - */ + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - /** * Return true if this DefendDisputeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefendDisputeResponse.java b/src/main/java/com/adyen/model/disputes/DefendDisputeResponse.java index a1bdd28b5..a0f5427f0 100644 --- a/src/main/java/com/adyen/model/disputes/DefendDisputeResponse.java +++ b/src/main/java/com/adyen/model/disputes/DefendDisputeResponse.java @@ -42,36 +42,39 @@ public class DefendDisputeResponse { public DefendDisputeResponse() { } + /** + * disputeServiceResult + * + * @param disputeServiceResult + * @return the current {@code DefendDisputeResponse} instance, allowing for method chaining + */ public DefendDisputeResponse disputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; return this; } - /** - * Get disputeServiceResult + /** + * disputeServiceResult * @return disputeServiceResult - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DisputeServiceResult getDisputeServiceResult() { return disputeServiceResult; } - - /** - * disputeServiceResult - * - * @param disputeServiceResult - */ + /** + * disputeServiceResult + * + * @param disputeServiceResult + */ @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; } - /** * Return true if this DefendDisputeResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefenseDocument.java b/src/main/java/com/adyen/model/disputes/DefenseDocument.java index a5b47f465..46ebd1122 100644 --- a/src/main/java/com/adyen/model/disputes/DefenseDocument.java +++ b/src/main/java/com/adyen/model/disputes/DefenseDocument.java @@ -49,96 +49,105 @@ public class DefenseDocument { public DefenseDocument() { } + /** + * The content of the defense document. + * + * @param content + * @return the current {@code DefenseDocument} instance, allowing for method chaining + */ public DefenseDocument content(byte[] content) { this.content = content; return this; } - /** + /** * The content of the defense document. * @return content - **/ + */ @ApiModelProperty(required = true, value = "The content of the defense document.") @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getContent() { return content; } - - /** - * The content of the defense document. - * - * @param content - */ + /** + * The content of the defense document. + * + * @param content + */ @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContent(byte[] content) { this.content = content; } - + /** + * The content type of the defense document. + * + * @param contentType + * @return the current {@code DefenseDocument} instance, allowing for method chaining + */ public DefenseDocument contentType(String contentType) { this.contentType = contentType; return this; } - /** + /** * The content type of the defense document. * @return contentType - **/ + */ @ApiModelProperty(required = true, value = "The content type of the defense document.") @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContentType() { return contentType; } - - /** - * The content type of the defense document. - * - * @param contentType - */ + /** + * The content type of the defense document. + * + * @param contentType + */ @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContentType(String contentType) { this.contentType = contentType; } - + /** + * The document type code of the defense document. + * + * @param defenseDocumentTypeCode + * @return the current {@code DefenseDocument} instance, allowing for method chaining + */ public DefenseDocument defenseDocumentTypeCode(String defenseDocumentTypeCode) { this.defenseDocumentTypeCode = defenseDocumentTypeCode; return this; } - /** + /** * The document type code of the defense document. * @return defenseDocumentTypeCode - **/ + */ @ApiModelProperty(required = true, value = "The document type code of the defense document.") @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefenseDocumentTypeCode() { return defenseDocumentTypeCode; } - - /** - * The document type code of the defense document. - * - * @param defenseDocumentTypeCode - */ + /** + * The document type code of the defense document. + * + * @param defenseDocumentTypeCode + */ @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseDocumentTypeCode(String defenseDocumentTypeCode) { this.defenseDocumentTypeCode = defenseDocumentTypeCode; } - /** * Return true if this DefenseDocument object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefenseDocumentType.java b/src/main/java/com/adyen/model/disputes/DefenseDocumentType.java index 02c9f6cc3..dc80aaeff 100644 --- a/src/main/java/com/adyen/model/disputes/DefenseDocumentType.java +++ b/src/main/java/com/adyen/model/disputes/DefenseDocumentType.java @@ -49,96 +49,105 @@ public class DefenseDocumentType { public DefenseDocumentType() { } + /** + * When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type. + * + * @param available + * @return the current {@code DefenseDocumentType} instance, allowing for method chaining + */ public DefenseDocumentType available(Boolean available) { this.available = available; return this; } - /** - * When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type. + /** + * When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type. * @return available - **/ + */ @ApiModelProperty(required = true, value = "When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type.") @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAvailable() { return available; } - - /** - * When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type. - * - * @param available - */ + /** + * When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type. + * + * @param available + */ @JsonProperty(JSON_PROPERTY_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvailable(Boolean available) { this.available = available; } - + /** + * The document type code of the defense document. + * + * @param defenseDocumentTypeCode + * @return the current {@code DefenseDocumentType} instance, allowing for method chaining + */ public DefenseDocumentType defenseDocumentTypeCode(String defenseDocumentTypeCode) { this.defenseDocumentTypeCode = defenseDocumentTypeCode; return this; } - /** + /** * The document type code of the defense document. * @return defenseDocumentTypeCode - **/ + */ @ApiModelProperty(required = true, value = "The document type code of the defense document.") @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefenseDocumentTypeCode() { return defenseDocumentTypeCode; } - - /** - * The document type code of the defense document. - * - * @param defenseDocumentTypeCode - */ + /** + * The document type code of the defense document. + * + * @param defenseDocumentTypeCode + */ @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseDocumentTypeCode(String defenseDocumentTypeCode) { this.defenseDocumentTypeCode = defenseDocumentTypeCode; } - + /** + * Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes. + * + * @param requirementLevel + * @return the current {@code DefenseDocumentType} instance, allowing for method chaining + */ public DefenseDocumentType requirementLevel(String requirementLevel) { this.requirementLevel = requirementLevel; return this; } - /** + /** * Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes. * @return requirementLevel - **/ + */ @ApiModelProperty(required = true, value = "Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes.") @JsonProperty(JSON_PROPERTY_REQUIREMENT_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequirementLevel() { return requirementLevel; } - - /** - * Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes. - * - * @param requirementLevel - */ + /** + * Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes. + * + * @param requirementLevel + */ @JsonProperty(JSON_PROPERTY_REQUIREMENT_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirementLevel(String requirementLevel) { this.requirementLevel = requirementLevel; } - /** * Return true if this DefenseDocumentType object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefenseReason.java b/src/main/java/com/adyen/model/disputes/DefenseReason.java index 2d67f4bad..847c6ea7f 100644 --- a/src/main/java/com/adyen/model/disputes/DefenseReason.java +++ b/src/main/java/com/adyen/model/disputes/DefenseReason.java @@ -52,6 +52,12 @@ public class DefenseReason { public DefenseReason() { } + /** + * Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required. + * + * @param defenseDocumentTypes + * @return the current {@code DefenseReason} instance, allowing for method chaining + */ public DefenseReason defenseDocumentTypes(List defenseDocumentTypes) { this.defenseDocumentTypes = defenseDocumentTypes; return this; @@ -65,91 +71,94 @@ public DefenseReason addDefenseDocumentTypesItem(DefenseDocumentType defenseDocu return this; } - /** + /** * Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required. * @return defenseDocumentTypes - **/ + */ @ApiModelProperty(value = "Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required.") @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDefenseDocumentTypes() { return defenseDocumentTypes; } - - /** - * Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required. - * - * @param defenseDocumentTypes - */ + /** + * Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required. + * + * @param defenseDocumentTypes + */ @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseDocumentTypes(List defenseDocumentTypes) { this.defenseDocumentTypes = defenseDocumentTypes; } - + /** + * The defense reason code that was selected to defend this dispute. + * + * @param defenseReasonCode + * @return the current {@code DefenseReason} instance, allowing for method chaining + */ public DefenseReason defenseReasonCode(String defenseReasonCode) { this.defenseReasonCode = defenseReasonCode; return this; } - /** + /** * The defense reason code that was selected to defend this dispute. * @return defenseReasonCode - **/ + */ @ApiModelProperty(required = true, value = "The defense reason code that was selected to defend this dispute.") @JsonProperty(JSON_PROPERTY_DEFENSE_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefenseReasonCode() { return defenseReasonCode; } - - /** - * The defense reason code that was selected to defend this dispute. - * - * @param defenseReasonCode - */ + /** + * The defense reason code that was selected to defend this dispute. + * + * @param defenseReasonCode + */ @JsonProperty(JSON_PROPERTY_DEFENSE_REASON_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseReasonCode(String defenseReasonCode) { this.defenseReasonCode = defenseReasonCode; } - + /** + * Indicates if sufficient defense material has been supplied. + * + * @param satisfied + * @return the current {@code DefenseReason} instance, allowing for method chaining + */ public DefenseReason satisfied(Boolean satisfied) { this.satisfied = satisfied; return this; } - /** + /** * Indicates if sufficient defense material has been supplied. * @return satisfied - **/ + */ @ApiModelProperty(required = true, value = "Indicates if sufficient defense material has been supplied.") @JsonProperty(JSON_PROPERTY_SATISFIED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSatisfied() { return satisfied; } - - /** - * Indicates if sufficient defense material has been supplied. - * - * @param satisfied - */ + /** + * Indicates if sufficient defense material has been supplied. + * + * @param satisfied + */ @JsonProperty(JSON_PROPERTY_SATISFIED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSatisfied(Boolean satisfied) { this.satisfied = satisfied; } - /** * Return true if this DefenseReason object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefenseReasonsRequest.java b/src/main/java/com/adyen/model/disputes/DefenseReasonsRequest.java index 7eb2cc808..8c6bebd1f 100644 --- a/src/main/java/com/adyen/model/disputes/DefenseReasonsRequest.java +++ b/src/main/java/com/adyen/model/disputes/DefenseReasonsRequest.java @@ -45,66 +45,72 @@ public class DefenseReasonsRequest { public DefenseReasonsRequest() { } + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + * @return the current {@code DefenseReasonsRequest} instance, allowing for method chaining + */ public DefenseReasonsRequest disputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; return this; } - /** + /** * The PSP reference assigned to the dispute. * @return disputePspReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference assigned to the dispute.") @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputePspReference() { return disputePspReference; } - - /** - * The PSP reference assigned to the dispute. - * - * @param disputePspReference - */ + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + */ @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; } - + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + * @return the current {@code DefenseReasonsRequest} instance, allowing for method chaining + */ public DefenseReasonsRequest merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The merchant account identifier, for which you want to process the dispute transaction. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, for which you want to process the dispute transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The merchant account identifier, for which you want to process the dispute transaction. - * - * @param merchantAccountCode - */ + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - /** * Return true if this DefenseReasonsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DefenseReasonsResponse.java b/src/main/java/com/adyen/model/disputes/DefenseReasonsResponse.java index ec74f3e55..c8ceadb8e 100644 --- a/src/main/java/com/adyen/model/disputes/DefenseReasonsResponse.java +++ b/src/main/java/com/adyen/model/disputes/DefenseReasonsResponse.java @@ -49,6 +49,12 @@ public class DefenseReasonsResponse { public DefenseReasonsResponse() { } + /** + * The defense reasons that can be used to defend the dispute. + * + * @param defenseReasons + * @return the current {@code DefenseReasonsResponse} instance, allowing for method chaining + */ public DefenseReasonsResponse defenseReasons(List defenseReasons) { this.defenseReasons = defenseReasons; return this; @@ -62,61 +68,61 @@ public DefenseReasonsResponse addDefenseReasonsItem(DefenseReason defenseReasons return this; } - /** + /** * The defense reasons that can be used to defend the dispute. * @return defenseReasons - **/ + */ @ApiModelProperty(value = "The defense reasons that can be used to defend the dispute.") @JsonProperty(JSON_PROPERTY_DEFENSE_REASONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDefenseReasons() { return defenseReasons; } - - /** - * The defense reasons that can be used to defend the dispute. - * - * @param defenseReasons - */ + /** + * The defense reasons that can be used to defend the dispute. + * + * @param defenseReasons + */ @JsonProperty(JSON_PROPERTY_DEFENSE_REASONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseReasons(List defenseReasons) { this.defenseReasons = defenseReasons; } - + /** + * disputeServiceResult + * + * @param disputeServiceResult + * @return the current {@code DefenseReasonsResponse} instance, allowing for method chaining + */ public DefenseReasonsResponse disputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; return this; } - /** - * Get disputeServiceResult + /** + * disputeServiceResult * @return disputeServiceResult - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DisputeServiceResult getDisputeServiceResult() { return disputeServiceResult; } - - /** - * disputeServiceResult - * - * @param disputeServiceResult - */ + /** + * disputeServiceResult + * + * @param disputeServiceResult + */ @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; } - /** * Return true if this DefenseReasonsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentRequest.java b/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentRequest.java index 90e2a9c83..ecd0bbc24 100644 --- a/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentRequest.java +++ b/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentRequest.java @@ -49,96 +49,105 @@ public class DeleteDefenseDocumentRequest { public DeleteDefenseDocumentRequest() { } + /** + * The document type code of the defense document. + * + * @param defenseDocumentType + * @return the current {@code DeleteDefenseDocumentRequest} instance, allowing for method chaining + */ public DeleteDefenseDocumentRequest defenseDocumentType(String defenseDocumentType) { this.defenseDocumentType = defenseDocumentType; return this; } - /** + /** * The document type code of the defense document. * @return defenseDocumentType - **/ + */ @ApiModelProperty(required = true, value = "The document type code of the defense document.") @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefenseDocumentType() { return defenseDocumentType; } - - /** - * The document type code of the defense document. - * - * @param defenseDocumentType - */ + /** + * The document type code of the defense document. + * + * @param defenseDocumentType + */ @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseDocumentType(String defenseDocumentType) { this.defenseDocumentType = defenseDocumentType; } - + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + * @return the current {@code DeleteDefenseDocumentRequest} instance, allowing for method chaining + */ public DeleteDefenseDocumentRequest disputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; return this; } - /** + /** * The PSP reference assigned to the dispute. * @return disputePspReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference assigned to the dispute.") @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputePspReference() { return disputePspReference; } - - /** - * The PSP reference assigned to the dispute. - * - * @param disputePspReference - */ + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + */ @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; } - + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + * @return the current {@code DeleteDefenseDocumentRequest} instance, allowing for method chaining + */ public DeleteDefenseDocumentRequest merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The merchant account identifier, for which you want to process the dispute transaction. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, for which you want to process the dispute transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The merchant account identifier, for which you want to process the dispute transaction. - * - * @param merchantAccountCode - */ + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - /** * Return true if this DeleteDefenseDocumentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentResponse.java b/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentResponse.java index 1c3072019..eb9a5b913 100644 --- a/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentResponse.java +++ b/src/main/java/com/adyen/model/disputes/DeleteDefenseDocumentResponse.java @@ -42,36 +42,39 @@ public class DeleteDefenseDocumentResponse { public DeleteDefenseDocumentResponse() { } + /** + * disputeServiceResult + * + * @param disputeServiceResult + * @return the current {@code DeleteDefenseDocumentResponse} instance, allowing for method chaining + */ public DeleteDefenseDocumentResponse disputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; return this; } - /** - * Get disputeServiceResult + /** + * disputeServiceResult * @return disputeServiceResult - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DisputeServiceResult getDisputeServiceResult() { return disputeServiceResult; } - - /** - * disputeServiceResult - * - * @param disputeServiceResult - */ + /** + * disputeServiceResult + * + * @param disputeServiceResult + */ @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; } - /** * Return true if this DeleteDefenseDocumentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/DisputeServiceResult.java b/src/main/java/com/adyen/model/disputes/DisputeServiceResult.java index 14cb7f9aa..3d813af2f 100644 --- a/src/main/java/com/adyen/model/disputes/DisputeServiceResult.java +++ b/src/main/java/com/adyen/model/disputes/DisputeServiceResult.java @@ -45,66 +45,72 @@ public class DisputeServiceResult { public DisputeServiceResult() { } + /** + * The general error message. + * + * @param errorMessage + * @return the current {@code DisputeServiceResult} instance, allowing for method chaining + */ public DisputeServiceResult errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } - /** + /** * The general error message. * @return errorMessage - **/ + */ @ApiModelProperty(value = "The general error message.") @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorMessage() { return errorMessage; } - - /** - * The general error message. - * - * @param errorMessage - */ + /** + * The general error message. + * + * @param errorMessage + */ @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - + /** + * Indicates whether the request succeeded. + * + * @param success + * @return the current {@code DisputeServiceResult} instance, allowing for method chaining + */ public DisputeServiceResult success(Boolean success) { this.success = success; return this; } - /** + /** * Indicates whether the request succeeded. * @return success - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether the request succeeded.") @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuccess() { return success; } - - /** - * Indicates whether the request succeeded. - * - * @param success - */ + /** + * Indicates whether the request succeeded. + * + * @param success + */ @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuccess(Boolean success) { this.success = success; } - /** * Return true if this DisputeServiceResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/ServiceError.java b/src/main/java/com/adyen/model/disputes/ServiceError.java index f92aff037..10f41315e 100644 --- a/src/main/java/com/adyen/model/disputes/ServiceError.java +++ b/src/main/java/com/adyen/model/disputes/ServiceError.java @@ -57,156 +57,171 @@ public class ServiceError { public ServiceError() { } + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentRequest.java b/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentRequest.java index d6cb30a64..6deb737ba 100644 --- a/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentRequest.java +++ b/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentRequest.java @@ -52,6 +52,12 @@ public class SupplyDefenseDocumentRequest { public SupplyDefenseDocumentRequest() { } + /** + * An array containing a list of the defense documents. + * + * @param defenseDocuments + * @return the current {@code SupplyDefenseDocumentRequest} instance, allowing for method chaining + */ public SupplyDefenseDocumentRequest defenseDocuments(List defenseDocuments) { this.defenseDocuments = defenseDocuments; return this; @@ -62,91 +68,94 @@ public SupplyDefenseDocumentRequest addDefenseDocumentsItem(DefenseDocument defe return this; } - /** + /** * An array containing a list of the defense documents. * @return defenseDocuments - **/ + */ @ApiModelProperty(required = true, value = "An array containing a list of the defense documents.") @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDefenseDocuments() { return defenseDocuments; } - - /** - * An array containing a list of the defense documents. - * - * @param defenseDocuments - */ + /** + * An array containing a list of the defense documents. + * + * @param defenseDocuments + */ @JsonProperty(JSON_PROPERTY_DEFENSE_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefenseDocuments(List defenseDocuments) { this.defenseDocuments = defenseDocuments; } - + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + * @return the current {@code SupplyDefenseDocumentRequest} instance, allowing for method chaining + */ public SupplyDefenseDocumentRequest disputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; return this; } - /** + /** * The PSP reference assigned to the dispute. * @return disputePspReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference assigned to the dispute.") @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputePspReference() { return disputePspReference; } - - /** - * The PSP reference assigned to the dispute. - * - * @param disputePspReference - */ + /** + * The PSP reference assigned to the dispute. + * + * @param disputePspReference + */ @JsonProperty(JSON_PROPERTY_DISPUTE_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputePspReference(String disputePspReference) { this.disputePspReference = disputePspReference; } - + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + * @return the current {@code SupplyDefenseDocumentRequest} instance, allowing for method chaining + */ public SupplyDefenseDocumentRequest merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The merchant account identifier, for which you want to process the dispute transaction. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, for which you want to process the dispute transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The merchant account identifier, for which you want to process the dispute transaction. - * - * @param merchantAccountCode - */ + /** + * The merchant account identifier, for which you want to process the dispute transaction. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - /** * Return true if this SupplyDefenseDocumentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentResponse.java b/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentResponse.java index fabe34481..916c09e35 100644 --- a/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentResponse.java +++ b/src/main/java/com/adyen/model/disputes/SupplyDefenseDocumentResponse.java @@ -42,36 +42,39 @@ public class SupplyDefenseDocumentResponse { public SupplyDefenseDocumentResponse() { } + /** + * disputeServiceResult + * + * @param disputeServiceResult + * @return the current {@code SupplyDefenseDocumentResponse} instance, allowing for method chaining + */ public SupplyDefenseDocumentResponse disputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; return this; } - /** - * Get disputeServiceResult + /** + * disputeServiceResult * @return disputeServiceResult - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DisputeServiceResult getDisputeServiceResult() { return disputeServiceResult; } - - /** - * disputeServiceResult - * - * @param disputeServiceResult - */ + /** + * disputeServiceResult + * + * @param disputeServiceResult + */ @JsonProperty(JSON_PROPERTY_DISPUTE_SERVICE_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult) { this.disputeServiceResult = disputeServiceResult; } - /** * Return true if this SupplyDefenseDocumentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java index 6d02fab1d..1dc7743eb 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public AULocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification bsbCode(String bsbCode) { this.bsbCode = bsbCode; return this; } - /** + /** * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. * @return bsbCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBsbCode() { return bsbCode; } - - /** - * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. - * - * @param bsbCode - */ + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + */ @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBsbCode(String bsbCode) { this.bsbCode = bsbCode; } - + /** + * **auLocal** + * + * @param type + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **auLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**auLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **auLocal** - * - * @param type - */ + /** + * **auLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceRequest.java index 072ebae95..bb21a04d2 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceRequest.java @@ -45,66 +45,72 @@ public class AcceptTermsOfServiceRequest { public AcceptTermsOfServiceRequest() { } + /** + * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. + * + * @param acceptedBy + * @return the current {@code AcceptTermsOfServiceRequest} instance, allowing for method chaining + */ public AcceptTermsOfServiceRequest acceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; return this; } - /** + /** * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. * @return acceptedBy - **/ + */ @ApiModelProperty(required = true, value = "The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. ") @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptedBy() { return acceptedBy; } - - /** - * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. - * - * @param acceptedBy - */ + /** + * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. + * + * @param acceptedBy + */ @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; } - + /** + * The IP address of the user accepting the Terms of Service. + * + * @param ipAddress + * @return the current {@code AcceptTermsOfServiceRequest} instance, allowing for method chaining + */ public AcceptTermsOfServiceRequest ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } - /** + /** * The IP address of the user accepting the Terms of Service. * @return ipAddress - **/ + */ @ApiModelProperty(value = "The IP address of the user accepting the Terms of Service.") @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIpAddress() { return ipAddress; } - - /** - * The IP address of the user accepting the Terms of Service. - * - * @param ipAddress - */ + /** + * The IP address of the user accepting the Terms of Service. + * + * @param ipAddress + */ @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } - /** * Return true if this AcceptTermsOfServiceRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java index de65444f5..cb947aa6f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java @@ -108,186 +108,204 @@ public static TypeEnum fromValue(String value) { public AcceptTermsOfServiceResponse() { } + /** + * The unique identifier of the user that accepted the Terms of Service. + * + * @param acceptedBy + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse acceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; return this; } - /** + /** * The unique identifier of the user that accepted the Terms of Service. * @return acceptedBy - **/ + */ @ApiModelProperty(value = "The unique identifier of the user that accepted the Terms of Service.") @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptedBy() { return acceptedBy; } - - /** - * The unique identifier of the user that accepted the Terms of Service. - * - * @param acceptedBy - */ + /** + * The unique identifier of the user that accepted the Terms of Service. + * + * @param acceptedBy + */ @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; } - + /** + * The unique identifier of the Terms of Service acceptance. + * + * @param id + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the Terms of Service acceptance. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the Terms of Service acceptance.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the Terms of Service acceptance. - * - * @param id - */ + /** + * The unique identifier of the Terms of Service acceptance. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The IP address of the user that accepted the Terms of Service. + * + * @param ipAddress + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } - /** + /** * The IP address of the user that accepted the Terms of Service. * @return ipAddress - **/ + */ @ApiModelProperty(value = "The IP address of the user that accepted the Terms of Service.") @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIpAddress() { return ipAddress; } - - /** - * The IP address of the user that accepted the Terms of Service. - * - * @param ipAddress - */ + /** + * The IP address of the user that accepted the Terms of Service. + * + * @param ipAddress + */ @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } - + /** + * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse language(String language) { this.language = language; return this; } - /** + /** * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. * @return language - **/ + */ @ApiModelProperty(value = "The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. - * - * @param language - */ + /** + * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The unique identifier of the Terms of Service document. + * + * @param termsOfServiceDocumentId + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse termsOfServiceDocumentId(String termsOfServiceDocumentId) { this.termsOfServiceDocumentId = termsOfServiceDocumentId; return this; } - /** + /** * The unique identifier of the Terms of Service document. * @return termsOfServiceDocumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the Terms of Service document.") @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTermsOfServiceDocumentId() { return termsOfServiceDocumentId; } - - /** - * The unique identifier of the Terms of Service document. - * - * @param termsOfServiceDocumentId - */ + /** + * The unique identifier of the Terms of Service document. + * + * @param termsOfServiceDocumentId + */ @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsOfServiceDocumentId(String termsOfServiceDocumentId) { this.termsOfServiceDocumentId = termsOfServiceDocumentId; } - + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining + */ public AcceptTermsOfServiceResponse type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * @return type - **/ + */ @ApiModelProperty(value = "The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** - * - * @param type - */ + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AcceptTermsOfServiceResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AdditionalBankIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/AdditionalBankIdentification.java index 483457e47..e9703f5d0 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AdditionalBankIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AdditionalBankIdentification.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public AdditionalBankIdentification() { } + /** + * The value of the additional bank identification. + * + * @param code + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification code(String code) { this.code = code; return this; } - /** + /** * The value of the additional bank identification. * @return code - **/ + */ @ApiModelProperty(value = "The value of the additional bank identification.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The value of the additional bank identification. - * - * @param code - */ + /** + * The value of the additional bank identification. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. * @return type - **/ + */ @ApiModelProperty(value = "The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. - * - * @param type - */ + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AdditionalBankIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Address.java b/src/main/java/com/adyen/model/legalentitymanagement/Address.java index 44220315d..23d1be341 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Address.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** - * The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`. + /** + * The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`. - * - * @param city - */ + /** + * The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** + /** * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. - * - * @param country - */ + /** + * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * Postal code. Required if `stateOrProvince` and/or `city` is provided. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** - * Postal code. Required if `stateOrProvince` and/or `city` is provided. + /** + * Postal code. Required if `stateOrProvince` and/or `city` is provided. * @return postalCode - **/ + */ @ApiModelProperty(value = "Postal code. Required if `stateOrProvince` and/or `city` is provided.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * Postal code. Required if `stateOrProvince` and/or `city` is provided. - * - * @param postalCode - */ + /** + * Postal code. Required if `stateOrProvince` and/or `city` is provided. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided. + /** + * The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided. * @return street - **/ + */ @ApiModelProperty(value = "The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided. - * - * @param street - */ + /** + * The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - + /** + * The apartment, unit, or suite number. + * + * @param street2 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street2(String street2) { this.street2 = street2; return this; } - /** + /** * The apartment, unit, or suite number. * @return street2 - **/ + */ @ApiModelProperty(value = "The apartment, unit, or suite number.") @JsonProperty(JSON_PROPERTY_STREET2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet2() { return street2; } - - /** - * The apartment, unit, or suite number. - * - * @param street2 - */ + /** + * The apartment, unit, or suite number. + * + * @param street2 + */ @JsonProperty(JSON_PROPERTY_STREET2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet2(String street2) { this.street2 = street2; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Amount.java b/src/main/java/com/adyen/model/legalentitymanagement/Amount.java index 9d6ee7acf..284c8a746 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Amount.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The type of currency. Must be EUR (or EUR equivalent) + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The type of currency. Must be EUR (or EUR equivalent) * @return currency - **/ + */ @ApiModelProperty(value = "The type of currency. Must be EUR (or EUR equivalent)") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The type of currency. Must be EUR (or EUR equivalent) - * - * @param currency - */ + /** + * The type of currency. Must be EUR (or EUR equivalent) + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Total value of amount. Must be >= 0 + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** - * Total value of amount. Must be >= 0 + /** + * Total value of amount. Must be >= 0 * @return value - **/ + */ @ApiModelProperty(value = "Total value of amount. Must be >= 0") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * Total value of amount. Must be >= 0 - * - * @param value - */ + /** + * Total value of amount. Must be >= 0 + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Attachment.java b/src/main/java/com/adyen/model/legalentitymanagement/Attachment.java index 5343174f4..2262044f8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Attachment.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Attachment.java @@ -43,11 +43,11 @@ public class Attachment { private byte[] content; public static final String JSON_PROPERTY_CONTENT_TYPE = "contentType"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String contentType; public static final String JSON_PROPERTY_FILENAME = "filename"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String filename; public static final String JSON_PROPERTY_PAGE_NAME = "pageName"; @@ -59,62 +59,74 @@ public class Attachment { public Attachment() { } + /** + * The document in Base64-encoded string format. + * + * @param content + * @return the current {@code Attachment} instance, allowing for method chaining + */ public Attachment content(byte[] content) { this.content = content; return this; } - /** + /** * The document in Base64-encoded string format. * @return content - **/ + */ @ApiModelProperty(required = true, value = "The document in Base64-encoded string format.") @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getContent() { return content; } - - /** - * The document in Base64-encoded string format. - * - * @param content - */ + /** + * The document in Base64-encoded string format. + * + * @param content + */ @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContent(byte[] content) { this.content = content; } - + /** + * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. + * + * @param contentType + * @return the current {@code Attachment} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public Attachment contentType(String contentType) { this.contentType = contentType; return this; } - /** + /** * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. * @return contentType - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. ") @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContentType() { return contentType; } - - /** - * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. - * - * @param contentType - */ + /** + * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. + * + * @param contentType + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_CONTENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -122,33 +134,41 @@ public void setContentType(String contentType) { this.contentType = contentType; } - + /** + * The name of the file including the file extension. + * + * @param filename + * @return the current {@code Attachment} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public Attachment filename(String filename) { this.filename = filename; return this; } - /** + /** * The name of the file including the file extension. * @return filename - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The name of the file including the file extension.") @JsonProperty(JSON_PROPERTY_FILENAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFilename() { return filename; } - - /** - * The name of the file including the file extension. - * - * @param filename - */ + /** + * The name of the file including the file extension. + * + * @param filename + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_FILENAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -156,67 +176,72 @@ public void setFilename(String filename) { this.filename = filename; } - + /** + * The name of the file including the file extension. + * + * @param pageName + * @return the current {@code Attachment} instance, allowing for method chaining + */ public Attachment pageName(String pageName) { this.pageName = pageName; return this; } - /** + /** * The name of the file including the file extension. * @return pageName - **/ + */ @ApiModelProperty(value = "The name of the file including the file extension.") @JsonProperty(JSON_PROPERTY_PAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPageName() { return pageName; } - - /** - * The name of the file including the file extension. - * - * @param pageName - */ + /** + * The name of the file including the file extension. + * + * @param pageName + */ @JsonProperty(JSON_PROPERTY_PAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPageName(String pageName) { this.pageName = pageName; } - + /** + * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. + * + * @param pageType + * @return the current {@code Attachment} instance, allowing for method chaining + */ public Attachment pageType(String pageType) { this.pageType = pageType; return this; } - /** - * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. + /** + * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. * @return pageType - **/ + */ @ApiModelProperty(value = "Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments.") @JsonProperty(JSON_PROPERTY_PAGE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPageType() { return pageType; } - - /** - * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. - * - * @param pageType - */ + /** + * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. + * + * @param pageType + */ @JsonProperty(JSON_PROPERTY_PAGE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPageType(String pageType) { this.pageType = pageType; } - /** * Return true if this Attachment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BankAccountInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/BankAccountInfo.java index 480126d9a..6a84ae973 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BankAccountInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BankAccountInfo.java @@ -44,7 +44,7 @@ public class BankAccountInfo { private BankAccountInfoAccountIdentification accountIdentification; public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v2 private String accountType; public static final String JSON_PROPERTY_BANK_NAME = "bankName"; @@ -59,62 +59,74 @@ public class BankAccountInfo { public BankAccountInfo() { } + /** + * accountIdentification + * + * @param accountIdentification + * @return the current {@code BankAccountInfo} instance, allowing for method chaining + */ public BankAccountInfo accountIdentification(BankAccountInfoAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; return this; } - /** - * Get accountIdentification + /** + * accountIdentification * @return accountIdentification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountInfoAccountIdentification getAccountIdentification() { return accountIdentification; } - - /** - * accountIdentification - * - * @param accountIdentification - */ + /** + * accountIdentification + * + * @param accountIdentification + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentification(BankAccountInfoAccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; } - + /** + * The type of bank account. + * + * @param accountType + * @return the current {@code BankAccountInfo} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v2 + */ @Deprecated public BankAccountInfo accountType(String accountType) { this.accountType = accountType; return this; } - /** + /** * The type of bank account. * @return accountType - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v2 + */ @Deprecated @ApiModelProperty(value = "The type of bank account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountType() { return accountType; } - - /** - * The type of bank account. - * - * @param accountType - */ + /** + * The type of bank account. + * + * @param accountType + * + * @deprecated since Legal Entity Management API v2 + */ @Deprecated @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -122,97 +134,105 @@ public void setAccountType(String accountType) { this.accountType = accountType; } - + /** + * The name of the banking institution where the bank account is held. + * + * @param bankName + * @return the current {@code BankAccountInfo} instance, allowing for method chaining + */ public BankAccountInfo bankName(String bankName) { this.bankName = bankName; return this; } - /** + /** * The name of the banking institution where the bank account is held. * @return bankName - **/ + */ @ApiModelProperty(value = "The name of the banking institution where the bank account is held.") @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankName() { return bankName; } - - /** - * The name of the banking institution where the bank account is held. - * - * @param bankName - */ + /** + * The name of the banking institution where the bank account is held. + * + * @param bankName + */ @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankName(String bankName) { this.bankName = bankName; } - + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**. + * + * @param countryCode + * @return the current {@code BankAccountInfo} instance, allowing for method chaining + */ public BankAccountInfo countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**. * @return countryCode - **/ + */ @ApiModelProperty(value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**. - * - * @param countryCode - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**. + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + * + * @param trustedSource + * @return the current {@code BankAccountInfo} instance, allowing for method chaining + */ public BankAccountInfo trustedSource(Boolean trustedSource) { this.trustedSource = trustedSource; return this; } - /** - * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). * @return trustedSource - **/ + */ @ApiModelProperty(value = "Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).") @JsonProperty(JSON_PROPERTY_TRUSTED_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedSource() { return trustedSource; } - - /** - * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). - * - * @param trustedSource - */ + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + * + * @param trustedSource + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedSource(Boolean trustedSource) { this.trustedSource = trustedSource; } - /** * Return true if this BankAccountInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BirthData.java b/src/main/java/com/adyen/model/legalentitymanagement/BirthData.java index 5d0ab8e9e..c53f4f51f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BirthData.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BirthData.java @@ -41,36 +41,39 @@ public class BirthData { public BirthData() { } + /** + * The individual's date of birth, in YYYY-MM-DD format. + * + * @param dateOfBirth + * @return the current {@code BirthData} instance, allowing for method chaining + */ public BirthData dateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The individual's date of birth, in YYYY-MM-DD format. + /** + * The individual's date of birth, in YYYY-MM-DD format. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The individual's date of birth, in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDateOfBirth() { return dateOfBirth; } - - /** - * The individual's date of birth, in YYYY-MM-DD format. - * - * @param dateOfBirth - */ + /** + * The individual's date of birth, in YYYY-MM-DD format. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; } - /** * Return true if this BirthData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java index b70deec21..199a82e7e 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java @@ -88,7 +88,7 @@ public static CapabilityEnum fromValue(String value) { } public static final String JSON_PROPERTY_CAPABILITY = "capability"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v3: Use `service` instead. private CapabilityEnum capability; public static final String JSON_PROPERTY_ID = "id"; @@ -156,32 +156,44 @@ public static ServiceEnum fromValue(String value) { public BusinessLine() { } + /** + * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @param capability + * @return the current {@code BusinessLine} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated public BusinessLine capability(CapabilityEnum capability) { this.capability = capability; return this; } - /** + /** * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** * @return capability - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated @ApiModelProperty(value = "The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount**") @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityEnum getCapability() { return capability; } - - /** - * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** - * - * @param capability - */ + /** + * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @param capability + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -189,97 +201,111 @@ public void setCapability(CapabilityEnum capability) { this.capability = capability; } - + /** + * The unique identifier of the business line. + * + * @param id + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the business line. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the business line.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the business line. - * - * @param id - */ + /** + * The unique identifier of the business line. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * + * @param industryCode + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine industryCode(String industryCode) { this.industryCode = industryCode; return this; } - /** + /** * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * @return industryCode - **/ + */ @ApiModelProperty(required = true, value = "A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIndustryCode() { return industryCode; } - - /** - * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. - * - * @param industryCode - */ + /** + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * + * @param industryCode + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryCode(String industryCode) { this.industryCode = industryCode; } - + /** + * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. + * + * @param legalEntityId + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. - * - * @param legalEntityId - */ + /** + * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The verification errors related to capabilities for this supporting entity. + * + * @param problems + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine problems(List problems) { this.problems = problems; return this; @@ -293,31 +319,34 @@ public BusinessLine addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * The verification errors related to capabilities for this supporting entity. * @return problems - **/ + */ @ApiModelProperty(value = "The verification errors related to capabilities for this supporting entity.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * The verification errors related to capabilities for this supporting entity. - * - * @param problems - */ + /** + * The verification errors related to capabilities for this supporting entity. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine salesChannels(List salesChannels) { this.salesChannels = salesChannels; return this; @@ -331,91 +360,100 @@ public BusinessLine addSalesChannelsItem(String salesChannelsItem) { return this; } - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. * @return salesChannels - **/ + */ @ApiModelProperty(value = "A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.") @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSalesChannels() { return salesChannels; } - - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. - * - * @param salesChannels - */ + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + */ @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSalesChannels(List salesChannels) { this.salesChannels = salesChannels; } - + /** + * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** + * + * @param service + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine service(ServiceEnum service) { this.service = service; return this; } - /** + /** * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** * @return service - **/ + */ @ApiModelProperty(required = true, value = "The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** ") @JsonProperty(JSON_PROPERTY_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ServiceEnum getService() { return service; } - - /** - * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** - * - * @param service - */ + /** + * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** + * + * @param service + */ @JsonProperty(JSON_PROPERTY_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setService(ServiceEnum service) { this.service = service; } - + /** + * sourceOfFunds + * + * @param sourceOfFunds + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine sourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; return this; } - /** - * Get sourceOfFunds + /** + * sourceOfFunds * @return sourceOfFunds - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SourceOfFunds getSourceOfFunds() { return sourceOfFunds; } - - /** - * sourceOfFunds - * - * @param sourceOfFunds - */ + /** + * sourceOfFunds + * + * @param sourceOfFunds + */ @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; } - + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine webData(List webData) { this.webData = webData; return this; @@ -429,61 +467,61 @@ public BusinessLine addWebDataItem(WebData webDataItem) { return this; } - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. * @return webData - **/ + */ @ApiModelProperty(value = "List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.") @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getWebData() { return webData; } - - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. - * - * @param webData - */ + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + */ @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebData(List webData) { this.webData = webData; } - + /** + * webDataExemption + * + * @param webDataExemption + * @return the current {@code BusinessLine} instance, allowing for method chaining + */ public BusinessLine webDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; return this; } - /** - * Get webDataExemption + /** + * webDataExemption * @return webDataExemption - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebDataExemption getWebDataExemption() { return webDataExemption; } - - /** - * webDataExemption - * - * @param webDataExemption - */ + /** + * webDataExemption + * + * @param webDataExemption + */ @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; } - /** * Return true if this BusinessLine object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java index aba44d303..a634bb8f5 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java @@ -85,7 +85,7 @@ public static CapabilityEnum fromValue(String value) { } public static final String JSON_PROPERTY_CAPABILITY = "capability"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v3: Use `service` instead. private CapabilityEnum capability; public static final String JSON_PROPERTY_INDUSTRY_CODE = "industryCode"; @@ -147,32 +147,44 @@ public static ServiceEnum fromValue(String value) { public BusinessLineInfo() { } + /** + * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @param capability + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated public BusinessLineInfo capability(CapabilityEnum capability) { this.capability = capability; return this; } - /** + /** * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** * @return capability - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated @ApiModelProperty(value = "The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount**") @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityEnum getCapability() { return capability; } - - /** - * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** - * - * @param capability - */ + /** + * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @param capability + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -180,67 +192,78 @@ public void setCapability(CapabilityEnum capability) { this.capability = capability; } - + /** + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * + * @param industryCode + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo industryCode(String industryCode) { this.industryCode = industryCode; return this; } - /** + /** * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * @return industryCode - **/ + */ @ApiModelProperty(required = true, value = "A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIndustryCode() { return industryCode; } - - /** - * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. - * - * @param industryCode - */ + /** + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * + * @param industryCode + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryCode(String industryCode) { this.industryCode = industryCode; } - + /** + * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. + * + * @param legalEntityId + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. - * - * @param legalEntityId - */ + /** + * Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo salesChannels(List salesChannels) { this.salesChannels = salesChannels; return this; @@ -254,91 +277,100 @@ public BusinessLineInfo addSalesChannelsItem(String salesChannelsItem) { return this; } - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. * @return salesChannels - **/ + */ @ApiModelProperty(value = "A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.") @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSalesChannels() { return salesChannels; } - - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. - * - * @param salesChannels - */ + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + */ @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSalesChannels(List salesChannels) { this.salesChannels = salesChannels; } - + /** + * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** + * + * @param service + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo service(ServiceEnum service) { this.service = service; return this; } - /** + /** * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** * @return service - **/ + */ @ApiModelProperty(required = true, value = "The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** ") @JsonProperty(JSON_PROPERTY_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ServiceEnum getService() { return service; } - - /** - * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** - * - * @param service - */ + /** + * The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** + * + * @param service + */ @JsonProperty(JSON_PROPERTY_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setService(ServiceEnum service) { this.service = service; } - + /** + * sourceOfFunds + * + * @param sourceOfFunds + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo sourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; return this; } - /** - * Get sourceOfFunds + /** + * sourceOfFunds * @return sourceOfFunds - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SourceOfFunds getSourceOfFunds() { return sourceOfFunds; } - - /** - * sourceOfFunds - * - * @param sourceOfFunds - */ + /** + * sourceOfFunds + * + * @param sourceOfFunds + */ @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; } - + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo webData(List webData) { this.webData = webData; return this; @@ -352,61 +384,61 @@ public BusinessLineInfo addWebDataItem(WebData webDataItem) { return this; } - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. * @return webData - **/ + */ @ApiModelProperty(value = "List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.") @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getWebData() { return webData; } - - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. - * - * @param webData - */ + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + */ @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebData(List webData) { this.webData = webData; } - + /** + * webDataExemption + * + * @param webDataExemption + * @return the current {@code BusinessLineInfo} instance, allowing for method chaining + */ public BusinessLineInfo webDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; return this; } - /** - * Get webDataExemption + /** + * webDataExemption * @return webDataExemption - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebDataExemption getWebDataExemption() { return webDataExemption; } - - /** - * webDataExemption - * - * @param webDataExemption - */ + /** + * webDataExemption + * + * @param webDataExemption + */ @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; } - /** * Return true if this BusinessLineInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java index dfa355272..1cfce9607 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java @@ -62,36 +62,45 @@ public class BusinessLineInfoUpdate { public BusinessLineInfoUpdate() { } + /** + * A code that represents the industry of your legal entity. For example, **4431A** for computer software stores. + * + * @param industryCode + * @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining + */ public BusinessLineInfoUpdate industryCode(String industryCode) { this.industryCode = industryCode; return this; } - /** + /** * A code that represents the industry of your legal entity. For example, **4431A** for computer software stores. * @return industryCode - **/ + */ @ApiModelProperty(value = "A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.") @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIndustryCode() { return industryCode; } - - /** - * A code that represents the industry of your legal entity. For example, **4431A** for computer software stores. - * - * @param industryCode - */ + /** + * A code that represents the industry of your legal entity. For example, **4431A** for computer software stores. + * + * @param industryCode + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryCode(String industryCode) { this.industryCode = industryCode; } - + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + * @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining + */ public BusinessLineInfoUpdate salesChannels(List salesChannels) { this.salesChannels = salesChannels; return this; @@ -105,61 +114,67 @@ public BusinessLineInfoUpdate addSalesChannelsItem(String salesChannelsItem) { return this; } - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. * @return salesChannels - **/ + */ @ApiModelProperty(value = "A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.") @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSalesChannels() { return salesChannels; } - - /** - * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. - * - * @param salesChannels - */ + /** + * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**. + * + * @param salesChannels + */ @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSalesChannels(List salesChannels) { this.salesChannels = salesChannels; } - + /** + * sourceOfFunds + * + * @param sourceOfFunds + * @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining + */ public BusinessLineInfoUpdate sourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; return this; } - /** - * Get sourceOfFunds + /** + * sourceOfFunds * @return sourceOfFunds - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SourceOfFunds getSourceOfFunds() { return sourceOfFunds; } - - /** - * sourceOfFunds - * - * @param sourceOfFunds - */ + /** + * sourceOfFunds + * + * @param sourceOfFunds + */ @JsonProperty(JSON_PROPERTY_SOURCE_OF_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSourceOfFunds(SourceOfFunds sourceOfFunds) { this.sourceOfFunds = sourceOfFunds; } - + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + * @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining + */ public BusinessLineInfoUpdate webData(List webData) { this.webData = webData; return this; @@ -173,61 +188,61 @@ public BusinessLineInfoUpdate addWebDataItem(WebData webDataItem) { return this; } - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. * @return webData - **/ + */ @ApiModelProperty(value = "List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.") @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getWebData() { return webData; } - - /** - * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. - * - * @param webData - */ + /** + * List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object. + * + * @param webData + */ @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebData(List webData) { this.webData = webData; } - + /** + * webDataExemption + * + * @param webDataExemption + * @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining + */ public BusinessLineInfoUpdate webDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; return this; } - /** - * Get webDataExemption + /** + * webDataExemption * @return webDataExemption - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebDataExemption getWebDataExemption() { return webDataExemption; } - - /** - * webDataExemption - * - * @param webDataExemption - */ + /** + * webDataExemption + * + * @param webDataExemption + */ @JsonProperty(JSON_PROPERTY_WEB_DATA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebDataExemption(WebDataExemption webDataExemption) { this.webDataExemption = webDataExemption; } - /** * Return true if this BusinessLineInfoUpdate object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLines.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLines.java index 1004df5d4..451b8cd01 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLines.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLines.java @@ -44,6 +44,12 @@ public class BusinessLines { public BusinessLines() { } + /** + * List of business lines. + * + * @param businessLines + * @return the current {@code BusinessLines} instance, allowing for method chaining + */ public BusinessLines businessLines(List businessLines) { this.businessLines = businessLines; return this; @@ -54,31 +60,28 @@ public BusinessLines addBusinessLinesItem(BusinessLine businessLinesItem) { return this; } - /** + /** * List of business lines. * @return businessLines - **/ + */ @ApiModelProperty(required = true, value = "List of business lines.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBusinessLines() { return businessLines; } - - /** - * List of business lines. - * - * @param businessLines - */ + /** + * List of business lines. + * + * @param businessLines + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLines(List businessLines) { this.businessLines = businessLines; } - /** * Return true if this BusinessLines object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java index 01353a412..81b295bb4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java @@ -125,156 +125,171 @@ public static TypeEnum fromValue(String value) { public CALocalAccountIdentification() { } + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 5- to 12-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5- to 12-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 5- to 12-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification institutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; return this; } - /** + /** * The 3-digit institution number, without separators or whitespace. * @return institutionNumber - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit institution number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstitutionNumber() { return institutionNumber; } - - /** - * The 3-digit institution number, without separators or whitespace. - * - * @param institutionNumber - */ + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + */ @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstitutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; } - + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification transitNumber(String transitNumber) { this.transitNumber = transitNumber; return this; } - /** + /** * The 5-digit transit number, without separators or whitespace. * @return transitNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5-digit transit number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransitNumber() { return transitNumber; } - - /** - * The 5-digit transit number, without separators or whitespace. - * - * @param transitNumber - */ + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + */ @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransitNumber(String transitNumber) { this.transitNumber = transitNumber; } - + /** + * **caLocal** + * + * @param type + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **caLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**caLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **caLocal** - * - * @param type - */ + /** + * **caLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CALocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java index 08ba98bb5..249c88985 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public CZLocalAccountIdentification() { } + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) - * - * @param accountNumber - */ + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Kód banky), without separators or whitespace. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Kód banky), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Kód banky), without separators or whitespace. - * - * @param bankCode - */ + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **czLocal** + * + * @param type + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **czLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**czLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **czLocal** - * - * @param type - */ + /** + * **czLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CalculateTermsOfServiceStatusResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/CalculateTermsOfServiceStatusResponse.java index e033938a4..e84a52495 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CalculateTermsOfServiceStatusResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CalculateTermsOfServiceStatusResponse.java @@ -90,6 +90,12 @@ public static TermsOfServiceTypesEnum fromValue(String value) { public CalculateTermsOfServiceStatusResponse() { } + /** + * The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted. + * + * @param termsOfServiceTypes + * @return the current {@code CalculateTermsOfServiceStatusResponse} instance, allowing for method chaining + */ public CalculateTermsOfServiceStatusResponse termsOfServiceTypes(List termsOfServiceTypes) { this.termsOfServiceTypes = termsOfServiceTypes; return this; @@ -103,31 +109,28 @@ public CalculateTermsOfServiceStatusResponse addTermsOfServiceTypesItem(TermsOfS return this; } - /** + /** * The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted. * @return termsOfServiceTypes - **/ + */ @ApiModelProperty(value = "The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted.") @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTermsOfServiceTypes() { return termsOfServiceTypes; } - - /** - * The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted. - * - * @param termsOfServiceTypes - */ + /** + * The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted. + * + * @param termsOfServiceTypes + */ @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsOfServiceTypes(List termsOfServiceTypes) { this.termsOfServiceTypes = termsOfServiceTypes; } - /** * Return true if this CalculateTermsOfServiceStatusResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblem.java b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblem.java index 1f80c340c..ef2ab2cec 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblem.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblem.java @@ -49,36 +49,45 @@ public class CapabilityProblem { public CapabilityProblem() { } + /** + * entity + * + * @param entity + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem entity(CapabilityProblemEntity entity) { this.entity = entity; return this; } - /** - * Get entity + /** + * entity * @return entity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntity getEntity() { return entity; } - - /** - * entity - * - * @param entity - */ + /** + * entity + * + * @param entity + */ @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntity(CapabilityProblemEntity entity) { this.entity = entity; } - + /** + * verificationErrors + * + * @param verificationErrors + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem verificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; return this; @@ -92,31 +101,28 @@ public CapabilityProblem addVerificationErrorsItem(VerificationError verificatio return this; } - /** - * Get verificationErrors + /** + * verificationErrors * @return verificationErrors - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationErrors() { return verificationErrors; } - - /** - * verificationErrors - * - * @param verificationErrors - */ + /** + * verificationErrors + * + * @param verificationErrors + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; } - /** * Return true if this CapabilityProblem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntity.java b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntity.java index bc645de84..29f436186 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntity.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntity.java @@ -95,6 +95,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntity() { } + /** + * List of document IDs corresponding to the verification errors from capabilities. + * + * @param documents + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity documents(List documents) { this.documents = documents; return this; @@ -108,121 +114,127 @@ public CapabilityProblemEntity addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs corresponding to the verification errors from capabilities. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs corresponding to the verification errors from capabilities.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs corresponding to the verification errors from capabilities. - * - * @param documents - */ + /** + * List of document IDs corresponding to the verification errors from capabilities. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * id + * + * @param id + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity id(String id) { this.id = id; return this; } - /** - * Get id + /** + * id * @return id - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * id - * - * @param id - */ + /** + * id + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * owner + * + * @param owner + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity owner(CapabilityProblemEntityRecursive owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * owner * @return owner - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntityRecursive getOwner() { return owner; } - - /** - * owner - * - * @param owner - */ + /** + * owner + * + * @param owner + */ @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwner(CapabilityProblemEntityRecursive owner) { this.owner = owner; } - + /** + * type + * + * @param type + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity type(TypeEnum type) { this.type = type; return this; } - /** - * Get type + /** + * type * @return type - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * type - * - * @param type - */ + /** + * type + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntityRecursive.java b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntityRecursive.java index 5ad250998..7afa99aed 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntityRecursive.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CapabilityProblemEntityRecursive.java @@ -91,6 +91,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntityRecursive() { } + /** + * List of document IDs corresponding to the verification errors from capabilities. + * + * @param documents + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive documents(List documents) { this.documents = documents; return this; @@ -104,91 +110,94 @@ public CapabilityProblemEntityRecursive addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs corresponding to the verification errors from capabilities. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs corresponding to the verification errors from capabilities.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs corresponding to the verification errors from capabilities. - * - * @param documents - */ + /** + * List of document IDs corresponding to the verification errors from capabilities. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * id + * + * @param id + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive id(String id) { this.id = id; return this; } - /** - * Get id + /** + * id * @return id - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * id - * - * @param id - */ + /** + * id + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * type + * + * @param type + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive type(TypeEnum type) { this.type = type; return this; } - /** - * Get type + /** + * type * @return type - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * type - * - * @param type - */ + /** + * type + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CapabilitySettings.java b/src/main/java/com/adyen/model/legalentitymanagement/CapabilitySettings.java index 09af5df75..2af794f6f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CapabilitySettings.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CapabilitySettings.java @@ -136,6 +136,12 @@ public static IntervalEnum fromValue(String value) { public CapabilitySettings() { } + /** + * The maximum amount a card holder can spend per industry. + * + * @param amountPerIndustry + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings amountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; return this; @@ -149,61 +155,67 @@ public CapabilitySettings putAmountPerIndustryItem(String key, Amount amountPerI return this; } - /** + /** * The maximum amount a card holder can spend per industry. * @return amountPerIndustry - **/ + */ @ApiModelProperty(value = "The maximum amount a card holder can spend per industry.") @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAmountPerIndustry() { return amountPerIndustry; } - - /** - * The maximum amount a card holder can spend per industry. - * - * @param amountPerIndustry - */ + /** + * The maximum amount a card holder can spend per industry. + * + * @param amountPerIndustry + */ @JsonProperty(JSON_PROPERTY_AMOUNT_PER_INDUSTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountPerIndustry(Map amountPerIndustry) { this.amountPerIndustry = amountPerIndustry; } - + /** + * The number of card holders who can use the card. + * + * @param authorizedCardUsers + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings authorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; return this; } - /** + /** * The number of card holders who can use the card. * @return authorizedCardUsers - **/ + */ @ApiModelProperty(value = "The number of card holders who can use the card.") @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthorizedCardUsers() { return authorizedCardUsers; } - - /** - * The number of card holders who can use the card. - * - * @param authorizedCardUsers - */ + /** + * The number of card holders who can use the card. + * + * @param authorizedCardUsers + */ @JsonProperty(JSON_PROPERTY_AUTHORIZED_CARD_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorizedCardUsers(Boolean authorizedCardUsers) { this.authorizedCardUsers = authorizedCardUsers; } - + /** + * The funding source of the card, for example **debit**. + * + * @param fundingSource + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings fundingSource(List fundingSource) { this.fundingSource = fundingSource; return this; @@ -217,91 +229,94 @@ public CapabilitySettings addFundingSourceItem(FundingSourceEnum fundingSourceIt return this; } - /** + /** * The funding source of the card, for example **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source of the card, for example **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFundingSource() { return fundingSource; } - - /** - * The funding source of the card, for example **debit**. - * - * @param fundingSource - */ + /** + * The funding source of the card, for example **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(List fundingSource) { this.fundingSource = fundingSource; } - + /** + * The period when the rule conditions apply. + * + * @param interval + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings interval(IntervalEnum interval) { this.interval = interval; return this; } - /** + /** * The period when the rule conditions apply. * @return interval - **/ + */ @ApiModelProperty(value = "The period when the rule conditions apply.") @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IntervalEnum getInterval() { return interval; } - - /** - * The period when the rule conditions apply. - * - * @param interval - */ + /** + * The period when the rule conditions apply. + * + * @param interval + */ @JsonProperty(JSON_PROPERTY_INTERVAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterval(IntervalEnum interval) { this.interval = interval; } - + /** + * maxAmount + * + * @param maxAmount + * @return the current {@code CapabilitySettings} instance, allowing for method chaining + */ public CapabilitySettings maxAmount(Amount maxAmount) { this.maxAmount = maxAmount; return this; } - /** - * Get maxAmount + /** + * maxAmount * @return maxAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getMaxAmount() { return maxAmount; } - - /** - * maxAmount - * - * @param maxAmount - */ + /** + * maxAmount + * + * @param maxAmount + */ @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxAmount(Amount maxAmount) { this.maxAmount = maxAmount; } - /** * Return true if this CapabilitySettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CheckTaxElectronicDeliveryConsentResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/CheckTaxElectronicDeliveryConsentResponse.java index bac87b039..f3342171b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CheckTaxElectronicDeliveryConsentResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CheckTaxElectronicDeliveryConsentResponse.java @@ -41,36 +41,39 @@ public class CheckTaxElectronicDeliveryConsentResponse { public CheckTaxElectronicDeliveryConsentResponse() { } + /** + * Consent to electronically deliver tax form US1099-K. + * + * @param us1099k + * @return the current {@code CheckTaxElectronicDeliveryConsentResponse} instance, allowing for method chaining + */ public CheckTaxElectronicDeliveryConsentResponse us1099k(Boolean us1099k) { this.us1099k = us1099k; return this; } - /** + /** * Consent to electronically deliver tax form US1099-K. * @return us1099k - **/ + */ @ApiModelProperty(value = "Consent to electronically deliver tax form US1099-K.") @JsonProperty(JSON_PROPERTY_US1099K) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getUs1099k() { return us1099k; } - - /** - * Consent to electronically deliver tax form US1099-K. - * - * @param us1099k - */ + /** + * Consent to electronically deliver tax form US1099-K. + * + * @param us1099k + */ @JsonProperty(JSON_PROPERTY_US1099K) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUs1099k(Boolean us1099k) { this.us1099k = us1099k; } - /** * Return true if this CheckTaxElectronicDeliveryConsentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java index ee6e689e0..28450d2be 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public DKLocalAccountIdentification() { } + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). - * - * @param accountNumber - */ + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Registreringsnummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). - * - * @param bankCode - */ + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **dkLocal** + * + * @param type + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**dkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dkLocal** - * - * @param type - */ + /** + * **dkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DataReviewConfirmationResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/DataReviewConfirmationResponse.java index c9d905a94..743d6e1de 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DataReviewConfirmationResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DataReviewConfirmationResponse.java @@ -41,36 +41,39 @@ public class DataReviewConfirmationResponse { public DataReviewConfirmationResponse() { } + /** + * Date when data review was confirmed. + * + * @param dataReviewedAt + * @return the current {@code DataReviewConfirmationResponse} instance, allowing for method chaining + */ public DataReviewConfirmationResponse dataReviewedAt(String dataReviewedAt) { this.dataReviewedAt = dataReviewedAt; return this; } - /** + /** * Date when data review was confirmed. * @return dataReviewedAt - **/ + */ @ApiModelProperty(value = "Date when data review was confirmed.") @JsonProperty(JSON_PROPERTY_DATA_REVIEWED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDataReviewedAt() { return dataReviewedAt; } - - /** - * Date when data review was confirmed. - * - * @param dataReviewedAt - */ + /** + * Date when data review was confirmed. + * + * @param dataReviewedAt + */ @JsonProperty(JSON_PROPERTY_DATA_REVIEWED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDataReviewedAt(String dataReviewedAt) { this.dataReviewedAt = dataReviewedAt; } - /** * Return true if this DataReviewConfirmationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Document.java b/src/main/java/com/adyen/model/legalentitymanagement/Document.java index b2c204f44..e381f8af7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Document.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Document.java @@ -65,7 +65,7 @@ public class Document { private String description; public static final String JSON_PROPERTY_EXPIRY_DATE = "expiryDate"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String expiryDate; public static final String JSON_PROPERTY_FILE_NAME = "fileName"; @@ -75,11 +75,11 @@ public class Document { private String id; public static final String JSON_PROPERTY_ISSUER_COUNTRY = "issuerCountry"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String issuerCountry; public static final String JSON_PROPERTY_ISSUER_STATE = "issuerState"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String issuerState; public static final String JSON_PROPERTY_MODIFICATION_DATE = "modificationDate"; @@ -166,36 +166,45 @@ public static TypeEnum fromValue(String value) { public Document() { } + /** + * attachment + * + * @param attachment + * @return the current {@code Document} instance, allowing for method chaining + */ public Document attachment(Attachment attachment) { this.attachment = attachment; return this; } - /** - * Get attachment + /** + * attachment * @return attachment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ATTACHMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Attachment getAttachment() { return attachment; } - - /** - * attachment - * - * @param attachment - */ + /** + * attachment + * + * @param attachment + */ @JsonProperty(JSON_PROPERTY_ATTACHMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAttachment(Attachment attachment) { this.attachment = attachment; } - + /** + * Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document. + * + * @param attachments + * @return the current {@code Document} instance, allowing for method chaining + */ public Document attachments(List attachments) { this.attachments = attachments; return this; @@ -209,117 +218,129 @@ public Document addAttachmentsItem(Attachment attachmentsItem) { return this; } - /** + /** * Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document. * @return attachments - **/ + */ @ApiModelProperty(value = "Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document.") @JsonProperty(JSON_PROPERTY_ATTACHMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAttachments() { return attachments; } - - /** - * Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document. - * - * @param attachments - */ + /** + * Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document. + * + * @param attachments + */ @JsonProperty(JSON_PROPERTY_ATTACHMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAttachments(List attachments) { this.attachments = attachments; } - + /** + * The creation date of the document. + * + * @param creationDate + * @return the current {@code Document} instance, allowing for method chaining + */ public Document creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The creation date of the document. * @return creationDate - **/ + */ @ApiModelProperty(value = "The creation date of the document.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The creation date of the document. - * - * @param creationDate - */ + /** + * The creation date of the document. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * Your description for the document. + * + * @param description + * @return the current {@code Document} instance, allowing for method chaining + */ public Document description(String description) { this.description = description; return this; } - /** + /** * Your description for the document. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description for the document.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the document. - * - * @param description - */ + /** + * Your description for the document. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The expiry date of the document, in YYYY-MM-DD format. + * + * @param expiryDate + * @return the current {@code Document} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public Document expiryDate(String expiryDate) { this.expiryDate = expiryDate; return this; } - /** + /** * The expiry date of the document, in YYYY-MM-DD format. * @return expiryDate - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The expiry date of the document, in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryDate() { return expiryDate; } - - /** - * The expiry date of the document, in YYYY-MM-DD format. - * - * @param expiryDate - */ + /** + * The expiry date of the document, in YYYY-MM-DD format. + * + * @param expiryDate + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -327,93 +348,107 @@ public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; } - + /** + * The filename of the document. + * + * @param fileName + * @return the current {@code Document} instance, allowing for method chaining + */ public Document fileName(String fileName) { this.fileName = fileName; return this; } - /** + /** * The filename of the document. * @return fileName - **/ + */ @ApiModelProperty(value = "The filename of the document.") @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFileName() { return fileName; } - - /** - * The filename of the document. - * - * @param fileName - */ + /** + * The filename of the document. + * + * @param fileName + */ @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFileName(String fileName) { this.fileName = fileName; } - + /** + * The unique identifier of the document. + * + * @param id + * @return the current {@code Document} instance, allowing for method chaining + */ public Document id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the document. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the document.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the document. - * - * @param id - */ + /** + * The unique identifier of the document. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @param issuerCountry + * @return the current {@code Document} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public Document issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. * @return issuerCountry - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. - * - * @param issuerCountry - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @param issuerCountry + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -421,33 +456,41 @@ public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - + /** + * The state or province where the document was issued (AU only). + * + * @param issuerState + * @return the current {@code Document} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public Document issuerState(String issuerState) { this.issuerState = issuerState; return this; } - /** + /** * The state or province where the document was issued (AU only). * @return issuerState - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The state or province where the document was issued (AU only).") @JsonProperty(JSON_PROPERTY_ISSUER_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerState() { return issuerState; } - - /** - * The state or province where the document was issued (AU only). - * - * @param issuerState - */ + /** + * The state or province where the document was issued (AU only). + * + * @param issuerState + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_ISSUER_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -455,127 +498,138 @@ public void setIssuerState(String issuerState) { this.issuerState = issuerState; } - + /** + * The modification date of the document. + * + * @param modificationDate + * @return the current {@code Document} instance, allowing for method chaining + */ public Document modificationDate(OffsetDateTime modificationDate) { this.modificationDate = modificationDate; return this; } - /** + /** * The modification date of the document. * @return modificationDate - **/ + */ @ApiModelProperty(value = "The modification date of the document.") @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getModificationDate() { return modificationDate; } - - /** - * The modification date of the document. - * - * @param modificationDate - */ + /** + * The modification date of the document. + * + * @param modificationDate + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationDate(OffsetDateTime modificationDate) { this.modificationDate = modificationDate; } - + /** + * The number in the document. + * + * @param number + * @return the current {@code Document} instance, allowing for method chaining + */ public Document number(String number) { this.number = number; return this; } - /** + /** * The number in the document. * @return number - **/ + */ @ApiModelProperty(value = "The number in the document.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The number in the document. - * - * @param number - */ + /** + * The number in the document. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * owner + * + * @param owner + * @return the current {@code Document} instance, allowing for method chaining + */ public Document owner(OwnerEntity owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * owner * @return owner - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OwnerEntity getOwner() { return owner; } - - /** - * owner - * - * @param owner - */ + /** + * owner + * + * @param owner + */ @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwner(OwnerEntity owner) { this.owner = owner; } - + /** + * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * + * @param type + * @return the current {@code Document} instance, allowing for method chaining + */ public Document type(TypeEnum type) { this.type = type; return this; } - /** - * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + /** + * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). - * - * @param type - */ + /** + * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Document object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DocumentPage.java b/src/main/java/com/adyen/model/legalentitymanagement/DocumentPage.java index 8ac31b1a2..040a5b98d 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DocumentPage.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DocumentPage.java @@ -86,96 +86,105 @@ public static TypeEnum fromValue(String value) { public DocumentPage() { } + /** + * pageName + * + * @param pageName + * @return the current {@code DocumentPage} instance, allowing for method chaining + */ public DocumentPage pageName(String pageName) { this.pageName = pageName; return this; } - /** - * Get pageName + /** + * pageName * @return pageName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPageName() { return pageName; } - - /** - * pageName - * - * @param pageName - */ + /** + * pageName + * + * @param pageName + */ @JsonProperty(JSON_PROPERTY_PAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPageName(String pageName) { this.pageName = pageName; } - + /** + * pageNumber + * + * @param pageNumber + * @return the current {@code DocumentPage} instance, allowing for method chaining + */ public DocumentPage pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Get pageNumber + /** + * pageNumber * @return pageNumber - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAGE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPageNumber() { return pageNumber; } - - /** - * pageNumber - * - * @param pageNumber - */ + /** + * pageNumber + * + * @param pageNumber + */ @JsonProperty(JSON_PROPERTY_PAGE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } - + /** + * type + * + * @param type + * @return the current {@code DocumentPage} instance, allowing for method chaining + */ public DocumentPage type(TypeEnum type) { this.type = type; return this; } - /** - * Get type + /** + * type * @return type - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * type - * - * @param type - */ + /** + * type + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DocumentPage object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DocumentReference.java b/src/main/java/com/adyen/model/legalentitymanagement/DocumentReference.java index 0951cd046..2260176f4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DocumentReference.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DocumentReference.java @@ -69,156 +69,177 @@ public class DocumentReference { public DocumentReference() { } + /** + * Identifies whether the document is active and used for checks. + * + * @param active + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference active(Boolean active) { this.active = active; return this; } - /** + /** * Identifies whether the document is active and used for checks. * @return active - **/ + */ @ApiModelProperty(value = "Identifies whether the document is active and used for checks.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Identifies whether the document is active and used for checks. - * - * @param active - */ + /** + * Identifies whether the document is active and used for checks. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * Your description for the document. + * + * @param description + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference description(String description) { this.description = description; return this; } - /** + /** * Your description for the document. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the document.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the document. - * - * @param description - */ + /** + * Your description for the document. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Document name. + * + * @param fileName + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference fileName(String fileName) { this.fileName = fileName; return this; } - /** + /** * Document name. * @return fileName - **/ + */ @ApiModelProperty(value = "Document name.") @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFileName() { return fileName; } - - /** - * Document name. - * - * @param fileName - */ + /** + * Document name. + * + * @param fileName + */ @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFileName(String fileName) { this.fileName = fileName; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The modification date of the document. + * + * @param modificationDate + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference modificationDate(OffsetDateTime modificationDate) { this.modificationDate = modificationDate; return this; } - /** + /** * The modification date of the document. * @return modificationDate - **/ + */ @ApiModelProperty(value = "The modification date of the document.") @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getModificationDate() { return modificationDate; } - - /** - * The modification date of the document. - * - * @param modificationDate - */ + /** + * The modification date of the document. + * + * @param modificationDate + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationDate(OffsetDateTime modificationDate) { this.modificationDate = modificationDate; } - + /** + * List of document pages + * + * @param pages + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference pages(List pages) { this.pages = pages; return this; @@ -232,61 +253,61 @@ public DocumentReference addPagesItem(DocumentPage pagesItem) { return this; } - /** + /** * List of document pages * @return pages - **/ + */ @ApiModelProperty(value = "List of document pages") @JsonProperty(JSON_PROPERTY_PAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPages() { return pages; } - - /** - * List of document pages - * - * @param pages - */ + /** + * List of document pages + * + * @param pages + */ @JsonProperty(JSON_PROPERTY_PAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPages(List pages) { this.pages = pages; } - + /** + * Type of document, used when providing an ID number or uploading a document. + * + * @param type + * @return the current {@code DocumentReference} instance, allowing for method chaining + */ public DocumentReference type(String type) { this.type = type; return this; } - /** + /** * Type of document, used when providing an ID number or uploading a document. * @return type - **/ + */ @ApiModelProperty(value = "Type of document, used when providing an ID number or uploading a document.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Type of document, used when providing an ID number or uploading a document. - * - * @param type - */ + /** + * Type of document, used when providing an ID number or uploading a document. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this DocumentReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/EntityReference.java b/src/main/java/com/adyen/model/legalentitymanagement/EntityReference.java index 21a44ec80..b119090ef 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/EntityReference.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/EntityReference.java @@ -41,36 +41,39 @@ public class EntityReference { public EntityReference() { } + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code EntityReference} instance, allowing for method chaining + */ public EntityReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this EntityReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java index f98e98c80..cbc720fc5 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java @@ -86,6 +86,12 @@ public static AdditionalSalesChannelsEnum fromValue(String value) { public GeneratePciDescriptionRequest() { } + /** + * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** + * + * @param additionalSalesChannels + * @return the current {@code GeneratePciDescriptionRequest} instance, allowing for method chaining + */ public GeneratePciDescriptionRequest additionalSalesChannels(List additionalSalesChannels) { this.additionalSalesChannels = additionalSalesChannels; return this; @@ -99,61 +105,61 @@ public GeneratePciDescriptionRequest addAdditionalSalesChannelsItem(AdditionalSa return this; } - /** + /** * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** * @return additionalSalesChannels - **/ + */ @ApiModelProperty(value = "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** ") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAdditionalSalesChannels() { return additionalSalesChannels; } - - /** - * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** - * - * @param additionalSalesChannels - */ + /** + * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** + * + * @param additionalSalesChannels + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSalesChannels(List additionalSalesChannels) { this.additionalSalesChannels = additionalSalesChannels; } - + /** + * Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**. + * + * @param language + * @return the current {@code GeneratePciDescriptionRequest} instance, allowing for method chaining + */ public GeneratePciDescriptionRequest language(String language) { this.language = language; return this; } - /** + /** * Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**. * @return language - **/ + */ @ApiModelProperty(value = "Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**. - * - * @param language - */ + /** + * Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - /** * Return true if this GeneratePciDescriptionRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionResponse.java index b1b0a7c98..98d22b0ee 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionResponse.java @@ -51,66 +51,78 @@ public class GeneratePciDescriptionResponse { public GeneratePciDescriptionResponse() { } + /** + * The generated questionnaires in a base64 encoded format. + * + * @param content + * @return the current {@code GeneratePciDescriptionResponse} instance, allowing for method chaining + */ public GeneratePciDescriptionResponse content(byte[] content) { this.content = content; return this; } - /** + /** * The generated questionnaires in a base64 encoded format. * @return content - **/ + */ @ApiModelProperty(value = "The generated questionnaires in a base64 encoded format.") @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getContent() { return content; } - - /** - * The generated questionnaires in a base64 encoded format. - * - * @param content - */ + /** + * The generated questionnaires in a base64 encoded format. + * + * @param content + */ @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContent(byte[] content) { this.content = content; } - + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**. + * + * @param language + * @return the current {@code GeneratePciDescriptionResponse} instance, allowing for method chaining + */ public GeneratePciDescriptionResponse language(String language) { this.language = language; return this; } - /** + /** * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**. * @return language - **/ + */ @ApiModelProperty(value = "The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**. - * - * @param language - */ + /** + * The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The array of Adyen-generated unique identifiers for the questionnaires. + * + * @param pciTemplateReferences + * @return the current {@code GeneratePciDescriptionResponse} instance, allowing for method chaining + */ public GeneratePciDescriptionResponse pciTemplateReferences(List pciTemplateReferences) { this.pciTemplateReferences = pciTemplateReferences; return this; @@ -124,31 +136,28 @@ public GeneratePciDescriptionResponse addPciTemplateReferencesItem(String pciTem return this; } - /** + /** * The array of Adyen-generated unique identifiers for the questionnaires. * @return pciTemplateReferences - **/ + */ @ApiModelProperty(value = "The array of Adyen-generated unique identifiers for the questionnaires.") @JsonProperty(JSON_PROPERTY_PCI_TEMPLATE_REFERENCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPciTemplateReferences() { return pciTemplateReferences; } - - /** - * The array of Adyen-generated unique identifiers for the questionnaires. - * - * @param pciTemplateReferences - */ + /** + * The array of Adyen-generated unique identifiers for the questionnaires. + * + * @param pciTemplateReferences + */ @JsonProperty(JSON_PROPERTY_PCI_TEMPLATE_REFERENCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPciTemplateReferences(List pciTemplateReferences) { this.pciTemplateReferences = pciTemplateReferences; } - /** * Return true if this GeneratePciDescriptionResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireInfosResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireInfosResponse.java index 2c3593e4c..ce3aec831 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireInfosResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireInfosResponse.java @@ -44,6 +44,12 @@ public class GetPciQuestionnaireInfosResponse { public GetPciQuestionnaireInfosResponse() { } + /** + * Information about the signed PCI questionnaires. + * + * @param data + * @return the current {@code GetPciQuestionnaireInfosResponse} instance, allowing for method chaining + */ public GetPciQuestionnaireInfosResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public GetPciQuestionnaireInfosResponse addDataItem(PciDocumentInfo dataItem) { return this; } - /** + /** * Information about the signed PCI questionnaires. * @return data - **/ + */ @ApiModelProperty(value = "Information about the signed PCI questionnaires.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Information about the signed PCI questionnaires. - * - * @param data - */ + /** + * Information about the signed PCI questionnaires. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this GetPciQuestionnaireInfosResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireResponse.java index c67c8630e..5a57fa3c8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetPciQuestionnaireResponse.java @@ -54,126 +54,138 @@ public class GetPciQuestionnaireResponse { public GetPciQuestionnaireResponse() { } + /** + * The generated questionnaire in a base64 encoded format. + * + * @param content + * @return the current {@code GetPciQuestionnaireResponse} instance, allowing for method chaining + */ public GetPciQuestionnaireResponse content(byte[] content) { this.content = content; return this; } - /** + /** * The generated questionnaire in a base64 encoded format. * @return content - **/ + */ @ApiModelProperty(value = "The generated questionnaire in a base64 encoded format.") @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getContent() { return content; } - - /** - * The generated questionnaire in a base64 encoded format. - * - * @param content - */ + /** + * The generated questionnaire in a base64 encoded format. + * + * @param content + */ @JsonProperty(JSON_PROPERTY_CONTENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContent(byte[] content) { this.content = content; } - + /** + * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param createdAt + * @return the current {@code GetPciQuestionnaireResponse} instance, allowing for method chaining + */ public GetPciQuestionnaireResponse createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 * @return createdAt - **/ + */ @ApiModelProperty(value = "The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 - * - * @param createdAt - */ + /** + * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * The unique identifier of the signed questionnaire. + * + * @param id + * @return the current {@code GetPciQuestionnaireResponse} instance, allowing for method chaining + */ public GetPciQuestionnaireResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the signed questionnaire. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the signed questionnaire.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the signed questionnaire. - * - * @param id - */ + /** + * The unique identifier of the signed questionnaire. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param validUntil + * @return the current {@code GetPciQuestionnaireResponse} instance, allowing for method chaining + */ public GetPciQuestionnaireResponse validUntil(OffsetDateTime validUntil) { this.validUntil = validUntil; return this; } - /** + /** * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 * @return validUntil - **/ + */ @ApiModelProperty(value = "The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00") @JsonProperty(JSON_PROPERTY_VALID_UNTIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValidUntil() { return validUntil; } - - /** - * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 - * - * @param validUntil - */ + /** + * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param validUntil + */ @JsonProperty(JSON_PROPERTY_VALID_UNTIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidUntil(OffsetDateTime validUntil) { this.validUntil = validUntil; } - /** * Return true if this GetPciQuestionnaireResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceAcceptanceInfosResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceAcceptanceInfosResponse.java index 10b96d3ce..50c57fc98 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceAcceptanceInfosResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceAcceptanceInfosResponse.java @@ -44,6 +44,12 @@ public class GetTermsOfServiceAcceptanceInfosResponse { public GetTermsOfServiceAcceptanceInfosResponse() { } + /** + * The Terms of Service acceptance information. + * + * @param data + * @return the current {@code GetTermsOfServiceAcceptanceInfosResponse} instance, allowing for method chaining + */ public GetTermsOfServiceAcceptanceInfosResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public GetTermsOfServiceAcceptanceInfosResponse addDataItem(TermsOfServiceAccept return this; } - /** + /** * The Terms of Service acceptance information. * @return data - **/ + */ @ApiModelProperty(value = "The Terms of Service acceptance information.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The Terms of Service acceptance information. - * - * @param data - */ + /** + * The Terms of Service acceptance information. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this GetTermsOfServiceAcceptanceInfosResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentRequest.java index 609fa147a..43775662b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentRequest.java @@ -96,96 +96,105 @@ public static TypeEnum fromValue(String value) { public GetTermsOfServiceDocumentRequest() { } + /** + * The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + * @return the current {@code GetTermsOfServiceDocumentRequest} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentRequest language(String language) { this.language = language; return this; } - /** + /** * The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. * @return language - **/ + */ @ApiModelProperty(required = true, value = "The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. - * - * @param language - */ + /** + * The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. + * + * @param termsOfServiceDocumentFormat + * @return the current {@code GetTermsOfServiceDocumentRequest} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentRequest termsOfServiceDocumentFormat(String termsOfServiceDocumentFormat) { this.termsOfServiceDocumentFormat = termsOfServiceDocumentFormat; return this; } - /** + /** * The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. * @return termsOfServiceDocumentFormat - **/ + */ @ApiModelProperty(value = "The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**.") @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTermsOfServiceDocumentFormat() { return termsOfServiceDocumentFormat; } - - /** - * The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. - * - * @param termsOfServiceDocumentFormat - */ + /** + * The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. + * + * @param termsOfServiceDocumentFormat + */ @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsOfServiceDocumentFormat(String termsOfServiceDocumentFormat) { this.termsOfServiceDocumentFormat = termsOfServiceDocumentFormat; } - + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + * @return the current {@code GetTermsOfServiceDocumentRequest} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** - * - * @param type - */ + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GetTermsOfServiceDocumentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java index 3bf658011..53634405b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java @@ -108,186 +108,204 @@ public static TypeEnum fromValue(String value) { public GetTermsOfServiceDocumentResponse() { } + /** + * The Terms of Service document in Base64-encoded format. + * + * @param document + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse document(byte[] document) { this.document = document; return this; } - /** + /** * The Terms of Service document in Base64-encoded format. * @return document - **/ + */ @ApiModelProperty(value = "The Terms of Service document in Base64-encoded format.") @JsonProperty(JSON_PROPERTY_DOCUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getDocument() { return document; } - - /** - * The Terms of Service document in Base64-encoded format. - * - * @param document - */ + /** + * The Terms of Service document in Base64-encoded format. + * + * @param document + */ @JsonProperty(JSON_PROPERTY_DOCUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocument(byte[] document) { this.document = document; } - + /** + * The unique identifier of the legal entity. + * + * @param id + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the legal entity. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the legal entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the legal entity. - * - * @param id - */ + /** + * The unique identifier of the legal entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse language(String language) { this.language = language; return this; } - /** + /** * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. * @return language - **/ + */ @ApiModelProperty(value = "The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. - * - * @param language - */ + /** + * The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The format of the Terms of Service document. + * + * @param termsOfServiceDocumentFormat + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse termsOfServiceDocumentFormat(String termsOfServiceDocumentFormat) { this.termsOfServiceDocumentFormat = termsOfServiceDocumentFormat; return this; } - /** + /** * The format of the Terms of Service document. * @return termsOfServiceDocumentFormat - **/ + */ @ApiModelProperty(value = "The format of the Terms of Service document.") @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTermsOfServiceDocumentFormat() { return termsOfServiceDocumentFormat; } - - /** - * The format of the Terms of Service document. - * - * @param termsOfServiceDocumentFormat - */ + /** + * The format of the Terms of Service document. + * + * @param termsOfServiceDocumentFormat + */ @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsOfServiceDocumentFormat(String termsOfServiceDocumentFormat) { this.termsOfServiceDocumentFormat = termsOfServiceDocumentFormat; } - + /** + * The unique identifier of the Terms of Service document. + * + * @param termsOfServiceDocumentId + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse termsOfServiceDocumentId(String termsOfServiceDocumentId) { this.termsOfServiceDocumentId = termsOfServiceDocumentId; return this; } - /** + /** * The unique identifier of the Terms of Service document. * @return termsOfServiceDocumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the Terms of Service document.") @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTermsOfServiceDocumentId() { return termsOfServiceDocumentId; } - - /** - * The unique identifier of the Terms of Service document. - * - * @param termsOfServiceDocumentId - */ + /** + * The unique identifier of the Terms of Service document. + * + * @param termsOfServiceDocumentId + */ @JsonProperty(JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTermsOfServiceDocumentId(String termsOfServiceDocumentId) { this.termsOfServiceDocumentId = termsOfServiceDocumentId; } - + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method chaining + */ public GetTermsOfServiceDocumentResponse type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * @return type - **/ + */ @ApiModelProperty(value = "The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** - * - * @param type - */ + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this GetTermsOfServiceDocumentResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java index 6d71228b2..5193a0442 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public HKLocalAccountIdentification() { } + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. - * - * @param accountNumber - */ + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification clearingCode(String clearingCode) { this.clearingCode = clearingCode; return this; } - /** + /** * The 3-digit clearing code, without separators or whitespace. * @return clearingCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit clearing code, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingCode() { return clearingCode; } - - /** - * The 3-digit clearing code, without separators or whitespace. - * - * @param clearingCode - */ + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + */ @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingCode(String clearingCode) { this.clearingCode = clearingCode; } - + /** + * **hkLocal** + * + * @param type + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **hkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**hkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **hkLocal** - * - * @param type - */ + /** + * **hkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java index 8b0415b10..11bd1981b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public HULocalAccountIdentification() { } + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 24-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 24-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 24-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **huLocal** + * + * @param type + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **huLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**huLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **huLocal** - * - * @param type - */ + /** + * **huLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java index 65f367ce5..6f26dd0a3 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * **iban** + * + * @param type + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **iban** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **iban** - * - * @param type - */ + /** + * **iban** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IbanAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/IdentificationData.java b/src/main/java/com/adyen/model/legalentitymanagement/IdentificationData.java index 0de4a7b08..1c4239beb 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/IdentificationData.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/IdentificationData.java @@ -48,7 +48,7 @@ public class IdentificationData { private String expiryDate; public static final String JSON_PROPERTY_ISSUER_COUNTRY = "issuerCountry"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1 private String issuerCountry; public static final String JSON_PROPERTY_ISSUER_STATE = "issuerState"; @@ -105,92 +105,107 @@ public static TypeEnum fromValue(String value) { public IdentificationData() { } + /** + * The card number of the document that was issued (AU only). + * + * @param cardNumber + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } - /** + /** * The card number of the document that was issued (AU only). * @return cardNumber - **/ + */ @ApiModelProperty(value = "The card number of the document that was issued (AU only).") @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardNumber() { return cardNumber; } - - /** - * The card number of the document that was issued (AU only). - * - * @param cardNumber - */ + /** + * The card number of the document that was issued (AU only). + * + * @param cardNumber + */ @JsonProperty(JSON_PROPERTY_CARD_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - + /** + * The expiry date of the document, in YYYY-MM-DD format. + * + * @param expiryDate + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData expiryDate(String expiryDate) { this.expiryDate = expiryDate; return this; } - /** + /** * The expiry date of the document, in YYYY-MM-DD format. * @return expiryDate - **/ + */ @ApiModelProperty(value = "The expiry date of the document, in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryDate() { return expiryDate; } - - /** - * The expiry date of the document, in YYYY-MM-DD format. - * - * @param expiryDate - */ + /** + * The expiry date of the document, in YYYY-MM-DD format. + * + * @param expiryDate + */ @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; } - + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @param issuerCountry + * @return the current {@code IdentificationData} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated public IdentificationData issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. * @return issuerCountry - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @ApiModelProperty(value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. - * - * @param issuerCountry - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @param issuerCountry + * + * @deprecated since Legal Entity Management API v1 + */ @Deprecated @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -198,127 +213,138 @@ public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - + /** + * The state or province where the document was issued (AU only). + * + * @param issuerState + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData issuerState(String issuerState) { this.issuerState = issuerState; return this; } - /** + /** * The state or province where the document was issued (AU only). * @return issuerState - **/ + */ @ApiModelProperty(value = "The state or province where the document was issued (AU only).") @JsonProperty(JSON_PROPERTY_ISSUER_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerState() { return issuerState; } - - /** - * The state or province where the document was issued (AU only). - * - * @param issuerState - */ + /** + * The state or province where the document was issued (AU only). + * + * @param issuerState + */ @JsonProperty(JSON_PROPERTY_ISSUER_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerState(String issuerState) { this.issuerState = issuerState; } - + /** + * Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document. + * + * @param nationalIdExempt + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData nationalIdExempt(Boolean nationalIdExempt) { this.nationalIdExempt = nationalIdExempt; return this; } - /** + /** * Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document. * @return nationalIdExempt - **/ + */ @ApiModelProperty(value = "Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document.") @JsonProperty(JSON_PROPERTY_NATIONAL_ID_EXEMPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getNationalIdExempt() { return nationalIdExempt; } - - /** - * Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document. - * - * @param nationalIdExempt - */ + /** + * Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document. + * + * @param nationalIdExempt + */ @JsonProperty(JSON_PROPERTY_NATIONAL_ID_EXEMPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationalIdExempt(Boolean nationalIdExempt) { this.nationalIdExempt = nationalIdExempt; } - + /** + * The number in the document. + * + * @param number + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData number(String number) { this.number = number; return this; } - /** + /** * The number in the document. * @return number - **/ + */ @ApiModelProperty(value = "The number in the document.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The number in the document. - * - * @param number - */ + /** + * The number in the document. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber** + * + * @param type + * @return the current {@code IdentificationData} instance, allowing for method chaining + */ public IdentificationData type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber** * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber** - * - * @param type - */ + /** + * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IdentificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Individual.java b/src/main/java/com/adyen/model/legalentitymanagement/Individual.java index 2456987f7..fb8efc190 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Individual.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Individual.java @@ -82,216 +82,243 @@ public class Individual { public Individual() { } + /** + * birthData + * + * @param birthData + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual birthData(BirthData birthData) { this.birthData = birthData; return this; } - /** - * Get birthData + /** + * birthData * @return birthData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BIRTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BirthData getBirthData() { return birthData; } - - /** - * birthData - * - * @param birthData - */ + /** + * birthData + * + * @param birthData + */ @JsonProperty(JSON_PROPERTY_BIRTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBirthData(BirthData birthData) { this.birthData = birthData; } - + /** + * The email address of the legal entity. + * + * @param email + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual email(String email) { this.email = email; return this; } - /** + /** * The email address of the legal entity. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the legal entity.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the legal entity. - * - * @param email - */ + /** + * The email address of the legal entity. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * identificationData + * + * @param identificationData + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual identificationData(IdentificationData identificationData) { this.identificationData = identificationData; return this; } - /** - * Get identificationData + /** + * identificationData * @return identificationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IDENTIFICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IdentificationData getIdentificationData() { return identificationData; } - - /** - * identificationData - * - * @param identificationData - */ + /** + * identificationData + * + * @param identificationData + */ @JsonProperty(JSON_PROPERTY_IDENTIFICATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdentificationData(IdentificationData identificationData) { this.identificationData = identificationData; } - + /** + * name + * + * @param name + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The individual's nationality. + * + * @param nationality + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual nationality(String nationality) { this.nationality = nationality; return this; } - /** - * The individual's nationality. + /** + * The individual's nationality. * @return nationality - **/ + */ @ApiModelProperty(value = "The individual's nationality.") @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNationality() { return nationality; } - - /** - * The individual's nationality. - * - * @param nationality - */ + /** + * The individual's nationality. + * + * @param nationality + */ @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationality(String nationality) { this.nationality = nationality; } - + /** + * phone + * + * @param phone + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual phone(PhoneNumber phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PhoneNumber getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(PhoneNumber phone) { this.phone = phone; } - + /** + * residentialAddress + * + * @param residentialAddress + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual residentialAddress(Address residentialAddress) { this.residentialAddress = residentialAddress; return this; } - /** - * Get residentialAddress + /** + * residentialAddress * @return residentialAddress - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RESIDENTIAL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getResidentialAddress() { return residentialAddress; } - - /** - * residentialAddress - * - * @param residentialAddress - */ + /** + * residentialAddress + * + * @param residentialAddress + */ @JsonProperty(JSON_PROPERTY_RESIDENTIAL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResidentialAddress(Address residentialAddress) { this.residentialAddress = residentialAddress; } - + /** + * The tax information of the individual. + * + * @param taxInformation + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual taxInformation(List taxInformation) { this.taxInformation = taxInformation; return this; @@ -305,61 +332,61 @@ public Individual addTaxInformationItem(TaxInformation taxInformationItem) { return this; } - /** + /** * The tax information of the individual. * @return taxInformation - **/ + */ @ApiModelProperty(value = "The tax information of the individual.") @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTaxInformation() { return taxInformation; } - - /** - * The tax information of the individual. - * - * @param taxInformation - */ + /** + * The tax information of the individual. + * + * @param taxInformation + */ @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxInformation(List taxInformation) { this.taxInformation = taxInformation; } - + /** + * webData + * + * @param webData + * @return the current {@code Individual} instance, allowing for method chaining + */ public Individual webData(WebData webData) { this.webData = webData; return this; } - /** - * Get webData + /** + * webData * @return webData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebData getWebData() { return webData; } - - /** - * webData - * - * @param webData - */ + /** + * webData + * + * @param webData + */ @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebData(WebData webData) { this.webData = webData; } - /** * Return true if this Individual object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java index aef82c390..a43f5cff0 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java @@ -71,7 +71,7 @@ public class LegalEntity { private List documentDetails = null; public static final String JSON_PROPERTY_DOCUMENTS = "documents"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v1: Use the `documentDetails` array instead. private List documents = null; public static final String JSON_PROPERTY_ENTITY_ASSOCIATIONS = "entityAssociations"; @@ -154,6 +154,12 @@ public static TypeEnum fromValue(String value) { public LegalEntity() { } + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -167,31 +173,34 @@ public LegalEntity putCapabilitiesItem(String key, LegalEntityCapability capabil return this; } - /** + /** * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * List of documents uploaded for the legal entity. + * + * @param documentDetails + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity documentDetails(List documentDetails) { this.documentDetails = documentDetails; return this; @@ -205,31 +214,37 @@ public LegalEntity addDocumentDetailsItem(DocumentReference documentDetailsItem) return this; } - /** + /** * List of documents uploaded for the legal entity. * @return documentDetails - **/ + */ @ApiModelProperty(value = "List of documents uploaded for the legal entity.") @JsonProperty(JSON_PROPERTY_DOCUMENT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocumentDetails() { return documentDetails; } - - /** - * List of documents uploaded for the legal entity. - * - * @param documentDetails - */ + /** + * List of documents uploaded for the legal entity. + * + * @param documentDetails + */ @JsonProperty(JSON_PROPERTY_DOCUMENT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocumentDetails(List documentDetails) { this.documentDetails = documentDetails; } - + /** + * List of documents uploaded for the legal entity. + * + * @param documents + * @return the current {@code LegalEntity} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v1 + * Use the `documentDetails` array instead. + */ @Deprecated public LegalEntity documents(List documents) { this.documents = documents; @@ -244,26 +259,29 @@ public LegalEntity addDocumentsItem(EntityReference documentsItem) { return this; } - /** + /** * List of documents uploaded for the legal entity. * @return documents - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v1 + * Use the `documentDetails` array instead. + */ @Deprecated @ApiModelProperty(value = "List of documents uploaded for the legal entity.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of documents uploaded for the legal entity. - * - * @param documents - */ + /** + * List of documents uploaded for the legal entity. + * + * @param documents + * + * @deprecated since Legal Entity Management API v1 + * Use the `documentDetails` array instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -271,7 +289,12 @@ public void setDocuments(List documents) { this.documents = documents; } - + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity entityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; return this; @@ -285,121 +308,133 @@ public LegalEntity addEntityAssociationsItem(LegalEntityAssociation entityAssoci return this; } - /** + /** * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. * @return entityAssociations - **/ + */ @ApiModelProperty(value = "List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.") @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityAssociations() { return entityAssociations; } - - /** - * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. - * - * @param entityAssociations - */ + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + */ @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; } - + /** + * The unique identifier of the legal entity. + * + * @param id + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the legal entity. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the legal entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the legal entity. - * - * @param id - */ + /** + * The unique identifier of the legal entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * individual + * + * @param individual + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity individual(Individual individual) { this.individual = individual; return this; } - /** - * Get individual + /** + * individual * @return individual - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Individual getIndividual() { return individual; } - - /** - * individual - * - * @param individual - */ + /** + * individual + * + * @param individual + */ @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndividual(Individual individual) { this.individual = individual; } - + /** + * organization + * + * @param organization + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity organization(Organization organization) { this.organization = organization; return this; } - /** - * Get organization + /** + * organization * @return organization - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Organization getOrganization() { return organization; } - - /** - * organization - * - * @param organization - */ + /** + * organization + * + * @param organization + */ @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrganization(Organization organization) { this.organization = organization; } - + /** + * List of verification errors related to capabilities for the legal entity. + * + * @param problems + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity problems(List problems) { this.problems = problems; return this; @@ -413,91 +448,100 @@ public LegalEntity addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * List of verification errors related to capabilities for the legal entity. * @return problems - **/ + */ @ApiModelProperty(value = "List of verification errors related to capabilities for the legal entity.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * List of verification errors related to capabilities for the legal entity. - * - * @param problems - */ + /** + * List of verification errors related to capabilities for the legal entity. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the legal entity, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the legal entity, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the legal entity, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * soleProprietorship + * + * @param soleProprietorship + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity soleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; return this; } - /** - * Get soleProprietorship + /** + * soleProprietorship * @return soleProprietorship - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SoleProprietorship getSoleProprietorship() { return soleProprietorship; } - - /** - * soleProprietorship - * - * @param soleProprietorship - */ + /** + * soleProprietorship + * + * @param soleProprietorship + */ @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSoleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; } - + /** + * List of transfer instruments that the legal entity owns. + * + * @param transferInstruments + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity transferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; return this; @@ -511,91 +555,100 @@ public LegalEntity addTransferInstrumentsItem(TransferInstrumentReference transf return this; } - /** + /** * List of transfer instruments that the legal entity owns. * @return transferInstruments - **/ + */ @ApiModelProperty(value = "List of transfer instruments that the legal entity owns.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransferInstruments() { return transferInstruments; } - - /** - * List of transfer instruments that the legal entity owns. - * - * @param transferInstruments - */ + /** + * List of transfer instruments that the legal entity owns. + * + * @param transferInstruments + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; } - + /** + * trust + * + * @param trust + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity trust(Trust trust) { this.trust = trust; return this; } - /** - * Get trust + /** + * trust * @return trust - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Trust getTrust() { return trust; } - - /** - * trust - * - * @param trust - */ + /** + * trust + * + * @param trust + */ @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrust(Trust trust) { this.trust = trust; } - + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. * @return type - **/ + */ @ApiModelProperty(value = "The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. - * - * @param type - */ + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity verificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; return this; @@ -609,61 +662,61 @@ public LegalEntity addVerificationDeadlinesItem(VerificationDeadline verificatio return this; } - /** + /** * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. * @return verificationDeadlines - **/ + */ @ApiModelProperty(value = "List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.") @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationDeadlines() { return verificationDeadlines; } - - /** - * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. - * - * @param verificationDeadlines - */ + /** + * List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadlines + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; } - + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + * @return the current {@code LegalEntity} instance, allowing for method chaining + */ public LegalEntity verificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; return this; } - /** + /** * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). * @return verificationPlan - **/ + */ @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationPlan() { return verificationPlan; } - - /** - * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). - * - * @param verificationPlan - */ + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; } - /** * Return true if this LegalEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java index f9c82f2cd..b16f3a4ce 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java @@ -134,186 +134,210 @@ public static TypeEnum fromValue(String value) { public LegalEntityAssociation() { } + /** + * The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations. + * + * @param associatorId + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation associatorId(String associatorId) { this.associatorId = associatorId; return this; } - /** - * The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations. + /** + * The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations. * @return associatorId - **/ + */ @ApiModelProperty(value = "The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations.") @JsonProperty(JSON_PROPERTY_ASSOCIATOR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAssociatorId() { return associatorId; } - - /** - * The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations. - * - * @param associatorId - */ + /** + * The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations. + * + * @param associatorId + */ @JsonProperty(JSON_PROPERTY_ASSOCIATOR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatorId(String associatorId) { this.associatorId = associatorId; } - + /** + * The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**. + * + * @param entityType + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation entityType(String entityType) { this.entityType = entityType; return this; } - /** + /** * The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**. * @return entityType - **/ + */ @ApiModelProperty(value = "The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEntityType() { return entityType; } - - /** - * The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**. - * - * @param entityType - */ + /** + * The legal entity type of associated legal entity. For example, **organization**, **soleProprietorship** or **individual**. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(String entityType) { this.entityType = entityType; } - + /** + * The individual's job title if the `type` is **uboThroughControl** or **signatory**. + * + * @param jobTitle + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation jobTitle(String jobTitle) { this.jobTitle = jobTitle; return this; } - /** - * The individual's job title if the `type` is **uboThroughControl** or **signatory**. + /** + * The individual's job title if the `type` is **uboThroughControl** or **signatory**. * @return jobTitle - **/ + */ @ApiModelProperty(value = "The individual's job title if the `type` is **uboThroughControl** or **signatory**.") @JsonProperty(JSON_PROPERTY_JOB_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getJobTitle() { return jobTitle; } - - /** - * The individual's job title if the `type` is **uboThroughControl** or **signatory**. - * - * @param jobTitle - */ + /** + * The individual's job title if the `type` is **uboThroughControl** or **signatory**. + * + * @param jobTitle + */ @JsonProperty(JSON_PROPERTY_JOB_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; } - + /** + * The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - * - * @param legalEntityId - */ + /** + * The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`. + * + * @param name + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation name(String name) { this.name = name; return this; } - /** - * The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`. + /** + * The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`. * @return name - **/ + */ @ApiModelProperty(value = "The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`. - * - * @param name - */ + /** + * The name of the associated [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - For **individual**, `name.firstName` and `name.lastName`. - For **organization**, `legalName`. - For **soleProprietorship**, `name`. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**. + * + * @param relationship + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation relationship(String relationship) { this.relationship = relationship; return this; } - /** - * The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**. + /** + * The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**. * @return relationship - **/ + */ @ApiModelProperty(value = "The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**.") @JsonProperty(JSON_PROPERTY_RELATIONSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRelationship() { return relationship; } - - /** - * The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**. - * - * @param relationship - */ + /** + * The individual's relationship to a legal representative if the `type` is **legalRepresentative**. Possible values: **parent**, **guardian**. + * + * @param relationship + */ @JsonProperty(JSON_PROPERTY_RELATIONSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRelationship(String relationship) { this.relationship = relationship; } - + /** + * Defines the Kyc Exemption Reason for a Settlor associated with a trust. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**. + * + * @param settlorExemptionReason + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation settlorExemptionReason(List settlorExemptionReason) { this.settlorExemptionReason = settlorExemptionReason; return this; @@ -327,61 +351,61 @@ public LegalEntityAssociation addSettlorExemptionReasonItem(String settlorExempt return this; } - /** + /** * Defines the Kyc Exemption Reason for a Settlor associated with a trust. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**. * @return settlorExemptionReason - **/ + */ @ApiModelProperty(value = "Defines the Kyc Exemption Reason for a Settlor associated with a trust. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**.") @JsonProperty(JSON_PROPERTY_SETTLOR_EXEMPTION_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSettlorExemptionReason() { return settlorExemptionReason; } - - /** - * Defines the Kyc Exemption Reason for a Settlor associated with a trust. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**. - * - * @param settlorExemptionReason - */ + /** + * Defines the Kyc Exemption Reason for a Settlor associated with a trust. For example, **professionalServiceProvider**, **deceased**, or **contributionBelowThreshold**. + * + * @param settlorExemptionReason + */ @JsonProperty(JSON_PROPERTY_SETTLOR_EXEMPTION_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSettlorExemptionReason(List settlorExemptionReason) { this.settlorExemptionReason = settlorExemptionReason; } - + /** + * Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. + * + * @param type + * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining + */ public LegalEntityAssociation type(TypeEnum type) { this.type = type; return this; } - /** + /** * Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. - * - * @param type - */ + /** + * Defines the relationship of the legal entity to the current legal entity. Possible value for individuals: **legalRepresentative**. Possible values for organizations: **uboThroughOwnership**, **uboThroughControl**, **director**, **signatory**, or **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this LegalEntityAssociation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityCapability.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityCapability.java index 9b48e6e2d..856446d5f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityCapability.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityCapability.java @@ -151,186 +151,210 @@ public static RequestedLevelEnum fromValue(String value) { public LegalEntityCapability() { } + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. + * + * @param allowed + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. - * - * @param allowed - */ + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability allowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AllowedLevelEnum getAllowedLevel() { return allowedLevel; } - - /** - * The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(AllowedLevelEnum allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * allowedSettings + * + * @param allowedSettings + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability allowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; return this; } - /** - * Get allowedSettings + /** + * allowedSettings * @return allowedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getAllowedSettings() { return allowedSettings; } - - /** - * allowedSettings - * - * @param allowedSettings - */ + /** + * allowedSettings + * + * @param allowedSettings + */ @JsonProperty(JSON_PROPERTY_ALLOWED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedSettings(CapabilitySettings allowedSettings) { this.allowedSettings = allowedSettings; } - + /** + * Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability requested(Boolean requested) { this.requested = requested; return this; } - /** - * Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field. + /** + * Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field. - * - * @param requested - */ + /** + * Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability requestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(value = "The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RequestedLevelEnum getRequestedLevel() { return requestedLevel; } - - /** - * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(RequestedLevelEnum requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * requestedSettings + * + * @param requestedSettings + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability requestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; return this; } - /** - * Get requestedSettings + /** + * requestedSettings * @return requestedSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilitySettings getRequestedSettings() { return requestedSettings; } - - /** - * requestedSettings - * - * @param requestedSettings - */ + /** + * requestedSettings + * + * @param requestedSettings + */ @JsonProperty(JSON_PROPERTY_REQUESTED_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedSettings(CapabilitySettings requestedSettings) { this.requestedSettings = requestedSettings; } - + /** + * The capability status of transfer instruments associated with the legal entity. + * + * @param transferInstruments + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability transferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; return this; @@ -344,61 +368,61 @@ public LegalEntityCapability addTransferInstrumentsItem(SupportingEntityCapabili return this; } - /** + /** * The capability status of transfer instruments associated with the legal entity. * @return transferInstruments - **/ + */ @ApiModelProperty(value = "The capability status of transfer instruments associated with the legal entity.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTransferInstruments() { return transferInstruments; } - - /** - * The capability status of transfer instruments associated with the legal entity. - * - * @param transferInstruments - */ + /** + * The capability status of transfer instruments associated with the legal entity. + * + * @param transferInstruments + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstruments(List transferInstruments) { this.transferInstruments = transferInstruments; } - + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code LegalEntityCapability} instance, allowing for method chaining + */ public LegalEntityCapability verificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this LegalEntityCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java index 0c4315b41..6ed946884 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java @@ -124,6 +124,12 @@ public static TypeEnum fromValue(String value) { public LegalEntityInfo() { } + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -137,31 +143,34 @@ public LegalEntityInfo putCapabilitiesItem(String key, LegalEntityCapability cap return this; } - /** + /** * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo entityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; return this; @@ -175,241 +184,259 @@ public LegalEntityInfo addEntityAssociationsItem(LegalEntityAssociation entityAs return this; } - /** + /** * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. * @return entityAssociations - **/ + */ @ApiModelProperty(value = "List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.") @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityAssociations() { return entityAssociations; } - - /** - * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. - * - * @param entityAssociations - */ + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + */ @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; } - + /** + * individual + * + * @param individual + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo individual(Individual individual) { this.individual = individual; return this; } - /** - * Get individual + /** + * individual * @return individual - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Individual getIndividual() { return individual; } - - /** - * individual - * - * @param individual - */ + /** + * individual + * + * @param individual + */ @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndividual(Individual individual) { this.individual = individual; } - + /** + * organization + * + * @param organization + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo organization(Organization organization) { this.organization = organization; return this; } - /** - * Get organization + /** + * organization * @return organization - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Organization getOrganization() { return organization; } - - /** - * organization - * - * @param organization - */ + /** + * organization + * + * @param organization + */ @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrganization(Organization organization) { this.organization = organization; } - + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the legal entity, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the legal entity, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the legal entity, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * soleProprietorship + * + * @param soleProprietorship + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo soleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; return this; } - /** - * Get soleProprietorship + /** + * soleProprietorship * @return soleProprietorship - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SoleProprietorship getSoleProprietorship() { return soleProprietorship; } - - /** - * soleProprietorship - * - * @param soleProprietorship - */ + /** + * soleProprietorship + * + * @param soleProprietorship + */ @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSoleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; } - + /** + * trust + * + * @param trust + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo trust(Trust trust) { this.trust = trust; return this; } - /** - * Get trust + /** + * trust * @return trust - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Trust getTrust() { return trust; } - - /** - * trust - * - * @param trust - */ + /** + * trust + * + * @param trust + */ @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrust(Trust trust) { this.trust = trust; } - + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. * @return type - **/ + */ @ApiModelProperty(value = "The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. - * - * @param type - */ + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + * @return the current {@code LegalEntityInfo} instance, allowing for method chaining + */ public LegalEntityInfo verificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; return this; } - /** + /** * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). * @return verificationPlan - **/ + */ @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationPlan() { return verificationPlan; } - - /** - * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). - * - * @param verificationPlan - */ + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; } - /** * Return true if this LegalEntityInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java index d2c8e5256..60ddcdd8e 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java @@ -124,6 +124,12 @@ public static TypeEnum fromValue(String value) { public LegalEntityInfoRequiredType() { } + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -137,31 +143,34 @@ public LegalEntityInfoRequiredType putCapabilitiesItem(String key, LegalEntityCa return this; } - /** + /** * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType entityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; return this; @@ -175,241 +184,259 @@ public LegalEntityInfoRequiredType addEntityAssociationsItem(LegalEntityAssociat return this; } - /** + /** * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. * @return entityAssociations - **/ + */ @ApiModelProperty(value = "List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.") @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityAssociations() { return entityAssociations; } - - /** - * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. - * - * @param entityAssociations - */ + /** + * List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories. + * + * @param entityAssociations + */ @JsonProperty(JSON_PROPERTY_ENTITY_ASSOCIATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityAssociations(List entityAssociations) { this.entityAssociations = entityAssociations; } - + /** + * individual + * + * @param individual + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType individual(Individual individual) { this.individual = individual; return this; } - /** - * Get individual + /** + * individual * @return individual - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Individual getIndividual() { return individual; } - - /** - * individual - * - * @param individual - */ + /** + * individual + * + * @param individual + */ @JsonProperty(JSON_PROPERTY_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndividual(Individual individual) { this.individual = individual; } - + /** + * organization + * + * @param organization + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType organization(Organization organization) { this.organization = organization; return this; } - /** - * Get organization + /** + * organization * @return organization - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Organization getOrganization() { return organization; } - - /** - * organization - * - * @param organization - */ + /** + * organization + * + * @param organization + */ @JsonProperty(JSON_PROPERTY_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrganization(Organization organization) { this.organization = organization; } - + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the legal entity, maximum 150 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the legal entity, maximum 150 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the legal entity, maximum 150 characters. - * - * @param reference - */ + /** + * Your reference for the legal entity, maximum 150 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * soleProprietorship + * + * @param soleProprietorship + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType soleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; return this; } - /** - * Get soleProprietorship + /** + * soleProprietorship * @return soleProprietorship - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SoleProprietorship getSoleProprietorship() { return soleProprietorship; } - - /** - * soleProprietorship - * - * @param soleProprietorship - */ + /** + * soleProprietorship + * + * @param soleProprietorship + */ @JsonProperty(JSON_PROPERTY_SOLE_PROPRIETORSHIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSoleProprietorship(SoleProprietorship soleProprietorship) { this.soleProprietorship = soleProprietorship; } - + /** + * trust + * + * @param trust + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType trust(Trust trust) { this.trust = trust; return this; } - /** - * Get trust + /** + * trust * @return trust - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Trust getTrust() { return trust; } - - /** - * trust - * - * @param trust - */ + /** + * trust + * + * @param trust + */ @JsonProperty(JSON_PROPERTY_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrust(Trust trust) { this.trust = trust; } - + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. - * - * @param type - */ + /** + * The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + * @return the current {@code LegalEntityInfoRequiredType} instance, allowing for method chaining + */ public LegalEntityInfoRequiredType verificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; return this; } - /** + /** * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). * @return verificationPlan - **/ + */ @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationPlan() { return verificationPlan; } - - /** - * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). - * - * @param verificationPlan - */ + /** + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/verification-overview/verification-types/#upfront-verification). + * + * @param verificationPlan + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; } - /** * Return true if this LegalEntityInfoRequiredType object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java index df2bc5261..f964d0f76 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NOLocalAccountIdentification() { } + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 11-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 11-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 11-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **noLocal** + * + * @param type + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **noLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**noLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **noLocal** - * - * @param type - */ + /** + * **noLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NOLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java index 533111612..47824ca40 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NZLocalAccountIdentification() { } + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. - * - * @param accountNumber - */ + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **nzLocal** + * + * @param type + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **nzLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**nzLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **nzLocal** - * - * @param type - */ + /** + * **nzLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Name.java b/src/main/java/com/adyen/model/legalentitymanagement/Name.java index 1e737c77c..706c195cb 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Name.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Name.java @@ -49,96 +49,105 @@ public class Name { public Name() { } + /** + * The individual's first name. Must not be blank. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The individual's first name. Must not be blank. + /** + * The individual's first name. Must not be blank. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The individual's first name. Must not be blank.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The individual's first name. Must not be blank. - * - * @param firstName - */ + /** + * The individual's first name. Must not be blank. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The infix in the individual's name, if any. + * + * @param infix + * @return the current {@code Name} instance, allowing for method chaining + */ public Name infix(String infix) { this.infix = infix; return this; } - /** - * The infix in the individual's name, if any. + /** + * The infix in the individual's name, if any. * @return infix - **/ + */ @ApiModelProperty(value = "The infix in the individual's name, if any.") @JsonProperty(JSON_PROPERTY_INFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInfix() { return infix; } - - /** - * The infix in the individual's name, if any. - * - * @param infix - */ + /** + * The infix in the individual's name, if any. + * + * @param infix + */ @JsonProperty(JSON_PROPERTY_INFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInfix(String infix) { this.infix = infix; } - + /** + * The individual's last name. Must not be blank. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The individual's last name. Must not be blank. + /** + * The individual's last name. Must not be blank. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The individual's last name. Must not be blank.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The individual's last name. Must not be blank. - * - * @param lastName - */ + /** + * The individual's last name. Must not be blank. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java index eaaf1c06f..6d7d0d9c6 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java @@ -87,126 +87,138 @@ public static TypeEnum fromValue(String value) { public NumberAndBicAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. The length and format depends on the bank or country. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace. The length and format depends on the bank or country.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. The length and format depends on the bank or country. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; return this; } - /** - * Get additionalBankIdentification + /** + * additionalBankIdentification * @return additionalBankIdentification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalBankIdentification getAdditionalBankIdentification() { return additionalBankIdentification; } - - /** - * additionalBankIdentification - * - * @param additionalBankIdentification - */ + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **numberAndBic** + * + * @param type + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **numberAndBic** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**numberAndBic**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **numberAndBic** - * - * @param type - */ + /** + * **numberAndBic** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NumberAndBicAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLink.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLink.java index d8c193fdf..e0ea79a03 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLink.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLink.java @@ -41,36 +41,39 @@ public class OnboardingLink { public OnboardingLink() { } + /** + * The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once. If the link expires, you need to create a new link. + * + * @param url + * @return the current {@code OnboardingLink} instance, allowing for method chaining + */ public OnboardingLink url(String url) { this.url = url; return this; } - /** + /** * The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once. If the link expires, you need to create a new link. * @return url - **/ + */ @ApiModelProperty(value = "The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once. If the link expires, you need to create a new link.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once. If the link expires, you need to create a new link. - * - * @param url - */ + /** + * The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once. If the link expires, you need to create a new link. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - /** * Return true if this OnboardingLink object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java index 4a16045cd..29ed1c65d 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java @@ -54,126 +54,138 @@ public class OnboardingLinkInfo { public OnboardingLinkInfo() { } + /** + * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. + * + * @param locale + * @return the current {@code OnboardingLinkInfo} instance, allowing for method chaining + */ public OnboardingLinkInfo locale(String locale) { this.locale = locale; return this; } - /** + /** * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. * @return locale - **/ + */ @ApiModelProperty(value = "The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.") @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLocale() { return locale; } - - /** - * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. - * - * @param locale - */ + /** + * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. + * + * @param locale + */ @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocale(String locale) { this.locale = locale; } - + /** + * The URL where the user is redirected after they complete hosted onboarding. + * + * @param redirectUrl + * @return the current {@code OnboardingLinkInfo} instance, allowing for method chaining + */ public OnboardingLinkInfo redirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; return this; } - /** + /** * The URL where the user is redirected after they complete hosted onboarding. * @return redirectUrl - **/ + */ @ApiModelProperty(value = "The URL where the user is redirected after they complete hosted onboarding.") @JsonProperty(JSON_PROPERTY_REDIRECT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRedirectUrl() { return redirectUrl; } - - /** - * The URL where the user is redirected after they complete hosted onboarding. - * - * @param redirectUrl - */ + /** + * The URL where the user is redirected after they complete hosted onboarding. + * + * @param redirectUrl + */ @JsonProperty(JSON_PROPERTY_REDIRECT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRedirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; } - + /** + * settings + * + * @param settings + * @return the current {@code OnboardingLinkInfo} instance, allowing for method chaining + */ public OnboardingLinkInfo settings(OnboardingLinkSettings settings) { this.settings = settings; return this; } - /** - * Get settings + /** + * settings * @return settings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OnboardingLinkSettings getSettings() { return settings; } - - /** - * settings - * - * @param settings - */ + /** + * settings + * + * @param settings + */ @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSettings(OnboardingLinkSettings settings) { this.settings = settings; } - + /** + * The unique identifier of the hosted onboarding theme. + * + * @param themeId + * @return the current {@code OnboardingLinkInfo} instance, allowing for method chaining + */ public OnboardingLinkInfo themeId(String themeId) { this.themeId = themeId; return this; } - /** + /** * The unique identifier of the hosted onboarding theme. * @return themeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the hosted onboarding theme.") @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThemeId() { return themeId; } - - /** - * The unique identifier of the hosted onboarding theme. - * - * @param themeId - */ + /** + * The unique identifier of the hosted onboarding theme. + * + * @param themeId + */ @JsonProperty(JSON_PROPERTY_THEME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemeId(String themeId) { this.themeId = themeId; } - /** * Return true if this OnboardingLinkInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkSettings.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkSettings.java index 2e2889e48..8da76808d 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkSettings.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkSettings.java @@ -99,6 +99,12 @@ public class OnboardingLinkSettings { public OnboardingLinkSettings() { } + /** + * The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding). + * + * @param acceptedCountries + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings acceptedCountries(List acceptedCountries) { this.acceptedCountries = acceptedCountries; return this; @@ -112,451 +118,490 @@ public OnboardingLinkSettings addAcceptedCountriesItem(String acceptedCountriesI return this; } - /** - * The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding). + /** + * The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding). * @return acceptedCountries - **/ + */ @ApiModelProperty(value = "The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding).") @JsonProperty(JSON_PROPERTY_ACCEPTED_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAcceptedCountries() { return acceptedCountries; } - - /** - * The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding). - * - * @param acceptedCountries - */ + /** + * The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding). + * + * @param acceptedCountries + */ @JsonProperty(JSON_PROPERTY_ACCEPTED_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptedCountries(List acceptedCountries) { this.acceptedCountries = acceptedCountries; } - + /** + * Default value: **false** Indicates if the user can select the format for their payout account (if applicable). + * + * @param allowBankAccountFormatSelection + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings allowBankAccountFormatSelection(Boolean allowBankAccountFormatSelection) { this.allowBankAccountFormatSelection = allowBankAccountFormatSelection; return this; } - /** + /** * Default value: **false** Indicates if the user can select the format for their payout account (if applicable). * @return allowBankAccountFormatSelection - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user can select the format for their payout account (if applicable).") @JsonProperty(JSON_PROPERTY_ALLOW_BANK_ACCOUNT_FORMAT_SELECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowBankAccountFormatSelection() { return allowBankAccountFormatSelection; } - - /** - * Default value: **false** Indicates if the user can select the format for their payout account (if applicable). - * - * @param allowBankAccountFormatSelection - */ + /** + * Default value: **false** Indicates if the user can select the format for their payout account (if applicable). + * + * @param allowBankAccountFormatSelection + */ @JsonProperty(JSON_PROPERTY_ALLOW_BANK_ACCOUNT_FORMAT_SELECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowBankAccountFormatSelection(Boolean allowBankAccountFormatSelection) { this.allowBankAccountFormatSelection = allowBankAccountFormatSelection; } - + /** + * Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. + * + * @param allowIntraRegionCrossBorderPayout + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings allowIntraRegionCrossBorderPayout(Boolean allowIntraRegionCrossBorderPayout) { this.allowIntraRegionCrossBorderPayout = allowIntraRegionCrossBorderPayout; return this; } - /** + /** * Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. * @return allowIntraRegionCrossBorderPayout - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity.") @JsonProperty(JSON_PROPERTY_ALLOW_INTRA_REGION_CROSS_BORDER_PAYOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowIntraRegionCrossBorderPayout() { return allowIntraRegionCrossBorderPayout; } - - /** - * Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. - * - * @param allowIntraRegionCrossBorderPayout - */ + /** + * Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. + * + * @param allowIntraRegionCrossBorderPayout + */ @JsonProperty(JSON_PROPERTY_ALLOW_INTRA_REGION_CROSS_BORDER_PAYOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowIntraRegionCrossBorderPayout(Boolean allowIntraRegionCrossBorderPayout) { this.allowIntraRegionCrossBorderPayout = allowIntraRegionCrossBorderPayout; } - + /** + * Default value: **true** Indicates if the user can change their legal entity type. + * + * @param changeLegalEntityType + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings changeLegalEntityType(Boolean changeLegalEntityType) { this.changeLegalEntityType = changeLegalEntityType; return this; } - /** + /** * Default value: **true** Indicates if the user can change their legal entity type. * @return changeLegalEntityType - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates if the user can change their legal entity type.") @JsonProperty(JSON_PROPERTY_CHANGE_LEGAL_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getChangeLegalEntityType() { return changeLegalEntityType; } - - /** - * Default value: **true** Indicates if the user can change their legal entity type. - * - * @param changeLegalEntityType - */ + /** + * Default value: **true** Indicates if the user can change their legal entity type. + * + * @param changeLegalEntityType + */ @JsonProperty(JSON_PROPERTY_CHANGE_LEGAL_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChangeLegalEntityType(Boolean changeLegalEntityType) { this.changeLegalEntityType = changeLegalEntityType; } - + /** + * Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization. + * + * @param editPrefilledCountry + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings editPrefilledCountry(Boolean editPrefilledCountry) { this.editPrefilledCountry = editPrefilledCountry; return this; } - /** - * Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization. + /** + * Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization. * @return editPrefilledCountry - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization.") @JsonProperty(JSON_PROPERTY_EDIT_PREFILLED_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEditPrefilledCountry() { return editPrefilledCountry; } - - /** - * Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization. - * - * @param editPrefilledCountry - */ + /** + * Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization. + * + * @param editPrefilledCountry + */ @JsonProperty(JSON_PROPERTY_EDIT_PREFILLED_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEditPrefilledCountry(Boolean editPrefilledCountry) { this.editPrefilledCountry = editPrefilledCountry; } - + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionIndividual + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings hideOnboardingIntroductionIndividual(Boolean hideOnboardingIntroductionIndividual) { this.hideOnboardingIntroductionIndividual = hideOnboardingIntroductionIndividual; return this; } - /** + /** * Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. * @return hideOnboardingIntroductionIndividual - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.") @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHideOnboardingIntroductionIndividual() { return hideOnboardingIntroductionIndividual; } - - /** - * Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. - * - * @param hideOnboardingIntroductionIndividual - */ + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionIndividual + */ @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_INDIVIDUAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHideOnboardingIntroductionIndividual(Boolean hideOnboardingIntroductionIndividual) { this.hideOnboardingIntroductionIndividual = hideOnboardingIntroductionIndividual; } - + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionOrganization + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings hideOnboardingIntroductionOrganization(Boolean hideOnboardingIntroductionOrganization) { this.hideOnboardingIntroductionOrganization = hideOnboardingIntroductionOrganization; return this; } - /** + /** * Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. * @return hideOnboardingIntroductionOrganization - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.") @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHideOnboardingIntroductionOrganization() { return hideOnboardingIntroductionOrganization; } - - /** - * Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. - * - * @param hideOnboardingIntroductionOrganization - */ + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionOrganization + */ @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_ORGANIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHideOnboardingIntroductionOrganization(Boolean hideOnboardingIntroductionOrganization) { this.hideOnboardingIntroductionOrganization = hideOnboardingIntroductionOrganization; } - + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionSoleProprietor + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings hideOnboardingIntroductionSoleProprietor(Boolean hideOnboardingIntroductionSoleProprietor) { this.hideOnboardingIntroductionSoleProprietor = hideOnboardingIntroductionSoleProprietor; return this; } - /** + /** * Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. * @return hideOnboardingIntroductionSoleProprietor - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.") @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_SOLE_PROPRIETOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHideOnboardingIntroductionSoleProprietor() { return hideOnboardingIntroductionSoleProprietor; } - - /** - * Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. - * - * @param hideOnboardingIntroductionSoleProprietor - */ + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionSoleProprietor + */ @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_SOLE_PROPRIETOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHideOnboardingIntroductionSoleProprietor(Boolean hideOnboardingIntroductionSoleProprietor) { this.hideOnboardingIntroductionSoleProprietor = hideOnboardingIntroductionSoleProprietor; } - + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionTrust + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings hideOnboardingIntroductionTrust(Boolean hideOnboardingIntroductionTrust) { this.hideOnboardingIntroductionTrust = hideOnboardingIntroductionTrust; return this; } - /** + /** * Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. * @return hideOnboardingIntroductionTrust - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.") @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHideOnboardingIntroductionTrust() { return hideOnboardingIntroductionTrust; } - - /** - * Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. - * - * @param hideOnboardingIntroductionTrust - */ + /** + * Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process. + * + * @param hideOnboardingIntroductionTrust + */ @JsonProperty(JSON_PROPERTY_HIDE_ONBOARDING_INTRODUCTION_TRUST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHideOnboardingIntroductionTrust(Boolean hideOnboardingIntroductionTrust) { this.hideOnboardingIntroductionTrust = hideOnboardingIntroductionTrust; } - + /** + * Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink. + * + * @param instantBankVerification + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings instantBankVerification(Boolean instantBankVerification) { this.instantBankVerification = instantBankVerification; return this; } - /** + /** * Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink. * @return instantBankVerification - **/ + */ @ApiModelProperty(value = "Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink.") @JsonProperty(JSON_PROPERTY_INSTANT_BANK_VERIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getInstantBankVerification() { return instantBankVerification; } - - /** - * Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink. - * - * @param instantBankVerification - */ + /** + * Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink. + * + * @param instantBankVerification + */ @JsonProperty(JSON_PROPERTY_INSTANT_BANK_VERIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstantBankVerification(Boolean instantBankVerification) { this.instantBankVerification = instantBankVerification; } - + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type. + * + * @param requirePciSignEcomMoto + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings requirePciSignEcomMoto(Boolean requirePciSignEcomMoto) { this.requirePciSignEcomMoto = requirePciSignEcomMoto; return this; } - /** + /** * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type. * @return requirePciSignEcomMoto - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type.") @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_ECOM_MOTO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequirePciSignEcomMoto() { return requirePciSignEcomMoto; } - - /** - * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type. - * - * @param requirePciSignEcomMoto - */ + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type. + * + * @param requirePciSignEcomMoto + */ @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_ECOM_MOTO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirePciSignEcomMoto(Boolean requirePciSignEcomMoto) { this.requirePciSignEcomMoto = requirePciSignEcomMoto; } - + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type. + * + * @param requirePciSignEcommerce + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings requirePciSignEcommerce(Boolean requirePciSignEcommerce) { this.requirePciSignEcommerce = requirePciSignEcommerce; return this; } - /** + /** * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type. * @return requirePciSignEcommerce - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type.") @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_ECOMMERCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequirePciSignEcommerce() { return requirePciSignEcommerce; } - - /** - * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type. - * - * @param requirePciSignEcommerce - */ + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type. + * + * @param requirePciSignEcommerce + */ @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_ECOMMERCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirePciSignEcommerce(Boolean requirePciSignEcommerce) { this.requirePciSignEcommerce = requirePciSignEcommerce; } - + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type. + * + * @param requirePciSignPos + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings requirePciSignPos(Boolean requirePciSignPos) { this.requirePciSignPos = requirePciSignPos; return this; } - /** + /** * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type. * @return requirePciSignPos - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type.") @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequirePciSignPos() { return requirePciSignPos; } - - /** - * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type. - * - * @param requirePciSignPos - */ + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type. + * + * @param requirePciSignPos + */ @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirePciSignPos(Boolean requirePciSignPos) { this.requirePciSignPos = requirePciSignPos; } - + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type. + * + * @param requirePciSignPosMoto + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings requirePciSignPosMoto(Boolean requirePciSignPosMoto) { this.requirePciSignPosMoto = requirePciSignPosMoto; return this; } - /** + /** * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type. * @return requirePciSignPosMoto - **/ + */ @ApiModelProperty(value = "Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type.") @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_POS_MOTO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequirePciSignPosMoto() { return requirePciSignPosMoto; } - - /** - * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type. - * - * @param requirePciSignPosMoto - */ + /** + * Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type. + * + * @param requirePciSignPosMoto + */ @JsonProperty(JSON_PROPERTY_REQUIRE_PCI_SIGN_POS_MOTO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequirePciSignPosMoto(Boolean requirePciSignPosMoto) { this.requirePciSignPosMoto = requirePciSignPosMoto; } - + /** + * The maximum number of transfer instruments the user can create. + * + * @param transferInstrumentLimit + * @return the current {@code OnboardingLinkSettings} instance, allowing for method chaining + */ public OnboardingLinkSettings transferInstrumentLimit(Integer transferInstrumentLimit) { this.transferInstrumentLimit = transferInstrumentLimit; return this; } - /** + /** * The maximum number of transfer instruments the user can create. * @return transferInstrumentLimit - **/ + */ @ApiModelProperty(value = "The maximum number of transfer instruments the user can create.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTransferInstrumentLimit() { return transferInstrumentLimit; } - - /** - * The maximum number of transfer instruments the user can create. - * - * @param transferInstrumentLimit - */ + /** + * The maximum number of transfer instruments the user can create. + * + * @param transferInstrumentLimit + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentLimit(Integer transferInstrumentLimit) { this.transferInstrumentLimit = transferInstrumentLimit; } - /** * Return true if this OnboardingLinkSettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingTheme.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingTheme.java index c5eed7451..606d650db 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingTheme.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingTheme.java @@ -61,96 +61,111 @@ public class OnboardingTheme { public OnboardingTheme() { } + /** + * The creation date of the theme. + * + * @param createdAt + * @return the current {@code OnboardingTheme} instance, allowing for method chaining + */ public OnboardingTheme createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * The creation date of the theme. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "The creation date of the theme.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * The creation date of the theme. - * - * @param createdAt - */ + /** + * The creation date of the theme. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * The description of the theme. + * + * @param description + * @return the current {@code OnboardingTheme} instance, allowing for method chaining + */ public OnboardingTheme description(String description) { this.description = description; return this; } - /** + /** * The description of the theme. * @return description - **/ + */ @ApiModelProperty(value = "The description of the theme.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the theme. - * - * @param description - */ + /** + * The description of the theme. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the theme. + * + * @param id + * @return the current {@code OnboardingTheme} instance, allowing for method chaining + */ public OnboardingTheme id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the theme. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the theme.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the theme. - * - * @param id - */ + /** + * The unique identifier of the theme. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The properties of the theme. + * + * @param properties + * @return the current {@code OnboardingTheme} instance, allowing for method chaining + */ public OnboardingTheme properties(Map properties) { this.properties = properties; return this; @@ -161,61 +176,61 @@ public OnboardingTheme putPropertiesItem(String key, String propertiesItem) { return this; } - /** + /** * The properties of the theme. * @return properties - **/ + */ @ApiModelProperty(required = true, value = "The properties of the theme.") @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getProperties() { return properties; } - - /** - * The properties of the theme. - * - * @param properties - */ + /** + * The properties of the theme. + * + * @param properties + */ @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProperties(Map properties) { this.properties = properties; } - + /** + * The date when the theme was last updated. + * + * @param updatedAt + * @return the current {@code OnboardingTheme} instance, allowing for method chaining + */ public OnboardingTheme updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } - /** + /** * The date when the theme was last updated. * @return updatedAt - **/ + */ @ApiModelProperty(value = "The date when the theme was last updated.") @JsonProperty(JSON_PROPERTY_UPDATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getUpdatedAt() { return updatedAt; } - - /** - * The date when the theme was last updated. - * - * @param updatedAt - */ + /** + * The date when the theme was last updated. + * + * @param updatedAt + */ @JsonProperty(JSON_PROPERTY_UPDATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - /** * Return true if this OnboardingTheme object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingThemes.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingThemes.java index a5252b529..fc29a66f7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingThemes.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingThemes.java @@ -52,66 +52,78 @@ public class OnboardingThemes { public OnboardingThemes() { } + /** + * The next page. Only present if there is a next page. + * + * @param next + * @return the current {@code OnboardingThemes} instance, allowing for method chaining + */ public OnboardingThemes next(String next) { this.next = next; return this; } - /** + /** * The next page. Only present if there is a next page. * @return next - **/ + */ @ApiModelProperty(value = "The next page. Only present if there is a next page.") @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNext() { return next; } - - /** - * The next page. Only present if there is a next page. - * - * @param next - */ + /** + * The next page. Only present if there is a next page. + * + * @param next + */ @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNext(String next) { this.next = next; } - + /** + * The previous page. Only present if there is a previous page. + * + * @param previous + * @return the current {@code OnboardingThemes} instance, allowing for method chaining + */ public OnboardingThemes previous(String previous) { this.previous = previous; return this; } - /** + /** * The previous page. Only present if there is a previous page. * @return previous - **/ + */ @ApiModelProperty(value = "The previous page. Only present if there is a previous page.") @JsonProperty(JSON_PROPERTY_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPrevious() { return previous; } - - /** - * The previous page. Only present if there is a previous page. - * - * @param previous - */ + /** + * The previous page. Only present if there is a previous page. + * + * @param previous + */ @JsonProperty(JSON_PROPERTY_PREVIOUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrevious(String previous) { this.previous = previous; } - + /** + * List of onboarding themes. + * + * @param themes + * @return the current {@code OnboardingThemes} instance, allowing for method chaining + */ public OnboardingThemes themes(List themes) { this.themes = themes; return this; @@ -122,31 +134,28 @@ public OnboardingThemes addThemesItem(OnboardingTheme themesItem) { return this; } - /** + /** * List of onboarding themes. * @return themes - **/ + */ @ApiModelProperty(required = true, value = "List of onboarding themes.") @JsonProperty(JSON_PROPERTY_THEMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThemes() { return themes; } - - /** - * List of onboarding themes. - * - * @param themes - */ + /** + * List of onboarding themes. + * + * @param themes + */ @JsonProperty(JSON_PROPERTY_THEMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThemes(List themes) { this.themes = themes; } - /** * Return true if this OnboardingThemes object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Organization.java b/src/main/java/com/adyen/model/legalentitymanagement/Organization.java index 53b21879f..6610fc00c 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Organization.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Organization.java @@ -191,336 +191,375 @@ public static VatAbsenceReasonEnum fromValue(String value) { public Organization() { } + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization countryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. * @return countryOfGoverningLaw - **/ + */ @ApiModelProperty(value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.") @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryOfGoverningLaw() { return countryOfGoverningLaw; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. - * - * @param countryOfGoverningLaw - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + */ @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; } - + /** + * The date when the organization was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization dateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; return this; } - /** + /** * The date when the organization was incorporated in YYYY-MM-DD format. * @return dateOfIncorporation - **/ + */ @ApiModelProperty(value = "The date when the organization was incorporated in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDateOfIncorporation() { return dateOfIncorporation; } - - /** - * The date when the organization was incorporated in YYYY-MM-DD format. - * - * @param dateOfIncorporation - */ + /** + * The date when the organization was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + */ @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; } - + /** + * Your description for the organization. + * + * @param description + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization description(String description) { this.description = description; return this; } - /** + /** * Your description for the organization. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the organization.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the organization. - * - * @param description - */ + /** + * Your description for the organization. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The organization's trading name, if different from the registered legal name. + * + * @param doingBusinessAs + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization doingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; return this; } - /** - * The organization's trading name, if different from the registered legal name. + /** + * The organization's trading name, if different from the registered legal name. * @return doingBusinessAs - **/ + */ @ApiModelProperty(value = "The organization's trading name, if different from the registered legal name.") @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDoingBusinessAs() { return doingBusinessAs; } - - /** - * The organization's trading name, if different from the registered legal name. - * - * @param doingBusinessAs - */ + /** + * The organization's trading name, if different from the registered legal name. + * + * @param doingBusinessAs + */ @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDoingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; } - + /** + * The email address of the legal entity. + * + * @param email + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization email(String email) { this.email = email; return this; } - /** + /** * The email address of the legal entity. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the legal entity.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the legal entity. - * - * @param email - */ + /** + * The email address of the legal entity. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The organization's legal name. + * + * @param legalName + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization legalName(String legalName) { this.legalName = legalName; return this; } - /** - * The organization's legal name. + /** + * The organization's legal name. * @return legalName - **/ + */ @ApiModelProperty(required = true, value = "The organization's legal name.") @JsonProperty(JSON_PROPERTY_LEGAL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalName() { return legalName; } - - /** - * The organization's legal name. - * - * @param legalName - */ + /** + * The organization's legal name. + * + * @param legalName + */ @JsonProperty(JSON_PROPERTY_LEGAL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalName(String legalName) { this.legalName = legalName; } - + /** + * phone + * + * @param phone + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization phone(PhoneNumber phone) { this.phone = phone; return this; } - /** - * Get phone + /** + * phone * @return phone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PhoneNumber getPhone() { return phone; } - - /** - * phone - * - * @param phone - */ + /** + * phone + * + * @param phone + */ @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhone(PhoneNumber phone) { this.phone = phone; } - + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization principalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; return this; } - /** - * Get principalPlaceOfBusiness + /** + * principalPlaceOfBusiness * @return principalPlaceOfBusiness - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getPrincipalPlaceOfBusiness() { return principalPlaceOfBusiness; } - - /** - * principalPlaceOfBusiness - * - * @param principalPlaceOfBusiness - */ + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + */ @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; } - + /** + * registeredAddress + * + * @param registeredAddress + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization registeredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; return this; } - /** - * Get registeredAddress + /** + * registeredAddress * @return registeredAddress - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getRegisteredAddress() { return registeredAddress; } - - /** - * registeredAddress - * - * @param registeredAddress - */ + /** + * registeredAddress + * + * @param registeredAddress + */ @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegisteredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; } - + /** + * The organization's registration number. + * + * @param registrationNumber + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization registrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; return this; } - /** - * The organization's registration number. + /** + * The organization's registration number. * @return registrationNumber - **/ + */ @ApiModelProperty(value = "The organization's registration number.") @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegistrationNumber() { return registrationNumber; } - - /** - * The organization's registration number. - * - * @param registrationNumber - */ + /** + * The organization's registration number. + * + * @param registrationNumber + */ @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegistrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; } - + /** + * stockData + * + * @param stockData + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization stockData(StockData stockData) { this.stockData = stockData; return this; } - /** - * Get stockData + /** + * stockData * @return stockData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STOCK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StockData getStockData() { return stockData; } - - /** - * stockData - * - * @param stockData - */ + /** + * stockData + * + * @param stockData + */ @JsonProperty(JSON_PROPERTY_STOCK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStockData(StockData stockData) { this.stockData = stockData; } - + /** + * The tax information of the organization. + * + * @param taxInformation + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization taxInformation(List taxInformation) { this.taxInformation = taxInformation; return this; @@ -534,181 +573,193 @@ public Organization addTaxInformationItem(TaxInformation taxInformationItem) { return this; } - /** + /** * The tax information of the organization. * @return taxInformation - **/ + */ @ApiModelProperty(value = "The tax information of the organization.") @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTaxInformation() { return taxInformation; } - - /** - * The tax information of the organization. - * - * @param taxInformation - */ + /** + * The tax information of the organization. + * + * @param taxInformation + */ @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxInformation(List taxInformation) { this.taxInformation = taxInformation; } - + /** + * taxReportingClassification + * + * @param taxReportingClassification + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization taxReportingClassification(TaxReportingClassification taxReportingClassification) { this.taxReportingClassification = taxReportingClassification; return this; } - /** - * Get taxReportingClassification + /** + * taxReportingClassification * @return taxReportingClassification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TAX_REPORTING_CLASSIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TaxReportingClassification getTaxReportingClassification() { return taxReportingClassification; } - - /** - * taxReportingClassification - * - * @param taxReportingClassification - */ + /** + * taxReportingClassification + * + * @param taxReportingClassification + */ @JsonProperty(JSON_PROPERTY_TAX_REPORTING_CLASSIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxReportingClassification(TaxReportingClassification taxReportingClassification) { this.taxReportingClassification = taxReportingClassification; } - + /** + * Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**. + * + * @param type + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**. * @return type - **/ + */ @ApiModelProperty(value = "Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**. - * - * @param type - */ + /** + * Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization vatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; return this; } - /** + /** * The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. * @return vatAbsenceReason - **/ + */ @ApiModelProperty(value = "The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.") @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VatAbsenceReasonEnum getVatAbsenceReason() { return vatAbsenceReason; } - - /** - * The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. - * - * @param vatAbsenceReason - */ + /** + * The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + */ @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; } - + /** + * The organization's VAT number. + * + * @param vatNumber + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization vatNumber(String vatNumber) { this.vatNumber = vatNumber; return this; } - /** - * The organization's VAT number. + /** + * The organization's VAT number. * @return vatNumber - **/ + */ @ApiModelProperty(value = "The organization's VAT number.") @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVatNumber() { return vatNumber; } - - /** - * The organization's VAT number. - * - * @param vatNumber - */ + /** + * The organization's VAT number. + * + * @param vatNumber + */ @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatNumber(String vatNumber) { this.vatNumber = vatNumber; } - + /** + * webData + * + * @param webData + * @return the current {@code Organization} instance, allowing for method chaining + */ public Organization webData(WebData webData) { this.webData = webData; return this; } - /** - * Get webData + /** + * webData * @return webData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebData getWebData() { return webData; } - - /** - * webData - * - * @param webData - */ + /** + * webData + * + * @param webData + */ @JsonProperty(JSON_PROPERTY_WEB_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebData(WebData webData) { this.webData = webData; } - /** * Return true if this Organization object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OwnerEntity.java b/src/main/java/com/adyen/model/legalentitymanagement/OwnerEntity.java index b0304b203..001050b3e 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OwnerEntity.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OwnerEntity.java @@ -45,66 +45,72 @@ public class OwnerEntity { public OwnerEntity() { } + /** + * Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param id + * @return the current {@code OwnerEntity} instance, allowing for method chaining + */ public OwnerEntity id(String id) { this.id = id; return this; } - /** - * Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + /** + * Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param id - */ + /** + * Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**. + * + * @param type + * @return the current {@code OwnerEntity} instance, allowing for method chaining + */ public OwnerEntity type(String type) { this.type = type; return this; } - /** + /** * Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**. - * - * @param type - */ + /** + * Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this OwnerEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java index 36f1018ad..ff13e3ff4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public PLLocalAccountIdentification() { } + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **plLocal** + * + * @param type + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **plLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**plLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **plLocal** - * - * @param type - */ + /** + * **plLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PLLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PciDocumentInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/PciDocumentInfo.java index 1f66bcd97..c01fb554c 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PciDocumentInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PciDocumentInfo.java @@ -50,96 +50,105 @@ public class PciDocumentInfo { public PciDocumentInfo() { } + /** + * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param createdAt + * @return the current {@code PciDocumentInfo} instance, allowing for method chaining + */ public PciDocumentInfo createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 * @return createdAt - **/ + */ @ApiModelProperty(value = "The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 - * - * @param createdAt - */ + /** + * The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * The unique identifier of the signed questionnaire. + * + * @param id + * @return the current {@code PciDocumentInfo} instance, allowing for method chaining + */ public PciDocumentInfo id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the signed questionnaire. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the signed questionnaire.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the signed questionnaire. - * - * @param id - */ + /** + * The unique identifier of the signed questionnaire. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param validUntil + * @return the current {@code PciDocumentInfo} instance, allowing for method chaining + */ public PciDocumentInfo validUntil(OffsetDateTime validUntil) { this.validUntil = validUntil; return this; } - /** + /** * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 * @return validUntil - **/ + */ @ApiModelProperty(value = "The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00") @JsonProperty(JSON_PROPERTY_VALID_UNTIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValidUntil() { return validUntil; } - - /** - * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 - * - * @param validUntil - */ + /** + * The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00 + * + * @param validUntil + */ @JsonProperty(JSON_PROPERTY_VALID_UNTIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidUntil(OffsetDateTime validUntil) { this.validUntil = validUntil; } - /** * Return true if this PciDocumentInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PciSigningRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/PciSigningRequest.java index 1829b148c..4e9724614 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PciSigningRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PciSigningRequest.java @@ -47,6 +47,12 @@ public class PciSigningRequest { public PciSigningRequest() { } + /** + * The array of Adyen-generated unique identifiers for the questionnaires. + * + * @param pciTemplateReferences + * @return the current {@code PciSigningRequest} instance, allowing for method chaining + */ public PciSigningRequest pciTemplateReferences(List pciTemplateReferences) { this.pciTemplateReferences = pciTemplateReferences; return this; @@ -57,61 +63,61 @@ public PciSigningRequest addPciTemplateReferencesItem(String pciTemplateReferenc return this; } - /** + /** * The array of Adyen-generated unique identifiers for the questionnaires. * @return pciTemplateReferences - **/ + */ @ApiModelProperty(required = true, value = "The array of Adyen-generated unique identifiers for the questionnaires.") @JsonProperty(JSON_PROPERTY_PCI_TEMPLATE_REFERENCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPciTemplateReferences() { return pciTemplateReferences; } - - /** - * The array of Adyen-generated unique identifiers for the questionnaires. - * - * @param pciTemplateReferences - */ + /** + * The array of Adyen-generated unique identifiers for the questionnaires. + * + * @param pciTemplateReferences + */ @JsonProperty(JSON_PROPERTY_PCI_TEMPLATE_REFERENCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPciTemplateReferences(List pciTemplateReferences) { this.pciTemplateReferences = pciTemplateReferences; } - + /** + * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signs the PCI questionnaire. + * + * @param signedBy + * @return the current {@code PciSigningRequest} instance, allowing for method chaining + */ public PciSigningRequest signedBy(String signedBy) { this.signedBy = signedBy; return this; } - /** + /** * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signs the PCI questionnaire. * @return signedBy - **/ + */ @ApiModelProperty(required = true, value = "The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signs the PCI questionnaire.") @JsonProperty(JSON_PROPERTY_SIGNED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSignedBy() { return signedBy; } - - /** - * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signs the PCI questionnaire. - * - * @param signedBy - */ + /** + * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signs the PCI questionnaire. + * + * @param signedBy + */ @JsonProperty(JSON_PROPERTY_SIGNED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSignedBy(String signedBy) { this.signedBy = signedBy; } - /** * Return true if this PciSigningRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PciSigningResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/PciSigningResponse.java index 6e2d365df..4f076f4a7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PciSigningResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PciSigningResponse.java @@ -47,6 +47,12 @@ public class PciSigningResponse { public PciSigningResponse() { } + /** + * The unique identifiers of the signed PCI documents. + * + * @param pciQuestionnaireIds + * @return the current {@code PciSigningResponse} instance, allowing for method chaining + */ public PciSigningResponse pciQuestionnaireIds(List pciQuestionnaireIds) { this.pciQuestionnaireIds = pciQuestionnaireIds; return this; @@ -60,61 +66,61 @@ public PciSigningResponse addPciQuestionnaireIdsItem(String pciQuestionnaireIdsI return this; } - /** + /** * The unique identifiers of the signed PCI documents. * @return pciQuestionnaireIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the signed PCI documents.") @JsonProperty(JSON_PROPERTY_PCI_QUESTIONNAIRE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPciQuestionnaireIds() { return pciQuestionnaireIds; } - - /** - * The unique identifiers of the signed PCI documents. - * - * @param pciQuestionnaireIds - */ + /** + * The unique identifiers of the signed PCI documents. + * + * @param pciQuestionnaireIds + */ @JsonProperty(JSON_PROPERTY_PCI_QUESTIONNAIRE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPciQuestionnaireIds(List pciQuestionnaireIds) { this.pciQuestionnaireIds = pciQuestionnaireIds; } - + /** + * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signed the PCI questionnaire. + * + * @param signedBy + * @return the current {@code PciSigningResponse} instance, allowing for method chaining + */ public PciSigningResponse signedBy(String signedBy) { this.signedBy = signedBy; return this; } - /** + /** * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signed the PCI questionnaire. * @return signedBy - **/ + */ @ApiModelProperty(value = "The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signed the PCI questionnaire.") @JsonProperty(JSON_PROPERTY_SIGNED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSignedBy() { return signedBy; } - - /** - * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signed the PCI questionnaire. - * - * @param signedBy - */ + /** + * The [legal entity ID](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) of the individual who signed the PCI questionnaire. + * + * @param signedBy + */ @JsonProperty(JSON_PROPERTY_SIGNED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSignedBy(String signedBy) { this.signedBy = signedBy; } - /** * Return true if this PciSigningResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PhoneNumber.java b/src/main/java/com/adyen/model/legalentitymanagement/PhoneNumber.java index d934ba56a..d7cd986c7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PhoneNumber.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PhoneNumber.java @@ -45,66 +45,72 @@ public class PhoneNumber { public PhoneNumber() { } + /** + * The full phone number, including the country code. For example, **+3112345678**. + * + * @param number + * @return the current {@code PhoneNumber} instance, allowing for method chaining + */ public PhoneNumber number(String number) { this.number = number; return this; } - /** + /** * The full phone number, including the country code. For example, **+3112345678**. * @return number - **/ + */ @ApiModelProperty(required = true, value = "The full phone number, including the country code. For example, **+3112345678**.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The full phone number, including the country code. For example, **+3112345678**. - * - * @param number - */ + /** + * The full phone number, including the country code. For example, **+3112345678**. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The type of phone number. Possible values: **mobile**, **landline**, **sip**, **fax.** + * + * @param type + * @return the current {@code PhoneNumber} instance, allowing for method chaining + */ public PhoneNumber type(String type) { this.type = type; return this; } - /** + /** * The type of phone number. Possible values: **mobile**, **landline**, **sip**, **fax.** * @return type - **/ + */ @ApiModelProperty(value = "The type of phone number. Possible values: **mobile**, **landline**, **sip**, **fax.** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of phone number. Possible values: **mobile**, **landline**, **sip**, **fax.** - * - * @param type - */ + /** + * The type of phone number. Possible values: **mobile**, **landline**, **sip**, **fax.** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this PhoneNumber object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/RemediatingAction.java b/src/main/java/com/adyen/model/legalentitymanagement/RemediatingAction.java index caf8da4a6..65b2a545f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/RemediatingAction.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/RemediatingAction.java @@ -45,66 +45,72 @@ public class RemediatingAction { public RemediatingAction() { } + /** + * code + * + * @param code + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction code(String code) { this.code = code; return this; } - /** - * Get code + /** + * code * @return code - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * code - * - * @param code - */ + /** + * code + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * message + * + * @param message + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction message(String message) { this.message = message; return this; } - /** - * Get message + /** + * message * @return message - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * message - * - * @param message - */ + /** + * message + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - /** * Return true if this RemediatingAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java index cb991eed4..92f030161 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SELocalAccountIdentification() { } + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. - * - * @param accountNumber - */ + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification clearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; return this; } - /** + /** * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. * @return clearingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingNumber() { return clearingNumber; } - - /** - * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. - * - * @param clearingNumber - */ + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + */ @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; } - + /** + * **seLocal** + * + * @param type + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **seLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**seLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **seLocal** - * - * @param type - */ + /** + * **seLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SELocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java index a357943d8..b303c8212 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SGLocalAccountIdentification() { } + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4- to 19-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 19-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4- to 19-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **sgLocal** + * + * @param type + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **sgLocal** * @return type - **/ + */ @ApiModelProperty(value = "**sgLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **sgLocal** - * - * @param type - */ + /** + * **sgLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SGLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/ServiceError.java b/src/main/java/com/adyen/model/legalentitymanagement/ServiceError.java index 984064eda..171c10709 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/ServiceError.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/ServiceError.java @@ -57,156 +57,171 @@ public class ServiceError { public ServiceError() { } + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SetTaxElectronicDeliveryConsentRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/SetTaxElectronicDeliveryConsentRequest.java index 30b3fe8eb..c531c4f36 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SetTaxElectronicDeliveryConsentRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SetTaxElectronicDeliveryConsentRequest.java @@ -41,36 +41,39 @@ public class SetTaxElectronicDeliveryConsentRequest { public SetTaxElectronicDeliveryConsentRequest() { } + /** + * Consent to electronically deliver tax form US1099-K. + * + * @param us1099k + * @return the current {@code SetTaxElectronicDeliveryConsentRequest} instance, allowing for method chaining + */ public SetTaxElectronicDeliveryConsentRequest us1099k(Boolean us1099k) { this.us1099k = us1099k; return this; } - /** + /** * Consent to electronically deliver tax form US1099-K. * @return us1099k - **/ + */ @ApiModelProperty(value = "Consent to electronically deliver tax form US1099-K.") @JsonProperty(JSON_PROPERTY_US1099K) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getUs1099k() { return us1099k; } - - /** - * Consent to electronically deliver tax form US1099-K. - * - * @param us1099k - */ + /** + * Consent to electronically deliver tax form US1099-K. + * + * @param us1099k + */ @JsonProperty(JSON_PROPERTY_US1099K) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUs1099k(Boolean us1099k) { this.us1099k = us1099k; } - /** * Return true if this SetTaxElectronicDeliveryConsentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SoleProprietorship.java b/src/main/java/com/adyen/model/legalentitymanagement/SoleProprietorship.java index 7d4a23be1..5c9476ff4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SoleProprietorship.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SoleProprietorship.java @@ -120,246 +120,276 @@ public static VatAbsenceReasonEnum fromValue(String value) { public SoleProprietorship() { } + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship countryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. * @return countryOfGoverningLaw - **/ + */ @ApiModelProperty(required = true, value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.") @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryOfGoverningLaw() { return countryOfGoverningLaw; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. - * - * @param countryOfGoverningLaw - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + */ @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; } - + /** + * The date when the legal arrangement was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship dateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; return this; } - /** + /** * The date when the legal arrangement was incorporated in YYYY-MM-DD format. * @return dateOfIncorporation - **/ + */ @ApiModelProperty(value = "The date when the legal arrangement was incorporated in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDateOfIncorporation() { return dateOfIncorporation; } - - /** - * The date when the legal arrangement was incorporated in YYYY-MM-DD format. - * - * @param dateOfIncorporation - */ + /** + * The date when the legal arrangement was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + */ @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; } - + /** + * The registered name, if different from the `name`. + * + * @param doingBusinessAs + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship doingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; return this; } - /** - * The registered name, if different from the `name`. + /** + * The registered name, if different from the `name`. * @return doingBusinessAs - **/ + */ @ApiModelProperty(value = "The registered name, if different from the `name`.") @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDoingBusinessAs() { return doingBusinessAs; } - - /** - * The registered name, if different from the `name`. - * - * @param doingBusinessAs - */ + /** + * The registered name, if different from the `name`. + * + * @param doingBusinessAs + */ @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDoingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; } - + /** + * The legal name. + * + * @param name + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship name(String name) { this.name = name; return this; } - /** + /** * The legal name. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The legal name.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The legal name. - * - * @param name - */ + /** + * The legal name. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship principalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; return this; } - /** - * Get principalPlaceOfBusiness + /** + * principalPlaceOfBusiness * @return principalPlaceOfBusiness - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getPrincipalPlaceOfBusiness() { return principalPlaceOfBusiness; } - - /** - * principalPlaceOfBusiness - * - * @param principalPlaceOfBusiness - */ + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + */ @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; } - + /** + * registeredAddress + * + * @param registeredAddress + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship registeredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; return this; } - /** - * Get registeredAddress + /** + * registeredAddress * @return registeredAddress - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getRegisteredAddress() { return registeredAddress; } - - /** - * registeredAddress - * - * @param registeredAddress - */ + /** + * registeredAddress + * + * @param registeredAddress + */ @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegisteredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; } - + /** + * The registration number. + * + * @param registrationNumber + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship registrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; return this; } - /** + /** * The registration number. * @return registrationNumber - **/ + */ @ApiModelProperty(value = "The registration number.") @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegistrationNumber() { return registrationNumber; } - - /** - * The registration number. - * - * @param registrationNumber - */ + /** + * The registration number. + * + * @param registrationNumber + */ @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegistrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; } - + /** + * The tax information is absent. + * + * @param taxAbsent + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship taxAbsent(Boolean taxAbsent) { this.taxAbsent = taxAbsent; return this; } - /** + /** * The tax information is absent. * @return taxAbsent - **/ + */ @ApiModelProperty(value = "The tax information is absent.") @JsonProperty(JSON_PROPERTY_TAX_ABSENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTaxAbsent() { return taxAbsent; } - - /** - * The tax information is absent. - * - * @param taxAbsent - */ + /** + * The tax information is absent. + * + * @param taxAbsent + */ @JsonProperty(JSON_PROPERTY_TAX_ABSENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxAbsent(Boolean taxAbsent) { this.taxAbsent = taxAbsent; } - + /** + * The tax information of the entity. + * + * @param taxInformation + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship taxInformation(List taxInformation) { this.taxInformation = taxInformation; return this; @@ -373,91 +403,94 @@ public SoleProprietorship addTaxInformationItem(TaxInformation taxInformationIte return this; } - /** + /** * The tax information of the entity. * @return taxInformation - **/ + */ @ApiModelProperty(value = "The tax information of the entity.") @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTaxInformation() { return taxInformation; } - - /** - * The tax information of the entity. - * - * @param taxInformation - */ + /** + * The tax information of the entity. + * + * @param taxInformation + */ @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxInformation(List taxInformation) { this.taxInformation = taxInformation; } - + /** + * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship vatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; return this; } - /** + /** * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. * @return vatAbsenceReason - **/ + */ @ApiModelProperty(value = "The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.") @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VatAbsenceReasonEnum getVatAbsenceReason() { return vatAbsenceReason; } - - /** - * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. - * - * @param vatAbsenceReason - */ + /** + * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + */ @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; } - + /** + * The VAT number. + * + * @param vatNumber + * @return the current {@code SoleProprietorship} instance, allowing for method chaining + */ public SoleProprietorship vatNumber(String vatNumber) { this.vatNumber = vatNumber; return this; } - /** + /** * The VAT number. * @return vatNumber - **/ + */ @ApiModelProperty(value = "The VAT number.") @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVatNumber() { return vatNumber; } - - /** - * The VAT number. - * - * @param vatNumber - */ + /** + * The VAT number. + * + * @param vatNumber + */ @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatNumber(String vatNumber) { this.vatNumber = vatNumber; } - /** * Return true if this SoleProprietorship object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SourceOfFunds.java b/src/main/java/com/adyen/model/legalentitymanagement/SourceOfFunds.java index 40ecee15c..917999c29 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SourceOfFunds.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SourceOfFunds.java @@ -39,7 +39,7 @@ public class SourceOfFunds { public static final String JSON_PROPERTY_ACQUIRING_BUSINESS_LINE_ID = "acquiringBusinessLineId"; - @Deprecated + @Deprecated // deprecated since Legal Entity Management API v3: This field will be removed in v4. private String acquiringBusinessLineId; public static final String JSON_PROPERTY_ADYEN_PROCESSED_FUNDS = "adyenProcessedFunds"; @@ -87,32 +87,44 @@ public static TypeEnum fromValue(String value) { public SourceOfFunds() { } + /** + * The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. + * + * @param acquiringBusinessLineId + * @return the current {@code SourceOfFunds} instance, allowing for method chaining + * + * @deprecated since Legal Entity Management API v3 + * This field will be removed in v4. + */ @Deprecated public SourceOfFunds acquiringBusinessLineId(String acquiringBusinessLineId) { this.acquiringBusinessLineId = acquiringBusinessLineId; return this; } - /** + /** * The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. * @return acquiringBusinessLineId - * @deprecated - **/ + * + * @deprecated since Legal Entity Management API v3 + * This field will be removed in v4. + */ @Deprecated @ApiModelProperty(value = "The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability.") @JsonProperty(JSON_PROPERTY_ACQUIRING_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquiringBusinessLineId() { return acquiringBusinessLineId; } - - /** - * The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. - * - * @param acquiringBusinessLineId - */ + /** + * The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. + * + * @param acquiringBusinessLineId + * + * @deprecated since Legal Entity Management API v3 + * This field will be removed in v4. + */ @Deprecated @JsonProperty(JSON_PROPERTY_ACQUIRING_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -120,97 +132,105 @@ public void setAcquiringBusinessLineId(String acquiringBusinessLineId) { this.acquiringBusinessLineId = acquiringBusinessLineId; } - + /** + * Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required. + * + * @param adyenProcessedFunds + * @return the current {@code SourceOfFunds} instance, allowing for method chaining + */ public SourceOfFunds adyenProcessedFunds(Boolean adyenProcessedFunds) { this.adyenProcessedFunds = adyenProcessedFunds; return this; } - /** - * Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required. + /** + * Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required. * @return adyenProcessedFunds - **/ + */ @ApiModelProperty(value = "Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required.") @JsonProperty(JSON_PROPERTY_ADYEN_PROCESSED_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAdyenProcessedFunds() { return adyenProcessedFunds; } - - /** - * Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required. - * - * @param adyenProcessedFunds - */ + /** + * Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required. + * + * @param adyenProcessedFunds + */ @JsonProperty(JSON_PROPERTY_ADYEN_PROCESSED_FUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenProcessedFunds(Boolean adyenProcessedFunds) { this.adyenProcessedFunds = adyenProcessedFunds; } - + /** + * Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**. + * + * @param description + * @return the current {@code SourceOfFunds} instance, allowing for method chaining + */ public SourceOfFunds description(String description) { this.description = description; return this; } - /** - * Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**. + /** + * Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**. * @return description - **/ + */ @ApiModelProperty(value = "Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**. - * - * @param description - */ + /** + * Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The type of the source of funds. Possible value: **business**. + * + * @param type + * @return the current {@code SourceOfFunds} instance, allowing for method chaining + */ public SourceOfFunds type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the source of funds. Possible value: **business**. * @return type - **/ + */ @ApiModelProperty(value = "The type of the source of funds. Possible value: **business**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the source of funds. Possible value: **business**. - * - * @param type - */ + /** + * The type of the source of funds. Possible value: **business**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SourceOfFunds object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/StockData.java b/src/main/java/com/adyen/model/legalentitymanagement/StockData.java index 3f6ea18b3..aa64b39a6 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/StockData.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/StockData.java @@ -49,96 +49,105 @@ public class StockData { public StockData() { } + /** + * The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded. + * + * @param marketIdentifier + * @return the current {@code StockData} instance, allowing for method chaining + */ public StockData marketIdentifier(String marketIdentifier) { this.marketIdentifier = marketIdentifier; return this; } - /** - * The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded. + /** + * The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded. * @return marketIdentifier - **/ + */ @ApiModelProperty(value = "The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded.") @JsonProperty(JSON_PROPERTY_MARKET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMarketIdentifier() { return marketIdentifier; } - - /** - * The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded. - * - * @param marketIdentifier - */ + /** + * The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded. + * + * @param marketIdentifier + */ @JsonProperty(JSON_PROPERTY_MARKET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMarketIdentifier(String marketIdentifier) { this.marketIdentifier = marketIdentifier; } - + /** + * The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-). + * + * @param stockNumber + * @return the current {@code StockData} instance, allowing for method chaining + */ public StockData stockNumber(String stockNumber) { this.stockNumber = stockNumber; return this; } - /** + /** * The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-). * @return stockNumber - **/ + */ @ApiModelProperty(value = "The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-).") @JsonProperty(JSON_PROPERTY_STOCK_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStockNumber() { return stockNumber; } - - /** - * The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-). - * - * @param stockNumber - */ + /** + * The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-). + * + * @param stockNumber + */ @JsonProperty(JSON_PROPERTY_STOCK_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStockNumber(String stockNumber) { this.stockNumber = stockNumber; } - + /** + * The stock ticker symbol. + * + * @param tickerSymbol + * @return the current {@code StockData} instance, allowing for method chaining + */ public StockData tickerSymbol(String tickerSymbol) { this.tickerSymbol = tickerSymbol; return this; } - /** + /** * The stock ticker symbol. * @return tickerSymbol - **/ + */ @ApiModelProperty(value = "The stock ticker symbol.") @JsonProperty(JSON_PROPERTY_TICKER_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTickerSymbol() { return tickerSymbol; } - - /** - * The stock ticker symbol. - * - * @param tickerSymbol - */ + /** + * The stock ticker symbol. + * + * @param tickerSymbol + */ @JsonProperty(JSON_PROPERTY_TICKER_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTickerSymbol(String tickerSymbol) { this.tickerSymbol = tickerSymbol; } - /** * Return true if this StockData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SupportingEntityCapability.java b/src/main/java/com/adyen/model/legalentitymanagement/SupportingEntityCapability.java index 21e1d6e19..25167b660 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SupportingEntityCapability.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SupportingEntityCapability.java @@ -53,126 +53,138 @@ public class SupportingEntityCapability { public SupportingEntityCapability() { } + /** + * Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities. + * + * @param allowed + * @return the current {@code SupportingEntityCapability} instance, allowing for method chaining + */ public SupportingEntityCapability allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities. - * - * @param allowed - */ + /** + * Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * Supporting entity reference + * + * @param id + * @return the current {@code SupportingEntityCapability} instance, allowing for method chaining + */ public SupportingEntityCapability id(String id) { this.id = id; return this; } - /** + /** * Supporting entity reference * @return id - **/ + */ @ApiModelProperty(value = "Supporting entity reference ") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Supporting entity reference - * - * @param id - */ + /** + * Supporting entity reference + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Indicates whether the supporting entity capability is requested. + * + * @param requested + * @return the current {@code SupportingEntityCapability} instance, allowing for method chaining + */ public SupportingEntityCapability requested(Boolean requested) { this.requested = requested; return this; } - /** + /** * Indicates whether the supporting entity capability is requested. * @return requested - **/ + */ @ApiModelProperty(value = "Indicates whether the supporting entity capability is requested. ") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether the supporting entity capability is requested. - * - * @param requested - */ + /** + * Indicates whether the supporting entity capability is requested. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code SupportingEntityCapability} instance, allowing for method chaining + */ public SupportingEntityCapability verificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + /** + * The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the capability of the supporting entity. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this SupportingEntityCapability object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TaxInformation.java b/src/main/java/com/adyen/model/legalentitymanagement/TaxInformation.java index f46c7a78a..8b118f204 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TaxInformation.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TaxInformation.java @@ -49,96 +49,105 @@ public class TaxInformation { public TaxInformation() { } + /** + * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + * @return the current {@code TaxInformation} instance, allowing for method chaining + */ public TaxInformation country(String country) { this.country = country; return this; } - /** + /** * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. * @return country - **/ + */ @ApiModelProperty(value = "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. - * - * @param country - */ + /** + * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The tax ID number (TIN) of the organization or individual. + * + * @param number + * @return the current {@code TaxInformation} instance, allowing for method chaining + */ public TaxInformation number(String number) { this.number = number; return this; } - /** + /** * The tax ID number (TIN) of the organization or individual. * @return number - **/ + */ @ApiModelProperty(value = "The tax ID number (TIN) of the organization or individual.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The tax ID number (TIN) of the organization or individual. - * - * @param number - */ + /** + * The tax ID number (TIN) of the organization or individual. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The TIN type depending on the country where it was issued. Only provide if the country has multiple tax IDs: Singapore, Sweden, the UK, or the US. For example, provide **SSN**, **EIN**, or **ITIN** for the US. + * + * @param type + * @return the current {@code TaxInformation} instance, allowing for method chaining + */ public TaxInformation type(String type) { this.type = type; return this; } - /** + /** * The TIN type depending on the country where it was issued. Only provide if the country has multiple tax IDs: Singapore, Sweden, the UK, or the US. For example, provide **SSN**, **EIN**, or **ITIN** for the US. * @return type - **/ + */ @ApiModelProperty(value = "The TIN type depending on the country where it was issued. Only provide if the country has multiple tax IDs: Singapore, Sweden, the UK, or the US. For example, provide **SSN**, **EIN**, or **ITIN** for the US.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The TIN type depending on the country where it was issued. Only provide if the country has multiple tax IDs: Singapore, Sweden, the UK, or the US. For example, provide **SSN**, **EIN**, or **ITIN** for the US. - * - * @param type - */ + /** + * The TIN type depending on the country where it was issued. Only provide if the country has multiple tax IDs: Singapore, Sweden, the UK, or the US. For example, provide **SSN**, **EIN**, or **ITIN** for the US. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TaxInformation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TaxReportingClassification.java b/src/main/java/com/adyen/model/legalentitymanagement/TaxReportingClassification.java index fd91bab33..f855b4b0a 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TaxReportingClassification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TaxReportingClassification.java @@ -176,126 +176,138 @@ public static TypeEnum fromValue(String value) { public TaxReportingClassification() { } + /** + * The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**. + * + * @param businessType + * @return the current {@code TaxReportingClassification} instance, allowing for method chaining + */ public TaxReportingClassification businessType(BusinessTypeEnum businessType) { this.businessType = businessType; return this; } - /** - * The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**. + /** + * The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**. * @return businessType - **/ + */ @ApiModelProperty(value = "The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**.") @JsonProperty(JSON_PROPERTY_BUSINESS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BusinessTypeEnum getBusinessType() { return businessType; } - - /** - * The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**. - * - * @param businessType - */ + /** + * The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**. + * + * @param businessType + */ @JsonProperty(JSON_PROPERTY_BUSINESS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessType(BusinessTypeEnum businessType) { this.businessType = businessType; } - + /** + * The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**. + * + * @param financialInstitutionNumber + * @return the current {@code TaxReportingClassification} instance, allowing for method chaining + */ public TaxReportingClassification financialInstitutionNumber(String financialInstitutionNumber) { this.financialInstitutionNumber = financialInstitutionNumber; return this; } - /** - * The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**. + /** + * The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**. * @return financialInstitutionNumber - **/ + */ @ApiModelProperty(value = "The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**.") @JsonProperty(JSON_PROPERTY_FINANCIAL_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFinancialInstitutionNumber() { return financialInstitutionNumber; } - - /** - * The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**. - * - * @param financialInstitutionNumber - */ + /** + * The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**. + * + * @param financialInstitutionNumber + */ @JsonProperty(JSON_PROPERTY_FINANCIAL_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFinancialInstitutionNumber(String financialInstitutionNumber) { this.financialInstitutionNumber = financialInstitutionNumber; } - + /** + * The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**. + * + * @param mainSourceOfIncome + * @return the current {@code TaxReportingClassification} instance, allowing for method chaining + */ public TaxReportingClassification mainSourceOfIncome(MainSourceOfIncomeEnum mainSourceOfIncome) { this.mainSourceOfIncome = mainSourceOfIncome; return this; } - /** - * The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**. + /** + * The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**. * @return mainSourceOfIncome - **/ + */ @ApiModelProperty(value = "The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**.") @JsonProperty(JSON_PROPERTY_MAIN_SOURCE_OF_INCOME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MainSourceOfIncomeEnum getMainSourceOfIncome() { return mainSourceOfIncome; } - - /** - * The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**. - * - * @param mainSourceOfIncome - */ + /** + * The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**. + * + * @param mainSourceOfIncome + */ @JsonProperty(JSON_PROPERTY_MAIN_SOURCE_OF_INCOME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMainSourceOfIncome(MainSourceOfIncomeEnum mainSourceOfIncome) { this.mainSourceOfIncome = mainSourceOfIncome; } - + /** + * The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**. + * + * @param type + * @return the current {@code TaxReportingClassification} instance, allowing for method chaining + */ public TaxReportingClassification type(TypeEnum type) { this.type = type; return this; } - /** + /** * The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**. * @return type - **/ + */ @ApiModelProperty(value = "The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**. - * - * @param type - */ + /** + * The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TaxReportingClassification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TermsOfServiceAcceptanceInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/TermsOfServiceAcceptanceInfo.java index abd0baded..a78d4235b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TermsOfServiceAcceptanceInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TermsOfServiceAcceptanceInfo.java @@ -105,156 +105,171 @@ public static TypeEnum fromValue(String value) { public TermsOfServiceAcceptanceInfo() { } + /** + * The unique identifier of the user that accepted the Terms of Service. + * + * @param acceptedBy + * @return the current {@code TermsOfServiceAcceptanceInfo} instance, allowing for method chaining + */ public TermsOfServiceAcceptanceInfo acceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; return this; } - /** + /** * The unique identifier of the user that accepted the Terms of Service. * @return acceptedBy - **/ + */ @ApiModelProperty(value = "The unique identifier of the user that accepted the Terms of Service.") @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptedBy() { return acceptedBy; } - - /** - * The unique identifier of the user that accepted the Terms of Service. - * - * @param acceptedBy - */ + /** + * The unique identifier of the user that accepted the Terms of Service. + * + * @param acceptedBy + */ @JsonProperty(JSON_PROPERTY_ACCEPTED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptedBy(String acceptedBy) { this.acceptedBy = acceptedBy; } - + /** + * The unique identifier of the legal entity for which the Terms of Service are accepted. + * + * @param acceptedFor + * @return the current {@code TermsOfServiceAcceptanceInfo} instance, allowing for method chaining + */ public TermsOfServiceAcceptanceInfo acceptedFor(String acceptedFor) { this.acceptedFor = acceptedFor; return this; } - /** + /** * The unique identifier of the legal entity for which the Terms of Service are accepted. * @return acceptedFor - **/ + */ @ApiModelProperty(value = "The unique identifier of the legal entity for which the Terms of Service are accepted.") @JsonProperty(JSON_PROPERTY_ACCEPTED_FOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptedFor() { return acceptedFor; } - - /** - * The unique identifier of the legal entity for which the Terms of Service are accepted. - * - * @param acceptedFor - */ + /** + * The unique identifier of the legal entity for which the Terms of Service are accepted. + * + * @param acceptedFor + */ @JsonProperty(JSON_PROPERTY_ACCEPTED_FOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptedFor(String acceptedFor) { this.acceptedFor = acceptedFor; } - + /** + * The date when the Terms of Service were accepted. + * + * @param createdAt + * @return the current {@code TermsOfServiceAcceptanceInfo} instance, allowing for method chaining + */ public TermsOfServiceAcceptanceInfo createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * The date when the Terms of Service were accepted. * @return createdAt - **/ + */ @ApiModelProperty(value = "The date when the Terms of Service were accepted.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * The date when the Terms of Service were accepted. - * - * @param createdAt - */ + /** + * The date when the Terms of Service were accepted. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * An Adyen-generated reference for the accepted Terms of Service. + * + * @param id + * @return the current {@code TermsOfServiceAcceptanceInfo} instance, allowing for method chaining + */ public TermsOfServiceAcceptanceInfo id(String id) { this.id = id; return this; } - /** + /** * An Adyen-generated reference for the accepted Terms of Service. * @return id - **/ + */ @ApiModelProperty(value = "An Adyen-generated reference for the accepted Terms of Service.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * An Adyen-generated reference for the accepted Terms of Service. - * - * @param id - */ + /** + * An Adyen-generated reference for the accepted Terms of Service. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + * @return the current {@code TermsOfServiceAcceptanceInfo} instance, allowing for method chaining + */ public TermsOfServiceAcceptanceInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * @return type - **/ + */ @ApiModelProperty(value = "The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** - * - * @param type - */ + /** + * The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TermsOfServiceAcceptanceInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrument.java b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrument.java index 468fc7e5e..10bee41ac 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrument.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrument.java @@ -108,36 +108,45 @@ public static TypeEnum fromValue(String value) { public TransferInstrument() { } + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument bankAccount(BankAccountInfo bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountInfo getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountInfo bankAccount) { this.bankAccount = bankAccount; } - + /** + * List of capabilities for this transfer instrument. + * + * @param capabilities + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -151,31 +160,34 @@ public TransferInstrument putCapabilitiesItem(String key, SupportingEntityCapabi return this; } - /** + /** * List of capabilities for this transfer instrument. * @return capabilities - **/ + */ @ApiModelProperty(value = "List of capabilities for this transfer instrument.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * List of capabilities for this transfer instrument. - * - * @param capabilities - */ + /** + * List of capabilities for this transfer instrument. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * List of documents uploaded for the transfer instrument. + * + * @param documentDetails + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument documentDetails(List documentDetails) { this.documentDetails = documentDetails; return this; @@ -189,91 +201,100 @@ public TransferInstrument addDocumentDetailsItem(DocumentReference documentDetai return this; } - /** + /** * List of documents uploaded for the transfer instrument. * @return documentDetails - **/ + */ @ApiModelProperty(value = "List of documents uploaded for the transfer instrument.") @JsonProperty(JSON_PROPERTY_DOCUMENT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocumentDetails() { return documentDetails; } - - /** - * List of documents uploaded for the transfer instrument. - * - * @param documentDetails - */ + /** + * List of documents uploaded for the transfer instrument. + * + * @param documentDetails + */ @JsonProperty(JSON_PROPERTY_DOCUMENT_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocumentDetails(List documentDetails) { this.documentDetails = documentDetails; } - + /** + * The unique identifier of the transfer instrument. + * + * @param id + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transfer instrument. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the transfer instrument.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transfer instrument. - * - * @param id - */ + /** + * The unique identifier of the transfer instrument. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. + * + * @param legalEntityId + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The verification errors related to capabilities for this transfer instrument. + * + * @param problems + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument problems(List problems) { this.problems = problems; return this; @@ -287,61 +308,61 @@ public TransferInstrument addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * The verification errors related to capabilities for this transfer instrument. * @return problems - **/ + */ @ApiModelProperty(value = "The verification errors related to capabilities for this transfer instrument.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * The verification errors related to capabilities for this transfer instrument. - * - * @param problems - */ + /** + * The verification errors related to capabilities for this transfer instrument. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * The type of transfer instrument. Possible value: **bankAccount**. + * + * @param type + * @return the current {@code TransferInstrument} instance, allowing for method chaining + */ public TransferInstrument type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transfer instrument. Possible value: **bankAccount**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of transfer instrument. Possible value: **bankAccount**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer instrument. Possible value: **bankAccount**. - * - * @param type - */ + /** + * The type of transfer instrument. Possible value: **bankAccount**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransferInstrument object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentInfo.java index 8445747cc..c36d73a7b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentInfo.java @@ -85,96 +85,105 @@ public static TypeEnum fromValue(String value) { public TransferInstrumentInfo() { } + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code TransferInstrumentInfo} instance, allowing for method chaining + */ public TransferInstrumentInfo bankAccount(BankAccountInfo bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountInfo getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountInfo bankAccount) { this.bankAccount = bankAccount; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. + * + * @param legalEntityId + * @return the current {@code TransferInstrumentInfo} instance, allowing for method chaining + */ public TransferInstrumentInfo legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. * @return legalEntityId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The type of transfer instrument. Possible value: **bankAccount**. + * + * @param type + * @return the current {@code TransferInstrumentInfo} instance, allowing for method chaining + */ public TransferInstrumentInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transfer instrument. Possible value: **bankAccount**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of transfer instrument. Possible value: **bankAccount**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer instrument. Possible value: **bankAccount**. - * - * @param type - */ + /** + * The type of transfer instrument. Possible value: **bankAccount**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransferInstrumentInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentReference.java b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentReference.java index 310e68285..fca54036c 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentReference.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/TransferInstrumentReference.java @@ -53,126 +53,138 @@ public class TransferInstrumentReference { public TransferInstrumentReference() { } + /** + * The masked IBAN or bank account number. + * + * @param accountIdentifier + * @return the current {@code TransferInstrumentReference} instance, allowing for method chaining + */ public TransferInstrumentReference accountIdentifier(String accountIdentifier) { this.accountIdentifier = accountIdentifier; return this; } - /** + /** * The masked IBAN or bank account number. * @return accountIdentifier - **/ + */ @ApiModelProperty(required = true, value = "The masked IBAN or bank account number.") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountIdentifier() { return accountIdentifier; } - - /** - * The masked IBAN or bank account number. - * - * @param accountIdentifier - */ + /** + * The masked IBAN or bank account number. + * + * @param accountIdentifier + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentifier(String accountIdentifier) { this.accountIdentifier = accountIdentifier; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code TransferInstrumentReference} instance, allowing for method chaining + */ public TransferInstrumentReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. + * + * @param realLastFour + * @return the current {@code TransferInstrumentReference} instance, allowing for method chaining + */ public TransferInstrumentReference realLastFour(String realLastFour) { this.realLastFour = realLastFour; return this; } - /** - * Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. + /** + * Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. * @return realLastFour - **/ + */ @ApiModelProperty(value = "Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.") @JsonProperty(JSON_PROPERTY_REAL_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRealLastFour() { return realLastFour; } - - /** - * Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. - * - * @param realLastFour - */ + /** + * Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. + * + * @param realLastFour + */ @JsonProperty(JSON_PROPERTY_REAL_LAST_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRealLastFour(String realLastFour) { this.realLastFour = realLastFour; } - + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + * + * @param trustedSource + * @return the current {@code TransferInstrumentReference} instance, allowing for method chaining + */ public TransferInstrumentReference trustedSource(Boolean trustedSource) { this.trustedSource = trustedSource; return this; } - /** - * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). * @return trustedSource - **/ + */ @ApiModelProperty(value = "Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).") @JsonProperty(JSON_PROPERTY_TRUSTED_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedSource() { return trustedSource; } - - /** - * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). - * - * @param trustedSource - */ + /** + * Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding). + * + * @param trustedSource + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedSource(Boolean trustedSource) { this.trustedSource = trustedSource; } - /** * Return true if this TransferInstrumentReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Trust.java b/src/main/java/com/adyen/model/legalentitymanagement/Trust.java index 966fb4aed..38be864d7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Trust.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Trust.java @@ -190,246 +190,276 @@ public static VatAbsenceReasonEnum fromValue(String value) { public Trust() { } + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust countryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; return this; } - /** + /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. * @return countryOfGoverningLaw - **/ + */ @ApiModelProperty(required = true, value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.") @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryOfGoverningLaw() { return countryOfGoverningLaw; } - - /** - * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. - * - * @param countryOfGoverningLaw - */ + /** + * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. + * + * @param countryOfGoverningLaw + */ @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryOfGoverningLaw(String countryOfGoverningLaw) { this.countryOfGoverningLaw = countryOfGoverningLaw; } - + /** + * The date when the legal arrangement was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust dateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; return this; } - /** + /** * The date when the legal arrangement was incorporated in YYYY-MM-DD format. * @return dateOfIncorporation - **/ + */ @ApiModelProperty(value = "The date when the legal arrangement was incorporated in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDateOfIncorporation() { return dateOfIncorporation; } - - /** - * The date when the legal arrangement was incorporated in YYYY-MM-DD format. - * - * @param dateOfIncorporation - */ + /** + * The date when the legal arrangement was incorporated in YYYY-MM-DD format. + * + * @param dateOfIncorporation + */ @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfIncorporation(String dateOfIncorporation) { this.dateOfIncorporation = dateOfIncorporation; } - + /** + * The registered name, if different from the `name`. + * + * @param doingBusinessAs + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust doingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; return this; } - /** - * The registered name, if different from the `name`. + /** + * The registered name, if different from the `name`. * @return doingBusinessAs - **/ + */ @ApiModelProperty(value = "The registered name, if different from the `name`.") @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDoingBusinessAs() { return doingBusinessAs; } - - /** - * The registered name, if different from the `name`. - * - * @param doingBusinessAs - */ + /** + * The registered name, if different from the `name`. + * + * @param doingBusinessAs + */ @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDoingBusinessAs(String doingBusinessAs) { this.doingBusinessAs = doingBusinessAs; } - + /** + * The legal name. + * + * @param name + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust name(String name) { this.name = name; return this; } - /** + /** * The legal name. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The legal name.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The legal name. - * - * @param name - */ + /** + * The legal name. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust principalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; return this; } - /** - * Get principalPlaceOfBusiness + /** + * principalPlaceOfBusiness * @return principalPlaceOfBusiness - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getPrincipalPlaceOfBusiness() { return principalPlaceOfBusiness; } - - /** - * principalPlaceOfBusiness - * - * @param principalPlaceOfBusiness - */ + /** + * principalPlaceOfBusiness + * + * @param principalPlaceOfBusiness + */ @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness) { this.principalPlaceOfBusiness = principalPlaceOfBusiness; } - + /** + * registeredAddress + * + * @param registeredAddress + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust registeredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; return this; } - /** - * Get registeredAddress + /** + * registeredAddress * @return registeredAddress - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getRegisteredAddress() { return registeredAddress; } - - /** - * registeredAddress - * - * @param registeredAddress - */ + /** + * registeredAddress + * + * @param registeredAddress + */ @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegisteredAddress(Address registeredAddress) { this.registeredAddress = registeredAddress; } - + /** + * The registration number. + * + * @param registrationNumber + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust registrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; return this; } - /** + /** * The registration number. * @return registrationNumber - **/ + */ @ApiModelProperty(value = "The registration number.") @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRegistrationNumber() { return registrationNumber; } - - /** - * The registration number. - * - * @param registrationNumber - */ + /** + * The registration number. + * + * @param registrationNumber + */ @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegistrationNumber(String registrationNumber) { this.registrationNumber = registrationNumber; } - + /** + * The tax information is absent. + * + * @param taxAbsent + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust taxAbsent(Boolean taxAbsent) { this.taxAbsent = taxAbsent; return this; } - /** + /** * The tax information is absent. * @return taxAbsent - **/ + */ @ApiModelProperty(value = "The tax information is absent.") @JsonProperty(JSON_PROPERTY_TAX_ABSENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTaxAbsent() { return taxAbsent; } - - /** - * The tax information is absent. - * - * @param taxAbsent - */ + /** + * The tax information is absent. + * + * @param taxAbsent + */ @JsonProperty(JSON_PROPERTY_TAX_ABSENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxAbsent(Boolean taxAbsent) { this.taxAbsent = taxAbsent; } - + /** + * The tax information of the entity. + * + * @param taxInformation + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust taxInformation(List taxInformation) { this.taxInformation = taxInformation; return this; @@ -443,61 +473,67 @@ public Trust addTaxInformationItem(TaxInformation taxInformationItem) { return this; } - /** + /** * The tax information of the entity. * @return taxInformation - **/ + */ @ApiModelProperty(value = "The tax information of the entity.") @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTaxInformation() { return taxInformation; } - - /** - * The tax information of the entity. - * - * @param taxInformation - */ + /** + * The tax information of the entity. + * + * @param taxInformation + */ @JsonProperty(JSON_PROPERTY_TAX_INFORMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxInformation(List taxInformation) { this.taxInformation = taxInformation; } - + /** + * Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**. + * + * @param type + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**. - * - * @param type - */ + /** + * Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The undefined beneficiary information of the entity. + * + * @param undefinedBeneficiaryInfo + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust undefinedBeneficiaryInfo(List undefinedBeneficiaryInfo) { this.undefinedBeneficiaryInfo = undefinedBeneficiaryInfo; return this; @@ -511,91 +547,94 @@ public Trust addUndefinedBeneficiaryInfoItem(UndefinedBeneficiary undefinedBenef return this; } - /** + /** * The undefined beneficiary information of the entity. * @return undefinedBeneficiaryInfo - **/ + */ @ApiModelProperty(value = "The undefined beneficiary information of the entity.") @JsonProperty(JSON_PROPERTY_UNDEFINED_BENEFICIARY_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUndefinedBeneficiaryInfo() { return undefinedBeneficiaryInfo; } - - /** - * The undefined beneficiary information of the entity. - * - * @param undefinedBeneficiaryInfo - */ + /** + * The undefined beneficiary information of the entity. + * + * @param undefinedBeneficiaryInfo + */ @JsonProperty(JSON_PROPERTY_UNDEFINED_BENEFICIARY_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUndefinedBeneficiaryInfo(List undefinedBeneficiaryInfo) { this.undefinedBeneficiaryInfo = undefinedBeneficiaryInfo; } - + /** + * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust vatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; return this; } - /** + /** * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. * @return vatAbsenceReason - **/ + */ @ApiModelProperty(value = "The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.") @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VatAbsenceReasonEnum getVatAbsenceReason() { return vatAbsenceReason; } - - /** - * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. - * - * @param vatAbsenceReason - */ + /** + * The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. + * + * @param vatAbsenceReason + */ @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) { this.vatAbsenceReason = vatAbsenceReason; } - + /** + * The VAT number. + * + * @param vatNumber + * @return the current {@code Trust} instance, allowing for method chaining + */ public Trust vatNumber(String vatNumber) { this.vatNumber = vatNumber; return this; } - /** + /** * The VAT number. * @return vatNumber - **/ + */ @ApiModelProperty(value = "The VAT number.") @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVatNumber() { return vatNumber; } - - /** - * The VAT number. - * - * @param vatNumber - */ + /** + * The VAT number. + * + * @param vatNumber + */ @JsonProperty(JSON_PROPERTY_VAT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVatNumber(String vatNumber) { this.vatNumber = vatNumber; } - /** * Return true if this Trust object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java index fc316aad1..85169f977 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public UKLocalAccountIdentification() { } + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 8-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 8-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 8-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **ukLocal** + * + * @param type + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ukLocal** - * - * @param type - */ + /** + * **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java index 826a90d67..85e72a201 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public USLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * **usLocal** + * + * @param type + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **usLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**usLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **usLocal** - * - * @param type - */ + /** + * **usLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this USLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/UndefinedBeneficiary.java b/src/main/java/com/adyen/model/legalentitymanagement/UndefinedBeneficiary.java index 2b9bf69ae..d98ad9414 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/UndefinedBeneficiary.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/UndefinedBeneficiary.java @@ -45,66 +45,72 @@ public class UndefinedBeneficiary { public UndefinedBeneficiary() { } + /** + * The details of the undefined beneficiary. + * + * @param description + * @return the current {@code UndefinedBeneficiary} instance, allowing for method chaining + */ public UndefinedBeneficiary description(String description) { this.description = description; return this; } - /** + /** * The details of the undefined beneficiary. * @return description - **/ + */ @ApiModelProperty(value = "The details of the undefined beneficiary.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The details of the undefined beneficiary. - * - * @param description - */ + /** + * The details of the undefined beneficiary. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The reference of the undefined beneficiary. + * + * @param reference + * @return the current {@code UndefinedBeneficiary} instance, allowing for method chaining + */ public UndefinedBeneficiary reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference of the undefined beneficiary. * @return reference - **/ + */ @ApiModelProperty(value = "The reference of the undefined beneficiary.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference of the undefined beneficiary. - * - * @param reference - */ + /** + * The reference of the undefined beneficiary. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this UndefinedBeneficiary object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java b/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java index 427838d6d..5a9b7fa38 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java @@ -185,6 +185,12 @@ public static CapabilitiesEnum fromValue(String value) { public VerificationDeadline() { } + /** + * The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline + * + * @param capabilities + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -195,31 +201,34 @@ public VerificationDeadline addCapabilitiesItem(CapabilitiesEnum capabilitiesIte return this; } - /** + /** * The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline * @return capabilities - **/ + */ @ApiModelProperty(required = true, value = "The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline - * - * @param capabilities - */ + /** + * The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The unique identifiers of the legal entity or supporting entities that the deadline applies to + * + * @param entityIds + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline entityIds(List entityIds) { this.entityIds = entityIds; return this; @@ -233,61 +242,61 @@ public VerificationDeadline addEntityIdsItem(String entityIdsItem) { return this; } - /** + /** * The unique identifiers of the legal entity or supporting entities that the deadline applies to * @return entityIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the legal entity or supporting entities that the deadline applies to") @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEntityIds() { return entityIds; } - - /** - * The unique identifiers of the legal entity or supporting entities that the deadline applies to - * - * @param entityIds - */ + /** + * The unique identifiers of the legal entity or supporting entities that the deadline applies to + * + * @param entityIds + */ @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityIds(List entityIds) { this.entityIds = entityIds; } - + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + * @return the current {@code VerificationDeadline} instance, allowing for method chaining + */ public VerificationDeadline expiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; return this; } - /** + /** * The date that verification is due by before capabilities are disallowed. * @return expiresAt - **/ + */ @ApiModelProperty(required = true, value = "The date that verification is due by before capabilities are disallowed.") @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getExpiresAt() { return expiresAt; } - - /** - * The date that verification is due by before capabilities are disallowed. - * - * @param expiresAt - */ + /** + * The date that verification is due by before capabilities are disallowed. + * + * @param expiresAt + */ @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; } - /** * Return true if this VerificationDeadline object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/VerificationError.java b/src/main/java/com/adyen/model/legalentitymanagement/VerificationError.java index 9faef6b6e..4961cf824 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/VerificationError.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/VerificationError.java @@ -239,6 +239,12 @@ public static TypeEnum fromValue(String value) { public VerificationError() { } + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -252,91 +258,100 @@ public VerificationError addCapabilitiesItem(CapabilitiesEnum capabilitiesItem) return this; } - /** + /** * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The general error code. + * + * @param code + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError code(String code) { this.code = code; return this; } - /** + /** * The general error code. * @return code - **/ + */ @ApiModelProperty(value = "The general error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The general error code. - * - * @param code - */ + /** + * The general error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The general error message. + * + * @param message + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError message(String message) { this.message = message; return this; } - /** + /** * The general error message. * @return message - **/ + */ @ApiModelProperty(value = "The general error message.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * The general error message. - * - * @param message - */ + /** + * The general error message. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * An object containing possible solutions to fix a verification error. + * + * @param remediatingActions + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -350,31 +365,34 @@ public VerificationError addRemediatingActionsItem(RemediatingAction remediating return this; } - /** + /** * An object containing possible solutions to fix a verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "An object containing possible solutions to fix a verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * An object containing possible solutions to fix a verification error. - * - * @param remediatingActions - */ + /** + * An object containing possible solutions to fix a verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - + /** + * An array containing more granular information about the cause of the verification error. + * + * @param subErrors + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError subErrors(List subErrors) { this.subErrors = subErrors; return this; @@ -388,61 +406,61 @@ public VerificationError addSubErrorsItem(VerificationErrorRecursive subErrorsIt return this; } - /** + /** * An array containing more granular information about the cause of the verification error. * @return subErrors - **/ + */ @ApiModelProperty(value = "An array containing more granular information about the cause of the verification error.") @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubErrors() { return subErrors; } - - /** - * An array containing more granular information about the cause of the verification error. - * - * @param subErrors - */ + /** + * An array containing more granular information about the cause of the verification error. + * + * @param subErrors + */ @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubErrors(List subErrors) { this.subErrors = subErrors; } - + /** + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** + * + * @param type + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** - * - * @param type - */ + /** + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this VerificationError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrorRecursive.java b/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrorRecursive.java index a88fd63ad..c73b5f12e 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrorRecursive.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrorRecursive.java @@ -235,6 +235,12 @@ public static TypeEnum fromValue(String value) { public VerificationErrorRecursive() { } + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive capabilities(List capabilities) { this.capabilities = capabilities; return this; @@ -248,121 +254,133 @@ public VerificationErrorRecursive addCapabilitiesItem(CapabilitiesEnum capabilit return this; } - /** + /** * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(value = "Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCapabilities() { return capabilities; } - - /** - * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(List capabilities) { this.capabilities = capabilities; } - + /** + * The general error code. + * + * @param code + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive code(String code) { this.code = code; return this; } - /** + /** * The general error code. * @return code - **/ + */ @ApiModelProperty(value = "The general error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The general error code. - * - * @param code - */ + /** + * The general error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The general error message. + * + * @param message + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive message(String message) { this.message = message; return this; } - /** + /** * The general error message. * @return message - **/ + */ @ApiModelProperty(value = "The general error message.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * The general error message. - * - * @param message - */ + /** + * The general error message. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** + * + * @param type + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** * @return type - **/ + */ @ApiModelProperty(value = "The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** - * - * @param type - */ + /** + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * An object containing possible solutions to fix a verification error. + * + * @param remediatingActions + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -376,31 +394,28 @@ public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction re return this; } - /** + /** * An object containing possible solutions to fix a verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "An object containing possible solutions to fix a verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * An object containing possible solutions to fix a verification error. - * - * @param remediatingActions - */ + /** + * An object containing possible solutions to fix a verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - /** * Return true if this VerificationError-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrors.java b/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrors.java index 1eb1820d5..60e095004 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrors.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/VerificationErrors.java @@ -44,6 +44,12 @@ public class VerificationErrors { public VerificationErrors() { } + /** + * List of the verification errors. + * + * @param problems + * @return the current {@code VerificationErrors} instance, allowing for method chaining + */ public VerificationErrors problems(List problems) { this.problems = problems; return this; @@ -57,31 +63,28 @@ public VerificationErrors addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * List of the verification errors. * @return problems - **/ + */ @ApiModelProperty(value = "List of the verification errors.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * List of the verification errors. - * - * @param problems - */ + /** + * List of the verification errors. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - /** * Return true if this VerificationErrors object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/WebData.java b/src/main/java/com/adyen/model/legalentitymanagement/WebData.java index 0468fa864..b44588928 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/WebData.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/WebData.java @@ -45,66 +45,72 @@ public class WebData { public WebData() { } + /** + * The URL of the website or the app store URL. + * + * @param webAddress + * @return the current {@code WebData} instance, allowing for method chaining + */ public WebData webAddress(String webAddress) { this.webAddress = webAddress; return this; } - /** + /** * The URL of the website or the app store URL. * @return webAddress - **/ + */ @ApiModelProperty(value = "The URL of the website or the app store URL.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddress() { return webAddress; } - - /** - * The URL of the website or the app store URL. - * - * @param webAddress - */ + /** + * The URL of the website or the app store URL. + * + * @param webAddress + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddress(String webAddress) { this.webAddress = webAddress; } - + /** + * The unique identifier of the web address. + * + * @param webAddressId + * @return the current {@code WebData} instance, allowing for method chaining + */ public WebData webAddressId(String webAddressId) { this.webAddressId = webAddressId; return this; } - /** + /** * The unique identifier of the web address. * @return webAddressId - **/ + */ @ApiModelProperty(value = "The unique identifier of the web address.") @JsonProperty(JSON_PROPERTY_WEB_ADDRESS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWebAddressId() { return webAddressId; } - - /** - * The unique identifier of the web address. - * - * @param webAddressId - */ + /** + * The unique identifier of the web address. + * + * @param webAddressId + */ @JsonProperty(JSON_PROPERTY_WEB_ADDRESS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebAddressId(String webAddressId) { this.webAddressId = webAddressId; } - /** * Return true if this WebData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/WebDataExemption.java b/src/main/java/com/adyen/model/legalentitymanagement/WebDataExemption.java index 2edb41801..d6e093e98 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/WebDataExemption.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/WebDataExemption.java @@ -76,36 +76,39 @@ public static ReasonEnum fromValue(String value) { public WebDataExemption() { } + /** + * The reason why the web data was not provided. Possible value: **noOnlinePresence**. + * + * @param reason + * @return the current {@code WebDataExemption} instance, allowing for method chaining + */ public WebDataExemption reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason why the web data was not provided. Possible value: **noOnlinePresence**. * @return reason - **/ + */ @ApiModelProperty(value = "The reason why the web data was not provided. Possible value: **noOnlinePresence**.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason why the web data was not provided. Possible value: **noOnlinePresence**. - * - * @param reason - */ + /** + * The reason why the web data was not provided. Possible value: **noOnlinePresence**. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - /** * Return true if this WebDataExemption object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AccelInfo.java b/src/main/java/com/adyen/model/management/AccelInfo.java index a0bf1bbec..2c41bcb8f 100644 --- a/src/main/java/com/adyen/model/management/AccelInfo.java +++ b/src/main/java/com/adyen/model/management/AccelInfo.java @@ -83,66 +83,72 @@ public static ProcessingTypeEnum fromValue(String value) { public AccelInfo() { } + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + * @return the current {@code AccelInfo} instance, allowing for method chaining + */ public AccelInfo processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. * @return processingType - **/ + */ @ApiModelProperty(required = true, value = "The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. ") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. - * - * @param processingType - */ + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code AccelInfo} instance, allowing for method chaining + */ public AccelInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this AccelInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AdditionalCommission.java b/src/main/java/com/adyen/model/management/AdditionalCommission.java index f6f327ae1..a54c00fcc 100644 --- a/src/main/java/com/adyen/model/management/AdditionalCommission.java +++ b/src/main/java/com/adyen/model/management/AdditionalCommission.java @@ -49,96 +49,105 @@ public class AdditionalCommission { public AdditionalCommission() { } + /** + * Unique identifier of the balance account to which the additional commission is booked. + * + * @param balanceAccountId + * @return the current {@code AdditionalCommission} instance, allowing for method chaining + */ public AdditionalCommission balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * Unique identifier of the balance account to which the additional commission is booked. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "Unique identifier of the balance account to which the additional commission is booked.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * Unique identifier of the balance account to which the additional commission is booked. - * - * @param balanceAccountId - */ + /** + * Unique identifier of the balance account to which the additional commission is booked. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * A fixed commission fee, in minor units. + * + * @param fixedAmount + * @return the current {@code AdditionalCommission} instance, allowing for method chaining + */ public AdditionalCommission fixedAmount(Long fixedAmount) { this.fixedAmount = fixedAmount; return this; } - /** + /** * A fixed commission fee, in minor units. * @return fixedAmount - **/ + */ @ApiModelProperty(value = "A fixed commission fee, in minor units.") @JsonProperty(JSON_PROPERTY_FIXED_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getFixedAmount() { return fixedAmount; } - - /** - * A fixed commission fee, in minor units. - * - * @param fixedAmount - */ + /** + * A fixed commission fee, in minor units. + * + * @param fixedAmount + */ @JsonProperty(JSON_PROPERTY_FIXED_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFixedAmount(Long fixedAmount) { this.fixedAmount = fixedAmount; } - + /** + * A variable commission fee, in basis points. + * + * @param variablePercentage + * @return the current {@code AdditionalCommission} instance, allowing for method chaining + */ public AdditionalCommission variablePercentage(Long variablePercentage) { this.variablePercentage = variablePercentage; return this; } - /** + /** * A variable commission fee, in basis points. * @return variablePercentage - **/ + */ @ApiModelProperty(value = "A variable commission fee, in basis points.") @JsonProperty(JSON_PROPERTY_VARIABLE_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getVariablePercentage() { return variablePercentage; } - - /** - * A variable commission fee, in basis points. - * - * @param variablePercentage - */ + /** + * A variable commission fee, in basis points. + * + * @param variablePercentage + */ @JsonProperty(JSON_PROPERTY_VARIABLE_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVariablePercentage(Long variablePercentage) { this.variablePercentage = variablePercentage; } - /** * Return true if this AdditionalCommission object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AdditionalSettings.java b/src/main/java/com/adyen/model/management/AdditionalSettings.java index ee2932904..ce37ee842 100644 --- a/src/main/java/com/adyen/model/management/AdditionalSettings.java +++ b/src/main/java/com/adyen/model/management/AdditionalSettings.java @@ -49,6 +49,12 @@ public class AdditionalSettings { public AdditionalSettings() { } + /** + * Object containing list of event codes for which the notification will be sent. + * + * @param includeEventCodes + * @return the current {@code AdditionalSettings} instance, allowing for method chaining + */ public AdditionalSettings includeEventCodes(List includeEventCodes) { this.includeEventCodes = includeEventCodes; return this; @@ -62,31 +68,34 @@ public AdditionalSettings addIncludeEventCodesItem(String includeEventCodesItem) return this; } - /** + /** * Object containing list of event codes for which the notification will be sent. * @return includeEventCodes - **/ + */ @ApiModelProperty(value = "Object containing list of event codes for which the notification will be sent. ") @JsonProperty(JSON_PROPERTY_INCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIncludeEventCodes() { return includeEventCodes; } - - /** - * Object containing list of event codes for which the notification will be sent. - * - * @param includeEventCodes - */ + /** + * Object containing list of event codes for which the notification will be sent. + * + * @param includeEventCodes + */ @JsonProperty(JSON_PROPERTY_INCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIncludeEventCodes(List includeEventCodes) { this.includeEventCodes = includeEventCodes; } - + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + * + * @param properties + * @return the current {@code AdditionalSettings} instance, allowing for method chaining + */ public AdditionalSettings properties(Map properties) { this.properties = properties; return this; @@ -100,31 +109,28 @@ public AdditionalSettings putPropertiesItem(String key, Boolean propertiesItem) return this; } - /** - * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. * @return properties - **/ + */ @ApiModelProperty(value = "Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.") @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getProperties() { return properties; } - - /** - * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. - * - * @param properties - */ + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + * + * @param properties + */ @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProperties(Map properties) { this.properties = properties; } - /** * Return true if this AdditionalSettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AdditionalSettingsResponse.java b/src/main/java/com/adyen/model/management/AdditionalSettingsResponse.java index b295d8325..39557f115 100644 --- a/src/main/java/com/adyen/model/management/AdditionalSettingsResponse.java +++ b/src/main/java/com/adyen/model/management/AdditionalSettingsResponse.java @@ -53,6 +53,12 @@ public class AdditionalSettingsResponse { public AdditionalSettingsResponse() { } + /** + * Object containing list of event codes for which the notification will not be sent. + * + * @param excludeEventCodes + * @return the current {@code AdditionalSettingsResponse} instance, allowing for method chaining + */ public AdditionalSettingsResponse excludeEventCodes(List excludeEventCodes) { this.excludeEventCodes = excludeEventCodes; return this; @@ -66,31 +72,34 @@ public AdditionalSettingsResponse addExcludeEventCodesItem(String excludeEventCo return this; } - /** + /** * Object containing list of event codes for which the notification will not be sent. * @return excludeEventCodes - **/ + */ @ApiModelProperty(value = "Object containing list of event codes for which the notification will not be sent. ") @JsonProperty(JSON_PROPERTY_EXCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getExcludeEventCodes() { return excludeEventCodes; } - - /** - * Object containing list of event codes for which the notification will not be sent. - * - * @param excludeEventCodes - */ + /** + * Object containing list of event codes for which the notification will not be sent. + * + * @param excludeEventCodes + */ @JsonProperty(JSON_PROPERTY_EXCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExcludeEventCodes(List excludeEventCodes) { this.excludeEventCodes = excludeEventCodes; } - + /** + * Object containing list of event codes for which the notification will be sent. + * + * @param includeEventCodes + * @return the current {@code AdditionalSettingsResponse} instance, allowing for method chaining + */ public AdditionalSettingsResponse includeEventCodes(List includeEventCodes) { this.includeEventCodes = includeEventCodes; return this; @@ -104,31 +113,34 @@ public AdditionalSettingsResponse addIncludeEventCodesItem(String includeEventCo return this; } - /** + /** * Object containing list of event codes for which the notification will be sent. * @return includeEventCodes - **/ + */ @ApiModelProperty(value = "Object containing list of event codes for which the notification will be sent. ") @JsonProperty(JSON_PROPERTY_INCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIncludeEventCodes() { return includeEventCodes; } - - /** - * Object containing list of event codes for which the notification will be sent. - * - * @param includeEventCodes - */ + /** + * Object containing list of event codes for which the notification will be sent. + * + * @param includeEventCodes + */ @JsonProperty(JSON_PROPERTY_INCLUDE_EVENT_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIncludeEventCodes(List includeEventCodes) { this.includeEventCodes = includeEventCodes; } - + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + * + * @param properties + * @return the current {@code AdditionalSettingsResponse} instance, allowing for method chaining + */ public AdditionalSettingsResponse properties(Map properties) { this.properties = properties; return this; @@ -142,31 +154,28 @@ public AdditionalSettingsResponse putPropertiesItem(String key, Boolean properti return this; } - /** - * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. * @return properties - **/ + */ @ApiModelProperty(value = "Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.") @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getProperties() { return properties; } - - /** - * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. - * - * @param properties - */ + /** + * Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured. + * + * @param properties + */ @JsonProperty(JSON_PROPERTY_PROPERTIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProperties(Map properties) { this.properties = properties; } - /** * Return true if this AdditionalSettingsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Address.java b/src/main/java/com/adyen/model/management/Address.java index a2b7e79d3..97ab44e05 100644 --- a/src/main/java/com/adyen/model/management/Address.java +++ b/src/main/java/com/adyen/model/management/Address.java @@ -65,216 +65,237 @@ public class Address { public Address() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The name of the company. + * + * @param companyName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address companyName(String companyName) { this.companyName = companyName; return this; } - /** + /** * The name of the company. * @return companyName - **/ + */ @ApiModelProperty(value = "The name of the company.") @JsonProperty(JSON_PROPERTY_COMPANY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyName() { return companyName; } - - /** - * The name of the company. - * - * @param companyName - */ + /** + * The name of the company. + * + * @param companyName + */ @JsonProperty(JSON_PROPERTY_COMPANY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyName(String companyName) { this.companyName = companyName; } - + /** + * The two-letter country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** + /** * The two-letter country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * @return country - **/ + */ @ApiModelProperty(value = "The two-letter country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-letter country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. - * - * @param country - */ + /** + * The two-letter country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The postal code. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. - * - * @param postalCode - */ + /** + * The postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The state or province as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** + /** * The state or province as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The state or province as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The state or province as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States - * - * @param stateOrProvince - */ + /** + * The state or province as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street, and the house or building number. + * + * @param streetAddress + * @return the current {@code Address} instance, allowing for method chaining + */ public Address streetAddress(String streetAddress) { this.streetAddress = streetAddress; return this; } - /** + /** * The name of the street, and the house or building number. * @return streetAddress - **/ + */ @ApiModelProperty(value = "The name of the street, and the house or building number.") @JsonProperty(JSON_PROPERTY_STREET_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreetAddress() { return streetAddress; } - - /** - * The name of the street, and the house or building number. - * - * @param streetAddress - */ + /** + * The name of the street, and the house or building number. + * + * @param streetAddress + */ @JsonProperty(JSON_PROPERTY_STREET_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } - + /** + * Additional address details, if any. + * + * @param streetAddress2 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address streetAddress2(String streetAddress2) { this.streetAddress2 = streetAddress2; return this; } - /** + /** * Additional address details, if any. * @return streetAddress2 - **/ + */ @ApiModelProperty(value = "Additional address details, if any.") @JsonProperty(JSON_PROPERTY_STREET_ADDRESS2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreetAddress2() { return streetAddress2; } - - /** - * Additional address details, if any. - * - * @param streetAddress2 - */ + /** + * Additional address details, if any. + * + * @param streetAddress2 + */ @JsonProperty(JSON_PROPERTY_STREET_ADDRESS2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreetAddress2(String streetAddress2) { this.streetAddress2 = streetAddress2; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AfterpayTouchInfo.java b/src/main/java/com/adyen/model/management/AfterpayTouchInfo.java index 01feed021..115b3fbff 100644 --- a/src/main/java/com/adyen/model/management/AfterpayTouchInfo.java +++ b/src/main/java/com/adyen/model/management/AfterpayTouchInfo.java @@ -41,36 +41,39 @@ public class AfterpayTouchInfo { public AfterpayTouchInfo() { } + /** + * Support Url + * + * @param supportUrl + * @return the current {@code AfterpayTouchInfo} instance, allowing for method chaining + */ public AfterpayTouchInfo supportUrl(String supportUrl) { this.supportUrl = supportUrl; return this; } - /** + /** * Support Url * @return supportUrl - **/ + */ @ApiModelProperty(required = true, value = "Support Url") @JsonProperty(JSON_PROPERTY_SUPPORT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSupportUrl() { return supportUrl; } - - /** - * Support Url - * - * @param supportUrl - */ + /** + * Support Url + * + * @param supportUrl + */ @JsonProperty(JSON_PROPERTY_SUPPORT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportUrl(String supportUrl) { this.supportUrl = supportUrl; } - /** * Return true if this AfterpayTouchInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AllowedOrigin.java b/src/main/java/com/adyen/model/management/AllowedOrigin.java index cfca347b2..98828ae84 100644 --- a/src/main/java/com/adyen/model/management/AllowedOrigin.java +++ b/src/main/java/com/adyen/model/management/AllowedOrigin.java @@ -50,96 +50,105 @@ public class AllowedOrigin { public AllowedOrigin() { } + /** + * links + * + * @param links + * @return the current {@code AllowedOrigin} instance, allowing for method chaining + */ public AllowedOrigin links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * Domain of the allowed origin. + * + * @param domain + * @return the current {@code AllowedOrigin} instance, allowing for method chaining + */ public AllowedOrigin domain(String domain) { this.domain = domain; return this; } - /** + /** * Domain of the allowed origin. * @return domain - **/ + */ @ApiModelProperty(example = "https://adyen.com", required = true, value = "Domain of the allowed origin.") @JsonProperty(JSON_PROPERTY_DOMAIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomain() { return domain; } - - /** - * Domain of the allowed origin. - * - * @param domain - */ + /** + * Domain of the allowed origin. + * + * @param domain + */ @JsonProperty(JSON_PROPERTY_DOMAIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomain(String domain) { this.domain = domain; } - + /** + * Unique identifier of the allowed origin. + * + * @param id + * @return the current {@code AllowedOrigin} instance, allowing for method chaining + */ public AllowedOrigin id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the allowed origin. * @return id - **/ + */ @ApiModelProperty(value = "Unique identifier of the allowed origin.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the allowed origin. - * - * @param id - */ + /** + * Unique identifier of the allowed origin. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this AllowedOrigin object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AllowedOriginsResponse.java b/src/main/java/com/adyen/model/management/AllowedOriginsResponse.java index e0f6e6edc..4ee72b35e 100644 --- a/src/main/java/com/adyen/model/management/AllowedOriginsResponse.java +++ b/src/main/java/com/adyen/model/management/AllowedOriginsResponse.java @@ -44,6 +44,12 @@ public class AllowedOriginsResponse { public AllowedOriginsResponse() { } + /** + * List of allowed origins. + * + * @param data + * @return the current {@code AllowedOriginsResponse} instance, allowing for method chaining + */ public AllowedOriginsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public AllowedOriginsResponse addDataItem(AllowedOrigin dataItem) { return this; } - /** + /** * List of allowed origins. * @return data - **/ + */ @ApiModelProperty(value = "List of allowed origins.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of allowed origins. - * - * @param data - */ + /** + * List of allowed origins. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this AllowedOriginsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AmexInfo.java b/src/main/java/com/adyen/model/management/AmexInfo.java index 852893c78..cb4898904 100644 --- a/src/main/java/com/adyen/model/management/AmexInfo.java +++ b/src/main/java/com/adyen/model/management/AmexInfo.java @@ -86,96 +86,105 @@ public static ServiceLevelEnum fromValue(String value) { public AmexInfo() { } + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels. + * + * @param midNumber + * @return the current {@code AmexInfo} instance, allowing for method chaining + */ public AmexInfo midNumber(String midNumber) { this.midNumber = midNumber; return this; } - /** - * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels. + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels. * @return midNumber - **/ + */ @ApiModelProperty(value = "MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels.") @JsonProperty(JSON_PROPERTY_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMidNumber() { return midNumber; } - - /** - * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels. - * - * @param midNumber - */ + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided only when requesting `gatewayContract` or `paymentDesignatorContract` service levels. + * + * @param midNumber + */ @JsonProperty(JSON_PROPERTY_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMidNumber(String midNumber) { this.midNumber = midNumber; } - + /** + * Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`. + * + * @param reuseMidNumber + * @return the current {@code AmexInfo} instance, allowing for method chaining + */ public AmexInfo reuseMidNumber(Boolean reuseMidNumber) { this.reuseMidNumber = reuseMidNumber; return this; } - /** - * Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`. + /** + * Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`. * @return reuseMidNumber - **/ + */ @ApiModelProperty(value = "Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`.") @JsonProperty(JSON_PROPERTY_REUSE_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReuseMidNumber() { return reuseMidNumber; } - - /** - * Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`. - * - * @param reuseMidNumber - */ + /** + * Indicates whether the Amex Merchant ID is reused from a previously setup Amex payment method. This is only applicable for `gatewayContract` and `paymentDesignatorContract` service levels. The default value is `false`. + * + * @param reuseMidNumber + */ @JsonProperty(JSON_PROPERTY_REUSE_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReuseMidNumber(Boolean reuseMidNumber) { this.reuseMidNumber = reuseMidNumber; } - + /** + * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with American Express. * **gatewayContract** — American Express receives the settlement and handles disputes. They then pay out to the merchant directly. * **paymentDesignatorContract** — Adyen receives the settlement and handles disputes. Adyen then pays out to the merchant. + * + * @param serviceLevel + * @return the current {@code AmexInfo} instance, allowing for method chaining + */ public AmexInfo serviceLevel(ServiceLevelEnum serviceLevel) { this.serviceLevel = serviceLevel; return this; } - /** + /** * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with American Express. * **gatewayContract** — American Express receives the settlement and handles disputes. They then pay out to the merchant directly. * **paymentDesignatorContract** — Adyen receives the settlement and handles disputes. Adyen then pays out to the merchant. * @return serviceLevel - **/ + */ @ApiModelProperty(required = true, value = "Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with American Express. * **gatewayContract** — American Express receives the settlement and handles disputes. They then pay out to the merchant directly. * **paymentDesignatorContract** — Adyen receives the settlement and handles disputes. Adyen then pays out to the merchant.") @JsonProperty(JSON_PROPERTY_SERVICE_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ServiceLevelEnum getServiceLevel() { return serviceLevel; } - - /** - * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with American Express. * **gatewayContract** — American Express receives the settlement and handles disputes. They then pay out to the merchant directly. * **paymentDesignatorContract** — Adyen receives the settlement and handles disputes. Adyen then pays out to the merchant. - * - * @param serviceLevel - */ + /** + * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with American Express. * **gatewayContract** — American Express receives the settlement and handles disputes. They then pay out to the merchant directly. * **paymentDesignatorContract** — Adyen receives the settlement and handles disputes. Adyen then pays out to the merchant. + * + * @param serviceLevel + */ @JsonProperty(JSON_PROPERTY_SERVICE_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setServiceLevel(ServiceLevelEnum serviceLevel) { this.serviceLevel = serviceLevel; } - /** * Return true if this AmexInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Amount.java b/src/main/java/com/adyen/model/management/Amount.java index 23131e99a..7d9b5a7b3 100644 --- a/src/main/java/com/adyen/model/management/Amount.java +++ b/src/main/java/com/adyen/model/management/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AndroidApp.java b/src/main/java/com/adyen/model/management/AndroidApp.java index 86bf2dfbc..abb5c22c2 100644 --- a/src/main/java/com/adyen/model/management/AndroidApp.java +++ b/src/main/java/com/adyen/model/management/AndroidApp.java @@ -50,7 +50,7 @@ public class AndroidApp { private String description; public static final String JSON_PROPERTY_ERROR_CODE = "errorCode"; - @Deprecated + @Deprecated // deprecated since Management API v3: Use `errors` instead. private String errorCode; public static final String JSON_PROPERTY_ERRORS = "errors"; @@ -77,62 +77,77 @@ public class AndroidApp { public AndroidApp() { } + /** + * The description that was provided when uploading the app. The description is not shown on the terminal. + * + * @param description + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp description(String description) { this.description = description; return this; } - /** + /** * The description that was provided when uploading the app. The description is not shown on the terminal. * @return description - **/ + */ @ApiModelProperty(value = "The description that was provided when uploading the app. The description is not shown on the terminal.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description that was provided when uploading the app. The description is not shown on the terminal. - * - * @param description - */ + /** + * The description that was provided when uploading the app. The description is not shown on the terminal. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. + * + * @param errorCode + * @return the current {@code AndroidApp} instance, allowing for method chaining + * + * @deprecated since Management API v3 + * Use `errors` instead. + */ @Deprecated public AndroidApp errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** - * The error code of the Android app with the `status` of either **error** or **invalid**. + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. * @return errorCode - * @deprecated - **/ + * + * @deprecated since Management API v3 + * Use `errors` instead. + */ @Deprecated @ApiModelProperty(value = "The error code of the Android app with the `status` of either **error** or **invalid**.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code of the Android app with the `status` of either **error** or **invalid**. - * - * @param errorCode - */ + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. + * + * @param errorCode + * + * @deprecated since Management API v3 + * Use `errors` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -140,7 +155,12 @@ public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The list of errors of the Android app. + * + * @param errors + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp errors(List errors) { this.errors = errors; return this; @@ -154,211 +174,226 @@ public AndroidApp addErrorsItem(AndroidAppError errorsItem) { return this; } - /** + /** * The list of errors of the Android app. * @return errors - **/ + */ @ApiModelProperty(value = "The list of errors of the Android app.") @JsonProperty(JSON_PROPERTY_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getErrors() { return errors; } - - /** - * The list of errors of the Android app. - * - * @param errors - */ + /** + * The list of errors of the Android app. + * + * @param errors + */ @JsonProperty(JSON_PROPERTY_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrors(List errors) { this.errors = errors; } - + /** + * The unique identifier of the app. + * + * @param id + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the app. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the app.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the app. - * - * @param id - */ + /** + * The unique identifier of the app. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The app name that is shown on the terminal. + * + * @param label + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp label(String label) { this.label = label; return this; } - /** + /** * The app name that is shown on the terminal. * @return label - **/ + */ @ApiModelProperty(value = "The app name that is shown on the terminal.") @JsonProperty(JSON_PROPERTY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLabel() { return label; } - - /** - * The app name that is shown on the terminal. - * - * @param label - */ + /** + * The app name that is shown on the terminal. + * + * @param label + */ @JsonProperty(JSON_PROPERTY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLabel(String label) { this.label = label; } - + /** + * The package name that uniquely identifies the Android app. + * + * @param packageName + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp packageName(String packageName) { this.packageName = packageName; return this; } - /** + /** * The package name that uniquely identifies the Android app. * @return packageName - **/ + */ @ApiModelProperty(value = "The package name that uniquely identifies the Android app.") @JsonProperty(JSON_PROPERTY_PACKAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPackageName() { return packageName; } - - /** - * The package name that uniquely identifies the Android app. - * - * @param packageName - */ + /** + * The package name that uniquely identifies the Android app. + * + * @param packageName + */ @JsonProperty(JSON_PROPERTY_PACKAGE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPackageName(String packageName) { this.packageName = packageName; } - + /** + * The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available. + * + * @param status + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp status(String status) { this.status = status; return this; } - /** - * The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available. + /** + * The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available. - * - * @param status - */ + /** + * The status of the app. Possible values: * `processing`: the app is being signed and converted to a format that the terminal can handle. * `error`: something went wrong. Check that the app matches the [requirements](https://docs.adyen.com/point-of-sale/android-terminals/app-requirements). * `invalid`: there is something wrong with the APK file of the app. * `ready`: the app has been signed and converted. * `archived`: the app is no longer available. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - + /** + * The version number of the app. + * + * @param versionCode + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp versionCode(Integer versionCode) { this.versionCode = versionCode; return this; } - /** + /** * The version number of the app. * @return versionCode - **/ + */ @ApiModelProperty(value = "The version number of the app.") @JsonProperty(JSON_PROPERTY_VERSION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getVersionCode() { return versionCode; } - - /** - * The version number of the app. - * - * @param versionCode - */ + /** + * The version number of the app. + * + * @param versionCode + */ @JsonProperty(JSON_PROPERTY_VERSION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersionCode(Integer versionCode) { this.versionCode = versionCode; } - + /** + * The app version number that is shown on the terminal. + * + * @param versionName + * @return the current {@code AndroidApp} instance, allowing for method chaining + */ public AndroidApp versionName(String versionName) { this.versionName = versionName; return this; } - /** + /** * The app version number that is shown on the terminal. * @return versionName - **/ + */ @ApiModelProperty(value = "The app version number that is shown on the terminal.") @JsonProperty(JSON_PROPERTY_VERSION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVersionName() { return versionName; } - - /** - * The app version number that is shown on the terminal. - * - * @param versionName - */ + /** + * The app version number that is shown on the terminal. + * + * @param versionName + */ @JsonProperty(JSON_PROPERTY_VERSION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersionName(String versionName) { this.versionName = versionName; } - /** * Return true if this AndroidApp object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AndroidAppError.java b/src/main/java/com/adyen/model/management/AndroidAppError.java index 87bc7081b..8403d48a1 100644 --- a/src/main/java/com/adyen/model/management/AndroidAppError.java +++ b/src/main/java/com/adyen/model/management/AndroidAppError.java @@ -47,36 +47,45 @@ public class AndroidAppError { public AndroidAppError() { } + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. + * + * @param errorCode + * @return the current {@code AndroidAppError} instance, allowing for method chaining + */ public AndroidAppError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** - * The error code of the Android app with the `status` of either **error** or **invalid**. + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code of the Android app with the `status` of either **error** or **invalid**.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code of the Android app with the `status` of either **error** or **invalid**. - * - * @param errorCode - */ + /** + * The error code of the Android app with the `status` of either **error** or **invalid**. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The list of payment terminal models to which the returned `errorCode` applies. + * + * @param terminalModels + * @return the current {@code AndroidAppError} instance, allowing for method chaining + */ public AndroidAppError terminalModels(List terminalModels) { this.terminalModels = terminalModels; return this; @@ -90,31 +99,28 @@ public AndroidAppError addTerminalModelsItem(String terminalModelsItem) { return this; } - /** - * The list of payment terminal models to which the returned `errorCode` applies. + /** + * The list of payment terminal models to which the returned `errorCode` applies. * @return terminalModels - **/ + */ @ApiModelProperty(value = "The list of payment terminal models to which the returned `errorCode` applies.") @JsonProperty(JSON_PROPERTY_TERMINAL_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTerminalModels() { return terminalModels; } - - /** - * The list of payment terminal models to which the returned `errorCode` applies. - * - * @param terminalModels - */ + /** + * The list of payment terminal models to which the returned `errorCode` applies. + * + * @param terminalModels + */ @JsonProperty(JSON_PROPERTY_TERMINAL_MODELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalModels(List terminalModels) { this.terminalModels = terminalModels; } - /** * Return true if this AndroidAppError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AndroidAppsResponse.java b/src/main/java/com/adyen/model/management/AndroidAppsResponse.java index 8468d52b3..c7f9eeb2a 100644 --- a/src/main/java/com/adyen/model/management/AndroidAppsResponse.java +++ b/src/main/java/com/adyen/model/management/AndroidAppsResponse.java @@ -44,6 +44,12 @@ public class AndroidAppsResponse { public AndroidAppsResponse() { } + /** + * Apps uploaded for Android payment terminals. + * + * @param data + * @return the current {@code AndroidAppsResponse} instance, allowing for method chaining + */ public AndroidAppsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public AndroidAppsResponse addDataItem(AndroidApp dataItem) { return this; } - /** + /** * Apps uploaded for Android payment terminals. * @return data - **/ + */ @ApiModelProperty(value = "Apps uploaded for Android payment terminals.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Apps uploaded for Android payment terminals. - * - * @param data - */ + /** + * Apps uploaded for Android payment terminals. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this AndroidAppsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AndroidCertificate.java b/src/main/java/com/adyen/model/management/AndroidCertificate.java index 753fdfb06..64bc48d8f 100644 --- a/src/main/java/com/adyen/model/management/AndroidCertificate.java +++ b/src/main/java/com/adyen/model/management/AndroidCertificate.java @@ -66,216 +66,237 @@ public class AndroidCertificate { public AndroidCertificate() { } + /** + * The description that was provided when uploading the certificate. + * + * @param description + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate description(String description) { this.description = description; return this; } - /** + /** * The description that was provided when uploading the certificate. * @return description - **/ + */ @ApiModelProperty(value = "The description that was provided when uploading the certificate.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description that was provided when uploading the certificate. - * - * @param description - */ + /** + * The description that was provided when uploading the certificate. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**. + * + * @param extension + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate extension(String extension) { this.extension = extension; return this; } - /** + /** * The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**. * @return extension - **/ + */ @ApiModelProperty(value = "The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**.") @JsonProperty(JSON_PROPERTY_EXTENSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtension() { return extension; } - - /** - * The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**. - * - * @param extension - */ + /** + * The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**. + * + * @param extension + */ @JsonProperty(JSON_PROPERTY_EXTENSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtension(String extension) { this.extension = extension; } - + /** + * The unique identifier of the certificate. + * + * @param id + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the certificate. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the certificate.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the certificate. - * - * @param id - */ + /** + * The unique identifier of the certificate. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The file name of the certificate. For example, **mycert**. + * + * @param name + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate name(String name) { this.name = name; return this; } - /** + /** * The file name of the certificate. For example, **mycert**. * @return name - **/ + */ @ApiModelProperty(value = "The file name of the certificate. For example, **mycert**.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The file name of the certificate. For example, **mycert**. - * - * @param name - */ + /** + * The file name of the certificate. For example, **mycert**. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The date when the certificate stops to be valid. + * + * @param notAfter + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate notAfter(OffsetDateTime notAfter) { this.notAfter = notAfter; return this; } - /** + /** * The date when the certificate stops to be valid. * @return notAfter - **/ + */ @ApiModelProperty(value = "The date when the certificate stops to be valid.") @JsonProperty(JSON_PROPERTY_NOT_AFTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getNotAfter() { return notAfter; } - - /** - * The date when the certificate stops to be valid. - * - * @param notAfter - */ + /** + * The date when the certificate stops to be valid. + * + * @param notAfter + */ @JsonProperty(JSON_PROPERTY_NOT_AFTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotAfter(OffsetDateTime notAfter) { this.notAfter = notAfter; } - + /** + * The date when the certificate starts to be valid. + * + * @param notBefore + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate notBefore(OffsetDateTime notBefore) { this.notBefore = notBefore; return this; } - /** + /** * The date when the certificate starts to be valid. * @return notBefore - **/ + */ @ApiModelProperty(value = "The date when the certificate starts to be valid.") @JsonProperty(JSON_PROPERTY_NOT_BEFORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getNotBefore() { return notBefore; } - - /** - * The date when the certificate starts to be valid. - * - * @param notBefore - */ + /** + * The date when the certificate starts to be valid. + * + * @param notBefore + */ @JsonProperty(JSON_PROPERTY_NOT_BEFORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotBefore(OffsetDateTime notBefore) { this.notBefore = notBefore; } - + /** + * The status of the certificate. + * + * @param status + * @return the current {@code AndroidCertificate} instance, allowing for method chaining + */ public AndroidCertificate status(String status) { this.status = status; return this; } - /** + /** * The status of the certificate. * @return status - **/ + */ @ApiModelProperty(value = "The status of the certificate.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the certificate. - * - * @param status - */ + /** + * The status of the certificate. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this AndroidCertificate object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/AndroidCertificatesResponse.java b/src/main/java/com/adyen/model/management/AndroidCertificatesResponse.java index c00d592ea..21ae7f9c6 100644 --- a/src/main/java/com/adyen/model/management/AndroidCertificatesResponse.java +++ b/src/main/java/com/adyen/model/management/AndroidCertificatesResponse.java @@ -44,6 +44,12 @@ public class AndroidCertificatesResponse { public AndroidCertificatesResponse() { } + /** + * Uploaded Android certificates for Android payment terminals. + * + * @param data + * @return the current {@code AndroidCertificatesResponse} instance, allowing for method chaining + */ public AndroidCertificatesResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public AndroidCertificatesResponse addDataItem(AndroidCertificate dataItem) { return this; } - /** + /** * Uploaded Android certificates for Android payment terminals. * @return data - **/ + */ @ApiModelProperty(value = "Uploaded Android certificates for Android payment terminals.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Uploaded Android certificates for Android payment terminals. - * - * @param data - */ + /** + * Uploaded Android certificates for Android payment terminals. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this AndroidCertificatesResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ApiCredential.java b/src/main/java/com/adyen/model/management/ApiCredential.java index ddbe089d6..7930df423 100644 --- a/src/main/java/com/adyen/model/management/ApiCredential.java +++ b/src/main/java/com/adyen/model/management/ApiCredential.java @@ -77,66 +77,78 @@ public class ApiCredential { public ApiCredential() { } + /** + * links + * + * @param links + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential links(ApiCredentialLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApiCredentialLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(ApiCredentialLinks links) { this.links = links; } - + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential allowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; return this; @@ -147,31 +159,34 @@ public ApiCredential addAllowedIpAddressesItem(String allowedIpAddressesItem) { return this; } - /** + /** * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. * @return allowedIpAddresses - **/ + */ @ApiModelProperty(required = true, value = "List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.") @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedIpAddresses() { return allowedIpAddresses; } - - /** - * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. - * - * @param allowedIpAddresses - */ + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + */ @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; } - + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -185,121 +200,133 @@ public ApiCredential addAllowedOriginsItem(AllowedOrigin allowedOriginsItem) { return this; } - /** + /** * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. - * - * @param allowedOrigins - */ + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. - * - * @param clientKey - */ + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Unique identifier of the API credential. + * + * @param id + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the API credential. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the API credential.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the API credential. - * - * @param id - */ + /** + * Unique identifier of the API credential. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential roles(List roles) { this.roles = roles; return this; @@ -310,61 +337,61 @@ public ApiCredential addRolesItem(String rolesItem) { return this; } - /** + /** * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + * @return the current {@code ApiCredential} instance, allowing for method chaining + */ public ApiCredential username(String username) { this.username = username; return this; } - /** + /** * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. - * - * @param username - */ + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this ApiCredential object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ApiCredentialLinks.java b/src/main/java/com/adyen/model/management/ApiCredentialLinks.java index aa22231d0..66ff84b3f 100644 --- a/src/main/java/com/adyen/model/management/ApiCredentialLinks.java +++ b/src/main/java/com/adyen/model/management/ApiCredentialLinks.java @@ -62,186 +62,204 @@ public class ApiCredentialLinks { public ApiCredentialLinks() { } + /** + * allowedOrigins + * + * @param allowedOrigins + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks allowedOrigins(LinksElement allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; } - /** - * Get allowedOrigins + /** + * allowedOrigins * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getAllowedOrigins() { return allowedOrigins; } - - /** - * allowedOrigins - * - * @param allowedOrigins - */ + /** + * allowedOrigins + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(LinksElement allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * company + * + * @param company + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks company(LinksElement company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(LinksElement company) { this.company = company; } - + /** + * generateApiKey + * + * @param generateApiKey + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks generateApiKey(LinksElement generateApiKey) { this.generateApiKey = generateApiKey; return this; } - /** - * Get generateApiKey + /** + * generateApiKey * @return generateApiKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GENERATE_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getGenerateApiKey() { return generateApiKey; } - - /** - * generateApiKey - * - * @param generateApiKey - */ + /** + * generateApiKey + * + * @param generateApiKey + */ @JsonProperty(JSON_PROPERTY_GENERATE_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGenerateApiKey(LinksElement generateApiKey) { this.generateApiKey = generateApiKey; } - + /** + * generateClientKey + * + * @param generateClientKey + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks generateClientKey(LinksElement generateClientKey) { this.generateClientKey = generateClientKey; return this; } - /** - * Get generateClientKey + /** + * generateClientKey * @return generateClientKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GENERATE_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getGenerateClientKey() { return generateClientKey; } - - /** - * generateClientKey - * - * @param generateClientKey - */ + /** + * generateClientKey + * + * @param generateClientKey + */ @JsonProperty(JSON_PROPERTY_GENERATE_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGenerateClientKey(LinksElement generateClientKey) { this.generateClientKey = generateClientKey; } - + /** + * merchant + * + * @param merchant + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks merchant(LinksElement merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(LinksElement merchant) { this.merchant = merchant; } - + /** + * self + * + * @param self + * @return the current {@code ApiCredentialLinks} instance, allowing for method chaining + */ public ApiCredentialLinks self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - /** * Return true if this ApiCredentialLinks object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ApplePayInfo.java b/src/main/java/com/adyen/model/management/ApplePayInfo.java index e6133e6c9..dc16deede 100644 --- a/src/main/java/com/adyen/model/management/ApplePayInfo.java +++ b/src/main/java/com/adyen/model/management/ApplePayInfo.java @@ -43,6 +43,12 @@ public class ApplePayInfo { public ApplePayInfo() { } + /** + * The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live). + * + * @param domains + * @return the current {@code ApplePayInfo} instance, allowing for method chaining + */ public ApplePayInfo domains(List domains) { this.domains = domains; return this; @@ -53,31 +59,28 @@ public ApplePayInfo addDomainsItem(String domainsItem) { return this; } - /** - * The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live). + /** + * The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live). * @return domains - **/ + */ @ApiModelProperty(required = true, value = "The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).") @JsonProperty(JSON_PROPERTY_DOMAINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDomains() { return domains; } - - /** - * The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live). - * - * @param domains - */ + /** + * The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live). + * + * @param domains + */ @JsonProperty(JSON_PROPERTY_DOMAINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomains(List domains) { this.domains = domains; } - /** * Return true if this ApplePayInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/BcmcInfo.java b/src/main/java/com/adyen/model/management/BcmcInfo.java index 7fbe03296..2bb06162b 100644 --- a/src/main/java/com/adyen/model/management/BcmcInfo.java +++ b/src/main/java/com/adyen/model/management/BcmcInfo.java @@ -41,36 +41,39 @@ public class BcmcInfo { public BcmcInfo() { } + /** + * Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled. + * + * @param enableBcmcMobile + * @return the current {@code BcmcInfo} instance, allowing for method chaining + */ public BcmcInfo enableBcmcMobile(Boolean enableBcmcMobile) { this.enableBcmcMobile = enableBcmcMobile; return this; } - /** + /** * Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled. * @return enableBcmcMobile - **/ + */ @ApiModelProperty(value = "Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled.") @JsonProperty(JSON_PROPERTY_ENABLE_BCMC_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableBcmcMobile() { return enableBcmcMobile; } - - /** - * Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled. - * - * @param enableBcmcMobile - */ + /** + * Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled. + * + * @param enableBcmcMobile + */ @JsonProperty(JSON_PROPERTY_ENABLE_BCMC_MOBILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableBcmcMobile(Boolean enableBcmcMobile) { this.enableBcmcMobile = enableBcmcMobile; } - /** * Return true if this BcmcInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/BillingEntitiesResponse.java b/src/main/java/com/adyen/model/management/BillingEntitiesResponse.java index 6d73a38d7..e9d3ae676 100644 --- a/src/main/java/com/adyen/model/management/BillingEntitiesResponse.java +++ b/src/main/java/com/adyen/model/management/BillingEntitiesResponse.java @@ -44,6 +44,12 @@ public class BillingEntitiesResponse { public BillingEntitiesResponse() { } + /** + * List of legal entities that can be used for the billing of orders. + * + * @param data + * @return the current {@code BillingEntitiesResponse} instance, allowing for method chaining + */ public BillingEntitiesResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public BillingEntitiesResponse addDataItem(BillingEntity dataItem) { return this; } - /** + /** * List of legal entities that can be used for the billing of orders. * @return data - **/ + */ @ApiModelProperty(value = "List of legal entities that can be used for the billing of orders.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of legal entities that can be used for the billing of orders. - * - * @param data - */ + /** + * List of legal entities that can be used for the billing of orders. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this BillingEntitiesResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/BillingEntity.java b/src/main/java/com/adyen/model/management/BillingEntity.java index 330870b1d..1b4186d62 100644 --- a/src/main/java/com/adyen/model/management/BillingEntity.java +++ b/src/main/java/com/adyen/model/management/BillingEntity.java @@ -58,156 +58,171 @@ public class BillingEntity { public BillingEntity() { } + /** + * address + * + * @param address + * @return the current {@code BillingEntity} instance, allowing for method chaining + */ public BillingEntity address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The email address of the billing entity. + * + * @param email + * @return the current {@code BillingEntity} instance, allowing for method chaining + */ public BillingEntity email(String email) { this.email = email; return this; } - /** + /** * The email address of the billing entity. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the billing entity.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the billing entity. - * - * @param email - */ + /** + * The email address of the billing entity. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order. + * + * @param id + * @return the current {@code BillingEntity} instance, allowing for method chaining + */ public BillingEntity id(String id) { this.id = id; return this; } - /** - * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order. + /** + * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the billing entity, for use as `billingEntityId` when creating an order.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order. - * - * @param id - */ + /** + * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique name of the billing entity. + * + * @param name + * @return the current {@code BillingEntity} instance, allowing for method chaining + */ public BillingEntity name(String name) { this.name = name; return this; } - /** + /** * The unique name of the billing entity. * @return name - **/ + */ @ApiModelProperty(value = "The unique name of the billing entity.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The unique name of the billing entity. - * - * @param name - */ + /** + * The unique name of the billing entity. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The tax number of the billing entity. + * + * @param taxId + * @return the current {@code BillingEntity} instance, allowing for method chaining + */ public BillingEntity taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * The tax number of the billing entity. * @return taxId - **/ + */ @ApiModelProperty(value = "The tax number of the billing entity.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The tax number of the billing entity. - * - * @param taxId - */ + /** + * The tax number of the billing entity. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this BillingEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CardholderReceipt.java b/src/main/java/com/adyen/model/management/CardholderReceipt.java index 1f46234e8..4179cae4b 100644 --- a/src/main/java/com/adyen/model/management/CardholderReceipt.java +++ b/src/main/java/com/adyen/model/management/CardholderReceipt.java @@ -41,36 +41,39 @@ public class CardholderReceipt { public CardholderReceipt() { } + /** + * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` + * + * @param headerForAuthorizedReceipt + * @return the current {@code CardholderReceipt} instance, allowing for method chaining + */ public CardholderReceipt headerForAuthorizedReceipt(String headerForAuthorizedReceipt) { this.headerForAuthorizedReceipt = headerForAuthorizedReceipt; return this; } - /** - * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` + /** + * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` * @return headerForAuthorizedReceipt - **/ + */ @ApiModelProperty(value = "A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler`") @JsonProperty(JSON_PROPERTY_HEADER_FOR_AUTHORIZED_RECEIPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHeaderForAuthorizedReceipt() { return headerForAuthorizedReceipt; } - - /** - * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` - * - * @param headerForAuthorizedReceipt - */ + /** + * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` + * + * @param headerForAuthorizedReceipt + */ @JsonProperty(JSON_PROPERTY_HEADER_FOR_AUTHORIZED_RECEIPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeaderForAuthorizedReceipt(String headerForAuthorizedReceipt) { this.headerForAuthorizedReceipt = headerForAuthorizedReceipt; } - /** * Return true if this CardholderReceipt object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CartesBancairesInfo.java b/src/main/java/com/adyen/model/management/CartesBancairesInfo.java index 241b3adea..e43cf70fe 100644 --- a/src/main/java/com/adyen/model/management/CartesBancairesInfo.java +++ b/src/main/java/com/adyen/model/management/CartesBancairesInfo.java @@ -46,66 +46,72 @@ public class CartesBancairesInfo { public CartesBancairesInfo() { } + /** + * Cartes Bancaires SIRET. Format: 14 digits. + * + * @param siret + * @return the current {@code CartesBancairesInfo} instance, allowing for method chaining + */ public CartesBancairesInfo siret(String siret) { this.siret = siret; return this; } - /** + /** * Cartes Bancaires SIRET. Format: 14 digits. * @return siret - **/ + */ @ApiModelProperty(required = true, value = "Cartes Bancaires SIRET. Format: 14 digits.") @JsonProperty(JSON_PROPERTY_SIRET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSiret() { return siret; } - - /** - * Cartes Bancaires SIRET. Format: 14 digits. - * - * @param siret - */ + /** + * Cartes Bancaires SIRET. Format: 14 digits. + * + * @param siret + */ @JsonProperty(JSON_PROPERTY_SIRET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSiret(String siret) { this.siret = siret; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code CartesBancairesInfo} instance, allowing for method chaining + */ public CartesBancairesInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this CartesBancairesInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ClearpayInfo.java b/src/main/java/com/adyen/model/management/ClearpayInfo.java index c18bdc18b..20c5b38a9 100644 --- a/src/main/java/com/adyen/model/management/ClearpayInfo.java +++ b/src/main/java/com/adyen/model/management/ClearpayInfo.java @@ -41,36 +41,39 @@ public class ClearpayInfo { public ClearpayInfo() { } + /** + * Support Url + * + * @param supportUrl + * @return the current {@code ClearpayInfo} instance, allowing for method chaining + */ public ClearpayInfo supportUrl(String supportUrl) { this.supportUrl = supportUrl; return this; } - /** + /** * Support Url * @return supportUrl - **/ + */ @ApiModelProperty(required = true, value = "Support Url") @JsonProperty(JSON_PROPERTY_SUPPORT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSupportUrl() { return supportUrl; } - - /** - * Support Url - * - * @param supportUrl - */ + /** + * Support Url + * + * @param supportUrl + */ @JsonProperty(JSON_PROPERTY_SUPPORT_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportUrl(String supportUrl) { this.supportUrl = supportUrl; } - /** * Return true if this ClearpayInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Commission.java b/src/main/java/com/adyen/model/management/Commission.java index 94bcee9f5..5ee6b4c8a 100644 --- a/src/main/java/com/adyen/model/management/Commission.java +++ b/src/main/java/com/adyen/model/management/Commission.java @@ -45,66 +45,72 @@ public class Commission { public Commission() { } + /** + * A fixed commission fee, in minor units. + * + * @param fixedAmount + * @return the current {@code Commission} instance, allowing for method chaining + */ public Commission fixedAmount(Long fixedAmount) { this.fixedAmount = fixedAmount; return this; } - /** + /** * A fixed commission fee, in minor units. * @return fixedAmount - **/ + */ @ApiModelProperty(value = "A fixed commission fee, in minor units.") @JsonProperty(JSON_PROPERTY_FIXED_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getFixedAmount() { return fixedAmount; } - - /** - * A fixed commission fee, in minor units. - * - * @param fixedAmount - */ + /** + * A fixed commission fee, in minor units. + * + * @param fixedAmount + */ @JsonProperty(JSON_PROPERTY_FIXED_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFixedAmount(Long fixedAmount) { this.fixedAmount = fixedAmount; } - + /** + * A variable commission fee, in basis points. + * + * @param variablePercentage + * @return the current {@code Commission} instance, allowing for method chaining + */ public Commission variablePercentage(Long variablePercentage) { this.variablePercentage = variablePercentage; return this; } - /** + /** * A variable commission fee, in basis points. * @return variablePercentage - **/ + */ @ApiModelProperty(value = "A variable commission fee, in basis points.") @JsonProperty(JSON_PROPERTY_VARIABLE_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getVariablePercentage() { return variablePercentage; } - - /** - * A variable commission fee, in basis points. - * - * @param variablePercentage - */ + /** + * A variable commission fee, in basis points. + * + * @param variablePercentage + */ @JsonProperty(JSON_PROPERTY_VARIABLE_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVariablePercentage(Long variablePercentage) { this.variablePercentage = variablePercentage; } - /** * Return true if this Commission object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Company.java b/src/main/java/com/adyen/model/management/Company.java index ac609bd4c..168222741 100644 --- a/src/main/java/com/adyen/model/management/Company.java +++ b/src/main/java/com/adyen/model/management/Company.java @@ -69,36 +69,45 @@ public class Company { public Company() { } + /** + * links + * + * @param links + * @return the current {@code Company} instance, allowing for method chaining + */ public Company links(CompanyLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CompanyLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(CompanyLinks links) { this.links = links; } - + /** + * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. + * + * @param dataCenters + * @return the current {@code Company} instance, allowing for method chaining + */ public Company dataCenters(List dataCenters) { this.dataCenters = dataCenters; return this; @@ -112,181 +121,193 @@ public Company addDataCentersItem(DataCenter dataCentersItem) { return this; } - /** + /** * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. * @return dataCenters - **/ + */ @ApiModelProperty(value = "List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.") @JsonProperty(JSON_PROPERTY_DATA_CENTERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDataCenters() { return dataCenters; } - - /** - * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. - * - * @param dataCenters - */ + /** + * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. + * + * @param dataCenters + */ @JsonProperty(JSON_PROPERTY_DATA_CENTERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDataCenters(List dataCenters) { this.dataCenters = dataCenters; } - + /** + * Your description for the company account, maximum 300 characters + * + * @param description + * @return the current {@code Company} instance, allowing for method chaining + */ public Company description(String description) { this.description = description; return this; } - /** + /** * Your description for the company account, maximum 300 characters * @return description - **/ + */ @ApiModelProperty(value = "Your description for the company account, maximum 300 characters") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the company account, maximum 300 characters - * - * @param description - */ + /** + * Your description for the company account, maximum 300 characters + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the company account. + * + * @param id + * @return the current {@code Company} instance, allowing for method chaining + */ public Company id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the company account. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the company account. - * - * @param id - */ + /** + * The unique identifier of the company account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The legal or trading name of the company. + * + * @param name + * @return the current {@code Company} instance, allowing for method chaining + */ public Company name(String name) { this.name = name; return this; } - /** + /** * The legal or trading name of the company. * @return name - **/ + */ @ApiModelProperty(value = "The legal or trading name of the company.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The legal or trading name of the company. - * - * @param name - */ + /** + * The legal or trading name of the company. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Your reference to the account + * + * @param reference + * @return the current {@code Company} instance, allowing for method chaining + */ public Company reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference to the account * @return reference - **/ + */ @ApiModelProperty(value = "Your reference to the account") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference to the account - * - * @param reference - */ + /** + * Your reference to the account + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + * @return the current {@code Company} instance, allowing for method chaining + */ public Company status(String status) { this.status = status; return this; } - /** + /** * The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. * @return status - **/ + */ @ApiModelProperty(value = "The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. - * - * @param status - */ + /** + * The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this Company object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CompanyApiCredential.java b/src/main/java/com/adyen/model/management/CompanyApiCredential.java index 0b7b26a6f..108e5550b 100644 --- a/src/main/java/com/adyen/model/management/CompanyApiCredential.java +++ b/src/main/java/com/adyen/model/management/CompanyApiCredential.java @@ -81,66 +81,78 @@ public class CompanyApiCredential { public CompanyApiCredential() { } + /** + * links + * + * @param links + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential links(ApiCredentialLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApiCredentialLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(ApiCredentialLinks links) { this.links = links; } - + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential allowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; return this; @@ -151,31 +163,34 @@ public CompanyApiCredential addAllowedIpAddressesItem(String allowedIpAddressesI return this; } - /** + /** * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. * @return allowedIpAddresses - **/ + */ @ApiModelProperty(required = true, value = "List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.") @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedIpAddresses() { return allowedIpAddresses; } - - /** - * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. - * - * @param allowedIpAddresses - */ + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + */ @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; } - + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -189,31 +204,34 @@ public CompanyApiCredential addAllowedOriginsItem(AllowedOrigin allowedOriginsIt return this; } - /** + /** * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. - * - * @param allowedOrigins - */ + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. + * + * @param associatedMerchantAccounts + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -227,121 +245,133 @@ public CompanyApiCredential addAssociatedMerchantAccountsItem(String associatedM return this; } - /** + /** * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. - * - * @param associatedMerchantAccounts - */ + /** + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. - * - * @param clientKey - */ + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Unique identifier of the API credential. + * + * @param id + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the API credential. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the API credential.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the API credential. - * - * @param id - */ + /** + * Unique identifier of the API credential. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential roles(List roles) { this.roles = roles; return this; @@ -352,61 +382,61 @@ public CompanyApiCredential addRolesItem(String rolesItem) { return this; } - /** + /** * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + * @return the current {@code CompanyApiCredential} instance, allowing for method chaining + */ public CompanyApiCredential username(String username) { this.username = username; return this; } - /** + /** * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. - * - * @param username - */ + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CompanyApiCredential object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CompanyLinks.java b/src/main/java/com/adyen/model/management/CompanyLinks.java index 74c754674..56a3df684 100644 --- a/src/main/java/com/adyen/model/management/CompanyLinks.java +++ b/src/main/java/com/adyen/model/management/CompanyLinks.java @@ -54,126 +54,138 @@ public class CompanyLinks { public CompanyLinks() { } + /** + * apiCredentials + * + * @param apiCredentials + * @return the current {@code CompanyLinks} instance, allowing for method chaining + */ public CompanyLinks apiCredentials(LinksElement apiCredentials) { this.apiCredentials = apiCredentials; return this; } - /** - * Get apiCredentials + /** + * apiCredentials * @return apiCredentials - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_API_CREDENTIALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getApiCredentials() { return apiCredentials; } - - /** - * apiCredentials - * - * @param apiCredentials - */ + /** + * apiCredentials + * + * @param apiCredentials + */ @JsonProperty(JSON_PROPERTY_API_CREDENTIALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApiCredentials(LinksElement apiCredentials) { this.apiCredentials = apiCredentials; } - + /** + * self + * + * @param self + * @return the current {@code CompanyLinks} instance, allowing for method chaining + */ public CompanyLinks self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - + /** + * users + * + * @param users + * @return the current {@code CompanyLinks} instance, allowing for method chaining + */ public CompanyLinks users(LinksElement users) { this.users = users; return this; } - /** - * Get users + /** + * users * @return users - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getUsers() { return users; } - - /** - * users - * - * @param users - */ + /** + * users + * + * @param users + */ @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsers(LinksElement users) { this.users = users; } - + /** + * webhooks + * + * @param webhooks + * @return the current {@code CompanyLinks} instance, allowing for method chaining + */ public CompanyLinks webhooks(LinksElement webhooks) { this.webhooks = webhooks; return this; } - /** - * Get webhooks + /** + * webhooks * @return webhooks - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEBHOOKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getWebhooks() { return webhooks; } - - /** - * webhooks - * - * @param webhooks - */ + /** + * webhooks + * + * @param webhooks + */ @JsonProperty(JSON_PROPERTY_WEBHOOKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebhooks(LinksElement webhooks) { this.webhooks = webhooks; } - /** * Return true if this CompanyLinks object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CompanyUser.java b/src/main/java/com/adyen/model/management/CompanyUser.java index c2f998630..a62a879d5 100644 --- a/src/main/java/com/adyen/model/management/CompanyUser.java +++ b/src/main/java/com/adyen/model/management/CompanyUser.java @@ -85,36 +85,45 @@ public class CompanyUser { public CompanyUser() { } + /** + * links + * + * @param links + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -128,61 +137,67 @@ public CompanyUser addAccountGroupsItem(String accountGroupsItem) { return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Indicates whether this user is active. + * + * @param active + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates whether this user is active. * @return active - **/ + */ @ApiModelProperty(value = "Indicates whether this user is active.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates whether this user is active. - * - * @param active - */ + /** + * Indicates whether this user is active. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * Set of apps available to this user + * + * @param apps + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser apps(List apps) { this.apps = apps; return this; @@ -196,31 +211,34 @@ public CompanyUser addAppsItem(String appsItem) { return this; } - /** + /** * Set of apps available to this user * @return apps - **/ + */ @ApiModelProperty(value = "Set of apps available to this user") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * Set of apps available to this user - * - * @param apps - */ + /** + * Set of apps available to this user + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -234,121 +252,133 @@ public CompanyUser addAssociatedMerchantAccountsItem(String associatedMerchantAc return this; } - /** + /** * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. - * - * @param associatedMerchantAccounts - */ + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The unique identifier of the user. + * + * @param id + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the user. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the user.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the user. - * - * @param id - */ + /** + * The unique identifier of the user. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * name + * + * @param name + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser roles(List roles) { this.roles = roles; return this; @@ -359,91 +389,94 @@ public CompanyUser addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(required = true, value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The username for this user. + * + * @param username + * @return the current {@code CompanyUser} instance, allowing for method chaining + */ public CompanyUser username(String username) { this.username = username; return this; } - /** + /** * The username for this user. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The username for this user.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The username for this user. - * - * @param username - */ + /** + * The username for this user. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CompanyUser object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Connectivity.java b/src/main/java/com/adyen/model/management/Connectivity.java index e6782840f..a53b43bd5 100644 --- a/src/main/java/com/adyen/model/management/Connectivity.java +++ b/src/main/java/com/adyen/model/management/Connectivity.java @@ -81,66 +81,72 @@ public static SimcardStatusEnum fromValue(String value) { public Connectivity() { } + /** + * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity. + * + * @param simcardStatus + * @return the current {@code Connectivity} instance, allowing for method chaining + */ public Connectivity simcardStatus(SimcardStatusEnum simcardStatus) { this.simcardStatus = simcardStatus; return this; } - /** - * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity. + /** + * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity. * @return simcardStatus - **/ + */ @ApiModelProperty(value = "Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity.") @JsonProperty(JSON_PROPERTY_SIMCARD_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SimcardStatusEnum getSimcardStatus() { return simcardStatus; } - - /** - * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity. - * - * @param simcardStatus - */ + /** + * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity. + * + * @param simcardStatus + */ @JsonProperty(JSON_PROPERTY_SIMCARD_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSimcardStatus(SimcardStatusEnum simcardStatus) { this.simcardStatus = simcardStatus; } - + /** + * terminalIPAddressURL + * + * @param terminalIPAddressURL + * @return the current {@code Connectivity} instance, allowing for method chaining + */ public Connectivity terminalIPAddressURL(EventUrl terminalIPAddressURL) { this.terminalIPAddressURL = terminalIPAddressURL; return this; } - /** - * Get terminalIPAddressURL + /** + * terminalIPAddressURL * @return terminalIPAddressURL - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EventUrl getTerminalIPAddressURL() { return terminalIPAddressURL; } - - /** - * terminalIPAddressURL - * - * @param terminalIPAddressURL - */ + /** + * terminalIPAddressURL + * + * @param terminalIPAddressURL + */ @JsonProperty(JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalIPAddressURL(EventUrl terminalIPAddressURL) { this.terminalIPAddressURL = terminalIPAddressURL; } - /** * Return true if this Connectivity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Contact.java b/src/main/java/com/adyen/model/management/Contact.java index cfa41ebc3..6231170f8 100644 --- a/src/main/java/com/adyen/model/management/Contact.java +++ b/src/main/java/com/adyen/model/management/Contact.java @@ -57,156 +57,171 @@ public class Contact { public Contact() { } + /** + * The individual's email address. + * + * @param email + * @return the current {@code Contact} instance, allowing for method chaining + */ public Contact email(String email) { this.email = email; return this; } - /** - * The individual's email address. + /** + * The individual's email address. * @return email - **/ + */ @ApiModelProperty(value = "The individual's email address.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The individual's email address. - * - * @param email - */ + /** + * The individual's email address. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The individual's first name. + * + * @param firstName + * @return the current {@code Contact} instance, allowing for method chaining + */ public Contact firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The individual's first name. + /** + * The individual's first name. * @return firstName - **/ + */ @ApiModelProperty(value = "The individual's first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The individual's first name. - * - * @param firstName - */ + /** + * The individual's first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The infix in the individual's name, if any. + * + * @param infix + * @return the current {@code Contact} instance, allowing for method chaining + */ public Contact infix(String infix) { this.infix = infix; return this; } - /** - * The infix in the individual's name, if any. + /** + * The infix in the individual's name, if any. * @return infix - **/ + */ @ApiModelProperty(value = "The infix in the individual's name, if any.") @JsonProperty(JSON_PROPERTY_INFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInfix() { return infix; } - - /** - * The infix in the individual's name, if any. - * - * @param infix - */ + /** + * The infix in the individual's name, if any. + * + * @param infix + */ @JsonProperty(JSON_PROPERTY_INFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInfix(String infix) { this.infix = infix; } - + /** + * The individual's last name. + * + * @param lastName + * @return the current {@code Contact} instance, allowing for method chaining + */ public Contact lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The individual's last name. + /** + * The individual's last name. * @return lastName - **/ + */ @ApiModelProperty(value = "The individual's last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The individual's last name. - * - * @param lastName - */ + /** + * The individual's last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * The individual's phone number, specified as 10-14 digits with an optional `+` prefix. + * + * @param phoneNumber + * @return the current {@code Contact} instance, allowing for method chaining + */ public Contact phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * The individual's phone number, specified as 10-14 digits with an optional `+` prefix. + /** + * The individual's phone number, specified as 10-14 digits with an optional `+` prefix. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "The individual's phone number, specified as 10-14 digits with an optional `+` prefix.") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The individual's phone number, specified as 10-14 digits with an optional `+` prefix. - * - * @param phoneNumber - */ + /** + * The individual's phone number, specified as 10-14 digits with an optional `+` prefix. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - /** * Return true if this Contact object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateAllowedOriginRequest.java b/src/main/java/com/adyen/model/management/CreateAllowedOriginRequest.java index 6304ae0a8..d82a983a9 100644 --- a/src/main/java/com/adyen/model/management/CreateAllowedOriginRequest.java +++ b/src/main/java/com/adyen/model/management/CreateAllowedOriginRequest.java @@ -50,96 +50,105 @@ public class CreateAllowedOriginRequest { public CreateAllowedOriginRequest() { } + /** + * links + * + * @param links + * @return the current {@code CreateAllowedOriginRequest} instance, allowing for method chaining + */ public CreateAllowedOriginRequest links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * Domain of the allowed origin. + * + * @param domain + * @return the current {@code CreateAllowedOriginRequest} instance, allowing for method chaining + */ public CreateAllowedOriginRequest domain(String domain) { this.domain = domain; return this; } - /** + /** * Domain of the allowed origin. * @return domain - **/ + */ @ApiModelProperty(example = "https://adyen.com", required = true, value = "Domain of the allowed origin.") @JsonProperty(JSON_PROPERTY_DOMAIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomain() { return domain; } - - /** - * Domain of the allowed origin. - * - * @param domain - */ + /** + * Domain of the allowed origin. + * + * @param domain + */ @JsonProperty(JSON_PROPERTY_DOMAIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomain(String domain) { this.domain = domain; } - + /** + * Unique identifier of the allowed origin. + * + * @param id + * @return the current {@code CreateAllowedOriginRequest} instance, allowing for method chaining + */ public CreateAllowedOriginRequest id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the allowed origin. * @return id - **/ + */ @ApiModelProperty(value = "Unique identifier of the allowed origin.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the allowed origin. - * - * @param id - */ + /** + * Unique identifier of the allowed origin. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this CreateAllowedOriginRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateApiCredentialResponse.java b/src/main/java/com/adyen/model/management/CreateApiCredentialResponse.java index 9640205d1..c04a59476 100644 --- a/src/main/java/com/adyen/model/management/CreateApiCredentialResponse.java +++ b/src/main/java/com/adyen/model/management/CreateApiCredentialResponse.java @@ -85,66 +85,78 @@ public class CreateApiCredentialResponse { public CreateApiCredentialResponse() { } + /** + * links + * + * @param links + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse links(ApiCredentialLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApiCredentialLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(ApiCredentialLinks links) { this.links = links; } - + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse allowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; return this; @@ -155,31 +167,34 @@ public CreateApiCredentialResponse addAllowedIpAddressesItem(String allowedIpAdd return this; } - /** + /** * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. * @return allowedIpAddresses - **/ + */ @ApiModelProperty(required = true, value = "List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.") @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedIpAddresses() { return allowedIpAddresses; } - - /** - * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. - * - * @param allowedIpAddresses - */ + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + */ @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; } - + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -193,181 +208,199 @@ public CreateApiCredentialResponse addAllowedOriginsItem(AllowedOrigin allowedOr return this; } - /** + /** * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. - * - * @param allowedOrigins - */ + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * The API key for the API credential that was created. + * + * @param apiKey + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse apiKey(String apiKey) { this.apiKey = apiKey; return this; } - /** + /** * The API key for the API credential that was created. * @return apiKey - **/ + */ @ApiModelProperty(required = true, value = "The API key for the API credential that was created.") @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getApiKey() { return apiKey; } - - /** - * The API key for the API credential that was created. - * - * @param apiKey - */ + /** + * The API key for the API credential that was created. + * + * @param apiKey + */ @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApiKey(String apiKey) { this.apiKey = apiKey; } - + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. - * - * @param clientKey - */ + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Unique identifier of the API credential. + * + * @param id + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the API credential. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the API credential.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the API credential. - * - * @param id - */ + /** + * Unique identifier of the API credential. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The password for the API credential that was created. + * + * @param password + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse password(String password) { this.password = password; return this; } - /** + /** * The password for the API credential that was created. * @return password - **/ + */ @ApiModelProperty(required = true, value = "The password for the API credential that was created.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * The password for the API credential that was created. - * - * @param password - */ + /** + * The password for the API credential that was created. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse roles(List roles) { this.roles = roles; return this; @@ -378,61 +411,61 @@ public CreateApiCredentialResponse addRolesItem(String rolesItem) { return this; } - /** + /** * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + * @return the current {@code CreateApiCredentialResponse} instance, allowing for method chaining + */ public CreateApiCredentialResponse username(String username) { this.username = username; return this; } - /** + /** * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. - * - * @param username - */ + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateApiCredentialResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialRequest.java b/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialRequest.java index 4fd131000..4e0b6ca7f 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialRequest.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialRequest.java @@ -55,6 +55,12 @@ public class CreateCompanyApiCredentialRequest { public CreateCompanyApiCredentialRequest() { } + /** + * List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. + * + * @param allowedOrigins + * @return the current {@code CreateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public CreateCompanyApiCredentialRequest allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -68,31 +74,34 @@ public CreateCompanyApiCredentialRequest addAllowedOriginsItem(String allowedOri return this; } - /** + /** * List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. - * - * @param allowedOrigins - */ + /** + * List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + * @return the current {@code CreateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public CreateCompanyApiCredentialRequest associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -106,61 +115,67 @@ public CreateCompanyApiCredentialRequest addAssociatedMerchantAccountsItem(Strin return this; } - /** + /** * List of merchant accounts that the API credential has access to. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "List of merchant accounts that the API credential has access to.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * List of merchant accounts that the API credential has access to. - * - * @param associatedMerchantAccounts - */ + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code CreateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public CreateCompanyApiCredentialRequest description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + * @return the current {@code CreateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public CreateCompanyApiCredentialRequest roles(List roles) { this.roles = roles; return this; @@ -174,31 +189,28 @@ public CreateCompanyApiCredentialRequest addRolesItem(String rolesItem) { return this; } - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. * @return roles - **/ + */ @ApiModelProperty(value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - /** * Return true if this CreateCompanyApiCredentialRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialResponse.java b/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialResponse.java index b9a36512e..9cf708461 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialResponse.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyApiCredentialResponse.java @@ -89,66 +89,78 @@ public class CreateCompanyApiCredentialResponse { public CreateCompanyApiCredentialResponse() { } + /** + * links + * + * @param links + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse links(ApiCredentialLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApiCredentialLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(ApiCredentialLinks links) { this.links = links; } - + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse allowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; return this; @@ -159,31 +171,34 @@ public CreateCompanyApiCredentialResponse addAllowedIpAddressesItem(String allow return this; } - /** + /** * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. * @return allowedIpAddresses - **/ + */ @ApiModelProperty(required = true, value = "List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.") @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedIpAddresses() { return allowedIpAddresses; } - - /** - * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. - * - * @param allowedIpAddresses - */ + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + */ @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; } - + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -197,61 +212,67 @@ public CreateCompanyApiCredentialResponse addAllowedOriginsItem(AllowedOrigin al return this; } - /** + /** * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. - * - * @param allowedOrigins - */ + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * The API key for the API credential that was created. + * + * @param apiKey + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse apiKey(String apiKey) { this.apiKey = apiKey; return this; } - /** + /** * The API key for the API credential that was created. * @return apiKey - **/ + */ @ApiModelProperty(required = true, value = "The API key for the API credential that was created.") @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getApiKey() { return apiKey; } - - /** - * The API key for the API credential that was created. - * - * @param apiKey - */ + /** + * The API key for the API credential that was created. + * + * @param apiKey + */ @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApiKey(String apiKey) { this.apiKey = apiKey; } - + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -262,151 +283,166 @@ public CreateCompanyApiCredentialResponse addAssociatedMerchantAccountsItem(Stri return this; } - /** + /** * List of merchant accounts that the API credential has access to. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(required = true, value = "List of merchant accounts that the API credential has access to.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * List of merchant accounts that the API credential has access to. - * - * @param associatedMerchantAccounts - */ + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. - * - * @param clientKey - */ + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Unique identifier of the API credential. + * + * @param id + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the API credential. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the API credential.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the API credential. - * - * @param id - */ + /** + * Unique identifier of the API credential. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The password for the API credential that was created. + * + * @param password + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse password(String password) { this.password = password; return this; } - /** + /** * The password for the API credential that was created. * @return password - **/ + */ @ApiModelProperty(required = true, value = "The password for the API credential that was created.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * The password for the API credential that was created. - * - * @param password - */ + /** + * The password for the API credential that was created. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse roles(List roles) { this.roles = roles; return this; @@ -417,61 +453,61 @@ public CreateCompanyApiCredentialResponse addRolesItem(String rolesItem) { return this; } - /** + /** * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + * @return the current {@code CreateCompanyApiCredentialResponse} instance, allowing for method chaining + */ public CreateCompanyApiCredentialResponse username(String username) { this.username = username; return this; } - /** + /** * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. - * - * @param username - */ + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateCompanyApiCredentialResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateCompanyUserRequest.java b/src/main/java/com/adyen/model/management/CreateCompanyUserRequest.java index 9d781286c..605779902 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyUserRequest.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyUserRequest.java @@ -72,6 +72,12 @@ public class CreateCompanyUserRequest { public CreateCompanyUserRequest() { } + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -85,31 +91,34 @@ public CreateCompanyUserRequest addAccountGroupsItem(String accountGroupsItem) { return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -123,121 +132,133 @@ public CreateCompanyUserRequest addAssociatedMerchantAccountsItem(String associa return this; } - /** + /** * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. - * - * @param associatedMerchantAccounts - */ + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest loginMethod(String loginMethod) { this.loginMethod = loginMethod; return this; } - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** * @return loginMethod - **/ + */ @ApiModelProperty(value = "The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** ") @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLoginMethod() { return loginMethod; } - - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** - * - * @param loginMethod - */ + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + */ @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLoginMethod(String loginMethod) { this.loginMethod = loginMethod; } - + /** + * name + * + * @param name + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest roles(List roles) { this.roles = roles; return this; @@ -251,91 +272,94 @@ public CreateCompanyUserRequest addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. + * + * @param username + * @return the current {@code CreateCompanyUserRequest} instance, allowing for method chaining + */ public CreateCompanyUserRequest username(String username) { this.username = username; return this; } - /** - * The user's email address that will be their username. Must be the same as the one in the `email` field. + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The user's email address that will be their username. Must be the same as the one in the `email` field.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The user's email address that will be their username. Must be the same as the one in the `email` field. - * - * @param username - */ + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateCompanyUserRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateCompanyUserResponse.java b/src/main/java/com/adyen/model/management/CreateCompanyUserResponse.java index b65593bd8..ae9ecdac5 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyUserResponse.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyUserResponse.java @@ -85,36 +85,45 @@ public class CreateCompanyUserResponse { public CreateCompanyUserResponse() { } + /** + * links + * + * @param links + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -128,61 +137,67 @@ public CreateCompanyUserResponse addAccountGroupsItem(String accountGroupsItem) return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Indicates whether this user is active. + * + * @param active + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates whether this user is active. * @return active - **/ + */ @ApiModelProperty(value = "Indicates whether this user is active.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates whether this user is active. - * - * @param active - */ + /** + * Indicates whether this user is active. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * Set of apps available to this user + * + * @param apps + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse apps(List apps) { this.apps = apps; return this; @@ -196,31 +211,34 @@ public CreateCompanyUserResponse addAppsItem(String appsItem) { return this; } - /** + /** * Set of apps available to this user * @return apps - **/ + */ @ApiModelProperty(value = "Set of apps available to this user") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * Set of apps available to this user - * - * @param apps - */ + /** + * Set of apps available to this user + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -234,121 +252,133 @@ public CreateCompanyUserResponse addAssociatedMerchantAccountsItem(String associ return this; } - /** + /** * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. - * - * @param associatedMerchantAccounts - */ + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The unique identifier of the user. + * + * @param id + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the user. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the user.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the user. - * - * @param id - */ + /** + * The unique identifier of the user. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * name + * + * @param name + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse roles(List roles) { this.roles = roles; return this; @@ -359,91 +389,94 @@ public CreateCompanyUserResponse addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(required = true, value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The username for this user. + * + * @param username + * @return the current {@code CreateCompanyUserResponse} instance, allowing for method chaining + */ public CreateCompanyUserResponse username(String username) { this.username = username; return this; } - /** + /** * The username for this user. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The username for this user.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The username for this user. - * - * @param username - */ + /** + * The username for this user. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateCompanyUserResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java b/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java index 53be1d8e6..692fd7176 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java @@ -250,276 +250,309 @@ public static NetworkTypeEnum fromValue(String value) { public CreateCompanyWebhookRequest() { } + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest acceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; return this; } - /** + /** * Indicates if expired SSL certificates are accepted. Default value: **false**. * @return acceptsExpiredCertificate - **/ + */ @ApiModelProperty(value = "Indicates if expired SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsExpiredCertificate() { return acceptsExpiredCertificate; } - - /** - * Indicates if expired SSL certificates are accepted. Default value: **false**. - * - * @param acceptsExpiredCertificate - */ + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; } - + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest acceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; return this; } - /** + /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. * @return acceptsSelfSignedCertificate - **/ + */ @ApiModelProperty(value = "Indicates if self-signed SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsSelfSignedCertificate() { return acceptsSelfSignedCertificate; } - - /** - * Indicates if self-signed SSL certificates are accepted. Default value: **false**. - * - * @param acceptsSelfSignedCertificate - */ + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; } - + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest acceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; return this; } - /** + /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. * @return acceptsUntrustedRootCertificate - **/ + */ @ApiModelProperty(value = "Indicates if untrusted SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsUntrustedRootCertificate() { return acceptsUntrustedRootCertificate; } - - /** - * Indicates if untrusted SSL certificates are accepted. Default value: **false**. - * - * @param acceptsUntrustedRootCertificate - */ + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; } - + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. - * - * @param active - */ + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * additionalSettings + * + * @param additionalSettings + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest additionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; return this; } - /** - * Get additionalSettings + /** + * additionalSettings * @return additionalSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalSettings getAdditionalSettings() { return additionalSettings; } - - /** - * additionalSettings - * - * @param additionalSettings - */ + /** + * additionalSettings + * + * @param additionalSettings + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; } - + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest communicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; return this; } - /** + /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** * @return communicationFormat - **/ + */ @ApiModelProperty(example = "soap", required = true, value = "Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** ") @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommunicationFormatEnum getCommunicationFormat() { return communicationFormat; } - - /** - * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** - * - * @param communicationFormat - */ + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + */ @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommunicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; } - + /** + * Your description for this webhook configuration. + * + * @param description + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for this webhook configuration. * @return description - **/ + */ @ApiModelProperty(value = "Your description for this webhook configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for this webhook configuration. - * - * @param description - */ + /** + * Your description for this webhook configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest encryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; return this; } - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. * @return encryptionProtocol - **/ + */ @ApiModelProperty(example = "TLSv1.2", value = "SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.") @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptionProtocolEnum getEncryptionProtocol() { return encryptionProtocol; } - - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. - * - * @param encryptionProtocol - */ + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; } - + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest filterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; return this; } - /** - * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * @return filterMerchantAccountType - **/ + */ @ApiModelProperty(required = true, value = "Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. ") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FilterMerchantAccountTypeEnum getFilterMerchantAccountType() { return filterMerchantAccountType; } - - /** - * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. - * - * @param filterMerchantAccountType - */ + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **allAccounts** : Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * **includeAccounts** : The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts** : The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; } - + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest filterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; return this; @@ -530,211 +563,226 @@ public CreateCompanyWebhookRequest addFilterMerchantAccountsItem(String filterMe return this; } - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. * @return filterMerchantAccounts - **/ + */ @ApiModelProperty(required = true, value = "A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**.") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFilterMerchantAccounts() { return filterMerchantAccounts; } - - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. - * - * @param filterMerchantAccounts - */ + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; } - + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest networkType(NetworkTypeEnum networkType) { this.networkType = networkType; return this; } - /** + /** * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. * @return networkType - **/ + */ @ApiModelProperty(value = "Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.") @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkTypeEnum getNetworkType() { return networkType; } - - /** - * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. - * - * @param networkType - */ + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + */ @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkType(NetworkTypeEnum networkType) { this.networkType = networkType; } - + /** + * Password to access the webhook URL. + * + * @param password + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest password(String password) { this.password = password; return this; } - /** + /** * Password to access the webhook URL. * @return password - **/ + */ @ApiModelProperty(value = "Password to access the webhook URL.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * Password to access the webhook URL. - * - * @param password - */ + /** + * Password to access the webhook URL. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest populateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; return this; } - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. * @return populateSoapActionHeader - **/ + */ @ApiModelProperty(value = "Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.") @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPopulateSoapActionHeader() { return populateSoapActionHeader; } - - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. - * - * @param populateSoapActionHeader - */ + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + */ @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; } - + /** + * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest type(String type) { this.type = type; return this; } - /** + /** * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). - * - * @param type - */ + /** + * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest url(String url) { this.url = url; return this; } - /** + /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. * @return url - **/ + */ @ApiModelProperty(example = "http://www.adyen.com", required = true, value = "Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. - * - * @param url - */ + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * Username to access the webhook URL. + * + * @param username + * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining + */ public CreateCompanyWebhookRequest username(String username) { this.username = username; return this; } - /** + /** * Username to access the webhook URL. * @return username - **/ + */ @ApiModelProperty(value = "Username to access the webhook URL.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * Username to access the webhook URL. - * - * @param username - */ + /** + * Username to access the webhook URL. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateCompanyWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateMerchantApiCredentialRequest.java b/src/main/java/com/adyen/model/management/CreateMerchantApiCredentialRequest.java index e1bdb2042..7b165b7c9 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantApiCredentialRequest.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantApiCredentialRequest.java @@ -51,6 +51,12 @@ public class CreateMerchantApiCredentialRequest { public CreateMerchantApiCredentialRequest() { } + /** + * The list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. + * + * @param allowedOrigins + * @return the current {@code CreateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public CreateMerchantApiCredentialRequest allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -64,61 +70,67 @@ public CreateMerchantApiCredentialRequest addAllowedOriginsItem(String allowedOr return this; } - /** + /** * The list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "The list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * The list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. - * - * @param allowedOrigins - */ + /** + * The list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code CreateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public CreateMerchantApiCredentialRequest description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + * @return the current {@code CreateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public CreateMerchantApiCredentialRequest roles(List roles) { this.roles = roles; return this; @@ -132,31 +144,28 @@ public CreateMerchantApiCredentialRequest addRolesItem(String rolesItem) { return this; } - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. * @return roles - **/ + */ @ApiModelProperty(value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - /** * Return true if this CreateMerchantApiCredentialRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateMerchantRequest.java b/src/main/java/com/adyen/model/management/CreateMerchantRequest.java index e2de6794d..4fdd26569 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantRequest.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantRequest.java @@ -67,186 +67,210 @@ public class CreateMerchantRequest { public CreateMerchantRequest() { } + /** + * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration. + * + * @param businessLineId + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest businessLineId(String businessLineId) { this.businessLineId = businessLineId; return this; } - /** + /** * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration. * @return businessLineId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBusinessLineId() { return businessLineId; } - - /** - * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration. - * - * @param businessLineId - */ + /** + * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration. + * + * @param businessLineId + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineId(String businessLineId) { this.businessLineId = businessLineId; } - + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * Your description for the merchant account, maximum 300 characters. + * + * @param description + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for the merchant account, maximum 300 characters. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the merchant account, maximum 300 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the merchant account, maximum 300 characters. - * - * @param description - */ + /** + * Your description for the merchant account, maximum 300 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration. + * + * @param legalEntityId + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration. * @return legalEntityId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration.") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration. - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration. + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use. + * + * @param pricingPlan + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest pricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; return this; } - /** + /** * Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use. * @return pricingPlan - **/ + */ @ApiModelProperty(value = "Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use.") @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPricingPlan() { return pricingPlan; } - - /** - * Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use. - * - * @param pricingPlan - */ + /** + * Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use. + * + * @param pricingPlan + */ @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; } - + /** + * Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account. + * + * @param reference + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest reference(String reference) { this.reference = reference; return this; } - /** - * Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account. + /** + * Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account. - * - * @param reference - */ + /** + * Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * List of sales channels that the merchant will process payments with + * + * @param salesChannels + * @return the current {@code CreateMerchantRequest} instance, allowing for method chaining + */ public CreateMerchantRequest salesChannels(List salesChannels) { this.salesChannels = salesChannels; return this; @@ -260,31 +284,28 @@ public CreateMerchantRequest addSalesChannelsItem(String salesChannelsItem) { return this; } - /** + /** * List of sales channels that the merchant will process payments with * @return salesChannels - **/ + */ @ApiModelProperty(value = "List of sales channels that the merchant will process payments with") @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSalesChannels() { return salesChannels; } - - /** - * List of sales channels that the merchant will process payments with - * - * @param salesChannels - */ + /** + * List of sales channels that the merchant will process payments with + * + * @param salesChannels + */ @JsonProperty(JSON_PROPERTY_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSalesChannels(List salesChannels) { this.salesChannels = salesChannels; } - /** * Return true if this CreateMerchantRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateMerchantResponse.java b/src/main/java/com/adyen/model/management/CreateMerchantResponse.java index 3e4a20dfa..163eec904 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantResponse.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantResponse.java @@ -65,216 +65,237 @@ public class CreateMerchantResponse { public CreateMerchantResponse() { } + /** + * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). + * + * @param businessLineId + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse businessLineId(String businessLineId) { this.businessLineId = businessLineId; return this; } - /** + /** * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). * @return businessLineId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines).") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBusinessLineId() { return businessLineId; } - - /** - * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). - * - * @param businessLineId - */ + /** + * The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). + * + * @param businessLineId + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineId(String businessLineId) { this.businessLineId = businessLineId; } - + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * Your description for the merchant account, maximum 300 characters. + * + * @param description + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse description(String description) { this.description = description; return this; } - /** + /** * Your description for the merchant account, maximum 300 characters. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the merchant account, maximum 300 characters.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the merchant account, maximum 300 characters. - * - * @param description - */ + /** + * Your description for the merchant account, maximum 300 characters. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen. + * + * @param id + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse id(String id) { this.id = id; return this; } - /** - * The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen. + /** + * The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen. - * - * @param id - */ + /** + * The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). + * + * @param legalEntityId + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). * @return legalEntityId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts. + * + * @param pricingPlan + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse pricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; return this; } - /** + /** * Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts. * @return pricingPlan - **/ + */ @ApiModelProperty(value = "Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.") @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPricingPlan() { return pricingPlan; } - - /** - * Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts. - * - * @param pricingPlan - */ + /** + * Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts. + * + * @param pricingPlan + */ @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; } - + /** + * Your reference for the merchant account. + * + * @param reference + * @return the current {@code CreateMerchantResponse} instance, allowing for method chaining + */ public CreateMerchantResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the merchant account. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the merchant account.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the merchant account. - * - * @param reference - */ + /** + * Your reference for the merchant account. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this CreateMerchantResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateMerchantUserRequest.java b/src/main/java/com/adyen/model/management/CreateMerchantUserRequest.java index 722686879..6c3ea8005 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantUserRequest.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantUserRequest.java @@ -68,6 +68,12 @@ public class CreateMerchantUserRequest { public CreateMerchantUserRequest() { } + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -81,121 +87,133 @@ public CreateMerchantUserRequest addAccountGroupsItem(String accountGroupsItem) return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest loginMethod(String loginMethod) { this.loginMethod = loginMethod; return this; } - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** * @return loginMethod - **/ + */ @ApiModelProperty(value = "The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** ") @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLoginMethod() { return loginMethod; } - - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** - * - * @param loginMethod - */ + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + */ @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLoginMethod(String loginMethod) { this.loginMethod = loginMethod; } - + /** + * name + * + * @param name + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest roles(List roles) { this.roles = roles; return this; @@ -209,91 +227,94 @@ public CreateMerchantUserRequest addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. + * + * @param username + * @return the current {@code CreateMerchantUserRequest} instance, allowing for method chaining + */ public CreateMerchantUserRequest username(String username) { this.username = username; return this; } - /** - * The user's email address that will be their username. Must be the same as the one in the `email` field. + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The user's email address that will be their username. Must be the same as the one in the `email` field.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The user's email address that will be their username. Must be the same as the one in the `email` field. - * - * @param username - */ + /** + * The user's email address that will be their username. Must be the same as the one in the `email` field. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateMerchantUserRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java b/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java index 03729423f..ed9e362e1 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java @@ -203,426 +203,468 @@ public static NetworkTypeEnum fromValue(String value) { public CreateMerchantWebhookRequest() { } + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest acceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; return this; } - /** + /** * Indicates if expired SSL certificates are accepted. Default value: **false**. * @return acceptsExpiredCertificate - **/ + */ @ApiModelProperty(value = "Indicates if expired SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsExpiredCertificate() { return acceptsExpiredCertificate; } - - /** - * Indicates if expired SSL certificates are accepted. Default value: **false**. - * - * @param acceptsExpiredCertificate - */ + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; } - + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest acceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; return this; } - /** + /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. * @return acceptsSelfSignedCertificate - **/ + */ @ApiModelProperty(value = "Indicates if self-signed SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsSelfSignedCertificate() { return acceptsSelfSignedCertificate; } - - /** - * Indicates if self-signed SSL certificates are accepted. Default value: **false**. - * - * @param acceptsSelfSignedCertificate - */ + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; } - + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest acceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; return this; } - /** + /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. * @return acceptsUntrustedRootCertificate - **/ + */ @ApiModelProperty(value = "Indicates if untrusted SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsUntrustedRootCertificate() { return acceptsUntrustedRootCertificate; } - - /** - * Indicates if untrusted SSL certificates are accepted. Default value: **false**. - * - * @param acceptsUntrustedRootCertificate - */ + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; } - + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. - * - * @param active - */ + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * additionalSettings + * + * @param additionalSettings + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest additionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; return this; } - /** - * Get additionalSettings + /** + * additionalSettings * @return additionalSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalSettings getAdditionalSettings() { return additionalSettings; } - - /** - * additionalSettings - * - * @param additionalSettings - */ + /** + * additionalSettings + * + * @param additionalSettings + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; } - + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest communicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; return this; } - /** + /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** * @return communicationFormat - **/ + */ @ApiModelProperty(example = "soap", required = true, value = "Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** ") @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommunicationFormatEnum getCommunicationFormat() { return communicationFormat; } - - /** - * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** - * - * @param communicationFormat - */ + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + */ @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommunicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; } - + /** + * Your description for this webhook configuration. + * + * @param description + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for this webhook configuration. * @return description - **/ + */ @ApiModelProperty(value = "Your description for this webhook configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for this webhook configuration. - * - * @param description - */ + /** + * Your description for this webhook configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest encryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; return this; } - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. * @return encryptionProtocol - **/ + */ @ApiModelProperty(example = "TLSv1.2", value = "SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.") @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptionProtocolEnum getEncryptionProtocol() { return encryptionProtocol; } - - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. - * - * @param encryptionProtocol - */ + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; } - + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest networkType(NetworkTypeEnum networkType) { this.networkType = networkType; return this; } - /** + /** * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. * @return networkType - **/ + */ @ApiModelProperty(value = "Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.") @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkTypeEnum getNetworkType() { return networkType; } - - /** - * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. - * - * @param networkType - */ + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + */ @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkType(NetworkTypeEnum networkType) { this.networkType = networkType; } - + /** + * Password to access the webhook URL. + * + * @param password + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest password(String password) { this.password = password; return this; } - /** + /** * Password to access the webhook URL. * @return password - **/ + */ @ApiModelProperty(value = "Password to access the webhook URL.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * Password to access the webhook URL. - * - * @param password - */ + /** + * Password to access the webhook URL. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest populateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; return this; } - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. * @return populateSoapActionHeader - **/ + */ @ApiModelProperty(value = "Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.") @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPopulateSoapActionHeader() { return populateSoapActionHeader; } - - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. - * - * @param populateSoapActionHeader - */ + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + */ @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; } - + /** + * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest type(String type) { this.type = type; return this; } - /** + /** * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). - * - * @param type - */ + /** + * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest url(String url) { this.url = url; return this; } - /** + /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. * @return url - **/ + */ @ApiModelProperty(example = "http://www.adyen.com", required = true, value = "Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. - * - * @param url - */ + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * Username to access the webhook URL. + * + * @param username + * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining + */ public CreateMerchantWebhookRequest username(String username) { this.username = username; return this; } - /** + /** * Username to access the webhook URL. * @return username - **/ + */ @ApiModelProperty(value = "Username to access the webhook URL.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * Username to access the webhook URL. - * - * @param username - */ + /** + * Username to access the webhook URL. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateMerchantWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CreateUserResponse.java b/src/main/java/com/adyen/model/management/CreateUserResponse.java index 021a017f3..6e4381c2e 100644 --- a/src/main/java/com/adyen/model/management/CreateUserResponse.java +++ b/src/main/java/com/adyen/model/management/CreateUserResponse.java @@ -81,36 +81,45 @@ public class CreateUserResponse { public CreateUserResponse() { } + /** + * links + * + * @param links + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -124,61 +133,67 @@ public CreateUserResponse addAccountGroupsItem(String accountGroupsItem) { return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Indicates whether this user is active. + * + * @param active + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates whether this user is active. * @return active - **/ + */ @ApiModelProperty(value = "Indicates whether this user is active.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates whether this user is active. - * - * @param active - */ + /** + * Indicates whether this user is active. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * Set of apps available to this user + * + * @param apps + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse apps(List apps) { this.apps = apps; return this; @@ -192,121 +207,133 @@ public CreateUserResponse addAppsItem(String appsItem) { return this; } - /** + /** * Set of apps available to this user * @return apps - **/ + */ @ApiModelProperty(value = "Set of apps available to this user") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * Set of apps available to this user - * - * @param apps - */ + /** + * Set of apps available to this user + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The unique identifier of the user. + * + * @param id + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the user. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the user.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the user. - * - * @param id - */ + /** + * The unique identifier of the user. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * name + * + * @param name + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse roles(List roles) { this.roles = roles; return this; @@ -317,91 +344,94 @@ public CreateUserResponse addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(required = true, value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The username for this user. + * + * @param username + * @return the current {@code CreateUserResponse} instance, allowing for method chaining + */ public CreateUserResponse username(String username) { this.username = username; return this; } - /** + /** * The username for this user. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The username for this user.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The username for this user. - * - * @param username - */ + /** + * The username for this user. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this CreateUserResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Currency.java b/src/main/java/com/adyen/model/management/Currency.java index b8019605f..cee56dbb0 100644 --- a/src/main/java/com/adyen/model/management/Currency.java +++ b/src/main/java/com/adyen/model/management/Currency.java @@ -49,96 +49,105 @@ public class Currency { public Currency() { } + /** + * Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param amount + * @return the current {@code Currency} instance, allowing for method chaining + */ public Currency amount(Integer amount) { this.amount = amount; return this; } - /** + /** * Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return amount - **/ + */ @ApiModelProperty(value = "Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAmount() { return amount; } - - /** - * Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param amount - */ + /** + * Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Integer amount) { this.amount = amount; } - + /** + * Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**. + * + * @param currencyCode + * @return the current {@code Currency} instance, allowing for method chaining + */ public Currency currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** + /** * Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**. * @return currencyCode - **/ + */ @ApiModelProperty(required = true, value = "Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**.") @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrencyCode() { return currencyCode; } - - /** - * Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**. - * - * @param currencyCode - */ + /** + * Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**. + * + * @param currencyCode + */ @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } - + /** + * Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. + * + * @param percentage + * @return the current {@code Currency} instance, allowing for method chaining + */ public Currency percentage(Double percentage) { this.percentage = percentage; return this; } - /** + /** * Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. * @return percentage - **/ + */ @ApiModelProperty(value = "Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**.") @JsonProperty(JSON_PROPERTY_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Double getPercentage() { return percentage; } - - /** - * Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. - * - * @param percentage - */ + /** + * Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. + * + * @param percentage + */ @JsonProperty(JSON_PROPERTY_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPercentage(Double percentage) { this.percentage = percentage; } - /** * Return true if this Currency object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/CustomNotification.java b/src/main/java/com/adyen/model/management/CustomNotification.java index 3cde66ce5..b9307a67b 100644 --- a/src/main/java/com/adyen/model/management/CustomNotification.java +++ b/src/main/java/com/adyen/model/management/CustomNotification.java @@ -67,216 +67,237 @@ public class CustomNotification { public CustomNotification() { } + /** + * amount + * + * @param amount + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** + * + * @param eventCode + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification eventCode(String eventCode) { this.eventCode = eventCode; return this; } - /** + /** * The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * @return eventCode - **/ + */ @ApiModelProperty(value = "The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA**") @JsonProperty(JSON_PROPERTY_EVENT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEventCode() { return eventCode; } - - /** - * The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** - * - * @param eventCode - */ + /** + * The event that caused the notification to be sent.Currently supported values: * **AUTHORISATION** * **CANCELLATION** * **REFUND** * **CAPTURE** * **REPORT_AVAILABLE** * **CHARGEBACK** * **REQUEST_FOR_INFORMATION** * **NOTIFICATION_OF_CHARGEBACK** * **NOTIFICATIONTEST** * **ORDER_OPENED** * **ORDER_CLOSED** * **CHARGEBACK_REVERSED** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** + * + * @param eventCode + */ @JsonProperty(JSON_PROPERTY_EVENT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEventCode(String eventCode) { this.eventCode = eventCode; } - + /** + * The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD. + * + * @param eventDate + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification eventDate(OffsetDateTime eventDate) { this.eventDate = eventDate; return this; } - /** + /** * The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD. * @return eventDate - **/ + */ @ApiModelProperty(value = "The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD.") @JsonProperty(JSON_PROPERTY_EVENT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEventDate() { return eventDate; } - - /** - * The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD. - * - * @param eventDate - */ + /** + * The time of the event. Format: [ISO 8601](http://www.w3.org/TR/NOTE-datetime), YYYY-MM-DDThh:mm:ssTZD. + * + * @param eventDate + */ @JsonProperty(JSON_PROPERTY_EVENT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEventDate(OffsetDateTime eventDate) { this.eventDate = eventDate; } - + /** + * Your reference for the custom test notification. + * + * @param merchantReference + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * Your reference for the custom test notification. * @return merchantReference - **/ + */ @ApiModelProperty(value = "Your reference for the custom test notification.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * Your reference for the custom test notification. - * - * @param merchantReference - */ + /** + * Your reference for the custom test notification. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit** + * + * @param paymentMethod + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit** * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit** ") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit** - * - * @param paymentMethod - */ + /** + * The payment method for the payment that the notification is about. Possible values: * **amex** * **visa** * **mc** * **maestro** * **bcmc** * **paypal** * **sms** * **bankTransfer_NL** * **bankTransfer_DE** * **bankTransfer_BE** * **ideal** * **elv** * **sepadirectdebit** + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * A description of what caused the notification. + * + * @param reason + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification reason(String reason) { this.reason = reason; return this; } - /** + /** * A description of what caused the notification. * @return reason - **/ + */ @ApiModelProperty(value = "A description of what caused the notification.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReason() { return reason; } - - /** - * A description of what caused the notification. - * - * @param reason - */ + /** + * A description of what caused the notification. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(String reason) { this.reason = reason; } - + /** + * The outcome of the event which the notification is about. Set to either **true** or **false**. + * + * @param success + * @return the current {@code CustomNotification} instance, allowing for method chaining + */ public CustomNotification success(Boolean success) { this.success = success; return this; } - /** + /** * The outcome of the event which the notification is about. Set to either **true** or **false**. * @return success - **/ + */ @ApiModelProperty(value = "The outcome of the event which the notification is about. Set to either **true** or **false**. ") @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuccess() { return success; } - - /** - * The outcome of the event which the notification is about. Set to either **true** or **false**. - * - * @param success - */ + /** + * The outcome of the event which the notification is about. Set to either **true** or **false**. + * + * @param success + */ @JsonProperty(JSON_PROPERTY_SUCCESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuccess(Boolean success) { this.success = success; } - /** * Return true if this CustomNotification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/DataCenter.java b/src/main/java/com/adyen/model/management/DataCenter.java index 283b9fd69..81c887228 100644 --- a/src/main/java/com/adyen/model/management/DataCenter.java +++ b/src/main/java/com/adyen/model/management/DataCenter.java @@ -45,66 +45,72 @@ public class DataCenter { public DataCenter() { } + /** + * The unique [live URL prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) for your live endpoint. Each data center has its own live URL prefix. This field is empty for requests made in the test environment. + * + * @param livePrefix + * @return the current {@code DataCenter} instance, allowing for method chaining + */ public DataCenter livePrefix(String livePrefix) { this.livePrefix = livePrefix; return this; } - /** + /** * The unique [live URL prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) for your live endpoint. Each data center has its own live URL prefix. This field is empty for requests made in the test environment. * @return livePrefix - **/ + */ @ApiModelProperty(value = "The unique [live URL prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) for your live endpoint. Each data center has its own live URL prefix. This field is empty for requests made in the test environment.") @JsonProperty(JSON_PROPERTY_LIVE_PREFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLivePrefix() { return livePrefix; } - - /** - * The unique [live URL prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) for your live endpoint. Each data center has its own live URL prefix. This field is empty for requests made in the test environment. - * - * @param livePrefix - */ + /** + * The unique [live URL prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) for your live endpoint. Each data center has its own live URL prefix. This field is empty for requests made in the test environment. + * + * @param livePrefix + */ @JsonProperty(JSON_PROPERTY_LIVE_PREFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLivePrefix(String livePrefix) { this.livePrefix = livePrefix; } - + /** + * The name assigned to a data center, for example **EU** for the European data center. Possible values are: * **default**: the European data center. This value is always returned in the test environment. * **AU** * **EU** * **US** + * + * @param name + * @return the current {@code DataCenter} instance, allowing for method chaining + */ public DataCenter name(String name) { this.name = name; return this; } - /** + /** * The name assigned to a data center, for example **EU** for the European data center. Possible values are: * **default**: the European data center. This value is always returned in the test environment. * **AU** * **EU** * **US** * @return name - **/ + */ @ApiModelProperty(value = "The name assigned to a data center, for example **EU** for the European data center. Possible values are: * **default**: the European data center. This value is always returned in the test environment. * **AU** * **EU** * **US**") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name assigned to a data center, for example **EU** for the European data center. Possible values are: * **default**: the European data center. This value is always returned in the test environment. * **AU** * **EU** * **US** - * - * @param name - */ + /** + * The name assigned to a data center, for example **EU** for the European data center. Possible values are: * **default**: the European data center. This value is always returned in the test environment. * **AU** * **EU** * **US** + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this DataCenter object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/EventUrl.java b/src/main/java/com/adyen/model/management/EventUrl.java index 76d543ffc..446e7842f 100644 --- a/src/main/java/com/adyen/model/management/EventUrl.java +++ b/src/main/java/com/adyen/model/management/EventUrl.java @@ -48,6 +48,12 @@ public class EventUrl { public EventUrl() { } + /** + * One or more local URLs to send event notifications to when using Terminal API. + * + * @param eventLocalUrls + * @return the current {@code EventUrl} instance, allowing for method chaining + */ public EventUrl eventLocalUrls(List eventLocalUrls) { this.eventLocalUrls = eventLocalUrls; return this; @@ -61,31 +67,34 @@ public EventUrl addEventLocalUrlsItem(Url eventLocalUrlsItem) { return this; } - /** + /** * One or more local URLs to send event notifications to when using Terminal API. * @return eventLocalUrls - **/ + */ @ApiModelProperty(value = "One or more local URLs to send event notifications to when using Terminal API.") @JsonProperty(JSON_PROPERTY_EVENT_LOCAL_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEventLocalUrls() { return eventLocalUrls; } - - /** - * One or more local URLs to send event notifications to when using Terminal API. - * - * @param eventLocalUrls - */ + /** + * One or more local URLs to send event notifications to when using Terminal API. + * + * @param eventLocalUrls + */ @JsonProperty(JSON_PROPERTY_EVENT_LOCAL_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEventLocalUrls(List eventLocalUrls) { this.eventLocalUrls = eventLocalUrls; } - + /** + * One or more public URLs to send event notifications to when using Terminal API. + * + * @param eventPublicUrls + * @return the current {@code EventUrl} instance, allowing for method chaining + */ public EventUrl eventPublicUrls(List eventPublicUrls) { this.eventPublicUrls = eventPublicUrls; return this; @@ -99,31 +108,28 @@ public EventUrl addEventPublicUrlsItem(Url eventPublicUrlsItem) { return this; } - /** + /** * One or more public URLs to send event notifications to when using Terminal API. * @return eventPublicUrls - **/ + */ @ApiModelProperty(value = "One or more public URLs to send event notifications to when using Terminal API.") @JsonProperty(JSON_PROPERTY_EVENT_PUBLIC_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEventPublicUrls() { return eventPublicUrls; } - - /** - * One or more public URLs to send event notifications to when using Terminal API. - * - * @param eventPublicUrls - */ + /** + * One or more public URLs to send event notifications to when using Terminal API. + * + * @param eventPublicUrls + */ @JsonProperty(JSON_PROPERTY_EVENT_PUBLIC_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEventPublicUrls(List eventPublicUrls) { this.eventPublicUrls = eventPublicUrls; } - /** * Return true if this EventUrl object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ExternalTerminalAction.java b/src/main/java/com/adyen/model/management/ExternalTerminalAction.java index 2e72f4862..5795206da 100644 --- a/src/main/java/com/adyen/model/management/ExternalTerminalAction.java +++ b/src/main/java/com/adyen/model/management/ExternalTerminalAction.java @@ -70,246 +70,270 @@ public class ExternalTerminalAction { public ExternalTerminalAction() { } + /** + * The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**. + * + * @param actionType + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction actionType(String actionType) { this.actionType = actionType; return this; } - /** + /** * The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**. * @return actionType - **/ + */ @ApiModelProperty(value = "The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.") @JsonProperty(JSON_PROPERTY_ACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getActionType() { return actionType; } - - /** - * The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**. - * - * @param actionType - */ + /** + * The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**. + * + * @param actionType + */ @JsonProperty(JSON_PROPERTY_ACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActionType(String actionType) { this.actionType = actionType; } - + /** + * Technical information about the terminal action. + * + * @param config + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction config(String config) { this.config = config; return this; } - /** + /** * Technical information about the terminal action. * @return config - **/ + */ @ApiModelProperty(value = "Technical information about the terminal action.") @JsonProperty(JSON_PROPERTY_CONFIG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConfig() { return config; } - - /** - * Technical information about the terminal action. - * - * @param config - */ + /** + * Technical information about the terminal action. + * + * @param config + */ @JsonProperty(JSON_PROPERTY_CONFIG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfig(String config) { this.config = config; } - + /** + * The date and time when the action was carried out. + * + * @param confirmedAt + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction confirmedAt(OffsetDateTime confirmedAt) { this.confirmedAt = confirmedAt; return this; } - /** + /** * The date and time when the action was carried out. * @return confirmedAt - **/ + */ @ApiModelProperty(value = "The date and time when the action was carried out.") @JsonProperty(JSON_PROPERTY_CONFIRMED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getConfirmedAt() { return confirmedAt; } - - /** - * The date and time when the action was carried out. - * - * @param confirmedAt - */ + /** + * The date and time when the action was carried out. + * + * @param confirmedAt + */ @JsonProperty(JSON_PROPERTY_CONFIRMED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfirmedAt(OffsetDateTime confirmedAt) { this.confirmedAt = confirmedAt; } - + /** + * The unique ID of the terminal action. + * + * @param id + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction id(String id) { this.id = id; return this; } - /** + /** * The unique ID of the terminal action. * @return id - **/ + */ @ApiModelProperty(value = "The unique ID of the terminal action.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique ID of the terminal action. - * - * @param id - */ + /** + * The unique ID of the terminal action. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The result message for the action. + * + * @param result + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction result(String result) { this.result = result; return this; } - /** + /** * The result message for the action. * @return result - **/ + */ @ApiModelProperty(value = "The result message for the action.") @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResult() { return result; } - - /** - * The result message for the action. - * - * @param result - */ + /** + * The result message for the action. + * + * @param result + */ @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResult(String result) { this.result = result; } - + /** + * The date and time when the action was scheduled to happen. + * + * @param scheduledAt + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction scheduledAt(OffsetDateTime scheduledAt) { this.scheduledAt = scheduledAt; return this; } - /** + /** * The date and time when the action was scheduled to happen. * @return scheduledAt - **/ + */ @ApiModelProperty(value = "The date and time when the action was scheduled to happen.") @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getScheduledAt() { return scheduledAt; } - - /** - * The date and time when the action was scheduled to happen. - * - * @param scheduledAt - */ + /** + * The date and time when the action was scheduled to happen. + * + * @param scheduledAt + */ @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScheduledAt(OffsetDateTime scheduledAt) { this.scheduledAt = scheduledAt; } - + /** + * The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**. + * + * @param status + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction status(String status) { this.status = status; return this; } - /** + /** * The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**. * @return status - **/ + */ @ApiModelProperty(value = "The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**. - * - * @param status - */ + /** + * The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - + /** + * The unique ID of the terminal that the action applies to. + * + * @param terminalId + * @return the current {@code ExternalTerminalAction} instance, allowing for method chaining + */ public ExternalTerminalAction terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The unique ID of the terminal that the action applies to. * @return terminalId - **/ + */ @ApiModelProperty(value = "The unique ID of the terminal that the action applies to.") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The unique ID of the terminal that the action applies to. - * - * @param terminalId - */ + /** + * The unique ID of the terminal that the action applies to. + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - /** * Return true if this ExternalTerminalAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GenerateApiKeyResponse.java b/src/main/java/com/adyen/model/management/GenerateApiKeyResponse.java index ee9c3a69b..423a3e482 100644 --- a/src/main/java/com/adyen/model/management/GenerateApiKeyResponse.java +++ b/src/main/java/com/adyen/model/management/GenerateApiKeyResponse.java @@ -41,36 +41,39 @@ public class GenerateApiKeyResponse { public GenerateApiKeyResponse() { } + /** + * The generated API key. + * + * @param apiKey + * @return the current {@code GenerateApiKeyResponse} instance, allowing for method chaining + */ public GenerateApiKeyResponse apiKey(String apiKey) { this.apiKey = apiKey; return this; } - /** + /** * The generated API key. * @return apiKey - **/ + */ @ApiModelProperty(required = true, value = "The generated API key.") @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getApiKey() { return apiKey; } - - /** - * The generated API key. - * - * @param apiKey - */ + /** + * The generated API key. + * + * @param apiKey + */ @JsonProperty(JSON_PROPERTY_API_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApiKey(String apiKey) { this.apiKey = apiKey; } - /** * Return true if this GenerateApiKeyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GenerateClientKeyResponse.java b/src/main/java/com/adyen/model/management/GenerateClientKeyResponse.java index 4add43b76..f650cd84f 100644 --- a/src/main/java/com/adyen/model/management/GenerateClientKeyResponse.java +++ b/src/main/java/com/adyen/model/management/GenerateClientKeyResponse.java @@ -41,36 +41,39 @@ public class GenerateClientKeyResponse { public GenerateClientKeyResponse() { } + /** + * Generated client key + * + * @param clientKey + * @return the current {@code GenerateClientKeyResponse} instance, allowing for method chaining + */ public GenerateClientKeyResponse clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Generated client key * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Generated client key") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Generated client key - * - * @param clientKey - */ + /** + * Generated client key + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - /** * Return true if this GenerateClientKeyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GenerateHmacKeyResponse.java b/src/main/java/com/adyen/model/management/GenerateHmacKeyResponse.java index cbe76293e..bcf747a69 100644 --- a/src/main/java/com/adyen/model/management/GenerateHmacKeyResponse.java +++ b/src/main/java/com/adyen/model/management/GenerateHmacKeyResponse.java @@ -41,36 +41,39 @@ public class GenerateHmacKeyResponse { public GenerateHmacKeyResponse() { } + /** + * The HMAC key generated for this webhook. + * + * @param hmacKey + * @return the current {@code GenerateHmacKeyResponse} instance, allowing for method chaining + */ public GenerateHmacKeyResponse hmacKey(String hmacKey) { this.hmacKey = hmacKey; return this; } - /** + /** * The HMAC key generated for this webhook. * @return hmacKey - **/ + */ @ApiModelProperty(required = true, value = "The HMAC key generated for this webhook.") @JsonProperty(JSON_PROPERTY_HMAC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHmacKey() { return hmacKey; } - - /** - * The HMAC key generated for this webhook. - * - * @param hmacKey - */ + /** + * The HMAC key generated for this webhook. + * + * @param hmacKey + */ @JsonProperty(JSON_PROPERTY_HMAC_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHmacKey(String hmacKey) { this.hmacKey = hmacKey; } - /** * Return true if this GenerateHmacKeyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GenericPmWithTdiInfo.java b/src/main/java/com/adyen/model/management/GenericPmWithTdiInfo.java index 3a3718efb..bdb49e34d 100644 --- a/src/main/java/com/adyen/model/management/GenericPmWithTdiInfo.java +++ b/src/main/java/com/adyen/model/management/GenericPmWithTdiInfo.java @@ -42,36 +42,39 @@ public class GenericPmWithTdiInfo { public GenericPmWithTdiInfo() { } + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code GenericPmWithTdiInfo} instance, allowing for method chaining + */ public GenericPmWithTdiInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this GenericPmWithTdiInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GiroPayInfo.java b/src/main/java/com/adyen/model/management/GiroPayInfo.java index 3a9b7225f..e9950f95e 100644 --- a/src/main/java/com/adyen/model/management/GiroPayInfo.java +++ b/src/main/java/com/adyen/model/management/GiroPayInfo.java @@ -41,36 +41,39 @@ public class GiroPayInfo { public GiroPayInfo() { } + /** + * The email address of merchant support. + * + * @param supportEmail + * @return the current {@code GiroPayInfo} instance, allowing for method chaining + */ public GiroPayInfo supportEmail(String supportEmail) { this.supportEmail = supportEmail; return this; } - /** + /** * The email address of merchant support. * @return supportEmail - **/ + */ @ApiModelProperty(required = true, value = "The email address of merchant support.") @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSupportEmail() { return supportEmail; } - - /** - * The email address of merchant support. - * - * @param supportEmail - */ + /** + * The email address of merchant support. + * + * @param supportEmail + */ @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportEmail(String supportEmail) { this.supportEmail = supportEmail; } - /** * Return true if this GiroPayInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/GooglePayInfo.java b/src/main/java/com/adyen/model/management/GooglePayInfo.java index 30e9aaa91..53ef8d47d 100644 --- a/src/main/java/com/adyen/model/management/GooglePayInfo.java +++ b/src/main/java/com/adyen/model/management/GooglePayInfo.java @@ -45,66 +45,72 @@ public class GooglePayInfo { public GooglePayInfo() { } + /** + * Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters. + * + * @param merchantId + * @return the current {@code GooglePayInfo} instance, allowing for method chaining + */ public GooglePayInfo merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** - * Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters. + /** + * Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters. * @return merchantId - **/ + */ @ApiModelProperty(required = true, value = "Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters. - * - * @param merchantId - */ + /** + * Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**. + * + * @param reuseMerchantId + * @return the current {@code GooglePayInfo} instance, allowing for method chaining + */ public GooglePayInfo reuseMerchantId(Boolean reuseMerchantId) { this.reuseMerchantId = reuseMerchantId; return this; } - /** + /** * Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**. * @return reuseMerchantId - **/ + */ @ApiModelProperty(value = "Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**.") @JsonProperty(JSON_PROPERTY_REUSE_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReuseMerchantId() { return reuseMerchantId; } - - /** - * Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**. - * - * @param reuseMerchantId - */ + /** + * Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**. + * + * @param reuseMerchantId + */ @JsonProperty(JSON_PROPERTY_REUSE_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReuseMerchantId(Boolean reuseMerchantId) { this.reuseMerchantId = reuseMerchantId; } - /** * Return true if this GooglePayInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Gratuity.java b/src/main/java/com/adyen/model/management/Gratuity.java index 23a5a9f97..be63d0ea0 100644 --- a/src/main/java/com/adyen/model/management/Gratuity.java +++ b/src/main/java/com/adyen/model/management/Gratuity.java @@ -55,66 +55,78 @@ public class Gratuity { public Gratuity() { } + /** + * Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown. + * + * @param allowCustomAmount + * @return the current {@code Gratuity} instance, allowing for method chaining + */ public Gratuity allowCustomAmount(Boolean allowCustomAmount) { this.allowCustomAmount = allowCustomAmount; return this; } - /** - * Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown. + /** + * Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown. * @return allowCustomAmount - **/ + */ @ApiModelProperty(value = "Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown.") @JsonProperty(JSON_PROPERTY_ALLOW_CUSTOM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowCustomAmount() { return allowCustomAmount; } - - /** - * Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown. - * - * @param allowCustomAmount - */ + /** + * Indicates whether one of the predefined tipping options is to let the shopper enter a custom tip. If **true**, only three of the other options defined in `predefinedTipEntries` are shown. + * + * @param allowCustomAmount + */ @JsonProperty(JSON_PROPERTY_ALLOW_CUSTOM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowCustomAmount(Boolean allowCustomAmount) { this.allowCustomAmount = allowCustomAmount; } - + /** + * The currency that the tipping settings apply to. + * + * @param currency + * @return the current {@code Gratuity} instance, allowing for method chaining + */ public Gratuity currency(String currency) { this.currency = currency; return this; } - /** + /** * The currency that the tipping settings apply to. * @return currency - **/ + */ @ApiModelProperty(value = "The currency that the tipping settings apply to.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The currency that the tipping settings apply to. - * - * @param currency - */ + /** + * The currency that the tipping settings apply to. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. + * + * @param predefinedTipEntries + * @return the current {@code Gratuity} instance, allowing for method chaining + */ public Gratuity predefinedTipEntries(List predefinedTipEntries) { this.predefinedTipEntries = predefinedTipEntries; return this; @@ -128,61 +140,61 @@ public Gratuity addPredefinedTipEntriesItem(String predefinedTipEntriesItem) { return this; } - /** - * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. + /** + * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. * @return predefinedTipEntries - **/ + */ @ApiModelProperty(value = "Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip.") @JsonProperty(JSON_PROPERTY_PREDEFINED_TIP_ENTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPredefinedTipEntries() { return predefinedTipEntries; } - - /** - * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. - * - * @param predefinedTipEntries - */ + /** + * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. + * + * @param predefinedTipEntries + */ @JsonProperty(JSON_PROPERTY_PREDEFINED_TIP_ENTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPredefinedTipEntries(List predefinedTipEntries) { this.predefinedTipEntries = predefinedTipEntries; } - + /** + * Indicates whether the terminal shows a prompt to enter a tip (**false**), or predefined tipping options to choose from (**true**). + * + * @param usePredefinedTipEntries + * @return the current {@code Gratuity} instance, allowing for method chaining + */ public Gratuity usePredefinedTipEntries(Boolean usePredefinedTipEntries) { this.usePredefinedTipEntries = usePredefinedTipEntries; return this; } - /** + /** * Indicates whether the terminal shows a prompt to enter a tip (**false**), or predefined tipping options to choose from (**true**). * @return usePredefinedTipEntries - **/ + */ @ApiModelProperty(value = "Indicates whether the terminal shows a prompt to enter a tip (**false**), or predefined tipping options to choose from (**true**).") @JsonProperty(JSON_PROPERTY_USE_PREDEFINED_TIP_ENTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getUsePredefinedTipEntries() { return usePredefinedTipEntries; } - - /** - * Indicates whether the terminal shows a prompt to enter a tip (**false**), or predefined tipping options to choose from (**true**). - * - * @param usePredefinedTipEntries - */ + /** + * Indicates whether the terminal shows a prompt to enter a tip (**false**), or predefined tipping options to choose from (**true**). + * + * @param usePredefinedTipEntries + */ @JsonProperty(JSON_PROPERTY_USE_PREDEFINED_TIP_ENTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsePredefinedTipEntries(Boolean usePredefinedTipEntries) { this.usePredefinedTipEntries = usePredefinedTipEntries; } - /** * Return true if this Gratuity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Hardware.java b/src/main/java/com/adyen/model/management/Hardware.java index 04bf3184a..2f46a01a7 100644 --- a/src/main/java/com/adyen/model/management/Hardware.java +++ b/src/main/java/com/adyen/model/management/Hardware.java @@ -49,96 +49,105 @@ public class Hardware { public Hardware() { } + /** + * The brightness of the display when the terminal is being used, expressed as a percentage. + * + * @param displayMaximumBackLight + * @return the current {@code Hardware} instance, allowing for method chaining + */ public Hardware displayMaximumBackLight(Integer displayMaximumBackLight) { this.displayMaximumBackLight = displayMaximumBackLight; return this; } - /** + /** * The brightness of the display when the terminal is being used, expressed as a percentage. * @return displayMaximumBackLight - **/ + */ @ApiModelProperty(value = "The brightness of the display when the terminal is being used, expressed as a percentage.") @JsonProperty(JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getDisplayMaximumBackLight() { return displayMaximumBackLight; } - - /** - * The brightness of the display when the terminal is being used, expressed as a percentage. - * - * @param displayMaximumBackLight - */ + /** + * The brightness of the display when the terminal is being used, expressed as a percentage. + * + * @param displayMaximumBackLight + */ @JsonProperty(JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayMaximumBackLight(Integer displayMaximumBackLight) { this.displayMaximumBackLight = displayMaximumBackLight; } - + /** + * The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. + * + * @param resetTotalsHour + * @return the current {@code Hardware} instance, allowing for method chaining + */ public Hardware resetTotalsHour(Integer resetTotalsHour) { this.resetTotalsHour = resetTotalsHour; return this; } - /** + /** * The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. * @return resetTotalsHour - **/ + */ @ApiModelProperty(value = "The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.") @JsonProperty(JSON_PROPERTY_RESET_TOTALS_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getResetTotalsHour() { return resetTotalsHour; } - - /** - * The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. - * - * @param resetTotalsHour - */ + /** + * The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. + * + * @param resetTotalsHour + */ @JsonProperty(JSON_PROPERTY_RESET_TOTALS_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResetTotalsHour(Integer resetTotalsHour) { this.resetTotalsHour = resetTotalsHour; } - + /** + * The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. + * + * @param restartHour + * @return the current {@code Hardware} instance, allowing for method chaining + */ public Hardware restartHour(Integer restartHour) { this.restartHour = restartHour; return this; } - /** + /** * The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. * @return restartHour - **/ + */ @ApiModelProperty(value = "The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.") @JsonProperty(JSON_PROPERTY_RESTART_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getRestartHour() { return restartHour; } - - /** - * The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. - * - * @param restartHour - */ + /** + * The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23. + * + * @param restartHour + */ @JsonProperty(JSON_PROPERTY_RESTART_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRestartHour(Integer restartHour) { this.restartHour = restartHour; } - /** * Return true if this Hardware object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/IdName.java b/src/main/java/com/adyen/model/management/IdName.java index 53203466d..f41495546 100644 --- a/src/main/java/com/adyen/model/management/IdName.java +++ b/src/main/java/com/adyen/model/management/IdName.java @@ -45,66 +45,72 @@ public class IdName { public IdName() { } + /** + * The identifier of the terminal model. + * + * @param id + * @return the current {@code IdName} instance, allowing for method chaining + */ public IdName id(String id) { this.id = id; return this; } - /** + /** * The identifier of the terminal model. * @return id - **/ + */ @ApiModelProperty(value = "The identifier of the terminal model.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The identifier of the terminal model. - * - * @param id - */ + /** + * The identifier of the terminal model. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The name of the terminal model. + * + * @param name + * @return the current {@code IdName} instance, allowing for method chaining + */ public IdName name(String name) { this.name = name; return this; } - /** + /** * The name of the terminal model. * @return name - **/ + */ @ApiModelProperty(value = "The name of the terminal model.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the terminal model. - * - * @param name - */ + /** + * The name of the terminal model. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this IdName object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java b/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java index d1c4d9fc5..4208a66da 100644 --- a/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java +++ b/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public InstallAndroidAppDetails() { } + /** + * The unique identifier of the app to be installed. + * + * @param appId + * @return the current {@code InstallAndroidAppDetails} instance, allowing for method chaining + */ public InstallAndroidAppDetails appId(String appId) { this.appId = appId; return this; } - /** + /** * The unique identifier of the app to be installed. * @return appId - **/ + */ @ApiModelProperty(value = "The unique identifier of the app to be installed.") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAppId() { return appId; } - - /** - * The unique identifier of the app to be installed. - * - * @param appId - */ + /** + * The unique identifier of the app to be installed. + * + * @param appId + */ @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } - + /** + * Type of terminal action: Install an Android app. + * + * @param type + * @return the current {@code InstallAndroidAppDetails} instance, allowing for method chaining + */ public InstallAndroidAppDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of terminal action: Install an Android app. * @return type - **/ + */ @ApiModelProperty(value = "Type of terminal action: Install an Android app.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of terminal action: Install an Android app. - * - * @param type - */ + /** + * Type of terminal action: Install an Android app. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InstallAndroidAppDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java b/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java index 72e0a6b5f..a9a58ed27 100644 --- a/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java +++ b/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public InstallAndroidCertificateDetails() { } + /** + * The unique identifier of the certificate to be installed. + * + * @param certificateId + * @return the current {@code InstallAndroidCertificateDetails} instance, allowing for method chaining + */ public InstallAndroidCertificateDetails certificateId(String certificateId) { this.certificateId = certificateId; return this; } - /** + /** * The unique identifier of the certificate to be installed. * @return certificateId - **/ + */ @ApiModelProperty(value = "The unique identifier of the certificate to be installed.") @JsonProperty(JSON_PROPERTY_CERTIFICATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCertificateId() { return certificateId; } - - /** - * The unique identifier of the certificate to be installed. - * - * @param certificateId - */ + /** + * The unique identifier of the certificate to be installed. + * + * @param certificateId + */ @JsonProperty(JSON_PROPERTY_CERTIFICATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCertificateId(String certificateId) { this.certificateId = certificateId; } - + /** + * Type of terminal action: Install an Android certificate. + * + * @param type + * @return the current {@code InstallAndroidCertificateDetails} instance, allowing for method chaining + */ public InstallAndroidCertificateDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of terminal action: Install an Android certificate. * @return type - **/ + */ @ApiModelProperty(value = "Type of terminal action: Install an Android certificate.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of terminal action: Install an Android certificate. - * - * @param type - */ + /** + * Type of terminal action: Install an Android certificate. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InstallAndroidCertificateDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/InvalidField.java b/src/main/java/com/adyen/model/management/InvalidField.java index 56f92edb2..ccc524934 100644 --- a/src/main/java/com/adyen/model/management/InvalidField.java +++ b/src/main/java/com/adyen/model/management/InvalidField.java @@ -49,96 +49,105 @@ public class InvalidField { public InvalidField() { } + /** + * Description of the validation error. + * + * @param message + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField message(String message) { this.message = message; return this; } - /** + /** * Description of the validation error. * @return message - **/ + */ @ApiModelProperty(required = true, value = "Description of the validation error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * Description of the validation error. - * - * @param message - */ + /** + * Description of the validation error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The field that has an invalid value. + * + * @param name + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField name(String name) { this.name = name; return this; } - /** + /** * The field that has an invalid value. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The field that has an invalid value.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The field that has an invalid value. - * - * @param name - */ + /** + * The field that has an invalid value. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The invalid value. + * + * @param value + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField value(String value) { this.value = value; return this; } - /** + /** * The invalid value. * @return value - **/ + */ @ApiModelProperty(required = true, value = "The invalid value.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The invalid value. - * - * @param value - */ + /** + * The invalid value. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this InvalidField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/JCBInfo.java b/src/main/java/com/adyen/model/management/JCBInfo.java index bd9cdf90e..db2d720f2 100644 --- a/src/main/java/com/adyen/model/management/JCBInfo.java +++ b/src/main/java/com/adyen/model/management/JCBInfo.java @@ -89,126 +89,138 @@ public static ServiceLevelEnum fromValue(String value) { public JCBInfo() { } + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels. + * + * @param midNumber + * @return the current {@code JCBInfo} instance, allowing for method chaining + */ public JCBInfo midNumber(String midNumber) { this.midNumber = midNumber; return this; } - /** - * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels. + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels. * @return midNumber - **/ + */ @ApiModelProperty(value = "MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels.") @JsonProperty(JSON_PROPERTY_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMidNumber() { return midNumber; } - - /** - * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels. - * - * @param midNumber - */ + /** + * MID (Merchant ID) number. Format: 10 numeric characters. Must be provided for both `noContract` and `gatewayContract` service levels. + * + * @param midNumber + */ @JsonProperty(JSON_PROPERTY_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMidNumber(String midNumber) { this.midNumber = midNumber; } - + /** + * Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`. + * + * @param reuseMidNumber + * @return the current {@code JCBInfo} instance, allowing for method chaining + */ public JCBInfo reuseMidNumber(Boolean reuseMidNumber) { this.reuseMidNumber = reuseMidNumber; return this; } - /** - * Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`. + /** + * Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`. * @return reuseMidNumber - **/ + */ @ApiModelProperty(value = "Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`.") @JsonProperty(JSON_PROPERTY_REUSE_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReuseMidNumber() { return reuseMidNumber; } - - /** - * Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`. - * - * @param reuseMidNumber - */ + /** + * Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. This is applicable for both `noContract` and `gatewayContract` service levels. The default value is `false`. + * + * @param reuseMidNumber + */ @JsonProperty(JSON_PROPERTY_REUSE_MID_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReuseMidNumber(Boolean reuseMidNumber) { this.reuseMidNumber = reuseMidNumber; } - + /** + * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with JCB. * **gatewayContract** — JCB receives the settlement and handles disputes. They then pay out to the merchant directly. + * + * @param serviceLevel + * @return the current {@code JCBInfo} instance, allowing for method chaining + */ public JCBInfo serviceLevel(ServiceLevelEnum serviceLevel) { this.serviceLevel = serviceLevel; return this; } - /** + /** * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with JCB. * **gatewayContract** — JCB receives the settlement and handles disputes. They then pay out to the merchant directly. * @return serviceLevel - **/ + */ @ApiModelProperty(required = true, value = "Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with JCB. * **gatewayContract** — JCB receives the settlement and handles disputes. They then pay out to the merchant directly.") @JsonProperty(JSON_PROPERTY_SERVICE_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ServiceLevelEnum getServiceLevel() { return serviceLevel; } - - /** - * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with JCB. * **gatewayContract** — JCB receives the settlement and handles disputes. They then pay out to the merchant directly. - * - * @param serviceLevel - */ + /** + * Specifies the service level (settlement type) of this payment method. Possible values: * **noContract** — Adyen holds the contract with JCB. * **gatewayContract** — JCB receives the settlement and handles disputes. They then pay out to the merchant directly. + * + * @param serviceLevel + */ @JsonProperty(JSON_PROPERTY_SERVICE_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setServiceLevel(ServiceLevelEnum serviceLevel) { this.serviceLevel = serviceLevel; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code JCBInfo} instance, allowing for method chaining + */ public JCBInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this JCBInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Key.java b/src/main/java/com/adyen/model/management/Key.java index 8047b7087..e80c26701 100644 --- a/src/main/java/com/adyen/model/management/Key.java +++ b/src/main/java/com/adyen/model/management/Key.java @@ -49,96 +49,105 @@ public class Key { public Key() { } + /** + * The unique identifier of the shared key. + * + * @param identifier + * @return the current {@code Key} instance, allowing for method chaining + */ public Key identifier(String identifier) { this.identifier = identifier; return this; } - /** + /** * The unique identifier of the shared key. * @return identifier - **/ + */ @ApiModelProperty(value = "The unique identifier of the shared key.") @JsonProperty(JSON_PROPERTY_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIdentifier() { return identifier; } - - /** - * The unique identifier of the shared key. - * - * @param identifier - */ + /** + * The unique identifier of the shared key. + * + * @param identifier + */ @JsonProperty(JSON_PROPERTY_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdentifier(String identifier) { this.identifier = identifier; } - + /** + * The secure passphrase to protect the shared key. + * + * @param passphrase + * @return the current {@code Key} instance, allowing for method chaining + */ public Key passphrase(String passphrase) { this.passphrase = passphrase; return this; } - /** + /** * The secure passphrase to protect the shared key. * @return passphrase - **/ + */ @ApiModelProperty(value = "The secure passphrase to protect the shared key.") @JsonProperty(JSON_PROPERTY_PASSPHRASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassphrase() { return passphrase; } - - /** - * The secure passphrase to protect the shared key. - * - * @param passphrase - */ + /** + * The secure passphrase to protect the shared key. + * + * @param passphrase + */ @JsonProperty(JSON_PROPERTY_PASSPHRASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassphrase(String passphrase) { this.passphrase = passphrase; } - + /** + * The version number of the shared key. + * + * @param version + * @return the current {@code Key} instance, allowing for method chaining + */ public Key version(Integer version) { this.version = version; return this; } - /** + /** * The version number of the shared key. * @return version - **/ + */ @ApiModelProperty(value = "The version number of the shared key.") @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getVersion() { return version; } - - /** - * The version number of the shared key. - * - * @param version - */ + /** + * The version number of the shared key. + * + * @param version + */ @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersion(Integer version) { this.version = version; } - /** * Return true if this Key object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/KlarnaInfo.java b/src/main/java/com/adyen/model/management/KlarnaInfo.java index 622466a70..2c94d620b 100644 --- a/src/main/java/com/adyen/model/management/KlarnaInfo.java +++ b/src/main/java/com/adyen/model/management/KlarnaInfo.java @@ -92,126 +92,138 @@ public static RegionEnum fromValue(String value) { public KlarnaInfo() { } + /** + * Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**. + * + * @param autoCapture + * @return the current {@code KlarnaInfo} instance, allowing for method chaining + */ public KlarnaInfo autoCapture(Boolean autoCapture) { this.autoCapture = autoCapture; return this; } - /** + /** * Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**. * @return autoCapture - **/ + */ @ApiModelProperty(value = "Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**.") @JsonProperty(JSON_PROPERTY_AUTO_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAutoCapture() { return autoCapture; } - - /** - * Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**. - * - * @param autoCapture - */ + /** + * Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**. + * + * @param autoCapture + */ @JsonProperty(JSON_PROPERTY_AUTO_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAutoCapture(Boolean autoCapture) { this.autoCapture = autoCapture; } - + /** + * The email address for disputes. + * + * @param disputeEmail + * @return the current {@code KlarnaInfo} instance, allowing for method chaining + */ public KlarnaInfo disputeEmail(String disputeEmail) { this.disputeEmail = disputeEmail; return this; } - /** + /** * The email address for disputes. * @return disputeEmail - **/ + */ @ApiModelProperty(required = true, value = "The email address for disputes.") @JsonProperty(JSON_PROPERTY_DISPUTE_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisputeEmail() { return disputeEmail; } - - /** - * The email address for disputes. - * - * @param disputeEmail - */ + /** + * The email address for disputes. + * + * @param disputeEmail + */ @JsonProperty(JSON_PROPERTY_DISPUTE_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisputeEmail(String disputeEmail) { this.disputeEmail = disputeEmail; } - + /** + * The region of operation. For example, **NA**, **EU**, **CH**, **AU**. + * + * @param region + * @return the current {@code KlarnaInfo} instance, allowing for method chaining + */ public KlarnaInfo region(RegionEnum region) { this.region = region; return this; } - /** + /** * The region of operation. For example, **NA**, **EU**, **CH**, **AU**. * @return region - **/ + */ @ApiModelProperty(required = true, value = "The region of operation. For example, **NA**, **EU**, **CH**, **AU**.") @JsonProperty(JSON_PROPERTY_REGION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RegionEnum getRegion() { return region; } - - /** - * The region of operation. For example, **NA**, **EU**, **CH**, **AU**. - * - * @param region - */ + /** + * The region of operation. For example, **NA**, **EU**, **CH**, **AU**. + * + * @param region + */ @JsonProperty(JSON_PROPERTY_REGION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRegion(RegionEnum region) { this.region = region; } - + /** + * The email address of merchant support. + * + * @param supportEmail + * @return the current {@code KlarnaInfo} instance, allowing for method chaining + */ public KlarnaInfo supportEmail(String supportEmail) { this.supportEmail = supportEmail; return this; } - /** + /** * The email address of merchant support. * @return supportEmail - **/ + */ @ApiModelProperty(required = true, value = "The email address of merchant support.") @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSupportEmail() { return supportEmail; } - - /** - * The email address of merchant support. - * - * @param supportEmail - */ + /** + * The email address of merchant support. + * + * @param supportEmail + */ @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportEmail(String supportEmail) { this.supportEmail = supportEmail; } - /** * Return true if this KlarnaInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Links.java b/src/main/java/com/adyen/model/management/Links.java index d207c3b6d..ff56c8143 100644 --- a/src/main/java/com/adyen/model/management/Links.java +++ b/src/main/java/com/adyen/model/management/Links.java @@ -42,36 +42,39 @@ public class Links { public Links() { } + /** + * self + * + * @param self + * @return the current {@code Links} instance, allowing for method chaining + */ public Links self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - /** * Return true if this Links object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/LinksElement.java b/src/main/java/com/adyen/model/management/LinksElement.java index 9a046b090..e924fa643 100644 --- a/src/main/java/com/adyen/model/management/LinksElement.java +++ b/src/main/java/com/adyen/model/management/LinksElement.java @@ -41,36 +41,39 @@ public class LinksElement { public LinksElement() { } + /** + * href + * + * @param href + * @return the current {@code LinksElement} instance, allowing for method chaining + */ public LinksElement href(String href) { this.href = href; return this; } - /** - * Get href + /** + * href * @return href - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHref() { return href; } - - /** - * href - * - * @param href - */ + /** + * href + * + * @param href + */ @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHref(String href) { this.href = href; } - /** * Return true if this LinksElement object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListCompanyApiCredentialsResponse.java b/src/main/java/com/adyen/model/management/ListCompanyApiCredentialsResponse.java index 90d340d66..087a70a13 100644 --- a/src/main/java/com/adyen/model/management/ListCompanyApiCredentialsResponse.java +++ b/src/main/java/com/adyen/model/management/ListCompanyApiCredentialsResponse.java @@ -57,36 +57,45 @@ public class ListCompanyApiCredentialsResponse { public ListCompanyApiCredentialsResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListCompanyApiCredentialsResponse} instance, allowing for method chaining + */ public ListCompanyApiCredentialsResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of API credentials. + * + * @param data + * @return the current {@code ListCompanyApiCredentialsResponse} instance, allowing for method chaining + */ public ListCompanyApiCredentialsResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListCompanyApiCredentialsResponse addDataItem(CompanyApiCredential dataIt return this; } - /** + /** * The list of API credentials. * @return data - **/ + */ @ApiModelProperty(value = "The list of API credentials.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of API credentials. - * - * @param data - */ + /** + * The list of API credentials. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListCompanyApiCredentialsResponse} instance, allowing for method chaining + */ public ListCompanyApiCredentialsResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListCompanyApiCredentialsResponse} instance, allowing for method chaining + */ public ListCompanyApiCredentialsResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListCompanyApiCredentialsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListCompanyResponse.java b/src/main/java/com/adyen/model/management/ListCompanyResponse.java index 5bddab77d..2d1bd2702 100644 --- a/src/main/java/com/adyen/model/management/ListCompanyResponse.java +++ b/src/main/java/com/adyen/model/management/ListCompanyResponse.java @@ -57,36 +57,45 @@ public class ListCompanyResponse { public ListCompanyResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListCompanyResponse} instance, allowing for method chaining + */ public ListCompanyResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of companies. + * + * @param data + * @return the current {@code ListCompanyResponse} instance, allowing for method chaining + */ public ListCompanyResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListCompanyResponse addDataItem(Company dataItem) { return this; } - /** + /** * The list of companies. * @return data - **/ + */ @ApiModelProperty(value = "The list of companies.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of companies. - * - * @param data - */ + /** + * The list of companies. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListCompanyResponse} instance, allowing for method chaining + */ public ListCompanyResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListCompanyResponse} instance, allowing for method chaining + */ public ListCompanyResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListCompanyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListCompanyUsersResponse.java b/src/main/java/com/adyen/model/management/ListCompanyUsersResponse.java index 7b57f863d..033d3a801 100644 --- a/src/main/java/com/adyen/model/management/ListCompanyUsersResponse.java +++ b/src/main/java/com/adyen/model/management/ListCompanyUsersResponse.java @@ -57,36 +57,45 @@ public class ListCompanyUsersResponse { public ListCompanyUsersResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListCompanyUsersResponse} instance, allowing for method chaining + */ public ListCompanyUsersResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of users. + * + * @param data + * @return the current {@code ListCompanyUsersResponse} instance, allowing for method chaining + */ public ListCompanyUsersResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListCompanyUsersResponse addDataItem(CompanyUser dataItem) { return this; } - /** + /** * The list of users. * @return data - **/ + */ @ApiModelProperty(value = "The list of users.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of users. - * - * @param data - */ + /** + * The list of users. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListCompanyUsersResponse} instance, allowing for method chaining + */ public ListCompanyUsersResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListCompanyUsersResponse} instance, allowing for method chaining + */ public ListCompanyUsersResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListCompanyUsersResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListExternalTerminalActionsResponse.java b/src/main/java/com/adyen/model/management/ListExternalTerminalActionsResponse.java index 812e8a082..b8aad2934 100644 --- a/src/main/java/com/adyen/model/management/ListExternalTerminalActionsResponse.java +++ b/src/main/java/com/adyen/model/management/ListExternalTerminalActionsResponse.java @@ -44,6 +44,12 @@ public class ListExternalTerminalActionsResponse { public ListExternalTerminalActionsResponse() { } + /** + * The list of terminal actions. + * + * @param data + * @return the current {@code ListExternalTerminalActionsResponse} instance, allowing for method chaining + */ public ListExternalTerminalActionsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public ListExternalTerminalActionsResponse addDataItem(ExternalTerminalAction da return this; } - /** + /** * The list of terminal actions. * @return data - **/ + */ @ApiModelProperty(value = "The list of terminal actions.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of terminal actions. - * - * @param data - */ + /** + * The list of terminal actions. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this ListExternalTerminalActionsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListMerchantApiCredentialsResponse.java b/src/main/java/com/adyen/model/management/ListMerchantApiCredentialsResponse.java index d0ed8a375..21fbd4ef5 100644 --- a/src/main/java/com/adyen/model/management/ListMerchantApiCredentialsResponse.java +++ b/src/main/java/com/adyen/model/management/ListMerchantApiCredentialsResponse.java @@ -57,36 +57,45 @@ public class ListMerchantApiCredentialsResponse { public ListMerchantApiCredentialsResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListMerchantApiCredentialsResponse} instance, allowing for method chaining + */ public ListMerchantApiCredentialsResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of API credentials. + * + * @param data + * @return the current {@code ListMerchantApiCredentialsResponse} instance, allowing for method chaining + */ public ListMerchantApiCredentialsResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListMerchantApiCredentialsResponse addDataItem(ApiCredential dataItem) { return this; } - /** + /** * The list of API credentials. * @return data - **/ + */ @ApiModelProperty(value = "The list of API credentials.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of API credentials. - * - * @param data - */ + /** + * The list of API credentials. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListMerchantApiCredentialsResponse} instance, allowing for method chaining + */ public ListMerchantApiCredentialsResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListMerchantApiCredentialsResponse} instance, allowing for method chaining + */ public ListMerchantApiCredentialsResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListMerchantApiCredentialsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListMerchantResponse.java b/src/main/java/com/adyen/model/management/ListMerchantResponse.java index 270a98fde..dcec7cfc9 100644 --- a/src/main/java/com/adyen/model/management/ListMerchantResponse.java +++ b/src/main/java/com/adyen/model/management/ListMerchantResponse.java @@ -57,36 +57,45 @@ public class ListMerchantResponse { public ListMerchantResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListMerchantResponse} instance, allowing for method chaining + */ public ListMerchantResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of merchant accounts. + * + * @param data + * @return the current {@code ListMerchantResponse} instance, allowing for method chaining + */ public ListMerchantResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListMerchantResponse addDataItem(Merchant dataItem) { return this; } - /** + /** * The list of merchant accounts. * @return data - **/ + */ @ApiModelProperty(value = "The list of merchant accounts.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of merchant accounts. - * - * @param data - */ + /** + * The list of merchant accounts. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListMerchantResponse} instance, allowing for method chaining + */ public ListMerchantResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListMerchantResponse} instance, allowing for method chaining + */ public ListMerchantResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListMerchantResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListMerchantUsersResponse.java b/src/main/java/com/adyen/model/management/ListMerchantUsersResponse.java index b970537d9..c9a08db89 100644 --- a/src/main/java/com/adyen/model/management/ListMerchantUsersResponse.java +++ b/src/main/java/com/adyen/model/management/ListMerchantUsersResponse.java @@ -57,36 +57,45 @@ public class ListMerchantUsersResponse { public ListMerchantUsersResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListMerchantUsersResponse} instance, allowing for method chaining + */ public ListMerchantUsersResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of users. + * + * @param data + * @return the current {@code ListMerchantUsersResponse} instance, allowing for method chaining + */ public ListMerchantUsersResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListMerchantUsersResponse addDataItem(User dataItem) { return this; } - /** + /** * The list of users. * @return data - **/ + */ @ApiModelProperty(value = "The list of users.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of users. - * - * @param data - */ + /** + * The list of users. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListMerchantUsersResponse} instance, allowing for method chaining + */ public ListMerchantUsersResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListMerchantUsersResponse} instance, allowing for method chaining + */ public ListMerchantUsersResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListMerchantUsersResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListStoresResponse.java b/src/main/java/com/adyen/model/management/ListStoresResponse.java index c6926f932..4b432f55d 100644 --- a/src/main/java/com/adyen/model/management/ListStoresResponse.java +++ b/src/main/java/com/adyen/model/management/ListStoresResponse.java @@ -57,36 +57,45 @@ public class ListStoresResponse { public ListStoresResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListStoresResponse} instance, allowing for method chaining + */ public ListStoresResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * List of stores + * + * @param data + * @return the current {@code ListStoresResponse} instance, allowing for method chaining + */ public ListStoresResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListStoresResponse addDataItem(Store dataItem) { return this; } - /** + /** * List of stores * @return data - **/ + */ @ApiModelProperty(value = "List of stores") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of stores - * - * @param data - */ + /** + * List of stores + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListStoresResponse} instance, allowing for method chaining + */ public ListStoresResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListStoresResponse} instance, allowing for method chaining + */ public ListStoresResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListStoresResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListTerminalsResponse.java b/src/main/java/com/adyen/model/management/ListTerminalsResponse.java index 1c97e4853..ec2a557b5 100644 --- a/src/main/java/com/adyen/model/management/ListTerminalsResponse.java +++ b/src/main/java/com/adyen/model/management/ListTerminalsResponse.java @@ -57,36 +57,45 @@ public class ListTerminalsResponse { public ListTerminalsResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListTerminalsResponse} instance, allowing for method chaining + */ public ListTerminalsResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of terminals and their details. + * + * @param data + * @return the current {@code ListTerminalsResponse} instance, allowing for method chaining + */ public ListTerminalsResponse data(List data) { this.data = data; return this; @@ -100,91 +109,94 @@ public ListTerminalsResponse addDataItem(Terminal dataItem) { return this; } - /** + /** * The list of terminals and their details. * @return data - **/ + */ @ApiModelProperty(value = "The list of terminals and their details.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of terminals and their details. - * - * @param data - */ + /** + * The list of terminals and their details. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListTerminalsResponse} instance, allowing for method chaining + */ public ListTerminalsResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListTerminalsResponse} instance, allowing for method chaining + */ public ListTerminalsResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListTerminalsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ListWebhooksResponse.java b/src/main/java/com/adyen/model/management/ListWebhooksResponse.java index a2f928ba9..a8c2ea801 100644 --- a/src/main/java/com/adyen/model/management/ListWebhooksResponse.java +++ b/src/main/java/com/adyen/model/management/ListWebhooksResponse.java @@ -61,66 +61,78 @@ public class ListWebhooksResponse { public ListWebhooksResponse() { } + /** + * links + * + * @param links + * @return the current {@code ListWebhooksResponse} instance, allowing for method chaining + */ public ListWebhooksResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * Reference to the account. + * + * @param accountReference + * @return the current {@code ListWebhooksResponse} instance, allowing for method chaining + */ public ListWebhooksResponse accountReference(String accountReference) { this.accountReference = accountReference; return this; } - /** + /** * Reference to the account. * @return accountReference - **/ + */ @ApiModelProperty(value = "Reference to the account.") @JsonProperty(JSON_PROPERTY_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountReference() { return accountReference; } - - /** - * Reference to the account. - * - * @param accountReference - */ + /** + * Reference to the account. + * + * @param accountReference + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountReference(String accountReference) { this.accountReference = accountReference; } - + /** + * The list of webhooks configured for this account. + * + * @param data + * @return the current {@code ListWebhooksResponse} instance, allowing for method chaining + */ public ListWebhooksResponse data(List data) { this.data = data; return this; @@ -134,91 +146,94 @@ public ListWebhooksResponse addDataItem(Webhook dataItem) { return this; } - /** + /** * The list of webhooks configured for this account. * @return data - **/ + */ @ApiModelProperty(value = "The list of webhooks configured for this account.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of webhooks configured for this account. - * - * @param data - */ + /** + * The list of webhooks configured for this account. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code ListWebhooksResponse} instance, allowing for method chaining + */ public ListWebhooksResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code ListWebhooksResponse} instance, allowing for method chaining + */ public ListWebhooksResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - /** * Return true if this ListWebhooksResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Localization.java b/src/main/java/com/adyen/model/management/Localization.java index e812904df..b12976a1d 100644 --- a/src/main/java/com/adyen/model/management/Localization.java +++ b/src/main/java/com/adyen/model/management/Localization.java @@ -49,96 +49,105 @@ public class Localization { public Localization() { } + /** + * Language of the terminal. + * + * @param language + * @return the current {@code Localization} instance, allowing for method chaining + */ public Localization language(String language) { this.language = language; return this; } - /** + /** * Language of the terminal. * @return language - **/ + */ @ApiModelProperty(value = "Language of the terminal.") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * Language of the terminal. - * - * @param language - */ + /** + * Language of the terminal. + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * Secondary language of the terminal. + * + * @param secondaryLanguage + * @return the current {@code Localization} instance, allowing for method chaining + */ public Localization secondaryLanguage(String secondaryLanguage) { this.secondaryLanguage = secondaryLanguage; return this; } - /** + /** * Secondary language of the terminal. * @return secondaryLanguage - **/ + */ @ApiModelProperty(value = "Secondary language of the terminal.") @JsonProperty(JSON_PROPERTY_SECONDARY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSecondaryLanguage() { return secondaryLanguage; } - - /** - * Secondary language of the terminal. - * - * @param secondaryLanguage - */ + /** + * Secondary language of the terminal. + * + * @param secondaryLanguage + */ @JsonProperty(JSON_PROPERTY_SECONDARY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSecondaryLanguage(String secondaryLanguage) { this.secondaryLanguage = secondaryLanguage; } - + /** + * The time zone of the terminal. + * + * @param timezone + * @return the current {@code Localization} instance, allowing for method chaining + */ public Localization timezone(String timezone) { this.timezone = timezone; return this; } - /** + /** * The time zone of the terminal. * @return timezone - **/ + */ @ApiModelProperty(value = "The time zone of the terminal.") @JsonProperty(JSON_PROPERTY_TIMEZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimezone() { return timezone; } - - /** - * The time zone of the terminal. - * - * @param timezone - */ + /** + * The time zone of the terminal. + * + * @param timezone + */ @JsonProperty(JSON_PROPERTY_TIMEZONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimezone(String timezone) { this.timezone = timezone; } - /** * Return true if this Localization object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Logo.java b/src/main/java/com/adyen/model/management/Logo.java index 6e0d9feca..ffc58715d 100644 --- a/src/main/java/com/adyen/model/management/Logo.java +++ b/src/main/java/com/adyen/model/management/Logo.java @@ -41,36 +41,39 @@ public class Logo { public Logo() { } + /** + * The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal. + * + * @param data + * @return the current {@code Logo} instance, allowing for method chaining + */ public Logo data(String data) { this.data = data; return this; } - /** + /** * The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal. * @return data - **/ + */ @ApiModelProperty(value = "The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getData() { return data; } - - /** - * The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal. - * - * @param data - */ + /** + * The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(String data) { this.data = data; } - /** * Return true if this Logo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/MeApiCredential.java b/src/main/java/com/adyen/model/management/MeApiCredential.java index b1d9b7170..30d82d3d5 100644 --- a/src/main/java/com/adyen/model/management/MeApiCredential.java +++ b/src/main/java/com/adyen/model/management/MeApiCredential.java @@ -85,66 +85,78 @@ public class MeApiCredential { public MeApiCredential() { } + /** + * links + * + * @param links + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential links(ApiCredentialLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApiCredentialLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(ApiCredentialLinks links) { this.links = links; } - + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential allowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; return this; @@ -155,31 +167,34 @@ public MeApiCredential addAllowedIpAddressesItem(String allowedIpAddressesItem) return this; } - /** + /** * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. * @return allowedIpAddresses - **/ + */ @ApiModelProperty(required = true, value = "List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.") @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedIpAddresses() { return allowedIpAddresses; } - - /** - * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. - * - * @param allowedIpAddresses - */ + /** + * List of IP addresses from which your client can make requests. If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error. + * + * @param allowedIpAddresses + */ @JsonProperty(JSON_PROPERTY_ALLOWED_IP_ADDRESSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedIpAddresses(List allowedIpAddresses) { this.allowedIpAddresses = allowedIpAddresses; } - + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -193,31 +208,34 @@ public MeApiCredential addAllowedOriginsItem(AllowedOrigin allowedOriginsItem) { return this; } - /** + /** * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. - * - * @param allowedOrigins - */ + /** + * List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. + * + * @param associatedMerchantAccounts + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -231,151 +249,166 @@ public MeApiCredential addAssociatedMerchantAccountsItem(String associatedMercha return this; } - /** + /** * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. - * - * @param associatedMerchantAccounts - */ + /** + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential clientKey(String clientKey) { this.clientKey = clientKey; return this; } - /** + /** * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. * @return clientKey - **/ + */ @ApiModelProperty(required = true, value = "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.") @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClientKey() { return clientKey; } - - /** - * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. - * - * @param clientKey - */ + /** + * Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations. + * + * @param clientKey + */ @JsonProperty(JSON_PROPERTY_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClientKey(String clientKey) { this.clientKey = clientKey; } - + /** + * Name of the company linked to the API credential. + * + * @param companyName + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential companyName(String companyName) { this.companyName = companyName; return this; } - /** + /** * Name of the company linked to the API credential. * @return companyName - **/ + */ @ApiModelProperty(value = "Name of the company linked to the API credential.") @JsonProperty(JSON_PROPERTY_COMPANY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyName() { return companyName; } - - /** - * Name of the company linked to the API credential. - * - * @param companyName - */ + /** + * Name of the company linked to the API credential. + * + * @param companyName + */ @JsonProperty(JSON_PROPERTY_COMPANY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyName(String companyName) { this.companyName = companyName; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Unique identifier of the API credential. + * + * @param id + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential id(String id) { this.id = id; return this; } - /** + /** * Unique identifier of the API credential. * @return id - **/ + */ @ApiModelProperty(required = true, value = "Unique identifier of the API credential.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier of the API credential. - * - * @param id - */ + /** + * Unique identifier of the API credential. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential roles(List roles) { this.roles = roles; return this; @@ -386,61 +419,61 @@ public MeApiCredential addRolesItem(String rolesItem) { return this; } - /** + /** * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + * @return the current {@code MeApiCredential} instance, allowing for method chaining + */ public MeApiCredential username(String username) { this.username = username; return this; } - /** + /** * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. - * - * @param username - */ + /** + * The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this MeApiCredential object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/MealVoucherFRInfo.java b/src/main/java/com/adyen/model/management/MealVoucherFRInfo.java index d1cf790f8..16655a177 100644 --- a/src/main/java/com/adyen/model/management/MealVoucherFRInfo.java +++ b/src/main/java/com/adyen/model/management/MealVoucherFRInfo.java @@ -51,66 +51,78 @@ public class MealVoucherFRInfo { public MealVoucherFRInfo() { } + /** + * Meal Voucher conecsId. Format: digits only + * + * @param conecsId + * @return the current {@code MealVoucherFRInfo} instance, allowing for method chaining + */ public MealVoucherFRInfo conecsId(String conecsId) { this.conecsId = conecsId; return this; } - /** + /** * Meal Voucher conecsId. Format: digits only * @return conecsId - **/ + */ @ApiModelProperty(required = true, value = "Meal Voucher conecsId. Format: digits only") @JsonProperty(JSON_PROPERTY_CONECS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getConecsId() { return conecsId; } - - /** - * Meal Voucher conecsId. Format: digits only - * - * @param conecsId - */ + /** + * Meal Voucher conecsId. Format: digits only + * + * @param conecsId + */ @JsonProperty(JSON_PROPERTY_CONECS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConecsId(String conecsId) { this.conecsId = conecsId; } - + /** + * Meal Voucher siret. Format: 14 digits. + * + * @param siret + * @return the current {@code MealVoucherFRInfo} instance, allowing for method chaining + */ public MealVoucherFRInfo siret(String siret) { this.siret = siret; return this; } - /** + /** * Meal Voucher siret. Format: 14 digits. * @return siret - **/ + */ @ApiModelProperty(required = true, value = "Meal Voucher siret. Format: 14 digits.") @JsonProperty(JSON_PROPERTY_SIRET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSiret() { return siret; } - - /** - * Meal Voucher siret. Format: 14 digits. - * - * @param siret - */ + /** + * Meal Voucher siret. Format: 14 digits. + * + * @param siret + */ @JsonProperty(JSON_PROPERTY_SIRET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSiret(String siret) { this.siret = siret; } - + /** + * The list of additional payment methods. Allowed values: **mealVoucher_FR_edenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**. + * + * @param subTypes + * @return the current {@code MealVoucherFRInfo} instance, allowing for method chaining + */ public MealVoucherFRInfo subTypes(List subTypes) { this.subTypes = subTypes; return this; @@ -121,31 +133,28 @@ public MealVoucherFRInfo addSubTypesItem(String subTypesItem) { return this; } - /** + /** * The list of additional payment methods. Allowed values: **mealVoucher_FR_edenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**. * @return subTypes - **/ + */ @ApiModelProperty(required = true, value = "The list of additional payment methods. Allowed values: **mealVoucher_FR_edenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**.") @JsonProperty(JSON_PROPERTY_SUB_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubTypes() { return subTypes; } - - /** - * The list of additional payment methods. Allowed values: **mealVoucher_FR_edenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**. - * - * @param subTypes - */ + /** + * The list of additional payment methods. Allowed values: **mealVoucher_FR_edenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**. + * + * @param subTypes + */ @JsonProperty(JSON_PROPERTY_SUB_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubTypes(List subTypes) { this.subTypes = subTypes; } - /** * Return true if this MealVoucherFRInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Merchant.java b/src/main/java/com/adyen/model/management/Merchant.java index e23482740..c83a8ecda 100644 --- a/src/main/java/com/adyen/model/management/Merchant.java +++ b/src/main/java/com/adyen/model/management/Merchant.java @@ -97,96 +97,111 @@ public class Merchant { public Merchant() { } + /** + * links + * + * @param links + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant links(MerchantLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(MerchantLinks links) { this.links = links; } - + /** + * The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29** + * + * @param captureDelay + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant captureDelay(String captureDelay) { this.captureDelay = captureDelay; return this; } - /** + /** * The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29** * @return captureDelay - **/ + */ @ApiModelProperty(value = "The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29**") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCaptureDelay() { return captureDelay; } - - /** - * The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29** - * - * @param captureDelay - */ + /** + * The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29** + * + * @param captureDelay + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelay(String captureDelay) { this.captureDelay = captureDelay; } - + /** + * The unique identifier of the company account this merchant belongs to + * + * @param companyId + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account this merchant belongs to * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account this merchant belongs to") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account this merchant belongs to - * - * @param companyId - */ + /** + * The unique identifier of the company account this merchant belongs to + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. + * + * @param dataCenters + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant dataCenters(List dataCenters) { this.dataCenters = dataCenters; return this; @@ -200,331 +215,358 @@ public Merchant addDataCentersItem(DataCenter dataCentersItem) { return this; } - /** + /** * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. * @return dataCenters - **/ + */ @ApiModelProperty(value = "List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.") @JsonProperty(JSON_PROPERTY_DATA_CENTERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDataCenters() { return dataCenters; } - - /** - * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. - * - * @param dataCenters - */ + /** + * List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers. + * + * @param dataCenters + */ @JsonProperty(JSON_PROPERTY_DATA_CENTERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDataCenters(List dataCenters) { this.dataCenters = dataCenters; } - + /** + * The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account. + * + * @param defaultShopperInteraction + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant defaultShopperInteraction(String defaultShopperInteraction) { this.defaultShopperInteraction = defaultShopperInteraction; return this; } - /** - * The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account. + /** + * The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account. * @return defaultShopperInteraction - **/ + */ @ApiModelProperty(value = "The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account.") @JsonProperty(JSON_PROPERTY_DEFAULT_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDefaultShopperInteraction() { return defaultShopperInteraction; } - - /** - * The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account. - * - * @param defaultShopperInteraction - */ + /** + * The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account. + * + * @param defaultShopperInteraction + */ @JsonProperty(JSON_PROPERTY_DEFAULT_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultShopperInteraction(String defaultShopperInteraction) { this.defaultShopperInteraction = defaultShopperInteraction; } - + /** + * Your description for the merchant account, maximum 300 characters + * + * @param description + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant description(String description) { this.description = description; return this; } - /** + /** * Your description for the merchant account, maximum 300 characters * @return description - **/ + */ @ApiModelProperty(value = "Your description for the merchant account, maximum 300 characters") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the merchant account, maximum 300 characters - * - * @param description - */ + /** + * Your description for the merchant account, maximum 300 characters + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the merchant account. + * + * @param id + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the merchant account. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the merchant account. - * - * @param id - */ + /** + * The unique identifier of the merchant account. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The city where the legal entity of this merchant account is registered. + * + * @param merchantCity + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant merchantCity(String merchantCity) { this.merchantCity = merchantCity; return this; } - /** + /** * The city where the legal entity of this merchant account is registered. * @return merchantCity - **/ + */ @ApiModelProperty(value = "The city where the legal entity of this merchant account is registered.") @JsonProperty(JSON_PROPERTY_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantCity() { return merchantCity; } - - /** - * The city where the legal entity of this merchant account is registered. - * - * @param merchantCity - */ + /** + * The city where the legal entity of this merchant account is registered. + * + * @param merchantCity + */ @JsonProperty(JSON_PROPERTY_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantCity(String merchantCity) { this.merchantCity = merchantCity; } - + /** + * The name of the legal entity associated with the merchant account. + * + * @param name + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant name(String name) { this.name = name; return this; } - /** + /** * The name of the legal entity associated with the merchant account. * @return name - **/ + */ @ApiModelProperty(value = "The name of the legal entity associated with the merchant account.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the legal entity associated with the merchant account. - * - * @param name - */ + /** + * The name of the legal entity associated with the merchant account. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account. + * + * @param pricingPlan + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant pricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; return this; } - /** - * Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account. + /** + * Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account. * @return pricingPlan - **/ + */ @ApiModelProperty(value = "Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account.") @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPricingPlan() { return pricingPlan; } - - /** - * Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account. - * - * @param pricingPlan - */ + /** + * Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account. + * + * @param pricingPlan + */ @JsonProperty(JSON_PROPERTY_PRICING_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPricingPlan(String pricingPlan) { this.pricingPlan = pricingPlan; } - + /** + * The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency. + * + * @param primarySettlementCurrency + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant primarySettlementCurrency(String primarySettlementCurrency) { this.primarySettlementCurrency = primarySettlementCurrency; return this; } - /** + /** * The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency. * @return primarySettlementCurrency - **/ + */ @ApiModelProperty(value = "The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency.") @JsonProperty(JSON_PROPERTY_PRIMARY_SETTLEMENT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPrimarySettlementCurrency() { return primarySettlementCurrency; } - - /** - * The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency. - * - * @param primarySettlementCurrency - */ + /** + * The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency. + * + * @param primarySettlementCurrency + */ @JsonProperty(JSON_PROPERTY_PRIMARY_SETTLEMENT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrimarySettlementCurrency(String primarySettlementCurrency) { this.primarySettlementCurrency = primarySettlementCurrency; } - + /** + * Reference of the merchant account. + * + * @param reference + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant reference(String reference) { this.reference = reference; return this; } - /** + /** * Reference of the merchant account. * @return reference - **/ + */ @ApiModelProperty(value = "Reference of the merchant account.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Reference of the merchant account. - * - * @param reference - */ + /** + * Reference of the merchant account. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The URL for the ecommerce website used with this merchant account. + * + * @param shopWebAddress + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant shopWebAddress(String shopWebAddress) { this.shopWebAddress = shopWebAddress; return this; } - /** + /** * The URL for the ecommerce website used with this merchant account. * @return shopWebAddress - **/ + */ @ApiModelProperty(value = "The URL for the ecommerce website used with this merchant account.") @JsonProperty(JSON_PROPERTY_SHOP_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopWebAddress() { return shopWebAddress; } - - /** - * The URL for the ecommerce website used with this merchant account. - * - * @param shopWebAddress - */ + /** + * The URL for the ecommerce website used with this merchant account. + * + * @param shopWebAddress + */ @JsonProperty(JSON_PROPERTY_SHOP_WEB_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopWebAddress(String shopWebAddress) { this.shopWebAddress = shopWebAddress; } - + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + * @return the current {@code Merchant} instance, allowing for method chaining + */ public Merchant status(String status) { this.status = status; return this; } - /** + /** * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. * @return status - **/ + */ @ApiModelProperty(value = "The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. - * - * @param status - */ + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this Merchant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/MerchantLinks.java b/src/main/java/com/adyen/model/management/MerchantLinks.java index 85dbd5d2c..db10922f6 100644 --- a/src/main/java/com/adyen/model/management/MerchantLinks.java +++ b/src/main/java/com/adyen/model/management/MerchantLinks.java @@ -54,126 +54,138 @@ public class MerchantLinks { public MerchantLinks() { } + /** + * apiCredentials + * + * @param apiCredentials + * @return the current {@code MerchantLinks} instance, allowing for method chaining + */ public MerchantLinks apiCredentials(LinksElement apiCredentials) { this.apiCredentials = apiCredentials; return this; } - /** - * Get apiCredentials + /** + * apiCredentials * @return apiCredentials - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_API_CREDENTIALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getApiCredentials() { return apiCredentials; } - - /** - * apiCredentials - * - * @param apiCredentials - */ + /** + * apiCredentials + * + * @param apiCredentials + */ @JsonProperty(JSON_PROPERTY_API_CREDENTIALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApiCredentials(LinksElement apiCredentials) { this.apiCredentials = apiCredentials; } - + /** + * self + * + * @param self + * @return the current {@code MerchantLinks} instance, allowing for method chaining + */ public MerchantLinks self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - + /** + * users + * + * @param users + * @return the current {@code MerchantLinks} instance, allowing for method chaining + */ public MerchantLinks users(LinksElement users) { this.users = users; return this; } - /** - * Get users + /** + * users * @return users - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getUsers() { return users; } - - /** - * users - * - * @param users - */ + /** + * users + * + * @param users + */ @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsers(LinksElement users) { this.users = users; } - + /** + * webhooks + * + * @param webhooks + * @return the current {@code MerchantLinks} instance, allowing for method chaining + */ public MerchantLinks webhooks(LinksElement webhooks) { this.webhooks = webhooks; return this; } - /** - * Get webhooks + /** + * webhooks * @return webhooks - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEBHOOKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getWebhooks() { return webhooks; } - - /** - * webhooks - * - * @param webhooks - */ + /** + * webhooks + * + * @param webhooks + */ @JsonProperty(JSON_PROPERTY_WEBHOOKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebhooks(LinksElement webhooks) { this.webhooks = webhooks; } - /** * Return true if this MerchantLinks object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/MinorUnitsMonetaryValue.java b/src/main/java/com/adyen/model/management/MinorUnitsMonetaryValue.java index bec9e016e..823492d9e 100644 --- a/src/main/java/com/adyen/model/management/MinorUnitsMonetaryValue.java +++ b/src/main/java/com/adyen/model/management/MinorUnitsMonetaryValue.java @@ -45,66 +45,72 @@ public class MinorUnitsMonetaryValue { public MinorUnitsMonetaryValue() { } + /** + * The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param amount + * @return the current {@code MinorUnitsMonetaryValue} instance, allowing for method chaining + */ public MinorUnitsMonetaryValue amount(Integer amount) { this.amount = amount; return this; } - /** + /** * The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return amount - **/ + */ @ApiModelProperty(value = "The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAmount() { return amount; } - - /** - * The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param amount - */ + /** + * The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Integer amount) { this.amount = amount; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currencyCode + * @return the current {@code MinorUnitsMonetaryValue} instance, allowing for method chaining + */ public MinorUnitsMonetaryValue currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currencyCode - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrencyCode() { return currencyCode; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currencyCode - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currencyCode + */ @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } - /** * Return true if this MinorUnitsMonetaryValue object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ModelConfiguration.java b/src/main/java/com/adyen/model/management/ModelConfiguration.java index e16e4b3b1..0d0fa4ae6 100644 --- a/src/main/java/com/adyen/model/management/ModelConfiguration.java +++ b/src/main/java/com/adyen/model/management/ModelConfiguration.java @@ -57,36 +57,45 @@ public class ModelConfiguration { public ModelConfiguration() { } + /** + * Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param brand + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration brand(String brand) { this.brand = brand; return this; } - /** + /** * Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). * @return brand - **/ + */ @ApiModelProperty(required = true, value = "Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ") @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBrand() { return brand; } - - /** - * Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). - * - * @param brand - */ + /** + * Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param brand + */ @JsonProperty(JSON_PROPERTY_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrand(String brand) { this.brand = brand; } - + /** + * Countries, to filter different surcharge amounts for domestic or international cards. + * + * @param country + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration country(List country) { this.country = country; return this; @@ -100,31 +109,34 @@ public ModelConfiguration addCountryItem(String countryItem) { return this; } - /** + /** * Countries, to filter different surcharge amounts for domestic or international cards. * @return country - **/ + */ @ApiModelProperty(value = "Countries, to filter different surcharge amounts for domestic or international cards.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCountry() { return country; } - - /** - * Countries, to filter different surcharge amounts for domestic or international cards. - * - * @param country - */ + /** + * Countries, to filter different surcharge amounts for domestic or international cards. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(List country) { this.country = country; } - + /** + * Currency, and surcharge percentage or amount. + * + * @param currencies + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration currencies(List currencies) { this.currencies = currencies; return this; @@ -135,31 +147,34 @@ public ModelConfiguration addCurrenciesItem(Currency currenciesItem) { return this; } - /** + /** * Currency, and surcharge percentage or amount. * @return currencies - **/ + */ @ApiModelProperty(required = true, value = "Currency, and surcharge percentage or amount.") @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCurrencies() { return currencies; } - - /** - * Currency, and surcharge percentage or amount. - * - * @param currencies - */ + /** + * Currency, and surcharge percentage or amount. + * + * @param currencies + */ @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencies(List currencies) { this.currencies = currencies; } - + /** + * Funding source. Possible values: * **Credit** * **Debit** + * + * @param sources + * @return the current {@code ModelConfiguration} instance, allowing for method chaining + */ public ModelConfiguration sources(List sources) { this.sources = sources; return this; @@ -173,31 +188,28 @@ public ModelConfiguration addSourcesItem(String sourcesItem) { return this; } - /** + /** * Funding source. Possible values: * **Credit** * **Debit** * @return sources - **/ + */ @ApiModelProperty(value = "Funding source. Possible values: * **Credit** * **Debit**") @JsonProperty(JSON_PROPERTY_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSources() { return sources; } - - /** - * Funding source. Possible values: * **Credit** * **Debit** - * - * @param sources - */ + /** + * Funding source. Possible values: * **Credit** * **Debit** + * + * @param sources + */ @JsonProperty(JSON_PROPERTY_SOURCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSources(List sources) { this.sources = sources; } - /** * Return true if this Configuration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ModelFile.java b/src/main/java/com/adyen/model/management/ModelFile.java index bd8d40174..8db0d660b 100644 --- a/src/main/java/com/adyen/model/management/ModelFile.java +++ b/src/main/java/com/adyen/model/management/ModelFile.java @@ -46,66 +46,72 @@ public class ModelFile { public ModelFile() { } + /** + * The certificate content converted to a Base64-encoded string. + * + * @param data + * @return the current {@code ModelFile} instance, allowing for method chaining + */ public ModelFile data(String data) { this.data = data; return this; } - /** + /** * The certificate content converted to a Base64-encoded string. * @return data - **/ + */ @ApiModelProperty(required = true, value = "The certificate content converted to a Base64-encoded string.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getData() { return data; } - - /** - * The certificate content converted to a Base64-encoded string. - * - * @param data - */ + /** + * The certificate content converted to a Base64-encoded string. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(String data) { this.data = data; } - + /** + * The name of the certificate. Must be unique across Wi-Fi profiles. + * + * @param name + * @return the current {@code ModelFile} instance, allowing for method chaining + */ public ModelFile name(String name) { this.name = name; return this; } - /** + /** * The name of the certificate. Must be unique across Wi-Fi profiles. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The name of the certificate. Must be unique across Wi-Fi profiles.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the certificate. Must be unique across Wi-Fi profiles. - * - * @param name - */ + /** + * The name of the certificate. Must be unique across Wi-Fi profiles. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this File object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Name.java b/src/main/java/com/adyen/model/management/Name.java index 060583879..17cd6f0a6 100644 --- a/src/main/java/com/adyen/model/management/Name.java +++ b/src/main/java/com/adyen/model/management/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Name2.java b/src/main/java/com/adyen/model/management/Name2.java index fd9774f4c..8938d9e24 100644 --- a/src/main/java/com/adyen/model/management/Name2.java +++ b/src/main/java/com/adyen/model/management/Name2.java @@ -45,66 +45,72 @@ public class Name2 { public Name2() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name2} instance, allowing for method chaining + */ public Name2 firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name2} instance, allowing for method chaining + */ public Name2 lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Nexo.java b/src/main/java/com/adyen/model/management/Nexo.java index edae7bd77..623654a60 100644 --- a/src/main/java/com/adyen/model/management/Nexo.java +++ b/src/main/java/com/adyen/model/management/Nexo.java @@ -55,7 +55,7 @@ public class Nexo { private EventUrl eventUrls; public static final String JSON_PROPERTY_NEXO_EVENT_URLS = "nexoEventUrls"; - @Deprecated + @Deprecated // deprecated since Management API v1: Use `eventUrls` instead. private List nexoEventUrls = null; public static final String JSON_PROPERTY_NOTIFICATION = "notification"; @@ -64,96 +64,114 @@ public class Nexo { public Nexo() { } + /** + * displayUrls + * + * @param displayUrls + * @return the current {@code Nexo} instance, allowing for method chaining + */ public Nexo displayUrls(NotificationUrl displayUrls) { this.displayUrls = displayUrls; return this; } - /** - * Get displayUrls + /** + * displayUrls * @return displayUrls - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DISPLAY_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NotificationUrl getDisplayUrls() { return displayUrls; } - - /** - * displayUrls - * - * @param displayUrls - */ + /** + * displayUrls + * + * @param displayUrls + */ @JsonProperty(JSON_PROPERTY_DISPLAY_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayUrls(NotificationUrl displayUrls) { this.displayUrls = displayUrls; } - + /** + * encryptionKey + * + * @param encryptionKey + * @return the current {@code Nexo} instance, allowing for method chaining + */ public Nexo encryptionKey(Key encryptionKey) { this.encryptionKey = encryptionKey; return this; } - /** - * Get encryptionKey + /** + * encryptionKey * @return encryptionKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENCRYPTION_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Key getEncryptionKey() { return encryptionKey; } - - /** - * encryptionKey - * - * @param encryptionKey - */ + /** + * encryptionKey + * + * @param encryptionKey + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionKey(Key encryptionKey) { this.encryptionKey = encryptionKey; } - + /** + * eventUrls + * + * @param eventUrls + * @return the current {@code Nexo} instance, allowing for method chaining + */ public Nexo eventUrls(EventUrl eventUrls) { this.eventUrls = eventUrls; return this; } - /** - * Get eventUrls + /** + * eventUrls * @return eventUrls - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EventUrl getEventUrls() { return eventUrls; } - - /** - * eventUrls - * - * @param eventUrls - */ + /** + * eventUrls + * + * @param eventUrls + */ @JsonProperty(JSON_PROPERTY_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEventUrls(EventUrl eventUrls) { this.eventUrls = eventUrls; } - + /** + * One or more URLs to send event messages to when using Terminal API. + * + * @param nexoEventUrls + * @return the current {@code Nexo} instance, allowing for method chaining + * + * @deprecated since Management API v1 + * Use `eventUrls` instead. + */ @Deprecated public Nexo nexoEventUrls(List nexoEventUrls) { this.nexoEventUrls = nexoEventUrls; @@ -168,26 +186,29 @@ public Nexo addNexoEventUrlsItem(String nexoEventUrlsItem) { return this; } - /** + /** * One or more URLs to send event messages to when using Terminal API. * @return nexoEventUrls - * @deprecated - **/ + * + * @deprecated since Management API v1 + * Use `eventUrls` instead. + */ @Deprecated @ApiModelProperty(value = "One or more URLs to send event messages to when using Terminal API.") @JsonProperty(JSON_PROPERTY_NEXO_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getNexoEventUrls() { return nexoEventUrls; } - - /** - * One or more URLs to send event messages to when using Terminal API. - * - * @param nexoEventUrls - */ + /** + * One or more URLs to send event messages to when using Terminal API. + * + * @param nexoEventUrls + * + * @deprecated since Management API v1 + * Use `eventUrls` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_NEXO_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -195,37 +216,39 @@ public void setNexoEventUrls(List nexoEventUrls) { this.nexoEventUrls = nexoEventUrls; } - + /** + * notification + * + * @param notification + * @return the current {@code Nexo} instance, allowing for method chaining + */ public Nexo notification(Notification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * notification * @return notification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Notification getNotification() { return notification; } - - /** - * notification - * - * @param notification - */ + /** + * notification + * + * @param notification + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotification(Notification notification) { this.notification = notification; } - /** * Return true if this Nexo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Notification.java b/src/main/java/com/adyen/model/management/Notification.java index 254227b57..a440802ce 100644 --- a/src/main/java/com/adyen/model/management/Notification.java +++ b/src/main/java/com/adyen/model/management/Notification.java @@ -94,156 +94,171 @@ public static CategoryEnum fromValue(String value) { public Notification() { } + /** + * The type of event notification sent when you select the notification button. + * + * @param category + * @return the current {@code Notification} instance, allowing for method chaining + */ public Notification category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The type of event notification sent when you select the notification button. * @return category - **/ + */ @ApiModelProperty(value = "The type of event notification sent when you select the notification button.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The type of event notification sent when you select the notification button. - * - * @param category - */ + /** + * The type of event notification sent when you select the notification button. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table. + * + * @param details + * @return the current {@code Notification} instance, allowing for method chaining + */ public Notification details(String details) { this.details = details; return this; } - /** + /** * The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table. * @return details - **/ + */ @ApiModelProperty(value = "The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table.") @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetails() { return details; } - - /** - * The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table. - * - * @param details - */ + /** + * The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table. + * + * @param details + */ @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetails(String details) { this.details = details; } - + /** + * Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen. + * + * @param enabled + * @return the current {@code Notification} instance, allowing for method chaining + */ public Notification enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen. * @return enabled - **/ + */ @ApiModelProperty(value = "Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen. - * - * @param enabled - */ + /** + * Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * Shows or hides the event notification button on the screen of terminal models that have a keypad. + * + * @param showButton + * @return the current {@code Notification} instance, allowing for method chaining + */ public Notification showButton(Boolean showButton) { this.showButton = showButton; return this; } - /** + /** * Shows or hides the event notification button on the screen of terminal models that have a keypad. * @return showButton - **/ + */ @ApiModelProperty(value = "Shows or hides the event notification button on the screen of terminal models that have a keypad.") @JsonProperty(JSON_PROPERTY_SHOW_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShowButton() { return showButton; } - - /** - * Shows or hides the event notification button on the screen of terminal models that have a keypad. - * - * @param showButton - */ + /** + * Shows or hides the event notification button on the screen of terminal models that have a keypad. + * + * @param showButton + */ @JsonProperty(JSON_PROPERTY_SHOW_BUTTON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShowButton(Boolean showButton) { this.showButton = showButton; } - + /** + * The name of the notification button on the terminal screen. + * + * @param title + * @return the current {@code Notification} instance, allowing for method chaining + */ public Notification title(String title) { this.title = title; return this; } - /** + /** * The name of the notification button on the terminal screen. * @return title - **/ + */ @ApiModelProperty(value = "The name of the notification button on the terminal screen.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * The name of the notification button on the terminal screen. - * - * @param title - */ + /** + * The name of the notification button on the terminal screen. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - /** * Return true if this Notification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/NotificationUrl.java b/src/main/java/com/adyen/model/management/NotificationUrl.java index 51ca23ab6..cfccf5dbb 100644 --- a/src/main/java/com/adyen/model/management/NotificationUrl.java +++ b/src/main/java/com/adyen/model/management/NotificationUrl.java @@ -48,6 +48,12 @@ public class NotificationUrl { public NotificationUrl() { } + /** + * One or more local URLs to send notifications to when using Terminal API. + * + * @param localUrls + * @return the current {@code NotificationUrl} instance, allowing for method chaining + */ public NotificationUrl localUrls(List localUrls) { this.localUrls = localUrls; return this; @@ -61,31 +67,34 @@ public NotificationUrl addLocalUrlsItem(Url localUrlsItem) { return this; } - /** + /** * One or more local URLs to send notifications to when using Terminal API. * @return localUrls - **/ + */ @ApiModelProperty(value = "One or more local URLs to send notifications to when using Terminal API.") @JsonProperty(JSON_PROPERTY_LOCAL_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getLocalUrls() { return localUrls; } - - /** - * One or more local URLs to send notifications to when using Terminal API. - * - * @param localUrls - */ + /** + * One or more local URLs to send notifications to when using Terminal API. + * + * @param localUrls + */ @JsonProperty(JSON_PROPERTY_LOCAL_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalUrls(List localUrls) { this.localUrls = localUrls; } - + /** + * One or more public URLs to send notifications to when using Terminal API. + * + * @param publicUrls + * @return the current {@code NotificationUrl} instance, allowing for method chaining + */ public NotificationUrl publicUrls(List publicUrls) { this.publicUrls = publicUrls; return this; @@ -99,31 +108,28 @@ public NotificationUrl addPublicUrlsItem(Url publicUrlsItem) { return this; } - /** + /** * One or more public URLs to send notifications to when using Terminal API. * @return publicUrls - **/ + */ @ApiModelProperty(value = "One or more public URLs to send notifications to when using Terminal API.") @JsonProperty(JSON_PROPERTY_PUBLIC_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPublicUrls() { return publicUrls; } - - /** - * One or more public URLs to send notifications to when using Terminal API. - * - * @param publicUrls - */ + /** + * One or more public URLs to send notifications to when using Terminal API. + * + * @param publicUrls + */ @JsonProperty(JSON_PROPERTY_PUBLIC_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPublicUrls(List publicUrls) { this.publicUrls = publicUrls; } - /** * Return true if this NotificationUrl object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/NyceInfo.java b/src/main/java/com/adyen/model/management/NyceInfo.java index e8cfa9889..6cb0fdef0 100644 --- a/src/main/java/com/adyen/model/management/NyceInfo.java +++ b/src/main/java/com/adyen/model/management/NyceInfo.java @@ -83,66 +83,72 @@ public static ProcessingTypeEnum fromValue(String value) { public NyceInfo() { } + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + * @return the current {@code NyceInfo} instance, allowing for method chaining + */ public NyceInfo processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. * @return processingType - **/ + */ @ApiModelProperty(required = true, value = "The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. ") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. - * - * @param processingType - */ + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code NyceInfo} instance, allowing for method chaining + */ public NyceInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this NyceInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/OfflineProcessing.java b/src/main/java/com/adyen/model/management/OfflineProcessing.java index cb4824262..d0a9a3a38 100644 --- a/src/main/java/com/adyen/model/management/OfflineProcessing.java +++ b/src/main/java/com/adyen/model/management/OfflineProcessing.java @@ -48,36 +48,45 @@ public class OfflineProcessing { public OfflineProcessing() { } + /** + * The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param chipFloorLimit + * @return the current {@code OfflineProcessing} instance, allowing for method chaining + */ public OfflineProcessing chipFloorLimit(Integer chipFloorLimit) { this.chipFloorLimit = chipFloorLimit; return this; } - /** + /** * The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return chipFloorLimit - **/ + */ @ApiModelProperty(value = "The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CHIP_FLOOR_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getChipFloorLimit() { return chipFloorLimit; } - - /** - * The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param chipFloorLimit - */ + /** + * The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param chipFloorLimit + */ @JsonProperty(JSON_PROPERTY_CHIP_FLOOR_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChipFloorLimit(Integer chipFloorLimit) { this.chipFloorLimit = chipFloorLimit; } - + /** + * The maximum offline transaction amount for swiped cards, in the specified currency. + * + * @param offlineSwipeLimits + * @return the current {@code OfflineProcessing} instance, allowing for method chaining + */ public OfflineProcessing offlineSwipeLimits(List offlineSwipeLimits) { this.offlineSwipeLimits = offlineSwipeLimits; return this; @@ -91,31 +100,28 @@ public OfflineProcessing addOfflineSwipeLimitsItem(MinorUnitsMonetaryValue offli return this; } - /** + /** * The maximum offline transaction amount for swiped cards, in the specified currency. * @return offlineSwipeLimits - **/ + */ @ApiModelProperty(value = "The maximum offline transaction amount for swiped cards, in the specified currency.") @JsonProperty(JSON_PROPERTY_OFFLINE_SWIPE_LIMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOfflineSwipeLimits() { return offlineSwipeLimits; } - - /** - * The maximum offline transaction amount for swiped cards, in the specified currency. - * - * @param offlineSwipeLimits - */ + /** + * The maximum offline transaction amount for swiped cards, in the specified currency. + * + * @param offlineSwipeLimits + */ @JsonProperty(JSON_PROPERTY_OFFLINE_SWIPE_LIMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOfflineSwipeLimits(List offlineSwipeLimits) { this.offlineSwipeLimits = offlineSwipeLimits; } - /** * Return true if this OfflineProcessing object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Opi.java b/src/main/java/com/adyen/model/management/Opi.java index 93d009fe7..f9aaca9a7 100644 --- a/src/main/java/com/adyen/model/management/Opi.java +++ b/src/main/java/com/adyen/model/management/Opi.java @@ -49,96 +49,105 @@ public class Opi { public Opi() { } + /** + * Indicates if Pay at table is enabled. + * + * @param enablePayAtTable + * @return the current {@code Opi} instance, allowing for method chaining + */ public Opi enablePayAtTable(Boolean enablePayAtTable) { this.enablePayAtTable = enablePayAtTable; return this; } - /** + /** * Indicates if Pay at table is enabled. * @return enablePayAtTable - **/ + */ @ApiModelProperty(value = "Indicates if Pay at table is enabled.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayAtTable() { return enablePayAtTable; } - - /** - * Indicates if Pay at table is enabled. - * - * @param enablePayAtTable - */ + /** + * Indicates if Pay at table is enabled. + * + * @param enablePayAtTable + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayAtTable(Boolean enablePayAtTable) { this.enablePayAtTable = enablePayAtTable; } - + /** + * The store number to use for Pay at Table. + * + * @param payAtTableStoreNumber + * @return the current {@code Opi} instance, allowing for method chaining + */ public Opi payAtTableStoreNumber(String payAtTableStoreNumber) { this.payAtTableStoreNumber = payAtTableStoreNumber; return this; } - /** + /** * The store number to use for Pay at Table. * @return payAtTableStoreNumber - **/ + */ @ApiModelProperty(value = "The store number to use for Pay at Table.") @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE_STORE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayAtTableStoreNumber() { return payAtTableStoreNumber; } - - /** - * The store number to use for Pay at Table. - * - * @param payAtTableStoreNumber - */ + /** + * The store number to use for Pay at Table. + * + * @param payAtTableStoreNumber + */ @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE_STORE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayAtTableStoreNumber(String payAtTableStoreNumber) { this.payAtTableStoreNumber = payAtTableStoreNumber; } - + /** + * The URL and port number used for Pay at Table communication. + * + * @param payAtTableURL + * @return the current {@code Opi} instance, allowing for method chaining + */ public Opi payAtTableURL(String payAtTableURL) { this.payAtTableURL = payAtTableURL; return this; } - /** + /** * The URL and port number used for Pay at Table communication. * @return payAtTableURL - **/ + */ @ApiModelProperty(value = "The URL and port number used for Pay at Table communication.") @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayAtTableURL() { return payAtTableURL; } - - /** - * The URL and port number used for Pay at Table communication. - * - * @param payAtTableURL - */ + /** + * The URL and port number used for Pay at Table communication. + * + * @param payAtTableURL + */ @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayAtTableURL(String payAtTableURL) { this.payAtTableURL = payAtTableURL; } - /** * Return true if this Opi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/OrderItem.java b/src/main/java/com/adyen/model/management/OrderItem.java index 0dff3fc66..eea628062 100644 --- a/src/main/java/com/adyen/model/management/OrderItem.java +++ b/src/main/java/com/adyen/model/management/OrderItem.java @@ -53,126 +53,138 @@ public class OrderItem { public OrderItem() { } + /** + * The unique identifier of the product. + * + * @param id + * @return the current {@code OrderItem} instance, allowing for method chaining + */ public OrderItem id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the product. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the product.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the product. - * - * @param id - */ + /** + * The unique identifier of the product. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The number of installments for the specified product `id`. + * + * @param installments + * @return the current {@code OrderItem} instance, allowing for method chaining + */ public OrderItem installments(Long installments) { this.installments = installments; return this; } - /** - * The number of installments for the specified product `id`. + /** + * The number of installments for the specified product `id`. * @return installments - **/ + */ @ApiModelProperty(value = "The number of installments for the specified product `id`.") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getInstallments() { return installments; } - - /** - * The number of installments for the specified product `id`. - * - * @param installments - */ + /** + * The number of installments for the specified product `id`. + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Long installments) { this.installments = installments; } - + /** + * The name of the product. + * + * @param name + * @return the current {@code OrderItem} instance, allowing for method chaining + */ public OrderItem name(String name) { this.name = name; return this; } - /** + /** * The name of the product. * @return name - **/ + */ @ApiModelProperty(value = "The name of the product.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the product. - * - * @param name - */ + /** + * The name of the product. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The number of items with the specified product `id` included in the order. + * + * @param quantity + * @return the current {@code OrderItem} instance, allowing for method chaining + */ public OrderItem quantity(Integer quantity) { this.quantity = quantity; return this; } - /** - * The number of items with the specified product `id` included in the order. + /** + * The number of items with the specified product `id` included in the order. * @return quantity - **/ + */ @ApiModelProperty(value = "The number of items with the specified product `id` included in the order.") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getQuantity() { return quantity; } - - /** - * The number of items with the specified product `id` included in the order. - * - * @param quantity - */ + /** + * The number of items with the specified product `id` included in the order. + * + * @param quantity + */ @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setQuantity(Integer quantity) { this.quantity = quantity; } - /** * Return true if this OrderItem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PaginationLinks.java b/src/main/java/com/adyen/model/management/PaginationLinks.java index f140b5337..de5419dd7 100644 --- a/src/main/java/com/adyen/model/management/PaginationLinks.java +++ b/src/main/java/com/adyen/model/management/PaginationLinks.java @@ -58,156 +58,171 @@ public class PaginationLinks { public PaginationLinks() { } + /** + * first + * + * @param first + * @return the current {@code PaginationLinks} instance, allowing for method chaining + */ public PaginationLinks first(LinksElement first) { this.first = first; return this; } - /** - * Get first + /** + * first * @return first - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_FIRST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getFirst() { return first; } - - /** - * first - * - * @param first - */ + /** + * first + * + * @param first + */ @JsonProperty(JSON_PROPERTY_FIRST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirst(LinksElement first) { this.first = first; } - + /** + * last + * + * @param last + * @return the current {@code PaginationLinks} instance, allowing for method chaining + */ public PaginationLinks last(LinksElement last) { this.last = last; return this; } - /** - * Get last + /** + * last * @return last - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_LAST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getLast() { return last; } - - /** - * last - * - * @param last - */ + /** + * last + * + * @param last + */ @JsonProperty(JSON_PROPERTY_LAST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLast(LinksElement last) { this.last = last; } - + /** + * next + * + * @param next + * @return the current {@code PaginationLinks} instance, allowing for method chaining + */ public PaginationLinks next(LinksElement next) { this.next = next; return this; } - /** - * Get next + /** + * next * @return next - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getNext() { return next; } - - /** - * next - * - * @param next - */ + /** + * next + * + * @param next + */ @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNext(LinksElement next) { this.next = next; } - + /** + * prev + * + * @param prev + * @return the current {@code PaginationLinks} instance, allowing for method chaining + */ public PaginationLinks prev(LinksElement prev) { this.prev = prev; return this; } - /** - * Get prev + /** + * prev * @return prev - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PREV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getPrev() { return prev; } - - /** - * prev - * - * @param prev - */ + /** + * prev + * + * @param prev + */ @JsonProperty(JSON_PROPERTY_PREV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrev(LinksElement prev) { this.prev = prev; } - + /** + * self + * + * @param self + * @return the current {@code PaginationLinks} instance, allowing for method chaining + */ public PaginationLinks self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - /** * Return true if this PaginationLinks object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Passcodes.java b/src/main/java/com/adyen/model/management/Passcodes.java index 6e9f9ab26..769b4fe4b 100644 --- a/src/main/java/com/adyen/model/management/Passcodes.java +++ b/src/main/java/com/adyen/model/management/Passcodes.java @@ -53,126 +53,138 @@ public class Passcodes { public Passcodes() { } + /** + * The passcode for the Admin menu and the Settings menu. + * + * @param adminMenuPin + * @return the current {@code Passcodes} instance, allowing for method chaining + */ public Passcodes adminMenuPin(String adminMenuPin) { this.adminMenuPin = adminMenuPin; return this; } - /** + /** * The passcode for the Admin menu and the Settings menu. * @return adminMenuPin - **/ + */ @ApiModelProperty(value = "The passcode for the Admin menu and the Settings menu.") @JsonProperty(JSON_PROPERTY_ADMIN_MENU_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAdminMenuPin() { return adminMenuPin; } - - /** - * The passcode for the Admin menu and the Settings menu. - * - * @param adminMenuPin - */ + /** + * The passcode for the Admin menu and the Settings menu. + * + * @param adminMenuPin + */ @JsonProperty(JSON_PROPERTY_ADMIN_MENU_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdminMenuPin(String adminMenuPin) { this.adminMenuPin = adminMenuPin; } - + /** + * The passcode for referenced and unreferenced refunds on standalone terminals. + * + * @param refundPin + * @return the current {@code Passcodes} instance, allowing for method chaining + */ public Passcodes refundPin(String refundPin) { this.refundPin = refundPin; return this; } - /** + /** * The passcode for referenced and unreferenced refunds on standalone terminals. * @return refundPin - **/ + */ @ApiModelProperty(value = "The passcode for referenced and unreferenced refunds on standalone terminals.") @JsonProperty(JSON_PROPERTY_REFUND_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefundPin() { return refundPin; } - - /** - * The passcode for referenced and unreferenced refunds on standalone terminals. - * - * @param refundPin - */ + /** + * The passcode for referenced and unreferenced refunds on standalone terminals. + * + * @param refundPin + */ @JsonProperty(JSON_PROPERTY_REFUND_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefundPin(String refundPin) { this.refundPin = refundPin; } - + /** + * The passcode to unlock the terminal screen after a timeout. + * + * @param screenLockPin + * @return the current {@code Passcodes} instance, allowing for method chaining + */ public Passcodes screenLockPin(String screenLockPin) { this.screenLockPin = screenLockPin; return this; } - /** + /** * The passcode to unlock the terminal screen after a timeout. * @return screenLockPin - **/ + */ @ApiModelProperty(value = "The passcode to unlock the terminal screen after a timeout.") @JsonProperty(JSON_PROPERTY_SCREEN_LOCK_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScreenLockPin() { return screenLockPin; } - - /** - * The passcode to unlock the terminal screen after a timeout. - * - * @param screenLockPin - */ + /** + * The passcode to unlock the terminal screen after a timeout. + * + * @param screenLockPin + */ @JsonProperty(JSON_PROPERTY_SCREEN_LOCK_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScreenLockPin(String screenLockPin) { this.screenLockPin = screenLockPin; } - + /** + * The passcode for the Transactions menu. + * + * @param txMenuPin + * @return the current {@code Passcodes} instance, allowing for method chaining + */ public Passcodes txMenuPin(String txMenuPin) { this.txMenuPin = txMenuPin; return this; } - /** + /** * The passcode for the Transactions menu. * @return txMenuPin - **/ + */ @ApiModelProperty(value = "The passcode for the Transactions menu.") @JsonProperty(JSON_PROPERTY_TX_MENU_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxMenuPin() { return txMenuPin; } - - /** - * The passcode for the Transactions menu. - * - * @param txMenuPin - */ + /** + * The passcode for the Transactions menu. + * + * @param txMenuPin + */ @JsonProperty(JSON_PROPERTY_TX_MENU_PIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxMenuPin(String txMenuPin) { this.txMenuPin = txMenuPin; } - /** * Return true if this Passcodes object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayAtTable.java b/src/main/java/com/adyen/model/management/PayAtTable.java index 331e5127d..b0c142dc3 100644 --- a/src/main/java/com/adyen/model/management/PayAtTable.java +++ b/src/main/java/com/adyen/model/management/PayAtTable.java @@ -119,96 +119,105 @@ public static PaymentInstrumentEnum fromValue(String value) { public PayAtTable() { } + /** + * Allowed authentication methods: Magswipe, Manual Entry. + * + * @param authenticationMethod + * @return the current {@code PayAtTable} instance, allowing for method chaining + */ public PayAtTable authenticationMethod(AuthenticationMethodEnum authenticationMethod) { this.authenticationMethod = authenticationMethod; return this; } - /** + /** * Allowed authentication methods: Magswipe, Manual Entry. * @return authenticationMethod - **/ + */ @ApiModelProperty(value = "Allowed authentication methods: Magswipe, Manual Entry.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationMethodEnum getAuthenticationMethod() { return authenticationMethod; } - - /** - * Allowed authentication methods: Magswipe, Manual Entry. - * - * @param authenticationMethod - */ + /** + * Allowed authentication methods: Magswipe, Manual Entry. + * + * @param authenticationMethod + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationMethod(AuthenticationMethodEnum authenticationMethod) { this.authenticationMethod = authenticationMethod; } - + /** + * Enable Pay at table. + * + * @param enablePayAtTable + * @return the current {@code PayAtTable} instance, allowing for method chaining + */ public PayAtTable enablePayAtTable(Boolean enablePayAtTable) { this.enablePayAtTable = enablePayAtTable; return this; } - /** + /** * Enable Pay at table. * @return enablePayAtTable - **/ + */ @ApiModelProperty(value = "Enable Pay at table.") @JsonProperty(JSON_PROPERTY_ENABLE_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnablePayAtTable() { return enablePayAtTable; } - - /** - * Enable Pay at table. - * - * @param enablePayAtTable - */ + /** + * Enable Pay at table. + * + * @param enablePayAtTable + */ @JsonProperty(JSON_PROPERTY_ENABLE_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnablePayAtTable(Boolean enablePayAtTable) { this.enablePayAtTable = enablePayAtTable; } - + /** + * Sets the allowed payment instrument for Pay at table transactions. Can be: **cash** or **card**. If not set, the terminal presents both options. + * + * @param paymentInstrument + * @return the current {@code PayAtTable} instance, allowing for method chaining + */ public PayAtTable paymentInstrument(PaymentInstrumentEnum paymentInstrument) { this.paymentInstrument = paymentInstrument; return this; } - /** + /** * Sets the allowed payment instrument for Pay at table transactions. Can be: **cash** or **card**. If not set, the terminal presents both options. * @return paymentInstrument - **/ + */ @ApiModelProperty(value = "Sets the allowed payment instrument for Pay at table transactions. Can be: **cash** or **card**. If not set, the terminal presents both options.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrumentEnum getPaymentInstrument() { return paymentInstrument; } - - /** - * Sets the allowed payment instrument for Pay at table transactions. Can be: **cash** or **card**. If not set, the terminal presents both options. - * - * @param paymentInstrument - */ + /** + * Sets the allowed payment instrument for Pay at table transactions. Can be: **cash** or **card**. If not set, the terminal presents both options. + * + * @param paymentInstrument + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrument(PaymentInstrumentEnum paymentInstrument) { this.paymentInstrument = paymentInstrument; } - /** * Return true if this PayAtTable object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayMeInfo.java b/src/main/java/com/adyen/model/management/PayMeInfo.java index 0df895112..bc789e416 100644 --- a/src/main/java/com/adyen/model/management/PayMeInfo.java +++ b/src/main/java/com/adyen/model/management/PayMeInfo.java @@ -49,96 +49,105 @@ public class PayMeInfo { public PayMeInfo() { } + /** + * Merchant display name + * + * @param displayName + * @return the current {@code PayMeInfo} instance, allowing for method chaining + */ public PayMeInfo displayName(String displayName) { this.displayName = displayName; return this; } - /** + /** * Merchant display name * @return displayName - **/ + */ @ApiModelProperty(required = true, value = "Merchant display name") @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisplayName() { return displayName; } - - /** - * Merchant display name - * - * @param displayName - */ + /** + * Merchant display name + * + * @param displayName + */ @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayName(String displayName) { this.displayName = displayName; } - + /** + * Merchant logo. Format: Base64-encoded string. + * + * @param logo + * @return the current {@code PayMeInfo} instance, allowing for method chaining + */ public PayMeInfo logo(String logo) { this.logo = logo; return this; } - /** + /** * Merchant logo. Format: Base64-encoded string. * @return logo - **/ + */ @ApiModelProperty(required = true, value = "Merchant logo. Format: Base64-encoded string.") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogo() { return logo; } - - /** - * Merchant logo. Format: Base64-encoded string. - * - * @param logo - */ + /** + * Merchant logo. Format: Base64-encoded string. + * + * @param logo + */ @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(String logo) { this.logo = logo; } - + /** + * The email address of merchant support. + * + * @param supportEmail + * @return the current {@code PayMeInfo} instance, allowing for method chaining + */ public PayMeInfo supportEmail(String supportEmail) { this.supportEmail = supportEmail; return this; } - /** + /** * The email address of merchant support. * @return supportEmail - **/ + */ @ApiModelProperty(required = true, value = "The email address of merchant support.") @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSupportEmail() { return supportEmail; } - - /** - * The email address of merchant support. - * - * @param supportEmail - */ + /** + * The email address of merchant support. + * + * @param supportEmail + */ @JsonProperty(JSON_PROPERTY_SUPPORT_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportEmail(String supportEmail) { this.supportEmail = supportEmail; } - /** * Return true if this PayMeInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayPalInfo.java b/src/main/java/com/adyen/model/management/PayPalInfo.java index 960a1c842..2bc9c8b92 100644 --- a/src/main/java/com/adyen/model/management/PayPalInfo.java +++ b/src/main/java/com/adyen/model/management/PayPalInfo.java @@ -49,96 +49,105 @@ public class PayPalInfo { public PayPalInfo() { } + /** + * Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**. + * + * @param directCapture + * @return the current {@code PayPalInfo} instance, allowing for method chaining + */ public PayPalInfo directCapture(Boolean directCapture) { this.directCapture = directCapture; return this; } - /** + /** * Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**. * @return directCapture - **/ + */ @ApiModelProperty(value = "Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**.") @JsonProperty(JSON_PROPERTY_DIRECT_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDirectCapture() { return directCapture; } - - /** - * Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**. - * - * @param directCapture - */ + /** + * Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**. + * + * @param directCapture + */ @JsonProperty(JSON_PROPERTY_DIRECT_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirectCapture(Boolean directCapture) { this.directCapture = directCapture; } - + /** + * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payerId + * @return the current {@code PayPalInfo} instance, allowing for method chaining + */ public PayPalInfo payerId(String payerId) { this.payerId = payerId; return this; } - /** + /** * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. * @return payerId - **/ + */ @ApiModelProperty(required = true, value = "PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayerId() { return payerId; } - - /** - * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. - * - * @param payerId - */ + /** + * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payerId + */ @JsonProperty(JSON_PROPERTY_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayerId(String payerId) { this.payerId = payerId; } - + /** + * Your business email address. + * + * @param subject + * @return the current {@code PayPalInfo} instance, allowing for method chaining + */ public PayPalInfo subject(String subject) { this.subject = subject; return this; } - /** + /** * Your business email address. * @return subject - **/ + */ @ApiModelProperty(required = true, value = "Your business email address.") @JsonProperty(JSON_PROPERTY_SUBJECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubject() { return subject; } - - /** - * Your business email address. - * - * @param subject - */ + /** + * Your business email address. + * + * @param subject + */ @JsonProperty(JSON_PROPERTY_SUBJECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubject(String subject) { this.subject = subject; } - /** * Return true if this PayPalInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Payment.java b/src/main/java/com/adyen/model/management/Payment.java index 528da7e43..7a3c4f516 100644 --- a/src/main/java/com/adyen/model/management/Payment.java +++ b/src/main/java/com/adyen/model/management/Payment.java @@ -47,36 +47,45 @@ public class Payment { public Payment() { } + /** + * The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. + * + * @param contactlessCurrency + * @return the current {@code Payment} instance, allowing for method chaining + */ public Payment contactlessCurrency(String contactlessCurrency) { this.contactlessCurrency = contactlessCurrency; return this; } - /** + /** * The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. * @return contactlessCurrency - **/ + */ @ApiModelProperty(value = "The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.") @JsonProperty(JSON_PROPERTY_CONTACTLESS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContactlessCurrency() { return contactlessCurrency; } - - /** - * The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. - * - * @param contactlessCurrency - */ + /** + * The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. + * + * @param contactlessCurrency + */ @JsonProperty(JSON_PROPERTY_CONTACTLESS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContactlessCurrency(String contactlessCurrency) { this.contactlessCurrency = contactlessCurrency; } - + /** + * Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param hideMinorUnitsInCurrencies + * @return the current {@code Payment} instance, allowing for method chaining + */ public Payment hideMinorUnitsInCurrencies(List hideMinorUnitsInCurrencies) { this.hideMinorUnitsInCurrencies = hideMinorUnitsInCurrencies; return this; @@ -90,31 +99,28 @@ public Payment addHideMinorUnitsInCurrenciesItem(String hideMinorUnitsInCurrenci return this; } - /** + /** * Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217). * @return hideMinorUnitsInCurrencies - **/ + */ @ApiModelProperty(value = "Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_HIDE_MINOR_UNITS_IN_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getHideMinorUnitsInCurrencies() { return hideMinorUnitsInCurrencies; } - - /** - * Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param hideMinorUnitsInCurrencies - */ + /** + * Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param hideMinorUnitsInCurrencies + */ @JsonProperty(JSON_PROPERTY_HIDE_MINOR_UNITS_IN_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHideMinorUnitsInCurrencies(List hideMinorUnitsInCurrencies) { this.hideMinorUnitsInCurrencies = hideMinorUnitsInCurrencies; } - /** * Return true if this Payment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PaymentMethod.java b/src/main/java/com/adyen/model/management/PaymentMethod.java index 41ad9dc12..b59242192 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethod.java +++ b/src/main/java/com/adyen/model/management/PaymentMethod.java @@ -292,276 +292,309 @@ public static VerificationStatusEnum fromValue(String value) { public PaymentMethod() { } + /** + * accel + * + * @param accel + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod accel(AccelInfo accel) { this.accel = accel; return this; } - /** - * Get accel + /** + * accel * @return accel - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccelInfo getAccel() { return accel; } - - /** - * accel - * - * @param accel - */ + /** + * accel + * + * @param accel + */ @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccel(AccelInfo accel) { this.accel = accel; } - + /** + * afterpayTouch + * + * @param afterpayTouch + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod afterpayTouch(AfterpayTouchInfo afterpayTouch) { this.afterpayTouch = afterpayTouch; return this; } - /** - * Get afterpayTouch + /** + * afterpayTouch * @return afterpayTouch - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AFTERPAY_TOUCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AfterpayTouchInfo getAfterpayTouch() { return afterpayTouch; } - - /** - * afterpayTouch - * - * @param afterpayTouch - */ + /** + * afterpayTouch + * + * @param afterpayTouch + */ @JsonProperty(JSON_PROPERTY_AFTERPAY_TOUCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAfterpayTouch(AfterpayTouchInfo afterpayTouch) { this.afterpayTouch = afterpayTouch; } - + /** + * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. + * + * @param allowed + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. - * - * @param allowed - */ + /** + * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * amex + * + * @param amex + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod amex(AmexInfo amex) { this.amex = amex; return this; } - /** - * Get amex + /** + * amex * @return amex - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMEX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmexInfo getAmex() { return amex; } - - /** - * amex - * - * @param amex - */ + /** + * amex + * + * @param amex + */ @JsonProperty(JSON_PROPERTY_AMEX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmex(AmexInfo amex) { this.amex = amex; } - + /** + * applePay + * + * @param applePay + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod applePay(ApplePayInfo applePay) { this.applePay = applePay; return this; } - /** - * Get applePay + /** + * applePay * @return applePay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplePayInfo getApplePay() { return applePay; } - - /** - * applePay - * - * @param applePay - */ + /** + * applePay + * + * @param applePay + */ @JsonProperty(JSON_PROPERTY_APPLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplePay(ApplePayInfo applePay) { this.applePay = applePay; } - + /** + * bcmc + * + * @param bcmc + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod bcmc(BcmcInfo bcmc) { this.bcmc = bcmc; return this; } - /** - * Get bcmc + /** + * bcmc * @return bcmc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BcmcInfo getBcmc() { return bcmc; } - - /** - * bcmc - * - * @param bcmc - */ + /** + * bcmc + * + * @param bcmc + */ @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBcmc(BcmcInfo bcmc) { this.bcmc = bcmc; } - + /** + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). + * + * @param businessLineId + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod businessLineId(String businessLineId) { this.businessLineId = businessLineId; return this; } - /** + /** * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * @return businessLineId - **/ + */ @ApiModelProperty(value = "The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBusinessLineId() { return businessLineId; } - - /** - * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). - * - * @param businessLineId - */ + /** + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). + * + * @param businessLineId + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineId(String businessLineId) { this.businessLineId = businessLineId; } - + /** + * cartesBancaires + * + * @param cartesBancaires + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod cartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; return this; } - /** - * Get cartesBancaires + /** + * cartesBancaires * @return cartesBancaires - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CartesBancairesInfo getCartesBancaires() { return cartesBancaires; } - - /** - * cartesBancaires - * - * @param cartesBancaires - */ + /** + * cartesBancaires + * + * @param cartesBancaires + */ @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; } - + /** + * clearpay + * + * @param clearpay + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod clearpay(ClearpayInfo clearpay) { this.clearpay = clearpay; return this; } - /** - * Get clearpay + /** + * clearpay * @return clearpay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CLEARPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ClearpayInfo getClearpay() { return clearpay; } - - /** - * clearpay - * - * @param clearpay - */ + /** + * clearpay + * + * @param clearpay + */ @JsonProperty(JSON_PROPERTY_CLEARPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearpay(ClearpayInfo clearpay) { this.clearpay = clearpay; } - + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod countries(List countries) { this.countries = countries; return this; @@ -575,61 +608,67 @@ public PaymentMethod addCountriesItem(String countriesItem) { return this; } - /** + /** * The list of countries where a payment method is available. By default, all countries supported by the payment method. * @return countries - **/ + */ @ApiModelProperty(value = "The list of countries where a payment method is available. By default, all countries supported by the payment method.") @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCountries() { return countries; } - - /** - * The list of countries where a payment method is available. By default, all countries supported by the payment method. - * - * @param countries - */ + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + */ @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountries(List countries) { this.countries = countries; } - + /** + * cup + * + * @param cup + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod cup(GenericPmWithTdiInfo cup) { this.cup = cup; return this; } - /** - * Get cup + /** + * cup * @return cup - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getCup() { return cup; } - - /** - * cup - * - * @param cup - */ + /** + * cup + * + * @param cup + */ @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCup(GenericPmWithTdiInfo cup) { this.cup = cup; } - + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod currencies(List currencies) { this.currencies = currencies; return this; @@ -643,31 +682,34 @@ public PaymentMethod addCurrenciesItem(String currenciesItem) { return this; } - /** + /** * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. * @return currencies - **/ + */ @ApiModelProperty(value = "The list of currencies that a payment method supports. By default, all currencies supported by the payment method.") @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCurrencies() { return currencies; } - - /** - * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. - * - * @param currencies - */ + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + */ @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencies(List currencies) { this.currencies = currencies; } - + /** + * The list of custom routing flags to route payment to the intended acquirer. + * + * @param customRoutingFlags + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod customRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; return this; @@ -681,751 +723,826 @@ public PaymentMethod addCustomRoutingFlagsItem(String customRoutingFlagsItem) { return this; } - /** + /** * The list of custom routing flags to route payment to the intended acquirer. * @return customRoutingFlags - **/ + */ @ApiModelProperty(value = "The list of custom routing flags to route payment to the intended acquirer.") @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCustomRoutingFlags() { return customRoutingFlags; } - - /** - * The list of custom routing flags to route payment to the intended acquirer. - * - * @param customRoutingFlags - */ + /** + * The list of custom routing flags to route payment to the intended acquirer. + * + * @param customRoutingFlags + */ @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; } - + /** + * diners + * + * @param diners + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod diners(GenericPmWithTdiInfo diners) { this.diners = diners; return this; } - /** - * Get diners + /** + * diners * @return diners - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiners() { return diners; } - - /** - * diners - * - * @param diners - */ + /** + * diners + * + * @param diners + */ @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiners(GenericPmWithTdiInfo diners) { this.diners = diners; } - + /** + * discover + * + * @param discover + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod discover(GenericPmWithTdiInfo discover) { this.discover = discover; return this; } - /** - * Get discover + /** + * discover * @return discover - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiscover() { return discover; } - - /** - * discover - * - * @param discover - */ + /** + * discover + * + * @param discover + */ @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiscover(GenericPmWithTdiInfo discover) { this.discover = discover; } - + /** + * eftposAustralia + * + * @param eftposAustralia + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod eftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; return this; } - /** - * Get eftposAustralia + /** + * eftposAustralia * @return eftposAustralia - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getEftposAustralia() { return eftposAustralia; } - - /** - * eftposAustralia - * - * @param eftposAustralia - */ + /** + * eftposAustralia + * + * @param eftposAustralia + */ @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; } - + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the payment method is enabled (**true**) or disabled (**false**). * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the payment method is enabled (**true**) or disabled (**false**).") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). - * - * @param enabled - */ + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * giroPay + * + * @param giroPay + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod giroPay(GiroPayInfo giroPay) { this.giroPay = giroPay; return this; } - /** - * Get giroPay + /** + * giroPay * @return giroPay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIRO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GiroPayInfo getGiroPay() { return giroPay; } - - /** - * giroPay - * - * @param giroPay - */ + /** + * giroPay + * + * @param giroPay + */ @JsonProperty(JSON_PROPERTY_GIRO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiroPay(GiroPayInfo giroPay) { this.giroPay = giroPay; } - + /** + * girocard + * + * @param girocard + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod girocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; return this; } - /** - * Get girocard + /** + * girocard * @return girocard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getGirocard() { return girocard; } - - /** - * girocard - * - * @param girocard - */ + /** + * girocard + * + * @param girocard + */ @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGirocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; } - + /** + * googlePay + * + * @param googlePay + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod googlePay(GooglePayInfo googlePay) { this.googlePay = googlePay; return this; } - /** - * Get googlePay + /** + * googlePay * @return googlePay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GooglePayInfo getGooglePay() { return googlePay; } - - /** - * googlePay - * - * @param googlePay - */ + /** + * googlePay + * + * @param googlePay + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePay(GooglePayInfo googlePay) { this.googlePay = googlePay; } - + /** + * The identifier of the resource. + * + * @param id + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod id(String id) { this.id = id; return this; } - /** + /** * The identifier of the resource. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The identifier of the resource. - * - * @param id - */ + /** + * The identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * ideal + * + * @param ideal + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod ideal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; return this; } - /** - * Get ideal + /** + * ideal * @return ideal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getIdeal() { return ideal; } - - /** - * ideal - * - * @param ideal - */ + /** + * ideal + * + * @param ideal + */ @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdeal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; } - + /** + * interacCard + * + * @param interacCard + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod interacCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; return this; } - /** - * Get interacCard + /** + * interacCard * @return interacCard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getInteracCard() { return interacCard; } - - /** - * interacCard - * - * @param interacCard - */ + /** + * interacCard + * + * @param interacCard + */ @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInteracCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; } - + /** + * jcb + * + * @param jcb + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod jcb(JCBInfo jcb) { this.jcb = jcb; return this; } - /** - * Get jcb + /** + * jcb * @return jcb - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JCBInfo getJcb() { return jcb; } - - /** - * jcb - * - * @param jcb - */ + /** + * jcb + * + * @param jcb + */ @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJcb(JCBInfo jcb) { this.jcb = jcb; } - + /** + * klarna + * + * @param klarna + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod klarna(KlarnaInfo klarna) { this.klarna = klarna; return this; } - /** - * Get klarna + /** + * klarna * @return klarna - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_KLARNA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public KlarnaInfo getKlarna() { return klarna; } - - /** - * klarna - * - * @param klarna - */ + /** + * klarna + * + * @param klarna + */ @JsonProperty(JSON_PROPERTY_KLARNA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKlarna(KlarnaInfo klarna) { this.klarna = klarna; } - + /** + * maestro + * + * @param maestro + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod maestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; return this; } - /** - * Get maestro + /** + * maestro * @return maestro - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMaestro() { return maestro; } - - /** - * maestro - * - * @param maestro - */ + /** + * maestro + * + * @param maestro + */ @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; } - + /** + * mc + * + * @param mc + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod mc(GenericPmWithTdiInfo mc) { this.mc = mc; return this; } - /** - * Get mc + /** + * mc * @return mc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMc() { return mc; } - - /** - * mc - * - * @param mc - */ + /** + * mc + * + * @param mc + */ @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMc(GenericPmWithTdiInfo mc) { this.mc = mc; } - + /** + * mealVoucherFR + * + * @param mealVoucherFR + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod mealVoucherFR(MealVoucherFRInfo mealVoucherFR) { this.mealVoucherFR = mealVoucherFR; return this; } - /** - * Get mealVoucherFR + /** + * mealVoucherFR * @return mealVoucherFR - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MEAL_VOUCHER_F_R) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MealVoucherFRInfo getMealVoucherFR() { return mealVoucherFR; } - - /** - * mealVoucherFR - * - * @param mealVoucherFR - */ + /** + * mealVoucherFR + * + * @param mealVoucherFR + */ @JsonProperty(JSON_PROPERTY_MEAL_VOUCHER_F_R) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMealVoucherFR(MealVoucherFRInfo mealVoucherFR) { this.mealVoucherFR = mealVoucherFR; } - + /** + * nyce + * + * @param nyce + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod nyce(NyceInfo nyce) { this.nyce = nyce; return this; } - /** - * Get nyce + /** + * nyce * @return nyce - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NyceInfo getNyce() { return nyce; } - - /** - * nyce - * - * @param nyce - */ + /** + * nyce + * + * @param nyce + */ @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNyce(NyceInfo nyce) { this.nyce = nyce; } - + /** + * payme + * + * @param payme + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod payme(PayMeInfo payme) { this.payme = payme; return this; } - /** - * Get payme + /** + * payme * @return payme - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PayMeInfo getPayme() { return payme; } - - /** - * payme - * - * @param payme - */ + /** + * payme + * + * @param payme + */ @JsonProperty(JSON_PROPERTY_PAYME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayme(PayMeInfo payme) { this.payme = payme; } - + /** + * paypal + * + * @param paypal + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod paypal(PayPalInfo paypal) { this.paypal = paypal; return this; } - /** - * Get paypal + /** + * paypal * @return paypal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PayPalInfo getPaypal() { return paypal; } - - /** - * paypal - * - * @param paypal - */ + /** + * paypal + * + * @param paypal + */ @JsonProperty(JSON_PROPERTY_PAYPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaypal(PayPalInfo paypal) { this.paypal = paypal; } - + /** + * pulse + * + * @param pulse + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod pulse(PulseInfo pulse) { this.pulse = pulse; return this; } - /** - * Get pulse + /** + * pulse * @return pulse - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PulseInfo getPulse() { return pulse; } - - /** - * pulse - * - * @param pulse - */ + /** + * pulse + * + * @param pulse + */ @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPulse(PulseInfo pulse) { this.pulse = pulse; } - + /** + * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. + * + * @param reference + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment method. Supported characters a-z, A-Z, 0-9.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. - * - * @param reference - */ + /** + * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The sales channel. + * + * @param shopperInteraction + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod shopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The sales channel. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "The sales channel.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperInteraction() { return shopperInteraction; } - - /** - * The sales channel. - * - * @param shopperInteraction - */ + /** + * The sales channel. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * sodexo + * + * @param sodexo + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod sodexo(SodexoInfo sodexo) { this.sodexo = sodexo; return this; } - /** - * Get sodexo + /** + * sodexo * @return sodexo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SODEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SodexoInfo getSodexo() { return sodexo; } - - /** - * sodexo - * - * @param sodexo - */ + /** + * sodexo + * + * @param sodexo + */ @JsonProperty(JSON_PROPERTY_SODEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSodexo(SodexoInfo sodexo) { this.sodexo = sodexo; } - + /** + * sofort + * + * @param sofort + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod sofort(SofortInfo sofort) { this.sofort = sofort; return this; } - /** - * Get sofort + /** + * sofort * @return sofort - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOFORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SofortInfo getSofort() { return sofort; } - - /** - * sofort - * - * @param sofort - */ + /** + * sofort + * + * @param sofort + */ @JsonProperty(JSON_PROPERTY_SOFORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSofort(SofortInfo sofort) { this.sofort = sofort; } - + /** + * star + * + * @param star + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod star(StarInfo star) { this.star = star; return this; } - /** - * Get star + /** + * star * @return star - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StarInfo getStar() { return star; } - - /** - * star - * - * @param star - */ + /** + * star + * + * @param star + */ @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStar(StarInfo star) { this.star = star; } - + /** + * The unique identifier of the store for which to configure the payment method, if any. + * + * @param storeIds + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod storeIds(List storeIds) { this.storeIds = storeIds; return this; @@ -1439,301 +1556,325 @@ public PaymentMethod addStoreIdsItem(String storeIdsItem) { return this; } - /** + /** * The unique identifier of the store for which to configure the payment method, if any. * @return storeIds - **/ + */ @ApiModelProperty(value = "The unique identifier of the store for which to configure the payment method, if any.") @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStoreIds() { return storeIds; } - - /** - * The unique identifier of the store for which to configure the payment method, if any. - * - * @param storeIds - */ + /** + * The unique identifier of the store for which to configure the payment method, if any. + * + * @param storeIds + */ @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreIds(List storeIds) { this.storeIds = storeIds; } - + /** + * swish + * + * @param swish + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod swish(SwishInfo swish) { this.swish = swish; return this; } - /** - * Get swish + /** + * swish * @return swish - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWISH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SwishInfo getSwish() { return swish; } - - /** - * swish - * - * @param swish - */ + /** + * swish + * + * @param swish + */ @JsonProperty(JSON_PROPERTY_SWISH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSwish(SwishInfo swish) { this.swish = swish; } - + /** + * ticket + * + * @param ticket + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod ticket(TicketInfo ticket) { this.ticket = ticket; return this; } - /** - * Get ticket + /** + * ticket * @return ticket - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TICKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TicketInfo getTicket() { return ticket; } - - /** - * ticket - * - * @param ticket - */ + /** + * ticket + * + * @param ticket + */ @JsonProperty(JSON_PROPERTY_TICKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTicket(TicketInfo ticket) { this.ticket = ticket; } - + /** + * twint + * + * @param twint + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod twint(TwintInfo twint) { this.twint = twint; return this; } - /** - * Get twint + /** + * twint * @return twint - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TWINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TwintInfo getTwint() { return twint; } - - /** - * twint - * - * @param twint - */ + /** + * twint + * + * @param twint + */ @JsonProperty(JSON_PROPERTY_TWINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTwint(TwintInfo twint) { this.twint = twint; } - + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod type(String type) { this.type = type; return this; } - /** + /** * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). * @return type - **/ + */ @ApiModelProperty(value = "Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). - * - * @param type - */ + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * + * @param verificationStatus + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** + /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** * @return verificationStatus - **/ + */ @ApiModelProperty(value = "Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** - * - * @param verificationStatus - */ + /** + * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - + /** + * vipps + * + * @param vipps + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod vipps(VippsInfo vipps) { this.vipps = vipps; return this; } - /** - * Get vipps + /** + * vipps * @return vipps - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VIPPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VippsInfo getVipps() { return vipps; } - - /** - * vipps - * - * @param vipps - */ + /** + * vipps + * + * @param vipps + */ @JsonProperty(JSON_PROPERTY_VIPPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVipps(VippsInfo vipps) { this.vipps = vipps; } - + /** + * visa + * + * @param visa + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod visa(GenericPmWithTdiInfo visa) { this.visa = visa; return this; } - /** - * Get visa + /** + * visa * @return visa - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getVisa() { return visa; } - - /** - * visa - * - * @param visa - */ + /** + * visa + * + * @param visa + */ @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisa(GenericPmWithTdiInfo visa) { this.visa = visa; } - + /** + * wechatpay + * + * @param wechatpay + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod wechatpay(WeChatPayInfo wechatpay) { this.wechatpay = wechatpay; return this; } - /** - * Get wechatpay + /** + * wechatpay * @return wechatpay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WECHATPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WeChatPayInfo getWechatpay() { return wechatpay; } - - /** - * wechatpay - * - * @param wechatpay - */ + /** + * wechatpay + * + * @param wechatpay + */ @JsonProperty(JSON_PROPERTY_WECHATPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWechatpay(WeChatPayInfo wechatpay) { this.wechatpay = wechatpay; } - + /** + * wechatpayPos + * + * @param wechatpayPos + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ public PaymentMethod wechatpayPos(WeChatPayPosInfo wechatpayPos) { this.wechatpayPos = wechatpayPos; return this; } - /** - * Get wechatpayPos + /** + * wechatpayPos * @return wechatpayPos - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WECHATPAY_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WeChatPayPosInfo getWechatpayPos() { return wechatpayPos; } - - /** - * wechatpayPos - * - * @param wechatpayPos - */ + /** + * wechatpayPos + * + * @param wechatpayPos + */ @JsonProperty(JSON_PROPERTY_WECHATPAY_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWechatpayPos(WeChatPayPosInfo wechatpayPos) { this.wechatpayPos = wechatpayPos; } - /** * Return true if this PaymentMethod object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java index 47cfaa755..710d49e4a 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java @@ -236,36 +236,45 @@ public static TypesWithErrorsEnum fromValue(String value) { public PaymentMethodResponse() { } + /** + * links + * + * @param links + * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining + */ public PaymentMethodResponse links(PaginationLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaginationLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(PaginationLinks links) { this.links = links; } - + /** + * The list of supported payment methods and their details. + * + * @param data + * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining + */ public PaymentMethodResponse data(List data) { this.data = data; return this; @@ -279,91 +288,100 @@ public PaymentMethodResponse addDataItem(PaymentMethod dataItem) { return this; } - /** + /** * The list of supported payment methods and their details. * @return data - **/ + */ @ApiModelProperty(value = "The list of supported payment methods and their details.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of supported payment methods and their details. - * - * @param data - */ + /** + * The list of supported payment methods and their details. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - + /** + * Total number of items. + * + * @param itemsTotal + * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining + */ public PaymentMethodResponse itemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; return this; } - /** + /** * Total number of items. * @return itemsTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of items.") @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getItemsTotal() { return itemsTotal; } - - /** - * Total number of items. - * - * @param itemsTotal - */ + /** + * Total number of items. + * + * @param itemsTotal + */ @JsonProperty(JSON_PROPERTY_ITEMS_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsTotal(Integer itemsTotal) { this.itemsTotal = itemsTotal; } - + /** + * Total number of pages. + * + * @param pagesTotal + * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining + */ public PaymentMethodResponse pagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; return this; } - /** + /** * Total number of pages. * @return pagesTotal - **/ + */ @ApiModelProperty(required = true, value = "Total number of pages.") @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPagesTotal() { return pagesTotal; } - - /** - * Total number of pages. - * - * @param pagesTotal - */ + /** + * Total number of pages. + * + * @param pagesTotal + */ @JsonProperty(JSON_PROPERTY_PAGES_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPagesTotal(Integer pagesTotal) { this.pagesTotal = pagesTotal; } - + /** + * Payment method types with errors. + * + * @param typesWithErrors + * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining + */ public PaymentMethodResponse typesWithErrors(List typesWithErrors) { this.typesWithErrors = typesWithErrors; return this; @@ -377,31 +395,28 @@ public PaymentMethodResponse addTypesWithErrorsItem(TypesWithErrorsEnum typesWit return this; } - /** + /** * Payment method types with errors. * @return typesWithErrors - **/ + */ @ApiModelProperty(value = "Payment method types with errors.") @JsonProperty(JSON_PROPERTY_TYPES_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTypesWithErrors() { return typesWithErrors; } - - /** - * Payment method types with errors. - * - * @param typesWithErrors - */ + /** + * Payment method types with errors. + * + * @param typesWithErrors + */ @JsonProperty(JSON_PROPERTY_TYPES_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTypesWithErrors(List typesWithErrors) { this.typesWithErrors = typesWithErrors; } - /** * Return true if this PaymentMethodResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java index 2e094cc90..b932036b4 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java @@ -451,246 +451,276 @@ public static TypeEnum fromValue(String value) { public PaymentMethodSetupInfo() { } + /** + * accel + * + * @param accel + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo accel(AccelInfo accel) { this.accel = accel; return this; } - /** - * Get accel + /** + * accel * @return accel - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccelInfo getAccel() { return accel; } - - /** - * accel - * - * @param accel - */ + /** + * accel + * + * @param accel + */ @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccel(AccelInfo accel) { this.accel = accel; } - + /** + * afterpayTouch + * + * @param afterpayTouch + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo afterpayTouch(AfterpayTouchInfo afterpayTouch) { this.afterpayTouch = afterpayTouch; return this; } - /** - * Get afterpayTouch + /** + * afterpayTouch * @return afterpayTouch - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AFTERPAY_TOUCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AfterpayTouchInfo getAfterpayTouch() { return afterpayTouch; } - - /** - * afterpayTouch - * - * @param afterpayTouch - */ + /** + * afterpayTouch + * + * @param afterpayTouch + */ @JsonProperty(JSON_PROPERTY_AFTERPAY_TOUCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAfterpayTouch(AfterpayTouchInfo afterpayTouch) { this.afterpayTouch = afterpayTouch; } - + /** + * amex + * + * @param amex + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo amex(AmexInfo amex) { this.amex = amex; return this; } - /** - * Get amex + /** + * amex * @return amex - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMEX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmexInfo getAmex() { return amex; } - - /** - * amex - * - * @param amex - */ + /** + * amex + * + * @param amex + */ @JsonProperty(JSON_PROPERTY_AMEX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmex(AmexInfo amex) { this.amex = amex; } - + /** + * applePay + * + * @param applePay + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo applePay(ApplePayInfo applePay) { this.applePay = applePay; return this; } - /** - * Get applePay + /** + * applePay * @return applePay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplePayInfo getApplePay() { return applePay; } - - /** - * applePay - * - * @param applePay - */ + /** + * applePay + * + * @param applePay + */ @JsonProperty(JSON_PROPERTY_APPLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplePay(ApplePayInfo applePay) { this.applePay = applePay; } - + /** + * bcmc + * + * @param bcmc + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo bcmc(BcmcInfo bcmc) { this.bcmc = bcmc; return this; } - /** - * Get bcmc + /** + * bcmc * @return bcmc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BcmcInfo getBcmc() { return bcmc; } - - /** - * bcmc - * - * @param bcmc - */ + /** + * bcmc + * + * @param bcmc + */ @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBcmc(BcmcInfo bcmc) { this.bcmc = bcmc; } - + /** + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). + * + * @param businessLineId + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo businessLineId(String businessLineId) { this.businessLineId = businessLineId; return this; } - /** + /** * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * @return businessLineId - **/ + */ @ApiModelProperty(value = "The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBusinessLineId() { return businessLineId; } - - /** - * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). - * - * @param businessLineId - */ + /** + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). + * + * @param businessLineId + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineId(String businessLineId) { this.businessLineId = businessLineId; } - + /** + * cartesBancaires + * + * @param cartesBancaires + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo cartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; return this; } - /** - * Get cartesBancaires + /** + * cartesBancaires * @return cartesBancaires - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CartesBancairesInfo getCartesBancaires() { return cartesBancaires; } - - /** - * cartesBancaires - * - * @param cartesBancaires - */ + /** + * cartesBancaires + * + * @param cartesBancaires + */ @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; } - + /** + * clearpay + * + * @param clearpay + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo clearpay(ClearpayInfo clearpay) { this.clearpay = clearpay; return this; } - /** - * Get clearpay + /** + * clearpay * @return clearpay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CLEARPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ClearpayInfo getClearpay() { return clearpay; } - - /** - * clearpay - * - * @param clearpay - */ + /** + * clearpay + * + * @param clearpay + */ @JsonProperty(JSON_PROPERTY_CLEARPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearpay(ClearpayInfo clearpay) { this.clearpay = clearpay; } - + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo countries(List countries) { this.countries = countries; return this; @@ -704,61 +734,67 @@ public PaymentMethodSetupInfo addCountriesItem(String countriesItem) { return this; } - /** + /** * The list of countries where a payment method is available. By default, all countries supported by the payment method. * @return countries - **/ + */ @ApiModelProperty(value = "The list of countries where a payment method is available. By default, all countries supported by the payment method.") @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCountries() { return countries; } - - /** - * The list of countries where a payment method is available. By default, all countries supported by the payment method. - * - * @param countries - */ + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + */ @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountries(List countries) { this.countries = countries; } - + /** + * cup + * + * @param cup + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo cup(GenericPmWithTdiInfo cup) { this.cup = cup; return this; } - /** - * Get cup + /** + * cup * @return cup - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getCup() { return cup; } - - /** - * cup - * - * @param cup - */ + /** + * cup + * + * @param cup + */ @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCup(GenericPmWithTdiInfo cup) { this.cup = cup; } - + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo currencies(List currencies) { this.currencies = currencies; return this; @@ -772,31 +808,34 @@ public PaymentMethodSetupInfo addCurrenciesItem(String currenciesItem) { return this; } - /** + /** * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. * @return currencies - **/ + */ @ApiModelProperty(value = "The list of currencies that a payment method supports. By default, all currencies supported by the payment method.") @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCurrencies() { return currencies; } - - /** - * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. - * - * @param currencies - */ + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + */ @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencies(List currencies) { this.currencies = currencies; } - + /** + * The list of custom routing flags to route payment to the intended acquirer. + * + * @param customRoutingFlags + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo customRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; return this; @@ -810,691 +849,760 @@ public PaymentMethodSetupInfo addCustomRoutingFlagsItem(String customRoutingFlag return this; } - /** + /** * The list of custom routing flags to route payment to the intended acquirer. * @return customRoutingFlags - **/ + */ @ApiModelProperty(value = "The list of custom routing flags to route payment to the intended acquirer.") @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCustomRoutingFlags() { return customRoutingFlags; } - - /** - * The list of custom routing flags to route payment to the intended acquirer. - * - * @param customRoutingFlags - */ + /** + * The list of custom routing flags to route payment to the intended acquirer. + * + * @param customRoutingFlags + */ @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; } - + /** + * diners + * + * @param diners + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo diners(GenericPmWithTdiInfo diners) { this.diners = diners; return this; } - /** - * Get diners + /** + * diners * @return diners - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiners() { return diners; } - - /** - * diners - * - * @param diners - */ + /** + * diners + * + * @param diners + */ @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiners(GenericPmWithTdiInfo diners) { this.diners = diners; } - + /** + * discover + * + * @param discover + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo discover(GenericPmWithTdiInfo discover) { this.discover = discover; return this; } - /** - * Get discover + /** + * discover * @return discover - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiscover() { return discover; } - - /** - * discover - * - * @param discover - */ + /** + * discover + * + * @param discover + */ @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiscover(GenericPmWithTdiInfo discover) { this.discover = discover; } - + /** + * eftposAustralia + * + * @param eftposAustralia + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; return this; } - /** - * Get eftposAustralia + /** + * eftposAustralia * @return eftposAustralia - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getEftposAustralia() { return eftposAustralia; } - - /** - * eftposAustralia - * - * @param eftposAustralia - */ + /** + * eftposAustralia + * + * @param eftposAustralia + */ @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; } - + /** + * giroPay + * + * @param giroPay + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo giroPay(GiroPayInfo giroPay) { this.giroPay = giroPay; return this; } - /** - * Get giroPay + /** + * giroPay * @return giroPay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIRO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GiroPayInfo getGiroPay() { return giroPay; } - - /** - * giroPay - * - * @param giroPay - */ + /** + * giroPay + * + * @param giroPay + */ @JsonProperty(JSON_PROPERTY_GIRO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiroPay(GiroPayInfo giroPay) { this.giroPay = giroPay; } - + /** + * girocard + * + * @param girocard + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo girocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; return this; } - /** - * Get girocard + /** + * girocard * @return girocard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getGirocard() { return girocard; } - - /** - * girocard - * - * @param girocard - */ + /** + * girocard + * + * @param girocard + */ @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGirocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; } - + /** + * googlePay + * + * @param googlePay + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo googlePay(GooglePayInfo googlePay) { this.googlePay = googlePay; return this; } - /** - * Get googlePay + /** + * googlePay * @return googlePay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GOOGLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GooglePayInfo getGooglePay() { return googlePay; } - - /** - * googlePay - * - * @param googlePay - */ + /** + * googlePay + * + * @param googlePay + */ @JsonProperty(JSON_PROPERTY_GOOGLE_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGooglePay(GooglePayInfo googlePay) { this.googlePay = googlePay; } - + /** + * ideal + * + * @param ideal + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo ideal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; return this; } - /** - * Get ideal + /** + * ideal * @return ideal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getIdeal() { return ideal; } - - /** - * ideal - * - * @param ideal - */ + /** + * ideal + * + * @param ideal + */ @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdeal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; } - + /** + * interacCard + * + * @param interacCard + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo interacCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; return this; } - /** - * Get interacCard + /** + * interacCard * @return interacCard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getInteracCard() { return interacCard; } - - /** - * interacCard - * - * @param interacCard - */ + /** + * interacCard + * + * @param interacCard + */ @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInteracCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; } - + /** + * jcb + * + * @param jcb + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo jcb(JCBInfo jcb) { this.jcb = jcb; return this; } - /** - * Get jcb + /** + * jcb * @return jcb - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JCBInfo getJcb() { return jcb; } - - /** - * jcb - * - * @param jcb - */ + /** + * jcb + * + * @param jcb + */ @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJcb(JCBInfo jcb) { this.jcb = jcb; } - + /** + * klarna + * + * @param klarna + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo klarna(KlarnaInfo klarna) { this.klarna = klarna; return this; } - /** - * Get klarna + /** + * klarna * @return klarna - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_KLARNA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public KlarnaInfo getKlarna() { return klarna; } - - /** - * klarna - * - * @param klarna - */ + /** + * klarna + * + * @param klarna + */ @JsonProperty(JSON_PROPERTY_KLARNA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKlarna(KlarnaInfo klarna) { this.klarna = klarna; } - + /** + * maestro + * + * @param maestro + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo maestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; return this; } - /** - * Get maestro + /** + * maestro * @return maestro - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMaestro() { return maestro; } - - /** - * maestro - * - * @param maestro - */ + /** + * maestro + * + * @param maestro + */ @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; } - + /** + * mc + * + * @param mc + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo mc(GenericPmWithTdiInfo mc) { this.mc = mc; return this; } - /** - * Get mc + /** + * mc * @return mc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMc() { return mc; } - - /** - * mc - * - * @param mc - */ + /** + * mc + * + * @param mc + */ @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMc(GenericPmWithTdiInfo mc) { this.mc = mc; } - + /** + * mealVoucherFR + * + * @param mealVoucherFR + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo mealVoucherFR(MealVoucherFRInfo mealVoucherFR) { this.mealVoucherFR = mealVoucherFR; return this; } - /** - * Get mealVoucherFR + /** + * mealVoucherFR * @return mealVoucherFR - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MEAL_VOUCHER_F_R) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MealVoucherFRInfo getMealVoucherFR() { return mealVoucherFR; } - - /** - * mealVoucherFR - * - * @param mealVoucherFR - */ + /** + * mealVoucherFR + * + * @param mealVoucherFR + */ @JsonProperty(JSON_PROPERTY_MEAL_VOUCHER_F_R) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMealVoucherFR(MealVoucherFRInfo mealVoucherFR) { this.mealVoucherFR = mealVoucherFR; } - + /** + * nyce + * + * @param nyce + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo nyce(NyceInfo nyce) { this.nyce = nyce; return this; } - /** - * Get nyce + /** + * nyce * @return nyce - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NyceInfo getNyce() { return nyce; } - - /** - * nyce - * - * @param nyce - */ + /** + * nyce + * + * @param nyce + */ @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNyce(NyceInfo nyce) { this.nyce = nyce; } - + /** + * payme + * + * @param payme + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo payme(PayMeInfo payme) { this.payme = payme; return this; } - /** - * Get payme + /** + * payme * @return payme - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PayMeInfo getPayme() { return payme; } - - /** - * payme - * - * @param payme - */ + /** + * payme + * + * @param payme + */ @JsonProperty(JSON_PROPERTY_PAYME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayme(PayMeInfo payme) { this.payme = payme; } - + /** + * paypal + * + * @param paypal + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo paypal(PayPalInfo paypal) { this.paypal = paypal; return this; } - /** - * Get paypal + /** + * paypal * @return paypal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PayPalInfo getPaypal() { return paypal; } - - /** - * paypal - * - * @param paypal - */ + /** + * paypal + * + * @param paypal + */ @JsonProperty(JSON_PROPERTY_PAYPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaypal(PayPalInfo paypal) { this.paypal = paypal; } - + /** + * pulse + * + * @param pulse + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo pulse(PulseInfo pulse) { this.pulse = pulse; return this; } - /** - * Get pulse + /** + * pulse * @return pulse - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PulseInfo getPulse() { return pulse; } - - /** - * pulse - * - * @param pulse - */ + /** + * pulse + * + * @param pulse + */ @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPulse(PulseInfo pulse) { this.pulse = pulse; } - + /** + * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. + * + * @param reference + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment method. Supported characters a-z, A-Z, 0-9.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. - * - * @param reference - */ + /** + * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. + * + * @param shopperInteraction + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. ") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. - * - * @param shopperInteraction - */ + /** + * The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * sodexo + * + * @param sodexo + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo sodexo(SodexoInfo sodexo) { this.sodexo = sodexo; return this; } - /** - * Get sodexo + /** + * sodexo * @return sodexo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SODEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SodexoInfo getSodexo() { return sodexo; } - - /** - * sodexo - * - * @param sodexo - */ + /** + * sodexo + * + * @param sodexo + */ @JsonProperty(JSON_PROPERTY_SODEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSodexo(SodexoInfo sodexo) { this.sodexo = sodexo; } - + /** + * sofort + * + * @param sofort + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo sofort(SofortInfo sofort) { this.sofort = sofort; return this; } - /** - * Get sofort + /** + * sofort * @return sofort - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SOFORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SofortInfo getSofort() { return sofort; } - - /** - * sofort - * - * @param sofort - */ + /** + * sofort + * + * @param sofort + */ @JsonProperty(JSON_PROPERTY_SOFORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSofort(SofortInfo sofort) { this.sofort = sofort; } - + /** + * star + * + * @param star + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo star(StarInfo star) { this.star = star; return this; } - /** - * Get star + /** + * star * @return star - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StarInfo getStar() { return star; } - - /** - * star - * - * @param star - */ + /** + * star + * + * @param star + */ @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStar(StarInfo star) { this.star = star; } - + /** + * The unique identifier of the store for which to configure the payment method, if any. + * + * @param storeIds + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo storeIds(List storeIds) { this.storeIds = storeIds; return this; @@ -1508,271 +1616,292 @@ public PaymentMethodSetupInfo addStoreIdsItem(String storeIdsItem) { return this; } - /** + /** * The unique identifier of the store for which to configure the payment method, if any. * @return storeIds - **/ + */ @ApiModelProperty(value = "The unique identifier of the store for which to configure the payment method, if any.") @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStoreIds() { return storeIds; } - - /** - * The unique identifier of the store for which to configure the payment method, if any. - * - * @param storeIds - */ + /** + * The unique identifier of the store for which to configure the payment method, if any. + * + * @param storeIds + */ @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreIds(List storeIds) { this.storeIds = storeIds; } - + /** + * swish + * + * @param swish + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo swish(SwishInfo swish) { this.swish = swish; return this; } - /** - * Get swish + /** + * swish * @return swish - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SWISH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SwishInfo getSwish() { return swish; } - - /** - * swish - * - * @param swish - */ + /** + * swish + * + * @param swish + */ @JsonProperty(JSON_PROPERTY_SWISH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSwish(SwishInfo swish) { this.swish = swish; } - + /** + * ticket + * + * @param ticket + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo ticket(TicketInfo ticket) { this.ticket = ticket; return this; } - /** - * Get ticket + /** + * ticket * @return ticket - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TICKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TicketInfo getTicket() { return ticket; } - - /** - * ticket - * - * @param ticket - */ + /** + * ticket + * + * @param ticket + */ @JsonProperty(JSON_PROPERTY_TICKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTicket(TicketInfo ticket) { this.ticket = ticket; } - + /** + * twint + * + * @param twint + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo twint(TwintInfo twint) { this.twint = twint; return this; } - /** - * Get twint + /** + * twint * @return twint - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TWINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TwintInfo getTwint() { return twint; } - - /** - * twint - * - * @param twint - */ + /** + * twint + * + * @param twint + */ @JsonProperty(JSON_PROPERTY_TWINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTwint(TwintInfo twint) { this.twint = twint; } - + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). * @return type - **/ + */ @ApiModelProperty(required = true, value = "Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). - * - * @param type - */ + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * vipps + * + * @param vipps + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo vipps(VippsInfo vipps) { this.vipps = vipps; return this; } - /** - * Get vipps + /** + * vipps * @return vipps - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VIPPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VippsInfo getVipps() { return vipps; } - - /** - * vipps - * - * @param vipps - */ + /** + * vipps + * + * @param vipps + */ @JsonProperty(JSON_PROPERTY_VIPPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVipps(VippsInfo vipps) { this.vipps = vipps; } - + /** + * visa + * + * @param visa + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo visa(GenericPmWithTdiInfo visa) { this.visa = visa; return this; } - /** - * Get visa + /** + * visa * @return visa - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getVisa() { return visa; } - - /** - * visa - * - * @param visa - */ + /** + * visa + * + * @param visa + */ @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisa(GenericPmWithTdiInfo visa) { this.visa = visa; } - + /** + * wechatpay + * + * @param wechatpay + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo wechatpay(WeChatPayInfo wechatpay) { this.wechatpay = wechatpay; return this; } - /** - * Get wechatpay + /** + * wechatpay * @return wechatpay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WECHATPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WeChatPayInfo getWechatpay() { return wechatpay; } - - /** - * wechatpay - * - * @param wechatpay - */ + /** + * wechatpay + * + * @param wechatpay + */ @JsonProperty(JSON_PROPERTY_WECHATPAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWechatpay(WeChatPayInfo wechatpay) { this.wechatpay = wechatpay; } - + /** + * wechatpayPos + * + * @param wechatpayPos + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ public PaymentMethodSetupInfo wechatpayPos(WeChatPayPosInfo wechatpayPos) { this.wechatpayPos = wechatpayPos; return this; } - /** - * Get wechatpayPos + /** + * wechatpayPos * @return wechatpayPos - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WECHATPAY_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WeChatPayPosInfo getWechatpayPos() { return wechatpayPos; } - - /** - * wechatpayPos - * - * @param wechatpayPos - */ + /** + * wechatpayPos + * + * @param wechatpayPos + */ @JsonProperty(JSON_PROPERTY_WECHATPAY_POS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWechatpayPos(WeChatPayPosInfo wechatpayPos) { this.wechatpayPos = wechatpayPos; } - /** * Return true if this PaymentMethodSetupInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayoutSettings.java b/src/main/java/com/adyen/model/management/PayoutSettings.java index 5e26f4557..9cb06c9ff 100644 --- a/src/main/java/com/adyen/model/management/PayoutSettings.java +++ b/src/main/java/com/adyen/model/management/PayoutSettings.java @@ -141,216 +141,237 @@ public static VerificationStatusEnum fromValue(String value) { public PayoutSettings() { } + /** + * Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values. + * + * @param allowed + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** - * Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values. + /** + * Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values. - * - * @param allowed - */ + /** + * Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. - * - * @param enabled - */ + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + * + * @param enabledFromDate + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings enabledFromDate(String enabledFromDate) { this.enabledFromDate = enabledFromDate; return this; } - /** - * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. * @return enabledFromDate - **/ + */ @ApiModelProperty(value = "The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**.") @JsonProperty(JSON_PROPERTY_ENABLED_FROM_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnabledFromDate() { return enabledFromDate; } - - /** - * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. - * - * @param enabledFromDate - */ + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + * + * @param enabledFromDate + */ @JsonProperty(JSON_PROPERTY_ENABLED_FROM_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabledFromDate(String enabledFromDate) { this.enabledFromDate = enabledFromDate; } - + /** + * The unique identifier of the payout setting. + * + * @param id + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the payout setting. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the payout setting.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the payout setting. - * - * @param id - */ + /** + * The unique identifier of the payout setting. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days. + * + * @param priority + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings priority(PriorityEnum priority) { this.priority = priority; return this; } - /** + /** * Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days. * @return priority - **/ + */ @ApiModelProperty(value = "Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days.") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days. - * - * @param priority - */ + /** + * Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days. + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. + * + * @param transferInstrumentId + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. * @return transferInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - + /** + * The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity. + * + * @param verificationStatus + * @return the current {@code PayoutSettings} instance, allowing for method chaining + */ public PayoutSettings verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** + /** * The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity.") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity. - * - * @param verificationStatus - */ + /** + * The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this PayoutSettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayoutSettingsRequest.java b/src/main/java/com/adyen/model/management/PayoutSettingsRequest.java index 07c08d914..a92379c58 100644 --- a/src/main/java/com/adyen/model/management/PayoutSettingsRequest.java +++ b/src/main/java/com/adyen/model/management/PayoutSettingsRequest.java @@ -49,96 +49,105 @@ public class PayoutSettingsRequest { public PayoutSettingsRequest() { } + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + * @return the current {@code PayoutSettingsRequest} instance, allowing for method chaining + */ public PayoutSettingsRequest enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. - * - * @param enabled - */ + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + * + * @param enabledFromDate + * @return the current {@code PayoutSettingsRequest} instance, allowing for method chaining + */ public PayoutSettingsRequest enabledFromDate(String enabledFromDate) { this.enabledFromDate = enabledFromDate; return this; } - /** - * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. * @return enabledFromDate - **/ + */ @ApiModelProperty(value = "The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**.") @JsonProperty(JSON_PROPERTY_ENABLED_FROM_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnabledFromDate() { return enabledFromDate; } - - /** - * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. - * - * @param enabledFromDate - */ + /** + * The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**. + * + * @param enabledFromDate + */ @JsonProperty(JSON_PROPERTY_ENABLED_FROM_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabledFromDate(String enabledFromDate) { this.enabledFromDate = enabledFromDate; } - + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. + * + * @param transferInstrumentId + * @return the current {@code PayoutSettingsRequest} instance, allowing for method chaining + */ public PayoutSettingsRequest transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. * @return transferInstrumentId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this PayoutSettingsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PayoutSettingsResponse.java b/src/main/java/com/adyen/model/management/PayoutSettingsResponse.java index 0d7ae5a38..f7cf82885 100644 --- a/src/main/java/com/adyen/model/management/PayoutSettingsResponse.java +++ b/src/main/java/com/adyen/model/management/PayoutSettingsResponse.java @@ -44,6 +44,12 @@ public class PayoutSettingsResponse { public PayoutSettingsResponse() { } + /** + * The list of payout accounts. + * + * @param data + * @return the current {@code PayoutSettingsResponse} instance, allowing for method chaining + */ public PayoutSettingsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public PayoutSettingsResponse addDataItem(PayoutSettings dataItem) { return this; } - /** + /** * The list of payout accounts. * @return data - **/ + */ @ApiModelProperty(value = "The list of payout accounts.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The list of payout accounts. - * - * @param data - */ + /** + * The list of payout accounts. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this PayoutSettingsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Profile.java b/src/main/java/com/adyen/model/management/Profile.java index 9f1dae24e..8a1921628 100644 --- a/src/main/java/com/adyen/model/management/Profile.java +++ b/src/main/java/com/adyen/model/management/Profile.java @@ -110,546 +110,600 @@ public class Profile { public Profile() { } + /** + * The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**. + * + * @param authType + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile authType(String authType) { this.authType = authType; return this; } - /** + /** * The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**. * @return authType - **/ + */ @ApiModelProperty(required = true, value = "The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**.") @JsonProperty(JSON_PROPERTY_AUTH_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthType() { return authType; } - - /** - * The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**. - * - * @param authType - */ + /** + * The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**. + * + * @param authType + */ @JsonProperty(JSON_PROPERTY_AUTH_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthType(String authType) { this.authType = authType; } - + /** + * Indicates whether to automatically select the best authentication method available. Does not work on older terminal models. + * + * @param autoWifi + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile autoWifi(Boolean autoWifi) { this.autoWifi = autoWifi; return this; } - /** + /** * Indicates whether to automatically select the best authentication method available. Does not work on older terminal models. * @return autoWifi - **/ + */ @ApiModelProperty(value = "Indicates whether to automatically select the best authentication method available. Does not work on older terminal models.") @JsonProperty(JSON_PROPERTY_AUTO_WIFI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAutoWifi() { return autoWifi; } - - /** - * Indicates whether to automatically select the best authentication method available. Does not work on older terminal models. - * - * @param autoWifi - */ + /** + * Indicates whether to automatically select the best authentication method available. Does not work on older terminal models. + * + * @param autoWifi + */ @JsonProperty(JSON_PROPERTY_AUTO_WIFI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAutoWifi(Boolean autoWifi) { this.autoWifi = autoWifi; } - + /** + * Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations. + * + * @param bssType + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile bssType(String bssType) { this.bssType = bssType; return this; } - /** + /** * Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations. * @return bssType - **/ + */ @ApiModelProperty(required = true, value = "Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations.") @JsonProperty(JSON_PROPERTY_BSS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBssType() { return bssType; } - - /** - * Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations. - * - * @param bssType - */ + /** + * Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations. + * + * @param bssType + */ @JsonProperty(JSON_PROPERTY_BSS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBssType(String bssType) { this.bssType = bssType; } - + /** + * The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection. + * + * @param channel + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile channel(Integer channel) { this.channel = channel; return this; } - /** + /** * The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection. * @return channel - **/ + */ @ApiModelProperty(value = "The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection.") @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getChannel() { return channel; } - - /** - * The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection. - * - * @param channel - */ + /** + * The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection. + * + * @param channel + */ @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChannel(Integer channel) { this.channel = channel; } - + /** + * Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first. + * + * @param defaultProfile + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile defaultProfile(Boolean defaultProfile) { this.defaultProfile = defaultProfile; return this; } - /** + /** * Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first. * @return defaultProfile - **/ + */ @ApiModelProperty(value = "Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first.") @JsonProperty(JSON_PROPERTY_DEFAULT_PROFILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDefaultProfile() { return defaultProfile; } - - /** - * Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first. - * - * @param defaultProfile - */ + /** + * Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first. + * + * @param defaultProfile + */ @JsonProperty(JSON_PROPERTY_DEFAULT_PROFILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDefaultProfile(Boolean defaultProfile) { this.defaultProfile = defaultProfile; } - + /** + * For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast** + * + * @param eap + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eap(String eap) { this.eap = eap; return this; } - /** - * For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast** + /** + * For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast** * @return eap - **/ + */ @ApiModelProperty(value = "For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast**") @JsonProperty(JSON_PROPERTY_EAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEap() { return eap; } - - /** - * For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast** - * - * @param eap - */ + /** + * For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast** + * + * @param eap + */ @JsonProperty(JSON_PROPERTY_EAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEap(String eap) { this.eap = eap; } - + /** + * eapCaCert + * + * @param eapCaCert + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapCaCert(ModelFile eapCaCert) { this.eapCaCert = eapCaCert; return this; } - /** - * Get eapCaCert + /** + * eapCaCert * @return eapCaCert - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EAP_CA_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelFile getEapCaCert() { return eapCaCert; } - - /** - * eapCaCert - * - * @param eapCaCert - */ + /** + * eapCaCert + * + * @param eapCaCert + */ @JsonProperty(JSON_PROPERTY_EAP_CA_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapCaCert(ModelFile eapCaCert) { this.eapCaCert = eapCaCert; } - + /** + * eapClientCert + * + * @param eapClientCert + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapClientCert(ModelFile eapClientCert) { this.eapClientCert = eapClientCert; return this; } - /** - * Get eapClientCert + /** + * eapClientCert * @return eapClientCert - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EAP_CLIENT_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelFile getEapClientCert() { return eapClientCert; } - - /** - * eapClientCert - * - * @param eapClientCert - */ + /** + * eapClientCert + * + * @param eapClientCert + */ @JsonProperty(JSON_PROPERTY_EAP_CLIENT_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapClientCert(ModelFile eapClientCert) { this.eapClientCert = eapClientCert; } - + /** + * eapClientKey + * + * @param eapClientKey + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapClientKey(ModelFile eapClientKey) { this.eapClientKey = eapClientKey; return this; } - /** - * Get eapClientKey + /** + * eapClientKey * @return eapClientKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EAP_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelFile getEapClientKey() { return eapClientKey; } - - /** - * eapClientKey - * - * @param eapClientKey - */ + /** + * eapClientKey + * + * @param eapClientKey + */ @JsonProperty(JSON_PROPERTY_EAP_CLIENT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapClientKey(ModelFile eapClientKey) { this.eapClientKey = eapClientKey; } - + /** + * For `eap` **tls**. The password of the RSA key file, if that file is password-protected. + * + * @param eapClientPwd + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapClientPwd(String eapClientPwd) { this.eapClientPwd = eapClientPwd; return this; } - /** - * For `eap` **tls**. The password of the RSA key file, if that file is password-protected. + /** + * For `eap` **tls**. The password of the RSA key file, if that file is password-protected. * @return eapClientPwd - **/ + */ @ApiModelProperty(value = "For `eap` **tls**. The password of the RSA key file, if that file is password-protected.") @JsonProperty(JSON_PROPERTY_EAP_CLIENT_PWD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEapClientPwd() { return eapClientPwd; } - - /** - * For `eap` **tls**. The password of the RSA key file, if that file is password-protected. - * - * @param eapClientPwd - */ + /** + * For `eap` **tls**. The password of the RSA key file, if that file is password-protected. + * + * @param eapClientPwd + */ @JsonProperty(JSON_PROPERTY_EAP_CLIENT_PWD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapClientPwd(String eapClientPwd) { this.eapClientPwd = eapClientPwd; } - + /** + * For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server. + * + * @param eapIdentity + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapIdentity(String eapIdentity) { this.eapIdentity = eapIdentity; return this; } - /** - * For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server. + /** + * For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server. * @return eapIdentity - **/ + */ @ApiModelProperty(value = "For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server.") @JsonProperty(JSON_PROPERTY_EAP_IDENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEapIdentity() { return eapIdentity; } - - /** - * For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server. - * - * @param eapIdentity - */ + /** + * For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server. + * + * @param eapIdentity + */ @JsonProperty(JSON_PROPERTY_EAP_IDENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapIdentity(String eapIdentity) { this.eapIdentity = eapIdentity; } - + /** + * eapIntermediateCert + * + * @param eapIntermediateCert + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapIntermediateCert(ModelFile eapIntermediateCert) { this.eapIntermediateCert = eapIntermediateCert; return this; } - /** - * Get eapIntermediateCert + /** + * eapIntermediateCert * @return eapIntermediateCert - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EAP_INTERMEDIATE_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelFile getEapIntermediateCert() { return eapIntermediateCert; } - - /** - * eapIntermediateCert - * - * @param eapIntermediateCert - */ + /** + * eapIntermediateCert + * + * @param eapIntermediateCert + */ @JsonProperty(JSON_PROPERTY_EAP_INTERMEDIATE_CERT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapIntermediateCert(ModelFile eapIntermediateCert) { this.eapIntermediateCert = eapIntermediateCert; } - + /** + * For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server. + * + * @param eapPwd + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile eapPwd(String eapPwd) { this.eapPwd = eapPwd; return this; } - /** - * For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server. + /** + * For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server. * @return eapPwd - **/ + */ @ApiModelProperty(value = "For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server.") @JsonProperty(JSON_PROPERTY_EAP_PWD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEapPwd() { return eapPwd; } - - /** - * For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server. - * - * @param eapPwd - */ + /** + * For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server. + * + * @param eapPwd + */ @JsonProperty(JSON_PROPERTY_EAP_PWD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEapPwd(String eapPwd) { this.eapPwd = eapPwd; } - + /** + * Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network. + * + * @param hiddenSsid + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile hiddenSsid(Boolean hiddenSsid) { this.hiddenSsid = hiddenSsid; return this; } - /** - * Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network. + /** + * Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network. * @return hiddenSsid - **/ + */ @ApiModelProperty(value = "Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network.") @JsonProperty(JSON_PROPERTY_HIDDEN_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHiddenSsid() { return hiddenSsid; } - - /** - * Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network. - * - * @param hiddenSsid - */ + /** + * Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network. + * + * @param hiddenSsid + */ @JsonProperty(JSON_PROPERTY_HIDDEN_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHiddenSsid(Boolean hiddenSsid) { this.hiddenSsid = hiddenSsid; } - + /** + * Your name for the Wi-Fi profile. + * + * @param name + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile name(String name) { this.name = name; return this; } - /** + /** * Your name for the Wi-Fi profile. * @return name - **/ + */ @ApiModelProperty(value = "Your name for the Wi-Fi profile.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Your name for the Wi-Fi profile. - * - * @param name - */ + /** + * Your name for the Wi-Fi profile. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network. + * + * @param psk + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile psk(String psk) { this.psk = psk; return this; } - /** - * For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network. + /** + * For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network. * @return psk - **/ + */ @ApiModelProperty(value = "For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network.") @JsonProperty(JSON_PROPERTY_PSK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPsk() { return psk; } - - /** - * For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network. - * - * @param psk - */ + /** + * For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network. + * + * @param psk + */ @JsonProperty(JSON_PROPERTY_PSK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPsk(String psk) { this.psk = psk; } - + /** + * The name of the wireless network. + * + * @param ssid + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile ssid(String ssid) { this.ssid = ssid; return this; } - /** + /** * The name of the wireless network. * @return ssid - **/ + */ @ApiModelProperty(required = true, value = "The name of the wireless network.") @JsonProperty(JSON_PROPERTY_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSsid() { return ssid; } - - /** - * The name of the wireless network. - * - * @param ssid - */ + /** + * The name of the wireless network. + * + * @param ssid + */ @JsonProperty(JSON_PROPERTY_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSsid(String ssid) { this.ssid = ssid; } - + /** + * The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip** + * + * @param wsec + * @return the current {@code Profile} instance, allowing for method chaining + */ public Profile wsec(String wsec) { this.wsec = wsec; return this; } - /** + /** * The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip** * @return wsec - **/ + */ @ApiModelProperty(required = true, value = "The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip**") @JsonProperty(JSON_PROPERTY_WSEC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWsec() { return wsec; } - - /** - * The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip** - * - * @param wsec - */ + /** + * The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip** + * + * @param wsec + */ @JsonProperty(JSON_PROPERTY_WSEC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWsec(String wsec) { this.wsec = wsec; } - /** * Return true if this Profile object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/PulseInfo.java b/src/main/java/com/adyen/model/management/PulseInfo.java index 586da6089..2c6b787ae 100644 --- a/src/main/java/com/adyen/model/management/PulseInfo.java +++ b/src/main/java/com/adyen/model/management/PulseInfo.java @@ -83,66 +83,72 @@ public static ProcessingTypeEnum fromValue(String value) { public PulseInfo() { } + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + * @return the current {@code PulseInfo} instance, allowing for method chaining + */ public PulseInfo processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. * @return processingType - **/ + */ @ApiModelProperty(required = true, value = "The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. ") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. - * - * @param processingType - */ + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code PulseInfo} instance, allowing for method chaining + */ public PulseInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this PulseInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ReceiptOptions.java b/src/main/java/com/adyen/model/management/ReceiptOptions.java index 8f875df3c..ab7b63f8e 100644 --- a/src/main/java/com/adyen/model/management/ReceiptOptions.java +++ b/src/main/java/com/adyen/model/management/ReceiptOptions.java @@ -49,96 +49,105 @@ public class ReceiptOptions { public ReceiptOptions() { } + /** + * The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. + * + * @param logo + * @return the current {@code ReceiptOptions} instance, allowing for method chaining + */ public ReceiptOptions logo(String logo) { this.logo = logo; return this; } - /** - * The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. + /** + * The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. * @return logo - **/ + */ @ApiModelProperty(value = "The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px.") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogo() { return logo; } - - /** - * The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. - * - * @param logo - */ + /** + * The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. + * + * @param logo + */ @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(String logo) { this.logo = logo; } - + /** + * Indicates whether a screen appears asking if you want to print the shopper receipt. + * + * @param promptBeforePrinting + * @return the current {@code ReceiptOptions} instance, allowing for method chaining + */ public ReceiptOptions promptBeforePrinting(Boolean promptBeforePrinting) { this.promptBeforePrinting = promptBeforePrinting; return this; } - /** + /** * Indicates whether a screen appears asking if you want to print the shopper receipt. * @return promptBeforePrinting - **/ + */ @ApiModelProperty(value = "Indicates whether a screen appears asking if you want to print the shopper receipt.") @JsonProperty(JSON_PROPERTY_PROMPT_BEFORE_PRINTING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPromptBeforePrinting() { return promptBeforePrinting; } - - /** - * Indicates whether a screen appears asking if you want to print the shopper receipt. - * - * @param promptBeforePrinting - */ + /** + * Indicates whether a screen appears asking if you want to print the shopper receipt. + * + * @param promptBeforePrinting + */ @JsonProperty(JSON_PROPERTY_PROMPT_BEFORE_PRINTING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPromptBeforePrinting(Boolean promptBeforePrinting) { this.promptBeforePrinting = promptBeforePrinting; } - + /** + * Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**. + * + * @param qrCodeData + * @return the current {@code ReceiptOptions} instance, allowing for method chaining + */ public ReceiptOptions qrCodeData(String qrCodeData) { this.qrCodeData = qrCodeData; return this; } - /** - * Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**. + /** + * Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**. * @return qrCodeData - **/ + */ @ApiModelProperty(value = "Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**.") @JsonProperty(JSON_PROPERTY_QR_CODE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getQrCodeData() { return qrCodeData; } - - /** - * Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**. - * - * @param qrCodeData - */ + /** + * Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP reference of the transaction. For example, **http://www.example.com/order/${pspreference}/${merchantreference}**. + * + * @param qrCodeData + */ @JsonProperty(JSON_PROPERTY_QR_CODE_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setQrCodeData(String qrCodeData) { this.qrCodeData = qrCodeData; } - /** * Return true if this ReceiptOptions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ReceiptPrinting.java b/src/main/java/com/adyen/model/management/ReceiptPrinting.java index 40b8e31d6..7421cc776 100644 --- a/src/main/java/com/adyen/model/management/ReceiptPrinting.java +++ b/src/main/java/com/adyen/model/management/ReceiptPrinting.java @@ -101,486 +101,534 @@ public class ReceiptPrinting { public ReceiptPrinting() { } + /** + * Print a merchant receipt when the payment is approved. + * + * @param merchantApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantApproved(Boolean merchantApproved) { this.merchantApproved = merchantApproved; return this; } - /** + /** * Print a merchant receipt when the payment is approved. * @return merchantApproved - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when the payment is approved.") @JsonProperty(JSON_PROPERTY_MERCHANT_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantApproved() { return merchantApproved; } - - /** - * Print a merchant receipt when the payment is approved. - * - * @param merchantApproved - */ + /** + * Print a merchant receipt when the payment is approved. + * + * @param merchantApproved + */ @JsonProperty(JSON_PROPERTY_MERCHANT_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantApproved(Boolean merchantApproved) { this.merchantApproved = merchantApproved; } - + /** + * Print a merchant receipt when the transaction is cancelled. + * + * @param merchantCancelled + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantCancelled(Boolean merchantCancelled) { this.merchantCancelled = merchantCancelled; return this; } - /** + /** * Print a merchant receipt when the transaction is cancelled. * @return merchantCancelled - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when the transaction is cancelled.") @JsonProperty(JSON_PROPERTY_MERCHANT_CANCELLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantCancelled() { return merchantCancelled; } - - /** - * Print a merchant receipt when the transaction is cancelled. - * - * @param merchantCancelled - */ + /** + * Print a merchant receipt when the transaction is cancelled. + * + * @param merchantCancelled + */ @JsonProperty(JSON_PROPERTY_MERCHANT_CANCELLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantCancelled(Boolean merchantCancelled) { this.merchantCancelled = merchantCancelled; } - + /** + * Print a merchant receipt when capturing the payment is approved. + * + * @param merchantCaptureApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantCaptureApproved(Boolean merchantCaptureApproved) { this.merchantCaptureApproved = merchantCaptureApproved; return this; } - /** + /** * Print a merchant receipt when capturing the payment is approved. * @return merchantCaptureApproved - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when capturing the payment is approved.") @JsonProperty(JSON_PROPERTY_MERCHANT_CAPTURE_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantCaptureApproved() { return merchantCaptureApproved; } - - /** - * Print a merchant receipt when capturing the payment is approved. - * - * @param merchantCaptureApproved - */ + /** + * Print a merchant receipt when capturing the payment is approved. + * + * @param merchantCaptureApproved + */ @JsonProperty(JSON_PROPERTY_MERCHANT_CAPTURE_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantCaptureApproved(Boolean merchantCaptureApproved) { this.merchantCaptureApproved = merchantCaptureApproved; } - + /** + * Print a merchant receipt when capturing the payment is refused. + * + * @param merchantCaptureRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantCaptureRefused(Boolean merchantCaptureRefused) { this.merchantCaptureRefused = merchantCaptureRefused; return this; } - /** + /** * Print a merchant receipt when capturing the payment is refused. * @return merchantCaptureRefused - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when capturing the payment is refused.") @JsonProperty(JSON_PROPERTY_MERCHANT_CAPTURE_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantCaptureRefused() { return merchantCaptureRefused; } - - /** - * Print a merchant receipt when capturing the payment is refused. - * - * @param merchantCaptureRefused - */ + /** + * Print a merchant receipt when capturing the payment is refused. + * + * @param merchantCaptureRefused + */ @JsonProperty(JSON_PROPERTY_MERCHANT_CAPTURE_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantCaptureRefused(Boolean merchantCaptureRefused) { this.merchantCaptureRefused = merchantCaptureRefused; } - + /** + * Print a merchant receipt when the refund is approved. + * + * @param merchantRefundApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantRefundApproved(Boolean merchantRefundApproved) { this.merchantRefundApproved = merchantRefundApproved; return this; } - /** + /** * Print a merchant receipt when the refund is approved. * @return merchantRefundApproved - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when the refund is approved.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantRefundApproved() { return merchantRefundApproved; } - - /** - * Print a merchant receipt when the refund is approved. - * - * @param merchantRefundApproved - */ + /** + * Print a merchant receipt when the refund is approved. + * + * @param merchantRefundApproved + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRefundApproved(Boolean merchantRefundApproved) { this.merchantRefundApproved = merchantRefundApproved; } - + /** + * Print a merchant receipt when the refund is refused. + * + * @param merchantRefundRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantRefundRefused(Boolean merchantRefundRefused) { this.merchantRefundRefused = merchantRefundRefused; return this; } - /** + /** * Print a merchant receipt when the refund is refused. * @return merchantRefundRefused - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when the refund is refused.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantRefundRefused() { return merchantRefundRefused; } - - /** - * Print a merchant receipt when the refund is refused. - * - * @param merchantRefundRefused - */ + /** + * Print a merchant receipt when the refund is refused. + * + * @param merchantRefundRefused + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFUND_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRefundRefused(Boolean merchantRefundRefused) { this.merchantRefundRefused = merchantRefundRefused; } - + /** + * Print a merchant receipt when the payment is refused. + * + * @param merchantRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantRefused(Boolean merchantRefused) { this.merchantRefused = merchantRefused; return this; } - /** + /** * Print a merchant receipt when the payment is refused. * @return merchantRefused - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when the payment is refused.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantRefused() { return merchantRefused; } - - /** - * Print a merchant receipt when the payment is refused. - * - * @param merchantRefused - */ + /** + * Print a merchant receipt when the payment is refused. + * + * @param merchantRefused + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRefused(Boolean merchantRefused) { this.merchantRefused = merchantRefused; } - + /** + * Print a merchant receipt when a previous transaction is voided. + * + * @param merchantVoid + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting merchantVoid(Boolean merchantVoid) { this.merchantVoid = merchantVoid; return this; } - /** + /** * Print a merchant receipt when a previous transaction is voided. * @return merchantVoid - **/ + */ @ApiModelProperty(value = "Print a merchant receipt when a previous transaction is voided.") @JsonProperty(JSON_PROPERTY_MERCHANT_VOID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantVoid() { return merchantVoid; } - - /** - * Print a merchant receipt when a previous transaction is voided. - * - * @param merchantVoid - */ + /** + * Print a merchant receipt when a previous transaction is voided. + * + * @param merchantVoid + */ @JsonProperty(JSON_PROPERTY_MERCHANT_VOID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantVoid(Boolean merchantVoid) { this.merchantVoid = merchantVoid; } - + /** + * Print a shopper receipt when the payment is approved. + * + * @param shopperApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperApproved(Boolean shopperApproved) { this.shopperApproved = shopperApproved; return this; } - /** + /** * Print a shopper receipt when the payment is approved. * @return shopperApproved - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when the payment is approved.") @JsonProperty(JSON_PROPERTY_SHOPPER_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperApproved() { return shopperApproved; } - - /** - * Print a shopper receipt when the payment is approved. - * - * @param shopperApproved - */ + /** + * Print a shopper receipt when the payment is approved. + * + * @param shopperApproved + */ @JsonProperty(JSON_PROPERTY_SHOPPER_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperApproved(Boolean shopperApproved) { this.shopperApproved = shopperApproved; } - + /** + * Print a shopper receipt when the transaction is cancelled. + * + * @param shopperCancelled + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperCancelled(Boolean shopperCancelled) { this.shopperCancelled = shopperCancelled; return this; } - /** + /** * Print a shopper receipt when the transaction is cancelled. * @return shopperCancelled - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when the transaction is cancelled.") @JsonProperty(JSON_PROPERTY_SHOPPER_CANCELLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperCancelled() { return shopperCancelled; } - - /** - * Print a shopper receipt when the transaction is cancelled. - * - * @param shopperCancelled - */ + /** + * Print a shopper receipt when the transaction is cancelled. + * + * @param shopperCancelled + */ @JsonProperty(JSON_PROPERTY_SHOPPER_CANCELLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperCancelled(Boolean shopperCancelled) { this.shopperCancelled = shopperCancelled; } - + /** + * Print a shopper receipt when capturing the payment is approved. + * + * @param shopperCaptureApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperCaptureApproved(Boolean shopperCaptureApproved) { this.shopperCaptureApproved = shopperCaptureApproved; return this; } - /** + /** * Print a shopper receipt when capturing the payment is approved. * @return shopperCaptureApproved - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when capturing the payment is approved.") @JsonProperty(JSON_PROPERTY_SHOPPER_CAPTURE_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperCaptureApproved() { return shopperCaptureApproved; } - - /** - * Print a shopper receipt when capturing the payment is approved. - * - * @param shopperCaptureApproved - */ + /** + * Print a shopper receipt when capturing the payment is approved. + * + * @param shopperCaptureApproved + */ @JsonProperty(JSON_PROPERTY_SHOPPER_CAPTURE_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperCaptureApproved(Boolean shopperCaptureApproved) { this.shopperCaptureApproved = shopperCaptureApproved; } - + /** + * Print a shopper receipt when capturing the payment is refused. + * + * @param shopperCaptureRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperCaptureRefused(Boolean shopperCaptureRefused) { this.shopperCaptureRefused = shopperCaptureRefused; return this; } - /** + /** * Print a shopper receipt when capturing the payment is refused. * @return shopperCaptureRefused - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when capturing the payment is refused.") @JsonProperty(JSON_PROPERTY_SHOPPER_CAPTURE_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperCaptureRefused() { return shopperCaptureRefused; } - - /** - * Print a shopper receipt when capturing the payment is refused. - * - * @param shopperCaptureRefused - */ + /** + * Print a shopper receipt when capturing the payment is refused. + * + * @param shopperCaptureRefused + */ @JsonProperty(JSON_PROPERTY_SHOPPER_CAPTURE_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperCaptureRefused(Boolean shopperCaptureRefused) { this.shopperCaptureRefused = shopperCaptureRefused; } - + /** + * Print a shopper receipt when the refund is approved. + * + * @param shopperRefundApproved + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperRefundApproved(Boolean shopperRefundApproved) { this.shopperRefundApproved = shopperRefundApproved; return this; } - /** + /** * Print a shopper receipt when the refund is approved. * @return shopperRefundApproved - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when the refund is approved.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFUND_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperRefundApproved() { return shopperRefundApproved; } - - /** - * Print a shopper receipt when the refund is approved. - * - * @param shopperRefundApproved - */ + /** + * Print a shopper receipt when the refund is approved. + * + * @param shopperRefundApproved + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFUND_APPROVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperRefundApproved(Boolean shopperRefundApproved) { this.shopperRefundApproved = shopperRefundApproved; } - + /** + * Print a shopper receipt when the refund is refused. + * + * @param shopperRefundRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperRefundRefused(Boolean shopperRefundRefused) { this.shopperRefundRefused = shopperRefundRefused; return this; } - /** + /** * Print a shopper receipt when the refund is refused. * @return shopperRefundRefused - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when the refund is refused.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFUND_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperRefundRefused() { return shopperRefundRefused; } - - /** - * Print a shopper receipt when the refund is refused. - * - * @param shopperRefundRefused - */ + /** + * Print a shopper receipt when the refund is refused. + * + * @param shopperRefundRefused + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFUND_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperRefundRefused(Boolean shopperRefundRefused) { this.shopperRefundRefused = shopperRefundRefused; } - + /** + * Print a shopper receipt when the payment is refused. + * + * @param shopperRefused + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperRefused(Boolean shopperRefused) { this.shopperRefused = shopperRefused; return this; } - /** + /** * Print a shopper receipt when the payment is refused. * @return shopperRefused - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when the payment is refused.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperRefused() { return shopperRefused; } - - /** - * Print a shopper receipt when the payment is refused. - * - * @param shopperRefused - */ + /** + * Print a shopper receipt when the payment is refused. + * + * @param shopperRefused + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperRefused(Boolean shopperRefused) { this.shopperRefused = shopperRefused; } - + /** + * Print a shopper receipt when a previous transaction is voided. + * + * @param shopperVoid + * @return the current {@code ReceiptPrinting} instance, allowing for method chaining + */ public ReceiptPrinting shopperVoid(Boolean shopperVoid) { this.shopperVoid = shopperVoid; return this; } - /** + /** * Print a shopper receipt when a previous transaction is voided. * @return shopperVoid - **/ + */ @ApiModelProperty(value = "Print a shopper receipt when a previous transaction is voided.") @JsonProperty(JSON_PROPERTY_SHOPPER_VOID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getShopperVoid() { return shopperVoid; } - - /** - * Print a shopper receipt when a previous transaction is voided. - * - * @param shopperVoid - */ + /** + * Print a shopper receipt when a previous transaction is voided. + * + * @param shopperVoid + */ @JsonProperty(JSON_PROPERTY_SHOPPER_VOID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperVoid(Boolean shopperVoid) { this.shopperVoid = shopperVoid; } - /** * Return true if this ReceiptPrinting object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Referenced.java b/src/main/java/com/adyen/model/management/Referenced.java index 72be814c1..a29dce98b 100644 --- a/src/main/java/com/adyen/model/management/Referenced.java +++ b/src/main/java/com/adyen/model/management/Referenced.java @@ -41,36 +41,39 @@ public class Referenced { public Referenced() { } + /** + * Indicates whether referenced refunds are enabled on the standalone terminal. + * + * @param enableStandaloneRefunds + * @return the current {@code Referenced} instance, allowing for method chaining + */ public Referenced enableStandaloneRefunds(Boolean enableStandaloneRefunds) { this.enableStandaloneRefunds = enableStandaloneRefunds; return this; } - /** + /** * Indicates whether referenced refunds are enabled on the standalone terminal. * @return enableStandaloneRefunds - **/ + */ @ApiModelProperty(value = "Indicates whether referenced refunds are enabled on the standalone terminal.") @JsonProperty(JSON_PROPERTY_ENABLE_STANDALONE_REFUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableStandaloneRefunds() { return enableStandaloneRefunds; } - - /** - * Indicates whether referenced refunds are enabled on the standalone terminal. - * - * @param enableStandaloneRefunds - */ + /** + * Indicates whether referenced refunds are enabled on the standalone terminal. + * + * @param enableStandaloneRefunds + */ @JsonProperty(JSON_PROPERTY_ENABLE_STANDALONE_REFUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableStandaloneRefunds(Boolean enableStandaloneRefunds) { this.enableStandaloneRefunds = enableStandaloneRefunds; } - /** * Return true if this Referenced object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Refunds.java b/src/main/java/com/adyen/model/management/Refunds.java index 0accd6753..f0be6efa7 100644 --- a/src/main/java/com/adyen/model/management/Refunds.java +++ b/src/main/java/com/adyen/model/management/Refunds.java @@ -42,36 +42,39 @@ public class Refunds { public Refunds() { } + /** + * referenced + * + * @param referenced + * @return the current {@code Refunds} instance, allowing for method chaining + */ public Refunds referenced(Referenced referenced) { this.referenced = referenced; return this; } - /** - * Get referenced + /** + * referenced * @return referenced - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REFERENCED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Referenced getReferenced() { return referenced; } - - /** - * referenced - * - * @param referenced - */ + /** + * referenced + * + * @param referenced + */ @JsonProperty(JSON_PROPERTY_REFERENCED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenced(Referenced referenced) { this.referenced = referenced; } - /** * Return true if this Refunds object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java b/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java index 61f71d706..66a4b6664 100644 --- a/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java +++ b/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public ReleaseUpdateDetails() { } + /** + * Type of terminal action: Update Release. + * + * @param type + * @return the current {@code ReleaseUpdateDetails} instance, allowing for method chaining + */ public ReleaseUpdateDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of terminal action: Update Release. * @return type - **/ + */ @ApiModelProperty(value = "Type of terminal action: Update Release.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of terminal action: Update Release. - * - * @param type - */ + /** + * Type of terminal action: Update Release. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time. + * + * @param updateAtFirstMaintenanceCall + * @return the current {@code ReleaseUpdateDetails} instance, allowing for method chaining + */ public ReleaseUpdateDetails updateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall) { this.updateAtFirstMaintenanceCall = updateAtFirstMaintenanceCall; return this; } - /** + /** * Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time. * @return updateAtFirstMaintenanceCall - **/ + */ @ApiModelProperty(value = "Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time.") @JsonProperty(JSON_PROPERTY_UPDATE_AT_FIRST_MAINTENANCE_CALL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getUpdateAtFirstMaintenanceCall() { return updateAtFirstMaintenanceCall; } - - /** - * Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time. - * - * @param updateAtFirstMaintenanceCall - */ + /** + * Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time. + * + * @param updateAtFirstMaintenanceCall + */ @JsonProperty(JSON_PROPERTY_UPDATE_AT_FIRST_MAINTENANCE_CALL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall) { this.updateAtFirstMaintenanceCall = updateAtFirstMaintenanceCall; } - /** * Return true if this ReleaseUpdateDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ReprocessAndroidAppResponse.java b/src/main/java/com/adyen/model/management/ReprocessAndroidAppResponse.java index 0cd487f21..211d51671 100644 --- a/src/main/java/com/adyen/model/management/ReprocessAndroidAppResponse.java +++ b/src/main/java/com/adyen/model/management/ReprocessAndroidAppResponse.java @@ -41,36 +41,39 @@ public class ReprocessAndroidAppResponse { public ReprocessAndroidAppResponse() { } + /** + * The result of the reprocess. + * + * @param message + * @return the current {@code ReprocessAndroidAppResponse} instance, allowing for method chaining + */ public ReprocessAndroidAppResponse message(String message) { this.message = message; return this; } - /** + /** * The result of the reprocess. * @return message - **/ + */ @ApiModelProperty(value = "The result of the reprocess.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * The result of the reprocess. - * - * @param message - */ + /** + * The result of the reprocess. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - /** * Return true if this ReprocessAndroidAppResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/RequestActivationResponse.java b/src/main/java/com/adyen/model/management/RequestActivationResponse.java index 5bc00d469..e15ba4be9 100644 --- a/src/main/java/com/adyen/model/management/RequestActivationResponse.java +++ b/src/main/java/com/adyen/model/management/RequestActivationResponse.java @@ -45,66 +45,72 @@ public class RequestActivationResponse { public RequestActivationResponse() { } + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code RequestActivationResponse} instance, allowing for method chaining + */ public RequestActivationResponse companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * The unique identifier of the merchant account you requested to activate. + * + * @param merchantId + * @return the current {@code RequestActivationResponse} instance, allowing for method chaining + */ public RequestActivationResponse merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account you requested to activate. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account you requested to activate.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account you requested to activate. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account you requested to activate. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - /** * Return true if this RequestActivationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/RestServiceError.java b/src/main/java/com/adyen/model/management/RestServiceError.java index 2169556d0..811225ad9 100644 --- a/src/main/java/com/adyen/model/management/RestServiceError.java +++ b/src/main/java/com/adyen/model/management/RestServiceError.java @@ -76,96 +76,111 @@ public class RestServiceError { public RestServiceError() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(required = true, value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * A code that identifies the problem type. + * + * @param errorCode + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * A code that identifies the problem type. * @return errorCode - **/ + */ @ApiModelProperty(required = true, value = "A code that identifies the problem type.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * A code that identifies the problem type. - * - * @param errorCode - */ + /** + * A code that identifies the problem type. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError instance(String instance) { this.instance = instance; return this; } - /** + /** * A unique URI that identifies the specific occurrence of the problem. * @return instance - **/ + */ @ApiModelProperty(value = "A unique URI that identifies the specific occurrence of the problem.") @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstance() { return instance; } - - /** - * A unique URI that identifies the specific occurrence of the problem. - * - * @param instance - */ + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + */ @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstance(String instance) { this.instance = instance; } - + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError invalidFields(List invalidFields) { this.invalidFields = invalidFields; return this; @@ -179,181 +194,193 @@ public RestServiceError addInvalidFieldsItem(InvalidField invalidFieldsItem) { return this; } - /** + /** * Detailed explanation of each validation error, when applicable. * @return invalidFields - **/ + */ @ApiModelProperty(value = "Detailed explanation of each validation error, when applicable.") @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInvalidFields() { return invalidFields; } - - /** - * Detailed explanation of each validation error, when applicable. - * - * @param invalidFields - */ + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + */ @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvalidFields(List invalidFields) { this.invalidFields = invalidFields; } - + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError requestId(String requestId) { this.requestId = requestId; return this; } - /** - * A unique reference for the request, essentially the same as `pspReference`. + /** + * A unique reference for the request, essentially the same as `pspReference`. * @return requestId - **/ + */ @ApiModelProperty(value = "A unique reference for the request, essentially the same as `pspReference`.") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * A unique reference for the request, essentially the same as `pspReference`. - * - * @param requestId - */ + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * response + * + * @param response + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError response(Object response) { this.response = response; return this; } - /** - * Get response + /** + * response * @return response - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getResponse() { return response; } - - /** - * response - * - * @param response - */ + /** + * response + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(Object response) { this.response = response; } - + /** + * The HTTP status code. + * + * @param status + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP status code. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The HTTP status code.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP status code. - * - * @param status - */ + /** + * The HTTP status code. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(required = true, value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError type(String type) { this.type = type; return this; } - /** + /** * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. * @return type - **/ + */ @ApiModelProperty(required = true, value = "A URI that identifies the problem type, pointing to human-readable documentation on this problem type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. - * - * @param type - */ + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this RestServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ScheduleTerminalActionsRequest.java b/src/main/java/com/adyen/model/management/ScheduleTerminalActionsRequest.java index af414016d..a8cd1038a 100644 --- a/src/main/java/com/adyen/model/management/ScheduleTerminalActionsRequest.java +++ b/src/main/java/com/adyen/model/management/ScheduleTerminalActionsRequest.java @@ -56,96 +56,111 @@ public class ScheduleTerminalActionsRequest { public ScheduleTerminalActionsRequest() { } + /** + * actionDetails + * + * @param actionDetails + * @return the current {@code ScheduleTerminalActionsRequest} instance, allowing for method chaining + */ public ScheduleTerminalActionsRequest actionDetails(ScheduleTerminalActionsRequestActionDetails actionDetails) { this.actionDetails = actionDetails; return this; } - /** - * Get actionDetails + /** + * actionDetails * @return actionDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTION_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ScheduleTerminalActionsRequestActionDetails getActionDetails() { return actionDetails; } - - /** - * actionDetails - * - * @param actionDetails - */ + /** + * actionDetails + * + * @param actionDetails + */ @JsonProperty(JSON_PROPERTY_ACTION_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActionDetails(ScheduleTerminalActionsRequestActionDetails actionDetails) { this.actionDetails = actionDetails; } - + /** + * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. + * + * @param scheduledAt + * @return the current {@code ScheduleTerminalActionsRequest} instance, allowing for method chaining + */ public ScheduleTerminalActionsRequest scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } - /** + /** * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. * @return scheduledAt - **/ + */ @ApiModelProperty(value = "The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call.") @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScheduledAt() { return scheduledAt; } - - /** - * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. - * - * @param scheduledAt - */ + /** + * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. + * + * @param scheduledAt + */ @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } - + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + * + * @param storeId + * @return the current {@code ScheduleTerminalActionsRequest} instance, allowing for method chaining + */ public ScheduleTerminalActionsRequest storeId(String storeId) { this.storeId = storeId; return this; } - /** - * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. - * - * @param storeId - */ + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - + /** + * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. + * + * @param terminalIds + * @return the current {@code ScheduleTerminalActionsRequest} instance, allowing for method chaining + */ public ScheduleTerminalActionsRequest terminalIds(List terminalIds) { this.terminalIds = terminalIds; return this; @@ -159,31 +174,28 @@ public ScheduleTerminalActionsRequest addTerminalIdsItem(String terminalIdsItem) return this; } - /** - * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. + /** + * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. * @return terminalIds - **/ + */ @ApiModelProperty(value = "A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs.") @JsonProperty(JSON_PROPERTY_TERMINAL_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTerminalIds() { return terminalIds; } - - /** - * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. - * - * @param terminalIds - */ + /** + * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. + * + * @param terminalIds + */ @JsonProperty(JSON_PROPERTY_TERMINAL_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalIds(List terminalIds) { this.terminalIds = terminalIds; } - /** * Return true if this ScheduleTerminalActionsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ScheduleTerminalActionsResponse.java b/src/main/java/com/adyen/model/management/ScheduleTerminalActionsResponse.java index d4f2f2ff7..056bbe942 100644 --- a/src/main/java/com/adyen/model/management/ScheduleTerminalActionsResponse.java +++ b/src/main/java/com/adyen/model/management/ScheduleTerminalActionsResponse.java @@ -71,36 +71,45 @@ public class ScheduleTerminalActionsResponse { public ScheduleTerminalActionsResponse() { } + /** + * actionDetails + * + * @param actionDetails + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse actionDetails(ScheduleTerminalActionsRequestActionDetails actionDetails) { this.actionDetails = actionDetails; return this; } - /** - * Get actionDetails + /** + * actionDetails * @return actionDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTION_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ScheduleTerminalActionsRequestActionDetails getActionDetails() { return actionDetails; } - - /** - * actionDetails - * - * @param actionDetails - */ + /** + * actionDetails + * + * @param actionDetails + */ @JsonProperty(JSON_PROPERTY_ACTION_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActionDetails(ScheduleTerminalActionsRequestActionDetails actionDetails) { this.actionDetails = actionDetails; } - + /** + * A list containing a terminal ID and an action ID for each terminal that the action was scheduled for. + * + * @param items + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse items(List items) { this.items = items; return this; @@ -114,91 +123,100 @@ public ScheduleTerminalActionsResponse addItemsItem(TerminalActionScheduleDetail return this; } - /** + /** * A list containing a terminal ID and an action ID for each terminal that the action was scheduled for. * @return items - **/ + */ @ApiModelProperty(value = "A list containing a terminal ID and an action ID for each terminal that the action was scheduled for.") @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItems() { return items; } - - /** - * A list containing a terminal ID and an action ID for each terminal that the action was scheduled for. - * - * @param items - */ + /** + * A list containing a terminal ID and an action ID for each terminal that the action was scheduled for. + * + * @param items + */ @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItems(List items) { this.items = items; } - + /** + * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. + * + * @param scheduledAt + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } - /** + /** * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. * @return scheduledAt - **/ + */ @ApiModelProperty(value = "The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call.") @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScheduledAt() { return scheduledAt; } - - /** - * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. - * - * @param scheduledAt - */ + /** + * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+0100** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. + * + * @param scheduledAt + */ @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } - + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + * + * @param storeId + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse storeId(String storeId) { this.storeId = storeId; return this; } - /** - * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. - * - * @param storeId - */ + /** + * The unique ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores). If present, all terminals in the `terminalIds` list must be assigned to this store. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - + /** + * The validation errors that occurred in the list of terminals, and for each error the IDs of the terminals that the error applies to. + * + * @param terminalsWithErrors + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse terminalsWithErrors(Map> terminalsWithErrors) { this.terminalsWithErrors = terminalsWithErrors; return this; @@ -212,91 +230,94 @@ public ScheduleTerminalActionsResponse putTerminalsWithErrorsItem(String key, Li return this; } - /** + /** * The validation errors that occurred in the list of terminals, and for each error the IDs of the terminals that the error applies to. * @return terminalsWithErrors - **/ + */ @ApiModelProperty(value = "The validation errors that occurred in the list of terminals, and for each error the IDs of the terminals that the error applies to.") @JsonProperty(JSON_PROPERTY_TERMINALS_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map> getTerminalsWithErrors() { return terminalsWithErrors; } - - /** - * The validation errors that occurred in the list of terminals, and for each error the IDs of the terminals that the error applies to. - * - * @param terminalsWithErrors - */ + /** + * The validation errors that occurred in the list of terminals, and for each error the IDs of the terminals that the error applies to. + * + * @param terminalsWithErrors + */ @JsonProperty(JSON_PROPERTY_TERMINALS_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalsWithErrors(Map> terminalsWithErrors) { this.terminalsWithErrors = terminalsWithErrors; } - + /** + * The number of terminals for which scheduling the action failed. + * + * @param totalErrors + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse totalErrors(Integer totalErrors) { this.totalErrors = totalErrors; return this; } - /** + /** * The number of terminals for which scheduling the action failed. * @return totalErrors - **/ + */ @ApiModelProperty(value = "The number of terminals for which scheduling the action failed.") @JsonProperty(JSON_PROPERTY_TOTAL_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTotalErrors() { return totalErrors; } - - /** - * The number of terminals for which scheduling the action failed. - * - * @param totalErrors - */ + /** + * The number of terminals for which scheduling the action failed. + * + * @param totalErrors + */ @JsonProperty(JSON_PROPERTY_TOTAL_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalErrors(Integer totalErrors) { this.totalErrors = totalErrors; } - + /** + * The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet. + * + * @param totalScheduled + * @return the current {@code ScheduleTerminalActionsResponse} instance, allowing for method chaining + */ public ScheduleTerminalActionsResponse totalScheduled(Integer totalScheduled) { this.totalScheduled = totalScheduled; return this; } - /** - * The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet. + /** + * The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet. * @return totalScheduled - **/ + */ @ApiModelProperty(value = "The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet.") @JsonProperty(JSON_PROPERTY_TOTAL_SCHEDULED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTotalScheduled() { return totalScheduled; } - - /** - * The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet. - * - * @param totalScheduled - */ + /** + * The number of terminals for which the action was successfully scheduled. This doesn't mean the action has happened yet. + * + * @param totalScheduled + */ @JsonProperty(JSON_PROPERTY_TOTAL_SCHEDULED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalScheduled(Integer totalScheduled) { this.totalScheduled = totalScheduled; } - /** * Return true if this ScheduleTerminalActionsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Settings.java b/src/main/java/com/adyen/model/management/Settings.java index c0bd886fe..f65097fae 100644 --- a/src/main/java/com/adyen/model/management/Settings.java +++ b/src/main/java/com/adyen/model/management/Settings.java @@ -49,96 +49,105 @@ public class Settings { public Settings() { } + /** + * The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz. + * + * @param band + * @return the current {@code Settings} instance, allowing for method chaining + */ public Settings band(String band) { this.band = band; return this; } - /** + /** * The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz. * @return band - **/ + */ @ApiModelProperty(value = "The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz.") @JsonProperty(JSON_PROPERTY_BAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBand() { return band; } - - /** - * The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz. - * - * @param band - */ + /** + * The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz. + * + * @param band + */ @JsonProperty(JSON_PROPERTY_BAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBand(String band) { this.band = band; } - + /** + * Indicates whether roaming is enabled on the terminals. + * + * @param roaming + * @return the current {@code Settings} instance, allowing for method chaining + */ public Settings roaming(Boolean roaming) { this.roaming = roaming; return this; } - /** + /** * Indicates whether roaming is enabled on the terminals. * @return roaming - **/ + */ @ApiModelProperty(value = "Indicates whether roaming is enabled on the terminals.") @JsonProperty(JSON_PROPERTY_ROAMING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRoaming() { return roaming; } - - /** - * Indicates whether roaming is enabled on the terminals. - * - * @param roaming - */ + /** + * Indicates whether roaming is enabled on the terminals. + * + * @param roaming + */ @JsonProperty(JSON_PROPERTY_ROAMING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoaming(Boolean roaming) { this.roaming = roaming; } - + /** + * The connection time-out in seconds. Minimum value: 0. + * + * @param timeout + * @return the current {@code Settings} instance, allowing for method chaining + */ public Settings timeout(Integer timeout) { this.timeout = timeout; return this; } - /** + /** * The connection time-out in seconds. Minimum value: 0. * @return timeout - **/ + */ @ApiModelProperty(value = "The connection time-out in seconds. Minimum value: 0.") @JsonProperty(JSON_PROPERTY_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTimeout() { return timeout; } - - /** - * The connection time-out in seconds. Minimum value: 0. - * - * @param timeout - */ + /** + * The connection time-out in seconds. Minimum value: 0. + * + * @param timeout + */ @JsonProperty(JSON_PROPERTY_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeout(Integer timeout) { this.timeout = timeout; } - /** * Return true if this Settings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ShippingLocation.java b/src/main/java/com/adyen/model/management/ShippingLocation.java index c3099e91c..cf1aab7d7 100644 --- a/src/main/java/com/adyen/model/management/ShippingLocation.java +++ b/src/main/java/com/adyen/model/management/ShippingLocation.java @@ -55,126 +55,138 @@ public class ShippingLocation { public ShippingLocation() { } + /** + * address + * + * @param address + * @return the current {@code ShippingLocation} instance, allowing for method chaining + */ public ShippingLocation address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * contact + * + * @param contact + * @return the current {@code ShippingLocation} instance, allowing for method chaining + */ public ShippingLocation contact(Contact contact) { this.contact = contact; return this; } - /** - * Get contact + /** + * contact * @return contact - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Contact getContact() { return contact; } - - /** - * contact - * - * @param contact - */ + /** + * contact + * + * @param contact + */ @JsonProperty(JSON_PROPERTY_CONTACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContact(Contact contact) { this.contact = contact; } - + /** + * The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order. + * + * @param id + * @return the current {@code ShippingLocation} instance, allowing for method chaining + */ public ShippingLocation id(String id) { this.id = id; return this; } - /** - * The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order. + /** + * The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order. - * - * @param id - */ + /** + * The unique identifier of the shipping location, for use as `shippingLocationId` when creating an order. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique name of the shipping location. + * + * @param name + * @return the current {@code ShippingLocation} instance, allowing for method chaining + */ public ShippingLocation name(String name) { this.name = name; return this; } - /** + /** * The unique name of the shipping location. * @return name - **/ + */ @ApiModelProperty(value = "The unique name of the shipping location.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The unique name of the shipping location. - * - * @param name - */ + /** + * The unique name of the shipping location. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this ShippingLocation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/ShippingLocationsResponse.java b/src/main/java/com/adyen/model/management/ShippingLocationsResponse.java index 4b854ab2f..8fd0cc628 100644 --- a/src/main/java/com/adyen/model/management/ShippingLocationsResponse.java +++ b/src/main/java/com/adyen/model/management/ShippingLocationsResponse.java @@ -44,6 +44,12 @@ public class ShippingLocationsResponse { public ShippingLocationsResponse() { } + /** + * Physical locations where orders can be shipped to. + * + * @param data + * @return the current {@code ShippingLocationsResponse} instance, allowing for method chaining + */ public ShippingLocationsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public ShippingLocationsResponse addDataItem(ShippingLocation dataItem) { return this; } - /** + /** * Physical locations where orders can be shipped to. * @return data - **/ + */ @ApiModelProperty(value = "Physical locations where orders can be shipped to.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Physical locations where orders can be shipped to. - * - * @param data - */ + /** + * Physical locations where orders can be shipped to. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this ShippingLocationsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Signature.java b/src/main/java/com/adyen/model/management/Signature.java index 5e30f1198..b132e5d75 100644 --- a/src/main/java/com/adyen/model/management/Signature.java +++ b/src/main/java/com/adyen/model/management/Signature.java @@ -53,126 +53,138 @@ public class Signature { public Signature() { } + /** + * If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**). + * + * @param askSignatureOnScreen + * @return the current {@code Signature} instance, allowing for method chaining + */ public Signature askSignatureOnScreen(Boolean askSignatureOnScreen) { this.askSignatureOnScreen = askSignatureOnScreen; return this; } - /** - * If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**). + /** + * If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**). * @return askSignatureOnScreen - **/ + */ @ApiModelProperty(value = "If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**).") @JsonProperty(JSON_PROPERTY_ASK_SIGNATURE_ON_SCREEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAskSignatureOnScreen() { return askSignatureOnScreen; } - - /** - * If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**). - * - * @param askSignatureOnScreen - */ + /** + * If `skipSignature` is false, indicates whether the shopper should provide a signature on the display (**true**) or on the merchant receipt (**false**). + * + * @param askSignatureOnScreen + */ @JsonProperty(JSON_PROPERTY_ASK_SIGNATURE_ON_SCREEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAskSignatureOnScreen(Boolean askSignatureOnScreen) { this.askSignatureOnScreen = askSignatureOnScreen; } - + /** + * Name that identifies the terminal. + * + * @param deviceName + * @return the current {@code Signature} instance, allowing for method chaining + */ public Signature deviceName(String deviceName) { this.deviceName = deviceName; return this; } - /** + /** * Name that identifies the terminal. * @return deviceName - **/ + */ @ApiModelProperty(value = "Name that identifies the terminal.") @JsonProperty(JSON_PROPERTY_DEVICE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceName() { return deviceName; } - - /** - * Name that identifies the terminal. - * - * @param deviceName - */ + /** + * Name that identifies the terminal. + * + * @param deviceName + */ @JsonProperty(JSON_PROPERTY_DEVICE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceName(String deviceName) { this.deviceName = deviceName; } - + /** + * Slogan shown on the start screen of the device. + * + * @param deviceSlogan + * @return the current {@code Signature} instance, allowing for method chaining + */ public Signature deviceSlogan(String deviceSlogan) { this.deviceSlogan = deviceSlogan; return this; } - /** + /** * Slogan shown on the start screen of the device. * @return deviceSlogan - **/ + */ @ApiModelProperty(value = "Slogan shown on the start screen of the device.") @JsonProperty(JSON_PROPERTY_DEVICE_SLOGAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceSlogan() { return deviceSlogan; } - - /** - * Slogan shown on the start screen of the device. - * - * @param deviceSlogan - */ + /** + * Slogan shown on the start screen of the device. + * + * @param deviceSlogan + */ @JsonProperty(JSON_PROPERTY_DEVICE_SLOGAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceSlogan(String deviceSlogan) { this.deviceSlogan = deviceSlogan; } - + /** + * Skip asking for a signature. This is possible because all global card schemes (American Express, Diners, Discover, JCB, MasterCard, VISA, and UnionPay) regard a signature as optional. + * + * @param skipSignature + * @return the current {@code Signature} instance, allowing for method chaining + */ public Signature skipSignature(Boolean skipSignature) { this.skipSignature = skipSignature; return this; } - /** + /** * Skip asking for a signature. This is possible because all global card schemes (American Express, Diners, Discover, JCB, MasterCard, VISA, and UnionPay) regard a signature as optional. * @return skipSignature - **/ + */ @ApiModelProperty(value = "Skip asking for a signature. This is possible because all global card schemes (American Express, Diners, Discover, JCB, MasterCard, VISA, and UnionPay) regard a signature as optional.") @JsonProperty(JSON_PROPERTY_SKIP_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSkipSignature() { return skipSignature; } - - /** - * Skip asking for a signature. This is possible because all global card schemes (American Express, Diners, Discover, JCB, MasterCard, VISA, and UnionPay) regard a signature as optional. - * - * @param skipSignature - */ + /** + * Skip asking for a signature. This is possible because all global card schemes (American Express, Diners, Discover, JCB, MasterCard, VISA, and UnionPay) regard a signature as optional. + * + * @param skipSignature + */ @JsonProperty(JSON_PROPERTY_SKIP_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSkipSignature(Boolean skipSignature) { this.skipSignature = skipSignature; } - /** * Return true if this Signature object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SodexoInfo.java b/src/main/java/com/adyen/model/management/SodexoInfo.java index d5d8a01fa..7f9a98735 100644 --- a/src/main/java/com/adyen/model/management/SodexoInfo.java +++ b/src/main/java/com/adyen/model/management/SodexoInfo.java @@ -41,36 +41,39 @@ public class SodexoInfo { public SodexoInfo() { } + /** + * Sodexo merchantContactPhone + * + * @param merchantContactPhone + * @return the current {@code SodexoInfo} instance, allowing for method chaining + */ public SodexoInfo merchantContactPhone(String merchantContactPhone) { this.merchantContactPhone = merchantContactPhone; return this; } - /** + /** * Sodexo merchantContactPhone * @return merchantContactPhone - **/ + */ @ApiModelProperty(required = true, value = "Sodexo merchantContactPhone") @JsonProperty(JSON_PROPERTY_MERCHANT_CONTACT_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantContactPhone() { return merchantContactPhone; } - - /** - * Sodexo merchantContactPhone - * - * @param merchantContactPhone - */ + /** + * Sodexo merchantContactPhone + * + * @param merchantContactPhone + */ @JsonProperty(JSON_PROPERTY_MERCHANT_CONTACT_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantContactPhone(String merchantContactPhone) { this.merchantContactPhone = merchantContactPhone; } - /** * Return true if this SodexoInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SofortInfo.java b/src/main/java/com/adyen/model/management/SofortInfo.java index 8f7ac754d..dcb74ea19 100644 --- a/src/main/java/com/adyen/model/management/SofortInfo.java +++ b/src/main/java/com/adyen/model/management/SofortInfo.java @@ -45,66 +45,72 @@ public class SofortInfo { public SofortInfo() { } + /** + * Sofort currency code. For example, **EUR**. + * + * @param currencyCode + * @return the current {@code SofortInfo} instance, allowing for method chaining + */ public SofortInfo currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** + /** * Sofort currency code. For example, **EUR**. * @return currencyCode - **/ + */ @ApiModelProperty(required = true, value = "Sofort currency code. For example, **EUR**.") @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrencyCode() { return currencyCode; } - - /** - * Sofort currency code. For example, **EUR**. - * - * @param currencyCode - */ + /** + * Sofort currency code. For example, **EUR**. + * + * @param currencyCode + */ @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } - + /** + * Sofort logo. Format: Base64-encoded string. + * + * @param logo + * @return the current {@code SofortInfo} instance, allowing for method chaining + */ public SofortInfo logo(String logo) { this.logo = logo; return this; } - /** + /** * Sofort logo. Format: Base64-encoded string. * @return logo - **/ + */ @ApiModelProperty(required = true, value = "Sofort logo. Format: Base64-encoded string.") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogo() { return logo; } - - /** - * Sofort logo. Format: Base64-encoded string. - * - * @param logo - */ + /** + * Sofort logo. Format: Base64-encoded string. + * + * @param logo + */ @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(String logo) { this.logo = logo; } - /** * Return true if this SofortInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SplitConfiguration.java b/src/main/java/com/adyen/model/management/SplitConfiguration.java index 92ca93006..0fef097a3 100644 --- a/src/main/java/com/adyen/model/management/SplitConfiguration.java +++ b/src/main/java/com/adyen/model/management/SplitConfiguration.java @@ -56,36 +56,45 @@ public class SplitConfiguration { public SplitConfiguration() { } + /** + * Your description for the split configuration. + * + * @param description + * @return the current {@code SplitConfiguration} instance, allowing for method chaining + */ public SplitConfiguration description(String description) { this.description = description; return this; } - /** + /** * Your description for the split configuration. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description for the split configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the split configuration. - * - * @param description - */ + /** + * Your description for the split configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Array of rules that define the split configuration behavior. + * + * @param rules + * @return the current {@code SplitConfiguration} instance, allowing for method chaining + */ public SplitConfiguration rules(List rules) { this.rules = rules; return this; @@ -96,61 +105,67 @@ public SplitConfiguration addRulesItem(SplitConfigurationRule rulesItem) { return this; } - /** + /** * Array of rules that define the split configuration behavior. * @return rules - **/ + */ @ApiModelProperty(required = true, value = "Array of rules that define the split configuration behavior.") @JsonProperty(JSON_PROPERTY_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRules() { return rules; } - - /** - * Array of rules that define the split configuration behavior. - * - * @param rules - */ + /** + * Array of rules that define the split configuration behavior. + * + * @param rules + */ @JsonProperty(JSON_PROPERTY_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRules(List rules) { this.rules = rules; } - + /** + * Unique identifier of the split configuration. + * + * @param splitConfigurationId + * @return the current {@code SplitConfiguration} instance, allowing for method chaining + */ public SplitConfiguration splitConfigurationId(String splitConfigurationId) { this.splitConfigurationId = splitConfigurationId; return this; } - /** + /** * Unique identifier of the split configuration. * @return splitConfigurationId - **/ + */ @ApiModelProperty(value = "Unique identifier of the split configuration.") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSplitConfigurationId() { return splitConfigurationId; } - - /** - * Unique identifier of the split configuration. - * - * @param splitConfigurationId - */ + /** + * Unique identifier of the split configuration. + * + * @param splitConfigurationId + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfigurationId(String splitConfigurationId) { this.splitConfigurationId = splitConfigurationId; } - + /** + * List of stores to which the split configuration applies. + * + * @param stores + * @return the current {@code SplitConfiguration} instance, allowing for method chaining + */ public SplitConfiguration stores(List stores) { this.stores = stores; return this; @@ -164,31 +179,28 @@ public SplitConfiguration addStoresItem(String storesItem) { return this; } - /** + /** * List of stores to which the split configuration applies. * @return stores - **/ + */ @ApiModelProperty(value = "List of stores to which the split configuration applies.") @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStores() { return stores; } - - /** - * List of stores to which the split configuration applies. - * - * @param stores - */ + /** + * List of stores to which the split configuration applies. + * + * @param stores + */ @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStores(List stores) { this.stores = stores; } - /** * Return true if this SplitConfiguration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SplitConfigurationList.java b/src/main/java/com/adyen/model/management/SplitConfigurationList.java index 87db4b6f0..a2ea166f8 100644 --- a/src/main/java/com/adyen/model/management/SplitConfigurationList.java +++ b/src/main/java/com/adyen/model/management/SplitConfigurationList.java @@ -44,6 +44,12 @@ public class SplitConfigurationList { public SplitConfigurationList() { } + /** + * List of split configurations applied to the stores under the merchant account. + * + * @param data + * @return the current {@code SplitConfigurationList} instance, allowing for method chaining + */ public SplitConfigurationList data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public SplitConfigurationList addDataItem(SplitConfiguration dataItem) { return this; } - /** + /** * List of split configurations applied to the stores under the merchant account. * @return data - **/ + */ @ApiModelProperty(value = "List of split configurations applied to the stores under the merchant account.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of split configurations applied to the stores under the merchant account. - * - * @param data - */ + /** + * List of split configurations applied to the stores under the merchant account. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this SplitConfigurationList object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SplitConfigurationLogic.java b/src/main/java/com/adyen/model/management/SplitConfigurationLogic.java index bbb85c75b..6f3f5221f 100644 --- a/src/main/java/com/adyen/model/management/SplitConfigurationLogic.java +++ b/src/main/java/com/adyen/model/management/SplitConfigurationLogic.java @@ -601,516 +601,567 @@ public static TipEnum fromValue(String value) { public SplitConfigurationLogic() { } + /** + * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param acquiringFees + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic acquiringFees(AcquiringFeesEnum acquiringFees) { this.acquiringFees = acquiringFees; return this; } - /** + /** * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return acquiringFees - **/ + */ @ApiModelProperty(value = "Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ACQUIRING_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcquiringFeesEnum getAcquiringFees() { return acquiringFees; } - - /** - * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param acquiringFees - */ + /** + * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param acquiringFees + */ @JsonProperty(JSON_PROPERTY_ACQUIRING_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquiringFees(AcquiringFeesEnum acquiringFees) { this.acquiringFees = acquiringFees; } - + /** + * additionalCommission + * + * @param additionalCommission + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic additionalCommission(AdditionalCommission additionalCommission) { this.additionalCommission = additionalCommission; return this; } - /** - * Get additionalCommission + /** + * additionalCommission * @return additionalCommission - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalCommission getAdditionalCommission() { return additionalCommission; } - - /** - * additionalCommission - * - * @param additionalCommission - */ + /** + * additionalCommission + * + * @param additionalCommission + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalCommission(AdditionalCommission additionalCommission) { this.additionalCommission = additionalCommission; } - + /** + * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenCommission + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic adyenCommission(AdyenCommissionEnum adyenCommission) { this.adyenCommission = adyenCommission; return this; } - /** + /** * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenCommission - **/ + */ @ApiModelProperty(value = "Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenCommissionEnum getAdyenCommission() { return adyenCommission; } - - /** - * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenCommission - */ + /** + * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenCommission + */ @JsonProperty(JSON_PROPERTY_ADYEN_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenCommission(AdyenCommissionEnum adyenCommission) { this.adyenCommission = adyenCommission; } - + /** + * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenFees + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic adyenFees(AdyenFeesEnum adyenFees) { this.adyenFees = adyenFees; return this; } - /** + /** * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenFees - **/ + */ @ApiModelProperty(value = "Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenFeesEnum getAdyenFees() { return adyenFees; } - - /** - * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenFees - */ + /** + * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenFees + */ @JsonProperty(JSON_PROPERTY_ADYEN_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenFees(AdyenFeesEnum adyenFees) { this.adyenFees = adyenFees; } - + /** + * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenMarkup + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic adyenMarkup(AdyenMarkupEnum adyenMarkup) { this.adyenMarkup = adyenMarkup; return this; } - /** + /** * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenMarkup - **/ + */ @ApiModelProperty(value = "Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_MARKUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenMarkupEnum getAdyenMarkup() { return adyenMarkup; } - - /** - * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenMarkup - */ + /** + * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenMarkup + */ @JsonProperty(JSON_PROPERTY_ADYEN_MARKUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenMarkup(AdyenMarkupEnum adyenMarkup) { this.adyenMarkup = adyenMarkup; } - + /** + * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param chargeback + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic chargeback(ChargebackEnum chargeback) { this.chargeback = chargeback; return this; } - /** + /** * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. * @return chargeback - **/ + */ @ApiModelProperty(value = "Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.") @JsonProperty(JSON_PROPERTY_CHARGEBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChargebackEnum getChargeback() { return chargeback; } - - /** - * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. - * - * @param chargeback - */ + /** + * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param chargeback + */ @JsonProperty(JSON_PROPERTY_CHARGEBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChargeback(ChargebackEnum chargeback) { this.chargeback = chargeback; } - + /** + * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param chargebackCostAllocation + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic chargebackCostAllocation(ChargebackCostAllocationEnum chargebackCostAllocation) { this.chargebackCostAllocation = chargebackCostAllocation; return this; } - /** + /** * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** * @return chargebackCostAllocation - **/ + */ @ApiModelProperty(value = "Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChargebackCostAllocationEnum getChargebackCostAllocation() { return chargebackCostAllocation; } - - /** - * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** - * - * @param chargebackCostAllocation - */ + /** + * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param chargebackCostAllocation + */ @JsonProperty(JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChargebackCostAllocation(ChargebackCostAllocationEnum chargebackCostAllocation) { this.chargebackCostAllocation = chargebackCostAllocation; } - + /** + * commission + * + * @param commission + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic commission(Commission commission) { this.commission = commission; return this; } - /** - * Get commission + /** + * commission * @return commission - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Commission getCommission() { return commission; } - - /** - * commission - * - * @param commission - */ + /** + * commission + * + * @param commission + */ @JsonProperty(JSON_PROPERTY_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommission(Commission commission) { this.commission = commission; } - + /** + * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param interchange + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic interchange(InterchangeEnum interchange) { this.interchange = interchange; return this; } - /** + /** * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return interchange - **/ + */ @ApiModelProperty(value = "Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_INTERCHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public InterchangeEnum getInterchange() { return interchange; } - - /** - * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param interchange - */ + /** + * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param interchange + */ @JsonProperty(JSON_PROPERTY_INTERCHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterchange(InterchangeEnum interchange) { this.interchange = interchange; } - + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param paymentFee + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic paymentFee(PaymentFeeEnum paymentFee) { this.paymentFee = paymentFee; return this; } - /** - * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return paymentFee - **/ + */ @ApiModelProperty(value = "Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_PAYMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentFeeEnum getPaymentFee() { return paymentFee; } - - /** - * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param paymentFee - */ + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param paymentFee + */ @JsonProperty(JSON_PROPERTY_PAYMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentFee(PaymentFeeEnum paymentFee) { this.paymentFee = paymentFee; } - + /** + * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** + * + * @param refund + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic refund(RefundEnum refund) { this.refund = refund; return this; } - /** + /** * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** * @return refund - **/ + */ @ApiModelProperty(value = "Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**") @JsonProperty(JSON_PROPERTY_REFUND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RefundEnum getRefund() { return refund; } - - /** - * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** - * - * @param refund - */ + /** + * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** + * + * @param refund + */ @JsonProperty(JSON_PROPERTY_REFUND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefund(RefundEnum refund) { this.refund = refund; } - + /** + * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param refundCostAllocation + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic refundCostAllocation(RefundCostAllocationEnum refundCostAllocation) { this.refundCostAllocation = refundCostAllocation; return this; } - /** + /** * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** * @return refundCostAllocation - **/ + */ @ApiModelProperty(value = "Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_REFUND_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RefundCostAllocationEnum getRefundCostAllocation() { return refundCostAllocation; } - - /** - * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** - * - * @param refundCostAllocation - */ + /** + * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param refundCostAllocation + */ @JsonProperty(JSON_PROPERTY_REFUND_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefundCostAllocation(RefundCostAllocationEnum refundCostAllocation) { this.refundCostAllocation = refundCostAllocation; } - + /** + * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param remainder + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic remainder(RemainderEnum remainder) { this.remainder = remainder; return this; } - /** + /** * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. * @return remainder - **/ + */ @ApiModelProperty(value = "Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_REMAINDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RemainderEnum getRemainder() { return remainder; } - - /** - * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. - * - * @param remainder - */ + /** + * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param remainder + */ @JsonProperty(JSON_PROPERTY_REMAINDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemainder(RemainderEnum remainder) { this.remainder = remainder; } - + /** + * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param schemeFee + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic schemeFee(SchemeFeeEnum schemeFee) { this.schemeFee = schemeFee; return this; } - /** + /** * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return schemeFee - **/ + */ @ApiModelProperty(value = "Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_SCHEME_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SchemeFeeEnum getSchemeFee() { return schemeFee; } - - /** - * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param schemeFee - */ + /** + * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param schemeFee + */ @JsonProperty(JSON_PROPERTY_SCHEME_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeFee(SchemeFeeEnum schemeFee) { this.schemeFee = schemeFee; } - + /** + * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. + * + * @param splitLogicId + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic splitLogicId(String splitLogicId) { this.splitLogicId = splitLogicId; return this; } - /** + /** * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. * @return splitLogicId - **/ + */ @ApiModelProperty(value = "Unique identifier of the collection of split instructions that are applied when the rule conditions are met.") @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSplitLogicId() { return splitLogicId; } - - /** - * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. - * - * @param splitLogicId - */ + /** + * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. + * + * @param splitLogicId + */ @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitLogicId(String splitLogicId) { this.splitLogicId = splitLogicId; } - + /** + * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** + * + * @param surcharge + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic surcharge(SurchargeEnum surcharge) { this.surcharge = surcharge; return this; } - /** + /** * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** * @return surcharge - **/ + */ @ApiModelProperty(value = "Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SurchargeEnum getSurcharge() { return surcharge; } - - /** - * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** - * - * @param surcharge - */ + /** + * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** + * + * @param surcharge + */ @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSurcharge(SurchargeEnum surcharge) { this.surcharge = surcharge; } - + /** + * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param tip + * @return the current {@code SplitConfigurationLogic} instance, allowing for method chaining + */ public SplitConfigurationLogic tip(TipEnum tip) { this.tip = tip; return this; } - /** + /** * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. * @return tip - **/ + */ @ApiModelProperty(value = "Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_TIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TipEnum getTip() { return tip; } - - /** - * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. - * - * @param tip - */ + /** + * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param tip + */ @JsonProperty(JSON_PROPERTY_TIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTip(TipEnum tip) { this.tip = tip; } - /** * Return true if this SplitConfigurationLogic object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java index bbdc0a38e..fd7460b76 100644 --- a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java +++ b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java @@ -140,186 +140,204 @@ public static ShopperInteractionEnum fromValue(String value) { public SplitConfigurationRule() { } + /** + * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param currency + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule currency(String currency) { this.currency = currency; return this; } - /** + /** * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param currency - */ + /** + * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. + * + * @param fundingSource + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. - * - * @param fundingSource - */ + /** + * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. + * + * @param paymentMethod + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. - * - * @param paymentMethod - */ + /** + * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The unique identifier of the split configuration rule. + * + * @param ruleId + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule ruleId(String ruleId) { this.ruleId = ruleId; return this; } - /** + /** * The unique identifier of the split configuration rule. * @return ruleId - **/ + */ @ApiModelProperty(value = "The unique identifier of the split configuration rule.") @JsonProperty(JSON_PROPERTY_RULE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRuleId() { return ruleId; } - - /** - * The unique identifier of the split configuration rule. - * - * @param ruleId - */ + /** + * The unique identifier of the split configuration rule. + * + * @param ruleId + */ @JsonProperty(JSON_PROPERTY_RULE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRuleId(String ruleId) { this.ruleId = ruleId; } - + /** + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * + * @param shopperInteraction + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. * @return shopperInteraction - **/ + */ @ApiModelProperty(required = true, value = "The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. - * - * @param shopperInteraction - */ + /** + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * splitLogic + * + * @param splitLogic + * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining + */ public SplitConfigurationRule splitLogic(SplitConfigurationLogic splitLogic) { this.splitLogic = splitLogic; return this; } - /** - * Get splitLogic + /** + * splitLogic * @return splitLogic - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SplitConfigurationLogic getSplitLogic() { return splitLogic; } - - /** - * splitLogic - * - * @param splitLogic - */ + /** + * splitLogic + * + * @param splitLogic + */ @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitLogic(SplitConfigurationLogic splitLogic) { this.splitLogic = splitLogic; } - /** * Return true if this SplitConfigurationRule object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Standalone.java b/src/main/java/com/adyen/model/management/Standalone.java index f7ff83259..2269832b2 100644 --- a/src/main/java/com/adyen/model/management/Standalone.java +++ b/src/main/java/com/adyen/model/management/Standalone.java @@ -45,66 +45,72 @@ public class Standalone { public Standalone() { } + /** + * The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. + * + * @param currencyCode + * @return the current {@code Standalone} instance, allowing for method chaining + */ public Standalone currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** + /** * The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. * @return currencyCode - **/ + */ @ApiModelProperty(value = "The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.") @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrencyCode() { return currencyCode; } - - /** - * The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. - * - * @param currencyCode - */ + /** + * The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. + * + * @param currencyCode + */ @JsonProperty(JSON_PROPERTY_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } - + /** + * Enable standalone mode. + * + * @param enableStandalone + * @return the current {@code Standalone} instance, allowing for method chaining + */ public Standalone enableStandalone(Boolean enableStandalone) { this.enableStandalone = enableStandalone; return this; } - /** + /** * Enable standalone mode. * @return enableStandalone - **/ + */ @ApiModelProperty(value = "Enable standalone mode.") @JsonProperty(JSON_PROPERTY_ENABLE_STANDALONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnableStandalone() { return enableStandalone; } - - /** - * Enable standalone mode. - * - * @param enableStandalone - */ + /** + * Enable standalone mode. + * + * @param enableStandalone + */ @JsonProperty(JSON_PROPERTY_ENABLE_STANDALONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnableStandalone(Boolean enableStandalone) { this.enableStandalone = enableStandalone; } - /** * Return true if this Standalone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StarInfo.java b/src/main/java/com/adyen/model/management/StarInfo.java index f1949ac04..4e00abcd9 100644 --- a/src/main/java/com/adyen/model/management/StarInfo.java +++ b/src/main/java/com/adyen/model/management/StarInfo.java @@ -83,66 +83,72 @@ public static ProcessingTypeEnum fromValue(String value) { public StarInfo() { } + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + * @return the current {@code StarInfo} instance, allowing for method chaining + */ public StarInfo processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. * @return processingType - **/ + */ @ApiModelProperty(required = true, value = "The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. ") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. - * - * @param processingType - */ + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code StarInfo} instance, allowing for method chaining + */ public StarInfo transactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; return this; } - /** - * Get transactionDescription + /** + * transactionDescription * @return transactionDescription - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionDescriptionInfo getTransactionDescription() { return transactionDescription; } - - /** - * transactionDescription - * - * @param transactionDescription - */ + /** + * transactionDescription + * + * @param transactionDescription + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { this.transactionDescription = transactionDescription; } - /** * Return true if this StarInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Store.java b/src/main/java/com/adyen/model/management/Store.java index b1bfb7dc7..74b826700 100644 --- a/src/main/java/com/adyen/model/management/Store.java +++ b/src/main/java/com/adyen/model/management/Store.java @@ -127,66 +127,78 @@ public static StatusEnum fromValue(String value) { public Store() { } + /** + * links + * + * @param links + * @return the current {@code Store} instance, allowing for method chaining + */ public Store links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * address + * + * @param address + * @return the current {@code Store} instance, allowing for method chaining + */ public Store address(StoreLocation address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreLocation getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(StoreLocation address) { this.address = address; } - + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + * @return the current {@code Store} instance, allowing for method chaining + */ public Store businessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; return this; @@ -200,301 +212,325 @@ public Store addBusinessLineIdsItem(String businessLineIdsItem) { return this; } - /** + /** * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. * @return businessLineIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBusinessLineIds() { return businessLineIds; } - - /** - * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. - * - * @param businessLineIds - */ + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; } - + /** + * The description of the store. + * + * @param description + * @return the current {@code Store} instance, allowing for method chaining + */ public Store description(String description) { this.description = description; return this; } - /** + /** * The description of the store. * @return description - **/ + */ @ApiModelProperty(value = "The description of the store.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the store. - * - * @param description - */ + /** + * The description of the store. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + * @return the current {@code Store} instance, allowing for method chaining + */ public Store externalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; return this; } - /** + /** * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalReferenceId() { return externalReferenceId; } - - /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. - * - * @param externalReferenceId - */ + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; } - + /** + * The unique identifier of the store. This value is generated by Adyen. + * + * @param id + * @return the current {@code Store} instance, allowing for method chaining + */ public Store id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the store. This value is generated by Adyen. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the store. This value is generated by Adyen.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the store. This value is generated by Adyen. - * - * @param id - */ + /** + * The unique identifier of the store. This value is generated by Adyen. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the merchant account that the store belongs to. + * + * @param merchantId + * @return the current {@code Store} instance, allowing for method chaining + */ public Store merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account that the store belongs to. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account that the store belongs to.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account that the store belongs to. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account that the store belongs to. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + * @return the current {@code Store} instance, allowing for method chaining + */ public Store phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. ") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. - * - * @param phoneNumber - */ + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_) + * + * @param reference + * @return the current {@code Store} instance, allowing for method chaining + */ public Store reference(String reference) { this.reference = reference; return this; } - /** + /** * A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_) * @return reference - **/ + */ @ApiModelProperty(value = "A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_)") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_) - * - * @param reference - */ + /** + * A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_) + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The store name shown on the shopper's bank or credit card statement and on the shopper receipt. + * + * @param shopperStatement + * @return the current {@code Store} instance, allowing for method chaining + */ public Store shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The store name shown on the shopper's bank or credit card statement and on the shopper receipt. + /** + * The store name shown on the shopper's bank or credit card statement and on the shopper receipt. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The store name shown on the shopper's bank or credit card statement and on the shopper receipt.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The store name shown on the shopper's bank or credit card statement and on the shopper receipt. - * - * @param shopperStatement - */ + /** + * The store name shown on the shopper's bank or credit card statement and on the shopper receipt. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * splitConfiguration + * + * @param splitConfiguration + * @return the current {@code Store} instance, allowing for method chaining + */ public Store splitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; return this; } - /** - * Get splitConfiguration + /** + * splitConfiguration * @return splitConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreSplitConfiguration getSplitConfiguration() { return splitConfiguration; } - - /** - * splitConfiguration - * - * @param splitConfiguration - */ + /** + * splitConfiguration + * + * @param splitConfiguration + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; } - + /** + * The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory. + * + * @param status + * @return the current {@code Store} instance, allowing for method chaining + */ public Store status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory. * @return status - **/ + */ @ApiModelProperty(value = "The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory. - * - * @param status - */ + /** + * The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this Store object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StoreAndForward.java b/src/main/java/com/adyen/model/management/StoreAndForward.java index 1b3f12beb..5ada8d563 100644 --- a/src/main/java/com/adyen/model/management/StoreAndForward.java +++ b/src/main/java/com/adyen/model/management/StoreAndForward.java @@ -53,6 +53,12 @@ public class StoreAndForward { public StoreAndForward() { } + /** + * The maximum amount that the terminal accepts for a single store-and-forward payment. + * + * @param maxAmount + * @return the current {@code StoreAndForward} instance, allowing for method chaining + */ public StoreAndForward maxAmount(List maxAmount) { this.maxAmount = maxAmount; return this; @@ -66,91 +72,94 @@ public StoreAndForward addMaxAmountItem(MinorUnitsMonetaryValue maxAmountItem) { return this; } - /** + /** * The maximum amount that the terminal accepts for a single store-and-forward payment. * @return maxAmount - **/ + */ @ApiModelProperty(value = "The maximum amount that the terminal accepts for a single store-and-forward payment.") @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMaxAmount() { return maxAmount; } - - /** - * The maximum amount that the terminal accepts for a single store-and-forward payment. - * - * @param maxAmount - */ + /** + * The maximum amount that the terminal accepts for a single store-and-forward payment. + * + * @param maxAmount + */ @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxAmount(List maxAmount) { this.maxAmount = maxAmount; } - + /** + * The maximum number of store-and-forward transactions per terminal that you can process while offline. + * + * @param maxPayments + * @return the current {@code StoreAndForward} instance, allowing for method chaining + */ public StoreAndForward maxPayments(Integer maxPayments) { this.maxPayments = maxPayments; return this; } - /** + /** * The maximum number of store-and-forward transactions per terminal that you can process while offline. * @return maxPayments - **/ + */ @ApiModelProperty(value = "The maximum number of store-and-forward transactions per terminal that you can process while offline.") @JsonProperty(JSON_PROPERTY_MAX_PAYMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMaxPayments() { return maxPayments; } - - /** - * The maximum number of store-and-forward transactions per terminal that you can process while offline. - * - * @param maxPayments - */ + /** + * The maximum number of store-and-forward transactions per terminal that you can process while offline. + * + * @param maxPayments + */ @JsonProperty(JSON_PROPERTY_MAX_PAYMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxPayments(Integer maxPayments) { this.maxPayments = maxPayments; } - + /** + * supportedCardTypes + * + * @param supportedCardTypes + * @return the current {@code StoreAndForward} instance, allowing for method chaining + */ public StoreAndForward supportedCardTypes(SupportedCardTypes supportedCardTypes) { this.supportedCardTypes = supportedCardTypes; return this; } - /** - * Get supportedCardTypes + /** + * supportedCardTypes * @return supportedCardTypes - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SUPPORTED_CARD_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SupportedCardTypes getSupportedCardTypes() { return supportedCardTypes; } - - /** - * supportedCardTypes - * - * @param supportedCardTypes - */ + /** + * supportedCardTypes + * + * @param supportedCardTypes + */ @JsonProperty(JSON_PROPERTY_SUPPORTED_CARD_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSupportedCardTypes(SupportedCardTypes supportedCardTypes) { this.supportedCardTypes = supportedCardTypes; } - /** * Return true if this StoreAndForward object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StoreCreationRequest.java b/src/main/java/com/adyen/model/management/StoreCreationRequest.java index 5bd0aab67..0f037009e 100644 --- a/src/main/java/com/adyen/model/management/StoreCreationRequest.java +++ b/src/main/java/com/adyen/model/management/StoreCreationRequest.java @@ -73,36 +73,45 @@ public class StoreCreationRequest { public StoreCreationRequest() { } + /** + * address + * + * @param address + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest address(StoreLocation address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreLocation getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(StoreLocation address) { this.address = address; } - + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest businessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; return this; @@ -116,211 +125,226 @@ public StoreCreationRequest addBusinessLineIdsItem(String businessLineIdsItem) { return this; } - /** + /** * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. * @return businessLineIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBusinessLineIds() { return businessLineIds; } - - /** - * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. - * - * @param businessLineIds - */ + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; } - + /** + * Your description of the store. + * + * @param description + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest description(String description) { this.description = description; return this; } - /** + /** * Your description of the store. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description of the store.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description of the store. - * - * @param description - */ + /** + * Your description of the store. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest externalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; return this; } - /** + /** * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalReferenceId() { return externalReferenceId; } - - /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. - * - * @param externalReferenceId - */ + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; } - + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. * @return phoneNumber - **/ + */ @ApiModelProperty(required = true, value = "The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. ") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. - * - * @param phoneNumber - */ + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). + * + * @param reference + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). * @return reference - **/ + */ @ApiModelProperty(value = "Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id).") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). - * - * @param reference - */ + /** + * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + * + * @param shopperStatement + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. * @return shopperStatement - **/ + */ @ApiModelProperty(required = true, value = "The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. - * - * @param shopperStatement - */ + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * splitConfiguration + * + * @param splitConfiguration + * @return the current {@code StoreCreationRequest} instance, allowing for method chaining + */ public StoreCreationRequest splitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; return this; } - /** - * Get splitConfiguration + /** + * splitConfiguration * @return splitConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreSplitConfiguration getSplitConfiguration() { return splitConfiguration; } - - /** - * splitConfiguration - * - * @param splitConfiguration - */ + /** + * splitConfiguration + * + * @param splitConfiguration + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; } - /** * Return true if this StoreCreationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java b/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java index 39eda2f09..390ac3bf7 100644 --- a/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java +++ b/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java @@ -77,36 +77,45 @@ public class StoreCreationWithMerchantCodeRequest { public StoreCreationWithMerchantCodeRequest() { } + /** + * address + * + * @param address + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest address(StoreLocation address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreLocation getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(StoreLocation address) { this.address = address; } - + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest businessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; return this; @@ -120,241 +129,259 @@ public StoreCreationWithMerchantCodeRequest addBusinessLineIdsItem(String busine return this; } - /** + /** * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. * @return businessLineIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBusinessLineIds() { return businessLineIds; } - - /** - * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. - * - * @param businessLineIds - */ + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/legalentity/latest/post/businessLines#responses-200-id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account. + * + * @param businessLineIds + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; } - + /** + * Your description of the store. + * + * @param description + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest description(String description) { this.description = description; return this; } - /** + /** * Your description of the store. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description of the store.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description of the store. - * - * @param description - */ + /** + * Your description of the store. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest externalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; return this; } - /** + /** * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalReferenceId() { return externalReferenceId; } - - /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. - * - * @param externalReferenceId - */ + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; } - + /** + * The unique identifier of the merchant account that the store belongs to. + * + * @param merchantId + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account that the store belongs to. * @return merchantId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the merchant account that the store belongs to.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account that the store belongs to. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account that the store belongs to. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. * @return phoneNumber - **/ + */ @ApiModelProperty(required = true, value = "The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. ") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. - * - * @param phoneNumber - */ + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). + * + * @param reference + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). * @return reference - **/ + */ @ApiModelProperty(value = "Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id).") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). - * - * @param reference - */ + /** + * Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_). If you do not provide a reference in your POST request, it is populated with the Adyen-generated [id](https://docs.adyen.com/api-explorer/Management/latest/post/stores#responses-200-id). + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + * + * @param shopperStatement + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. * @return shopperStatement - **/ + */ @ApiModelProperty(required = true, value = "The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. - * - * @param shopperStatement - */ + /** + * The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * splitConfiguration + * + * @param splitConfiguration + * @return the current {@code StoreCreationWithMerchantCodeRequest} instance, allowing for method chaining + */ public StoreCreationWithMerchantCodeRequest splitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; return this; } - /** - * Get splitConfiguration + /** + * splitConfiguration * @return splitConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreSplitConfiguration getSplitConfiguration() { return splitConfiguration; } - - /** - * splitConfiguration - * - * @param splitConfiguration - */ + /** + * splitConfiguration + * + * @param splitConfiguration + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; } - /** * Return true if this StoreCreationWithMerchantCodeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StoreLocation.java b/src/main/java/com/adyen/model/management/StoreLocation.java index 2dda8148f..6a4f8e251 100644 --- a/src/main/java/com/adyen/model/management/StoreLocation.java +++ b/src/main/java/com/adyen/model/management/StoreLocation.java @@ -65,216 +65,237 @@ public class StoreLocation { public StoreLocation() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. + * + * @param country + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation country(String country) { this.country = country; return this; } - /** + /** * The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. - * - * @param country - */ + /** + * The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The street address. + * + * @param line1 + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation line1(String line1) { this.line1 = line1; return this; } - /** + /** * The street address. * @return line1 - **/ + */ @ApiModelProperty(value = "The street address.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * The street address. - * - * @param line1 - */ + /** + * The street address. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * Second address line. + * + * @param line2 + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation line2(String line2) { this.line2 = line2; return this; } - /** + /** * Second address line. * @return line2 - **/ + */ @ApiModelProperty(value = "Second address line.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * Second address line. - * - * @param line2 - */ + /** + * Second address line. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * Third address line. + * + * @param line3 + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation line3(String line3) { this.line3 = line3; return this; } - /** + /** * Third address line. * @return line3 - **/ + */ @ApiModelProperty(value = "Third address line.") @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine3() { return line3; } - - /** - * Third address line. - * - * @param line3 - */ + /** + * Third address line. + * + * @param line3 + */ @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine3(String line3) { this.line3 = line3; } - + /** + * The postal code. + * + * @param postalCode + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. - * - * @param postalCode - */ + /** + * The postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + * @return the current {@code StoreLocation} instance, allowing for method chaining + */ public StoreLocation stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** + /** * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States - * - * @param stateOrProvince - */ + /** + * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this StoreLocation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java b/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java index 851ab1ab1..af1af0168 100644 --- a/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java +++ b/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java @@ -45,66 +45,72 @@ public class StoreSplitConfiguration { public StoreSplitConfiguration() { } + /** + * The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic). + * + * @param balanceAccountId + * @return the current {@code StoreSplitConfiguration} instance, allowing for method chaining + */ public StoreSplitConfiguration balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic). - * - * @param balanceAccountId - */ + /** + * The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). + * + * @param splitConfigurationId + * @return the current {@code StoreSplitConfiguration} instance, allowing for method chaining + */ public StoreSplitConfiguration splitConfigurationId(String splitConfigurationId) { this.splitConfigurationId = splitConfigurationId; return this; } - /** + /** * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). * @return splitConfigurationId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSplitConfigurationId() { return splitConfigurationId; } - - /** - * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). - * - * @param splitConfigurationId - */ + /** + * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). + * + * @param splitConfigurationId + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfigurationId(String splitConfigurationId) { this.splitConfigurationId = splitConfigurationId; } - /** * Return true if this StoreSplitConfiguration object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SupportedCardTypes.java b/src/main/java/com/adyen/model/management/SupportedCardTypes.java index bf73bbf2c..6ce28a38a 100644 --- a/src/main/java/com/adyen/model/management/SupportedCardTypes.java +++ b/src/main/java/com/adyen/model/management/SupportedCardTypes.java @@ -57,156 +57,171 @@ public class SupportedCardTypes { public SupportedCardTypes() { } + /** + * Set to **true** to accept credit cards. + * + * @param credit + * @return the current {@code SupportedCardTypes} instance, allowing for method chaining + */ public SupportedCardTypes credit(Boolean credit) { this.credit = credit; return this; } - /** + /** * Set to **true** to accept credit cards. * @return credit - **/ + */ @ApiModelProperty(value = "Set to **true** to accept credit cards.") @JsonProperty(JSON_PROPERTY_CREDIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getCredit() { return credit; } - - /** - * Set to **true** to accept credit cards. - * - * @param credit - */ + /** + * Set to **true** to accept credit cards. + * + * @param credit + */ @JsonProperty(JSON_PROPERTY_CREDIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCredit(Boolean credit) { this.credit = credit; } - + /** + * Set to **true** to accept debit cards. + * + * @param debit + * @return the current {@code SupportedCardTypes} instance, allowing for method chaining + */ public SupportedCardTypes debit(Boolean debit) { this.debit = debit; return this; } - /** + /** * Set to **true** to accept debit cards. * @return debit - **/ + */ @ApiModelProperty(value = "Set to **true** to accept debit cards.") @JsonProperty(JSON_PROPERTY_DEBIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDebit() { return debit; } - - /** - * Set to **true** to accept debit cards. - * - * @param debit - */ + /** + * Set to **true** to accept debit cards. + * + * @param debit + */ @JsonProperty(JSON_PROPERTY_DEBIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDebit(Boolean debit) { this.debit = debit; } - + /** + * Set to **true** to accept cards that allow deferred debit. + * + * @param deferredDebit + * @return the current {@code SupportedCardTypes} instance, allowing for method chaining + */ public SupportedCardTypes deferredDebit(Boolean deferredDebit) { this.deferredDebit = deferredDebit; return this; } - /** + /** * Set to **true** to accept cards that allow deferred debit. * @return deferredDebit - **/ + */ @ApiModelProperty(value = "Set to **true** to accept cards that allow deferred debit.") @JsonProperty(JSON_PROPERTY_DEFERRED_DEBIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDeferredDebit() { return deferredDebit; } - - /** - * Set to **true** to accept cards that allow deferred debit. - * - * @param deferredDebit - */ + /** + * Set to **true** to accept cards that allow deferred debit. + * + * @param deferredDebit + */ @JsonProperty(JSON_PROPERTY_DEFERRED_DEBIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeferredDebit(Boolean deferredDebit) { this.deferredDebit = deferredDebit; } - + /** + * Set to **true** to accept prepaid cards. + * + * @param prepaid + * @return the current {@code SupportedCardTypes} instance, allowing for method chaining + */ public SupportedCardTypes prepaid(Boolean prepaid) { this.prepaid = prepaid; return this; } - /** + /** * Set to **true** to accept prepaid cards. * @return prepaid - **/ + */ @ApiModelProperty(value = "Set to **true** to accept prepaid cards.") @JsonProperty(JSON_PROPERTY_PREPAID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPrepaid() { return prepaid; } - - /** - * Set to **true** to accept prepaid cards. - * - * @param prepaid - */ + /** + * Set to **true** to accept prepaid cards. + * + * @param prepaid + */ @JsonProperty(JSON_PROPERTY_PREPAID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrepaid(Boolean prepaid) { this.prepaid = prepaid; } - + /** + * Set to **true** to accept card types for which the terminal can't determine the funding source while offline. + * + * @param unknown + * @return the current {@code SupportedCardTypes} instance, allowing for method chaining + */ public SupportedCardTypes unknown(Boolean unknown) { this.unknown = unknown; return this; } - /** - * Set to **true** to accept card types for which the terminal can't determine the funding source while offline. + /** + * Set to **true** to accept card types for which the terminal can't determine the funding source while offline. * @return unknown - **/ + */ @ApiModelProperty(value = "Set to **true** to accept card types for which the terminal can't determine the funding source while offline.") @JsonProperty(JSON_PROPERTY_UNKNOWN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getUnknown() { return unknown; } - - /** - * Set to **true** to accept card types for which the terminal can't determine the funding source while offline. - * - * @param unknown - */ + /** + * Set to **true** to accept card types for which the terminal can't determine the funding source while offline. + * + * @param unknown + */ @JsonProperty(JSON_PROPERTY_UNKNOWN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUnknown(Boolean unknown) { this.unknown = unknown; } - /** * Return true if this SupportedCardTypes object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Surcharge.java b/src/main/java/com/adyen/model/management/Surcharge.java index 20fd259b1..67805d2ec 100644 --- a/src/main/java/com/adyen/model/management/Surcharge.java +++ b/src/main/java/com/adyen/model/management/Surcharge.java @@ -48,36 +48,45 @@ public class Surcharge { public Surcharge() { } + /** + * Show the surcharge details on the terminal, so the shopper can confirm. + * + * @param askConfirmation + * @return the current {@code Surcharge} instance, allowing for method chaining + */ public Surcharge askConfirmation(Boolean askConfirmation) { this.askConfirmation = askConfirmation; return this; } - /** + /** * Show the surcharge details on the terminal, so the shopper can confirm. * @return askConfirmation - **/ + */ @ApiModelProperty(value = "Show the surcharge details on the terminal, so the shopper can confirm.") @JsonProperty(JSON_PROPERTY_ASK_CONFIRMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAskConfirmation() { return askConfirmation; } - - /** - * Show the surcharge details on the terminal, so the shopper can confirm. - * - * @param askConfirmation - */ + /** + * Show the surcharge details on the terminal, so the shopper can confirm. + * + * @param askConfirmation + */ @JsonProperty(JSON_PROPERTY_ASK_CONFIRMATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAskConfirmation(Boolean askConfirmation) { this.askConfirmation = askConfirmation; } - + /** + * Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies. + * + * @param configurations + * @return the current {@code Surcharge} instance, allowing for method chaining + */ public Surcharge configurations(List configurations) { this.configurations = configurations; return this; @@ -91,31 +100,28 @@ public Surcharge addConfigurationsItem(ModelConfiguration configurationsItem) { return this; } - /** + /** * Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies. * @return configurations - **/ + */ @ApiModelProperty(value = "Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies.") @JsonProperty(JSON_PROPERTY_CONFIGURATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getConfigurations() { return configurations; } - - /** - * Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies. - * - * @param configurations - */ + /** + * Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies. + * + * @param configurations + */ @JsonProperty(JSON_PROPERTY_CONFIGURATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConfigurations(List configurations) { this.configurations = configurations; } - /** * Return true if this Surcharge object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/SwishInfo.java b/src/main/java/com/adyen/model/management/SwishInfo.java index 513a9ef2a..a8f0d137d 100644 --- a/src/main/java/com/adyen/model/management/SwishInfo.java +++ b/src/main/java/com/adyen/model/management/SwishInfo.java @@ -41,36 +41,39 @@ public class SwishInfo { public SwishInfo() { } + /** + * Swish number. Format: 10 digits without spaces. For example, **1231111111**. + * + * @param swishNumber + * @return the current {@code SwishInfo} instance, allowing for method chaining + */ public SwishInfo swishNumber(String swishNumber) { this.swishNumber = swishNumber; return this; } - /** + /** * Swish number. Format: 10 digits without spaces. For example, **1231111111**. * @return swishNumber - **/ + */ @ApiModelProperty(required = true, value = "Swish number. Format: 10 digits without spaces. For example, **1231111111**.") @JsonProperty(JSON_PROPERTY_SWISH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSwishNumber() { return swishNumber; } - - /** - * Swish number. Format: 10 digits without spaces. For example, **1231111111**. - * - * @param swishNumber - */ + /** + * Swish number. Format: 10 digits without spaces. For example, **1231111111**. + * + * @param swishNumber + */ @JsonProperty(JSON_PROPERTY_SWISH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSwishNumber(String swishNumber) { this.swishNumber = swishNumber; } - /** * Return true if this SwishInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TapToPay.java b/src/main/java/com/adyen/model/management/TapToPay.java index 128e6d349..8e06df3ea 100644 --- a/src/main/java/com/adyen/model/management/TapToPay.java +++ b/src/main/java/com/adyen/model/management/TapToPay.java @@ -41,36 +41,39 @@ public class TapToPay { public TapToPay() { } + /** + * The text shown on the screen during the Tap to Pay transaction. + * + * @param merchantDisplayName + * @return the current {@code TapToPay} instance, allowing for method chaining + */ public TapToPay merchantDisplayName(String merchantDisplayName) { this.merchantDisplayName = merchantDisplayName; return this; } - /** + /** * The text shown on the screen during the Tap to Pay transaction. * @return merchantDisplayName - **/ + */ @ApiModelProperty(value = "The text shown on the screen during the Tap to Pay transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantDisplayName() { return merchantDisplayName; } - - /** - * The text shown on the screen during the Tap to Pay transaction. - * - * @param merchantDisplayName - */ + /** + * The text shown on the screen during the Tap to Pay transaction. + * + * @param merchantDisplayName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_DISPLAY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantDisplayName(String merchantDisplayName) { this.merchantDisplayName = merchantDisplayName; } - /** * Return true if this TapToPay object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Terminal.java b/src/main/java/com/adyen/model/management/Terminal.java index afc8ee26f..64099c1eb 100644 --- a/src/main/java/com/adyen/model/management/Terminal.java +++ b/src/main/java/com/adyen/model/management/Terminal.java @@ -76,276 +76,303 @@ public class Terminal { public Terminal() { } + /** + * assignment + * + * @param assignment + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal assignment(TerminalAssignment assignment) { this.assignment = assignment; return this; } - /** - * Get assignment + /** + * assignment * @return assignment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ASSIGNMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalAssignment getAssignment() { return assignment; } - - /** - * assignment - * - * @param assignment - */ + /** + * assignment + * + * @param assignment + */ @JsonProperty(JSON_PROPERTY_ASSIGNMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssignment(TerminalAssignment assignment) { this.assignment = assignment; } - + /** + * connectivity + * + * @param connectivity + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal connectivity(TerminalConnectivity connectivity) { this.connectivity = connectivity; return this; } - /** - * Get connectivity + /** + * connectivity * @return connectivity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONNECTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalConnectivity getConnectivity() { return connectivity; } - - /** - * connectivity - * - * @param connectivity - */ + /** + * connectivity + * + * @param connectivity + */ @JsonProperty(JSON_PROPERTY_CONNECTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConnectivity(TerminalConnectivity connectivity) { this.connectivity = connectivity; } - + /** + * The software release currently in use on the terminal. + * + * @param firmwareVersion + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal firmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } - /** + /** * The software release currently in use on the terminal. * @return firmwareVersion - **/ + */ @ApiModelProperty(value = "The software release currently in use on the terminal.") @JsonProperty(JSON_PROPERTY_FIRMWARE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirmwareVersion() { return firmwareVersion; } - - /** - * The software release currently in use on the terminal. - * - * @param firmwareVersion - */ + /** + * The software release currently in use on the terminal. + * + * @param firmwareVersion + */ @JsonProperty(JSON_PROPERTY_FIRMWARE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; } - + /** + * The unique identifier of the terminal. + * + * @param id + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the terminal. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the terminal.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the terminal. - * - * @param id - */ + /** + * The unique identifier of the terminal. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. + * + * @param lastActivityAt + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal lastActivityAt(OffsetDateTime lastActivityAt) { this.lastActivityAt = lastActivityAt; return this; } - /** + /** * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. * @return lastActivityAt - **/ + */ @ApiModelProperty(value = "Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.") @JsonProperty(JSON_PROPERTY_LAST_ACTIVITY_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLastActivityAt() { return lastActivityAt; } - - /** - * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. - * - * @param lastActivityAt - */ + /** + * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. + * + * @param lastActivityAt + */ @JsonProperty(JSON_PROPERTY_LAST_ACTIVITY_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastActivityAt(OffsetDateTime lastActivityAt) { this.lastActivityAt = lastActivityAt; } - + /** + * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. + * + * @param lastTransactionAt + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal lastTransactionAt(OffsetDateTime lastTransactionAt) { this.lastTransactionAt = lastTransactionAt; return this; } - /** + /** * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. * @return lastTransactionAt - **/ + */ @ApiModelProperty(value = "Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.") @JsonProperty(JSON_PROPERTY_LAST_TRANSACTION_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLastTransactionAt() { return lastTransactionAt; } - - /** - * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. - * - * @param lastTransactionAt - */ + /** + * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. + * + * @param lastTransactionAt + */ @JsonProperty(JSON_PROPERTY_LAST_TRANSACTION_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastTransactionAt(OffsetDateTime lastTransactionAt) { this.lastTransactionAt = lastTransactionAt; } - + /** + * The model name of the terminal. + * + * @param model + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal model(String model) { this.model = model; return this; } - /** + /** * The model name of the terminal. * @return model - **/ + */ @ApiModelProperty(value = "The model name of the terminal.") @JsonProperty(JSON_PROPERTY_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModel() { return model; } - - /** - * The model name of the terminal. - * - * @param model - */ + /** + * The model name of the terminal. + * + * @param model + */ @JsonProperty(JSON_PROPERTY_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModel(String model) { this.model = model; } - + /** + * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. + * + * @param restartLocalTime + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal restartLocalTime(String restartLocalTime) { this.restartLocalTime = restartLocalTime; return this; } - /** + /** * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. * @return restartLocalTime - **/ + */ @ApiModelProperty(value = "The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format.") @JsonProperty(JSON_PROPERTY_RESTART_LOCAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRestartLocalTime() { return restartLocalTime; } - - /** - * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. - * - * @param restartLocalTime - */ + /** + * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. + * + * @param restartLocalTime + */ @JsonProperty(JSON_PROPERTY_RESTART_LOCAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRestartLocalTime(String restartLocalTime) { this.restartLocalTime = restartLocalTime; } - + /** + * The serial number of the terminal. + * + * @param serialNumber + * @return the current {@code Terminal} instance, allowing for method chaining + */ public Terminal serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } - /** + /** * The serial number of the terminal. * @return serialNumber - **/ + */ @ApiModelProperty(value = "The serial number of the terminal.") @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSerialNumber() { return serialNumber; } - - /** - * The serial number of the terminal. - * - * @param serialNumber - */ + /** + * The serial number of the terminal. + * + * @param serialNumber + */ @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } - /** * Return true if this Terminal object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalActionScheduleDetail.java b/src/main/java/com/adyen/model/management/TerminalActionScheduleDetail.java index 1dcd16488..8cc1891d5 100644 --- a/src/main/java/com/adyen/model/management/TerminalActionScheduleDetail.java +++ b/src/main/java/com/adyen/model/management/TerminalActionScheduleDetail.java @@ -45,66 +45,72 @@ public class TerminalActionScheduleDetail { public TerminalActionScheduleDetail() { } + /** + * The ID of the action on the specified terminal. + * + * @param id + * @return the current {@code TerminalActionScheduleDetail} instance, allowing for method chaining + */ public TerminalActionScheduleDetail id(String id) { this.id = id; return this; } - /** + /** * The ID of the action on the specified terminal. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the action on the specified terminal.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the action on the specified terminal. - * - * @param id - */ + /** + * The ID of the action on the specified terminal. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique ID of the terminal that the action applies to. + * + * @param terminalId + * @return the current {@code TerminalActionScheduleDetail} instance, allowing for method chaining + */ public TerminalActionScheduleDetail terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The unique ID of the terminal that the action applies to. * @return terminalId - **/ + */ @ApiModelProperty(value = "The unique ID of the terminal that the action applies to.") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The unique ID of the terminal that the action applies to. - * - * @param terminalId - */ + /** + * The unique ID of the terminal that the action applies to. + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - /** * Return true if this TerminalActionScheduleDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalAssignment.java b/src/main/java/com/adyen/model/management/TerminalAssignment.java index e93f87611..9f1606326 100644 --- a/src/main/java/com/adyen/model/management/TerminalAssignment.java +++ b/src/main/java/com/adyen/model/management/TerminalAssignment.java @@ -97,156 +97,171 @@ public static StatusEnum fromValue(String value) { public TerminalAssignment() { } + /** + * The unique identifier of the company account to which terminal is assigned. + * + * @param companyId + * @return the current {@code TerminalAssignment} instance, allowing for method chaining + */ public TerminalAssignment companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account to which terminal is assigned. * @return companyId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the company account to which terminal is assigned.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account to which terminal is assigned. - * - * @param companyId - */ + /** + * The unique identifier of the company account to which terminal is assigned. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * The unique identifier of the merchant account to which terminal is assigned. + * + * @param merchantId + * @return the current {@code TerminalAssignment} instance, allowing for method chaining + */ public TerminalAssignment merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account to which terminal is assigned. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account to which terminal is assigned.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account to which terminal is assigned. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account to which terminal is assigned. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * reassignmentTarget + * + * @param reassignmentTarget + * @return the current {@code TerminalAssignment} instance, allowing for method chaining + */ public TerminalAssignment reassignmentTarget(TerminalReassignmentTarget reassignmentTarget) { this.reassignmentTarget = reassignmentTarget; return this; } - /** - * Get reassignmentTarget + /** + * reassignmentTarget * @return reassignmentTarget - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REASSIGNMENT_TARGET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalReassignmentTarget getReassignmentTarget() { return reassignmentTarget; } - - /** - * reassignmentTarget - * - * @param reassignmentTarget - */ + /** + * reassignmentTarget + * + * @param reassignmentTarget + */ @JsonProperty(JSON_PROPERTY_REASSIGNMENT_TARGET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReassignmentTarget(TerminalReassignmentTarget reassignmentTarget) { this.reassignmentTarget = reassignmentTarget; } - + /** + * The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. + * + * @param status + * @return the current {@code TerminalAssignment} instance, allowing for method chaining + */ public TerminalAssignment status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. + /** + * The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. - * - * @param status - */ + /** + * The status of the reassignment. Possible values: * `reassignmentInProgress`: the terminal was boarded and is now scheduled to remove the configuration. Wait for the terminal to synchronize with the Adyen platform. * `deployed`: the terminal is deployed and reassigned. * `inventory`: the terminal is in inventory and cannot process transactions. * `boarded`: the terminal is boarded to a store, or a merchant account representing a store, and can process transactions. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The unique identifier of the store to which terminal is assigned. + * + * @param storeId + * @return the current {@code TerminalAssignment} instance, allowing for method chaining + */ public TerminalAssignment storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the store to which terminal is assigned. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store to which terminal is assigned.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the store to which terminal is assigned. - * - * @param storeId - */ + /** + * The unique identifier of the store to which terminal is assigned. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - /** * Return true if this TerminalAssignment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalConnectivity.java b/src/main/java/com/adyen/model/management/TerminalConnectivity.java index 917fcde93..c11162663 100644 --- a/src/main/java/com/adyen/model/management/TerminalConnectivity.java +++ b/src/main/java/com/adyen/model/management/TerminalConnectivity.java @@ -57,126 +57,138 @@ public class TerminalConnectivity { public TerminalConnectivity() { } + /** + * bluetooth + * + * @param bluetooth + * @return the current {@code TerminalConnectivity} instance, allowing for method chaining + */ public TerminalConnectivity bluetooth(TerminalConnectivityBluetooth bluetooth) { this.bluetooth = bluetooth; return this; } - /** - * Get bluetooth + /** + * bluetooth * @return bluetooth - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BLUETOOTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalConnectivityBluetooth getBluetooth() { return bluetooth; } - - /** - * bluetooth - * - * @param bluetooth - */ + /** + * bluetooth + * + * @param bluetooth + */ @JsonProperty(JSON_PROPERTY_BLUETOOTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBluetooth(TerminalConnectivityBluetooth bluetooth) { this.bluetooth = bluetooth; } - + /** + * cellular + * + * @param cellular + * @return the current {@code TerminalConnectivity} instance, allowing for method chaining + */ public TerminalConnectivity cellular(TerminalConnectivityCellular cellular) { this.cellular = cellular; return this; } - /** - * Get cellular + /** + * cellular * @return cellular - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CELLULAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalConnectivityCellular getCellular() { return cellular; } - - /** - * cellular - * - * @param cellular - */ + /** + * cellular + * + * @param cellular + */ @JsonProperty(JSON_PROPERTY_CELLULAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCellular(TerminalConnectivityCellular cellular) { this.cellular = cellular; } - + /** + * ethernet + * + * @param ethernet + * @return the current {@code TerminalConnectivity} instance, allowing for method chaining + */ public TerminalConnectivity ethernet(TerminalConnectivityEthernet ethernet) { this.ethernet = ethernet; return this; } - /** - * Get ethernet + /** + * ethernet * @return ethernet - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ETHERNET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalConnectivityEthernet getEthernet() { return ethernet; } - - /** - * ethernet - * - * @param ethernet - */ + /** + * ethernet + * + * @param ethernet + */ @JsonProperty(JSON_PROPERTY_ETHERNET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEthernet(TerminalConnectivityEthernet ethernet) { this.ethernet = ethernet; } - + /** + * wifi + * + * @param wifi + * @return the current {@code TerminalConnectivity} instance, allowing for method chaining + */ public TerminalConnectivity wifi(TerminalConnectivityWifi wifi) { this.wifi = wifi; return this; } - /** - * Get wifi + /** + * wifi * @return wifi - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WIFI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalConnectivityWifi getWifi() { return wifi; } - - /** - * wifi - * - * @param wifi - */ + /** + * wifi + * + * @param wifi + */ @JsonProperty(JSON_PROPERTY_WIFI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWifi(TerminalConnectivityWifi wifi) { this.wifi = wifi; } - /** * Return true if this TerminalConnectivity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalConnectivityBluetooth.java b/src/main/java/com/adyen/model/management/TerminalConnectivityBluetooth.java index 769099851..962531b6d 100644 --- a/src/main/java/com/adyen/model/management/TerminalConnectivityBluetooth.java +++ b/src/main/java/com/adyen/model/management/TerminalConnectivityBluetooth.java @@ -45,66 +45,72 @@ public class TerminalConnectivityBluetooth { public TerminalConnectivityBluetooth() { } + /** + * The terminal's Bluetooth IP address. + * + * @param ipAddress + * @return the current {@code TerminalConnectivityBluetooth} instance, allowing for method chaining + */ public TerminalConnectivityBluetooth ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } - /** - * The terminal's Bluetooth IP address. + /** + * The terminal's Bluetooth IP address. * @return ipAddress - **/ + */ @ApiModelProperty(value = "The terminal's Bluetooth IP address.") @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIpAddress() { return ipAddress; } - - /** - * The terminal's Bluetooth IP address. - * - * @param ipAddress - */ + /** + * The terminal's Bluetooth IP address. + * + * @param ipAddress + */ @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } - + /** + * The terminal's Bluetooth MAC address. + * + * @param macAddress + * @return the current {@code TerminalConnectivityBluetooth} instance, allowing for method chaining + */ public TerminalConnectivityBluetooth macAddress(String macAddress) { this.macAddress = macAddress; return this; } - /** - * The terminal's Bluetooth MAC address. + /** + * The terminal's Bluetooth MAC address. * @return macAddress - **/ + */ @ApiModelProperty(value = "The terminal's Bluetooth MAC address.") @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMacAddress() { return macAddress; } - - /** - * The terminal's Bluetooth MAC address. - * - * @param macAddress - */ + /** + * The terminal's Bluetooth MAC address. + * + * @param macAddress + */ @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMacAddress(String macAddress) { this.macAddress = macAddress; } - /** * Return true if this TerminalConnectivityBluetooth object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalConnectivityCellular.java b/src/main/java/com/adyen/model/management/TerminalConnectivityCellular.java index 75cb442bd..b4c467bd2 100644 --- a/src/main/java/com/adyen/model/management/TerminalConnectivityCellular.java +++ b/src/main/java/com/adyen/model/management/TerminalConnectivityCellular.java @@ -86,66 +86,72 @@ public static StatusEnum fromValue(String value) { public TerminalConnectivityCellular() { } + /** + * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. + * + * @param iccid + * @return the current {@code TerminalConnectivityCellular} instance, allowing for method chaining + */ public TerminalConnectivityCellular iccid(String iccid) { this.iccid = iccid; return this; } - /** + /** * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. * @return iccid - **/ + */ @ApiModelProperty(value = "The integrated circuit card identifier (ICCID) of the SIM card in the terminal.") @JsonProperty(JSON_PROPERTY_ICCID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIccid() { return iccid; } - - /** - * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. - * - * @param iccid - */ + /** + * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. + * + * @param iccid + */ @JsonProperty(JSON_PROPERTY_ICCID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIccid(String iccid) { this.iccid = iccid; } - + /** + * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal. + * + * @param status + * @return the current {@code TerminalConnectivityCellular} instance, allowing for method chaining + */ public TerminalConnectivityCellular status(StatusEnum status) { this.status = status; return this; } - /** + /** * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal. * @return status - **/ + */ @ApiModelProperty(value = "On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal. - * - * @param status - */ + /** + * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this TerminalConnectivityCellular object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalConnectivityEthernet.java b/src/main/java/com/adyen/model/management/TerminalConnectivityEthernet.java index 147e81842..f0233d265 100644 --- a/src/main/java/com/adyen/model/management/TerminalConnectivityEthernet.java +++ b/src/main/java/com/adyen/model/management/TerminalConnectivityEthernet.java @@ -49,96 +49,105 @@ public class TerminalConnectivityEthernet { public TerminalConnectivityEthernet() { } + /** + * The terminal's ethernet IP address. + * + * @param ipAddress + * @return the current {@code TerminalConnectivityEthernet} instance, allowing for method chaining + */ public TerminalConnectivityEthernet ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } - /** - * The terminal's ethernet IP address. + /** + * The terminal's ethernet IP address. * @return ipAddress - **/ + */ @ApiModelProperty(value = "The terminal's ethernet IP address.") @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIpAddress() { return ipAddress; } - - /** - * The terminal's ethernet IP address. - * - * @param ipAddress - */ + /** + * The terminal's ethernet IP address. + * + * @param ipAddress + */ @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } - + /** + * The ethernet link negotiation that the terminal uses. + * + * @param linkNegotiation + * @return the current {@code TerminalConnectivityEthernet} instance, allowing for method chaining + */ public TerminalConnectivityEthernet linkNegotiation(String linkNegotiation) { this.linkNegotiation = linkNegotiation; return this; } - /** + /** * The ethernet link negotiation that the terminal uses. * @return linkNegotiation - **/ + */ @ApiModelProperty(value = "The ethernet link negotiation that the terminal uses.") @JsonProperty(JSON_PROPERTY_LINK_NEGOTIATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLinkNegotiation() { return linkNegotiation; } - - /** - * The ethernet link negotiation that the terminal uses. - * - * @param linkNegotiation - */ + /** + * The ethernet link negotiation that the terminal uses. + * + * @param linkNegotiation + */ @JsonProperty(JSON_PROPERTY_LINK_NEGOTIATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinkNegotiation(String linkNegotiation) { this.linkNegotiation = linkNegotiation; } - + /** + * The terminal's ethernet MAC address. + * + * @param macAddress + * @return the current {@code TerminalConnectivityEthernet} instance, allowing for method chaining + */ public TerminalConnectivityEthernet macAddress(String macAddress) { this.macAddress = macAddress; return this; } - /** - * The terminal's ethernet MAC address. + /** + * The terminal's ethernet MAC address. * @return macAddress - **/ + */ @ApiModelProperty(value = "The terminal's ethernet MAC address.") @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMacAddress() { return macAddress; } - - /** - * The terminal's ethernet MAC address. - * - * @param macAddress - */ + /** + * The terminal's ethernet MAC address. + * + * @param macAddress + */ @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMacAddress(String macAddress) { this.macAddress = macAddress; } - /** * Return true if this TerminalConnectivityEthernet object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalConnectivityWifi.java b/src/main/java/com/adyen/model/management/TerminalConnectivityWifi.java index d6f62ede2..41641a090 100644 --- a/src/main/java/com/adyen/model/management/TerminalConnectivityWifi.java +++ b/src/main/java/com/adyen/model/management/TerminalConnectivityWifi.java @@ -49,96 +49,105 @@ public class TerminalConnectivityWifi { public TerminalConnectivityWifi() { } + /** + * The terminal's IP address in the Wi-Fi network. + * + * @param ipAddress + * @return the current {@code TerminalConnectivityWifi} instance, allowing for method chaining + */ public TerminalConnectivityWifi ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } - /** - * The terminal's IP address in the Wi-Fi network. + /** + * The terminal's IP address in the Wi-Fi network. * @return ipAddress - **/ + */ @ApiModelProperty(value = "The terminal's IP address in the Wi-Fi network.") @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIpAddress() { return ipAddress; } - - /** - * The terminal's IP address in the Wi-Fi network. - * - * @param ipAddress - */ + /** + * The terminal's IP address in the Wi-Fi network. + * + * @param ipAddress + */ @JsonProperty(JSON_PROPERTY_IP_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } - + /** + * The terminal's MAC address in the Wi-Fi network. + * + * @param macAddress + * @return the current {@code TerminalConnectivityWifi} instance, allowing for method chaining + */ public TerminalConnectivityWifi macAddress(String macAddress) { this.macAddress = macAddress; return this; } - /** - * The terminal's MAC address in the Wi-Fi network. + /** + * The terminal's MAC address in the Wi-Fi network. * @return macAddress - **/ + */ @ApiModelProperty(value = "The terminal's MAC address in the Wi-Fi network.") @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMacAddress() { return macAddress; } - - /** - * The terminal's MAC address in the Wi-Fi network. - * - * @param macAddress - */ + /** + * The terminal's MAC address in the Wi-Fi network. + * + * @param macAddress + */ @JsonProperty(JSON_PROPERTY_MAC_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMacAddress(String macAddress) { this.macAddress = macAddress; } - + /** + * The SSID of the Wi-Fi network that the terminal is connected to. + * + * @param ssid + * @return the current {@code TerminalConnectivityWifi} instance, allowing for method chaining + */ public TerminalConnectivityWifi ssid(String ssid) { this.ssid = ssid; return this; } - /** + /** * The SSID of the Wi-Fi network that the terminal is connected to. * @return ssid - **/ + */ @ApiModelProperty(value = "The SSID of the Wi-Fi network that the terminal is connected to.") @JsonProperty(JSON_PROPERTY_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSsid() { return ssid; } - - /** - * The SSID of the Wi-Fi network that the terminal is connected to. - * - * @param ssid - */ + /** + * The SSID of the Wi-Fi network that the terminal is connected to. + * + * @param ssid + */ @JsonProperty(JSON_PROPERTY_SSID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSsid(String ssid) { this.ssid = ssid; } - /** * Return true if this TerminalConnectivityWifi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalInstructions.java b/src/main/java/com/adyen/model/management/TerminalInstructions.java index 5f1687436..59f35b182 100644 --- a/src/main/java/com/adyen/model/management/TerminalInstructions.java +++ b/src/main/java/com/adyen/model/management/TerminalInstructions.java @@ -41,36 +41,39 @@ public class TerminalInstructions { public TerminalInstructions() { } + /** + * Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated. + * + * @param adyenAppRestart + * @return the current {@code TerminalInstructions} instance, allowing for method chaining + */ public TerminalInstructions adyenAppRestart(Boolean adyenAppRestart) { this.adyenAppRestart = adyenAppRestart; return this; } - /** + /** * Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated. * @return adyenAppRestart - **/ + */ @ApiModelProperty(value = "Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated.") @JsonProperty(JSON_PROPERTY_ADYEN_APP_RESTART) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAdyenAppRestart() { return adyenAppRestart; } - - /** - * Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated. - * - * @param adyenAppRestart - */ + /** + * Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated. + * + * @param adyenAppRestart + */ @JsonProperty(JSON_PROPERTY_ADYEN_APP_RESTART) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenAppRestart(Boolean adyenAppRestart) { this.adyenAppRestart = adyenAppRestart; } - /** * Return true if this TerminalInstructions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalModelsResponse.java b/src/main/java/com/adyen/model/management/TerminalModelsResponse.java index c77f8b4bc..722a7dd29 100644 --- a/src/main/java/com/adyen/model/management/TerminalModelsResponse.java +++ b/src/main/java/com/adyen/model/management/TerminalModelsResponse.java @@ -44,6 +44,12 @@ public class TerminalModelsResponse { public TerminalModelsResponse() { } + /** + * The terminal models that the API credential has access to. + * + * @param data + * @return the current {@code TerminalModelsResponse} instance, allowing for method chaining + */ public TerminalModelsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public TerminalModelsResponse addDataItem(IdName dataItem) { return this; } - /** + /** * The terminal models that the API credential has access to. * @return data - **/ + */ @ApiModelProperty(value = "The terminal models that the API credential has access to.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * The terminal models that the API credential has access to. - * - * @param data - */ + /** + * The terminal models that the API credential has access to. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this TerminalModelsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalOrder.java b/src/main/java/com/adyen/model/management/TerminalOrder.java index d7e5158c4..99b93fcaf 100644 --- a/src/main/java/com/adyen/model/management/TerminalOrder.java +++ b/src/main/java/com/adyen/model/management/TerminalOrder.java @@ -74,96 +74,111 @@ public class TerminalOrder { public TerminalOrder() { } + /** + * billingEntity + * + * @param billingEntity + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder billingEntity(BillingEntity billingEntity) { this.billingEntity = billingEntity; return this; } - /** - * Get billingEntity + /** + * billingEntity * @return billingEntity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingEntity getBillingEntity() { return billingEntity; } - - /** - * billingEntity - * - * @param billingEntity - */ + /** + * billingEntity + * + * @param billingEntity + */ @JsonProperty(JSON_PROPERTY_BILLING_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingEntity(BillingEntity billingEntity) { this.billingEntity = billingEntity; } - + /** + * The merchant-defined purchase order number. This will be printed on the packing list. + * + * @param customerOrderReference + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder customerOrderReference(String customerOrderReference) { this.customerOrderReference = customerOrderReference; return this; } - /** + /** * The merchant-defined purchase order number. This will be printed on the packing list. * @return customerOrderReference - **/ + */ @ApiModelProperty(value = "The merchant-defined purchase order number. This will be printed on the packing list.") @JsonProperty(JSON_PROPERTY_CUSTOMER_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCustomerOrderReference() { return customerOrderReference; } - - /** - * The merchant-defined purchase order number. This will be printed on the packing list. - * - * @param customerOrderReference - */ + /** + * The merchant-defined purchase order number. This will be printed on the packing list. + * + * @param customerOrderReference + */ @JsonProperty(JSON_PROPERTY_CUSTOMER_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomerOrderReference(String customerOrderReference) { this.customerOrderReference = customerOrderReference; } - + /** + * The unique identifier of the order. + * + * @param id + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the order. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the order.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the order. - * - * @param id - */ + /** + * The unique identifier of the order. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The products included in the order. + * + * @param items + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder items(List items) { this.items = items; return this; @@ -177,151 +192,160 @@ public TerminalOrder addItemsItem(OrderItem itemsItem) { return this; } - /** + /** * The products included in the order. * @return items - **/ + */ @ApiModelProperty(value = "The products included in the order.") @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItems() { return items; } - - /** - * The products included in the order. - * - * @param items - */ + /** + * The products included in the order. + * + * @param items + */ @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItems(List items) { this.items = items; } - + /** + * The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\". + * + * @param orderDate + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder orderDate(String orderDate) { this.orderDate = orderDate; return this; } - /** - * The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\". + /** + * The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\". * @return orderDate - **/ + */ @ApiModelProperty(value = "The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\".") @JsonProperty(JSON_PROPERTY_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderDate() { return orderDate; } - - /** - * The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\". - * - * @param orderDate - */ + /** + * The date and time that the order was placed, in UTC ISO 8601 format. For example, \"2011-12-03T10:15:30Z\". + * + * @param orderDate + */ @JsonProperty(JSON_PROPERTY_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderDate(String orderDate) { this.orderDate = orderDate; } - + /** + * shippingLocation + * + * @param shippingLocation + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder shippingLocation(ShippingLocation shippingLocation) { this.shippingLocation = shippingLocation; return this; } - /** - * Get shippingLocation + /** + * shippingLocation * @return shippingLocation - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHIPPING_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShippingLocation getShippingLocation() { return shippingLocation; } - - /** - * shippingLocation - * - * @param shippingLocation - */ + /** + * shippingLocation + * + * @param shippingLocation + */ @JsonProperty(JSON_PROPERTY_SHIPPING_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShippingLocation(ShippingLocation shippingLocation) { this.shippingLocation = shippingLocation; } - + /** + * The processing status of the order. + * + * @param status + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder status(String status) { this.status = status; return this; } - /** + /** * The processing status of the order. * @return status - **/ + */ @ApiModelProperty(value = "The processing status of the order.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The processing status of the order. - * - * @param status - */ + /** + * The processing status of the order. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - + /** + * The URL, provided by the carrier company, where the shipment can be tracked. + * + * @param trackingUrl + * @return the current {@code TerminalOrder} instance, allowing for method chaining + */ public TerminalOrder trackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; return this; } - /** + /** * The URL, provided by the carrier company, where the shipment can be tracked. * @return trackingUrl - **/ + */ @ApiModelProperty(value = "The URL, provided by the carrier company, where the shipment can be tracked.") @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTrackingUrl() { return trackingUrl; } - - /** - * The URL, provided by the carrier company, where the shipment can be tracked. - * - * @param trackingUrl - */ + /** + * The URL, provided by the carrier company, where the shipment can be tracked. + * + * @param trackingUrl + */ @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; } - /** * Return true if this TerminalOrder object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalOrderRequest.java b/src/main/java/com/adyen/model/management/TerminalOrderRequest.java index 5167b35d7..f3fe18eed 100644 --- a/src/main/java/com/adyen/model/management/TerminalOrderRequest.java +++ b/src/main/java/com/adyen/model/management/TerminalOrderRequest.java @@ -64,66 +64,78 @@ public class TerminalOrderRequest { public TerminalOrderRequest() { } + /** + * The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request. + * + * @param billingEntityId + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest billingEntityId(String billingEntityId) { this.billingEntityId = billingEntityId; return this; } - /** - * The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request. + /** + * The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request. * @return billingEntityId - **/ + */ @ApiModelProperty(value = "The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request.") @JsonProperty(JSON_PROPERTY_BILLING_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingEntityId() { return billingEntityId; } - - /** - * The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request. - * - * @param billingEntityId - */ + /** + * The identification of the billing entity to use for the order. > When ordering products in Brazil, you do not need to include the `billingEntityId` in the request. + * + * @param billingEntityId + */ @JsonProperty(JSON_PROPERTY_BILLING_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingEntityId(String billingEntityId) { this.billingEntityId = billingEntityId; } - + /** + * The merchant-defined purchase order reference. + * + * @param customerOrderReference + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest customerOrderReference(String customerOrderReference) { this.customerOrderReference = customerOrderReference; return this; } - /** + /** * The merchant-defined purchase order reference. * @return customerOrderReference - **/ + */ @ApiModelProperty(value = "The merchant-defined purchase order reference.") @JsonProperty(JSON_PROPERTY_CUSTOMER_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCustomerOrderReference() { return customerOrderReference; } - - /** - * The merchant-defined purchase order reference. - * - * @param customerOrderReference - */ + /** + * The merchant-defined purchase order reference. + * + * @param customerOrderReference + */ @JsonProperty(JSON_PROPERTY_CUSTOMER_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomerOrderReference(String customerOrderReference) { this.customerOrderReference = customerOrderReference; } - + /** + * The products included in the order. + * + * @param items + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest items(List items) { this.items = items; return this; @@ -137,121 +149,127 @@ public TerminalOrderRequest addItemsItem(OrderItem itemsItem) { return this; } - /** + /** * The products included in the order. * @return items - **/ + */ @ApiModelProperty(value = "The products included in the order.") @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItems() { return items; } - - /** - * The products included in the order. - * - * @param items - */ + /** + * The products included in the order. + * + * @param items + */ @JsonProperty(JSON_PROPERTY_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItems(List items) { this.items = items; } - + /** + * Type of order + * + * @param orderType + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest orderType(String orderType) { this.orderType = orderType; return this; } - /** + /** * Type of order * @return orderType - **/ + */ @ApiModelProperty(value = "Type of order") @JsonProperty(JSON_PROPERTY_ORDER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderType() { return orderType; } - - /** - * Type of order - * - * @param orderType - */ + /** + * Type of order + * + * @param orderType + */ @JsonProperty(JSON_PROPERTY_ORDER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderType(String orderType) { this.orderType = orderType; } - + /** + * The identification of the shipping location to use for the order. + * + * @param shippingLocationId + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest shippingLocationId(String shippingLocationId) { this.shippingLocationId = shippingLocationId; return this; } - /** + /** * The identification of the shipping location to use for the order. * @return shippingLocationId - **/ + */ @ApiModelProperty(value = "The identification of the shipping location to use for the order.") @JsonProperty(JSON_PROPERTY_SHIPPING_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShippingLocationId() { return shippingLocationId; } - - /** - * The identification of the shipping location to use for the order. - * - * @param shippingLocationId - */ + /** + * The identification of the shipping location to use for the order. + * + * @param shippingLocationId + */ @JsonProperty(JSON_PROPERTY_SHIPPING_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShippingLocationId(String shippingLocationId) { this.shippingLocationId = shippingLocationId; } - + /** + * The tax number of the billing entity. + * + * @param taxId + * @return the current {@code TerminalOrderRequest} instance, allowing for method chaining + */ public TerminalOrderRequest taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * The tax number of the billing entity. * @return taxId - **/ + */ @ApiModelProperty(value = "The tax number of the billing entity.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The tax number of the billing entity. - * - * @param taxId - */ + /** + * The tax number of the billing entity. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this TerminalOrderRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalOrdersResponse.java b/src/main/java/com/adyen/model/management/TerminalOrdersResponse.java index 1e547666f..0a6d75338 100644 --- a/src/main/java/com/adyen/model/management/TerminalOrdersResponse.java +++ b/src/main/java/com/adyen/model/management/TerminalOrdersResponse.java @@ -44,6 +44,12 @@ public class TerminalOrdersResponse { public TerminalOrdersResponse() { } + /** + * List of orders for payment terminal packages and parts. + * + * @param data + * @return the current {@code TerminalOrdersResponse} instance, allowing for method chaining + */ public TerminalOrdersResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public TerminalOrdersResponse addDataItem(TerminalOrder dataItem) { return this; } - /** + /** * List of orders for payment terminal packages and parts. * @return data - **/ + */ @ApiModelProperty(value = "List of orders for payment terminal packages and parts.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List of orders for payment terminal packages and parts. - * - * @param data - */ + /** + * List of orders for payment terminal packages and parts. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this TerminalOrdersResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalProduct.java b/src/main/java/com/adyen/model/management/TerminalProduct.java index d5cec882b..2533bc76e 100644 --- a/src/main/java/com/adyen/model/management/TerminalProduct.java +++ b/src/main/java/com/adyen/model/management/TerminalProduct.java @@ -60,66 +60,78 @@ public class TerminalProduct { public TerminalProduct() { } + /** + * Information about items included and integration options. + * + * @param description + * @return the current {@code TerminalProduct} instance, allowing for method chaining + */ public TerminalProduct description(String description) { this.description = description; return this; } - /** + /** * Information about items included and integration options. * @return description - **/ + */ @ApiModelProperty(value = "Information about items included and integration options.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Information about items included and integration options. - * - * @param description - */ + /** + * Information about items included and integration options. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the product. + * + * @param id + * @return the current {@code TerminalProduct} instance, allowing for method chaining + */ public TerminalProduct id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the product. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the product.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the product. - * - * @param id - */ + /** + * The unique identifier of the product. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * A list of parts included in the terminal package. + * + * @param itemsIncluded + * @return the current {@code TerminalProduct} instance, allowing for method chaining + */ public TerminalProduct itemsIncluded(List itemsIncluded) { this.itemsIncluded = itemsIncluded; return this; @@ -133,91 +145,94 @@ public TerminalProduct addItemsIncludedItem(String itemsIncludedItem) { return this; } - /** + /** * A list of parts included in the terminal package. * @return itemsIncluded - **/ + */ @ApiModelProperty(value = "A list of parts included in the terminal package.") @JsonProperty(JSON_PROPERTY_ITEMS_INCLUDED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getItemsIncluded() { return itemsIncluded; } - - /** - * A list of parts included in the terminal package. - * - * @param itemsIncluded - */ + /** + * A list of parts included in the terminal package. + * + * @param itemsIncluded + */ @JsonProperty(JSON_PROPERTY_ITEMS_INCLUDED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemsIncluded(List itemsIncluded) { this.itemsIncluded = itemsIncluded; } - + /** + * The descriptive name of the product. + * + * @param name + * @return the current {@code TerminalProduct} instance, allowing for method chaining + */ public TerminalProduct name(String name) { this.name = name; return this; } - /** + /** * The descriptive name of the product. * @return name - **/ + */ @ApiModelProperty(value = "The descriptive name of the product.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The descriptive name of the product. - * - * @param name - */ + /** + * The descriptive name of the product. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * price + * + * @param price + * @return the current {@code TerminalProduct} instance, allowing for method chaining + */ public TerminalProduct price(TerminalProductPrice price) { this.price = price; return this; } - /** - * Get price + /** + * price * @return price - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalProductPrice getPrice() { return price; } - - /** - * price - * - * @param price - */ + /** + * price + * + * @param price + */ @JsonProperty(JSON_PROPERTY_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrice(TerminalProductPrice price) { this.price = price; } - /** * Return true if this TerminalProduct object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalProductPrice.java b/src/main/java/com/adyen/model/management/TerminalProductPrice.java index 9fbbf1efd..de68d54f6 100644 --- a/src/main/java/com/adyen/model/management/TerminalProductPrice.java +++ b/src/main/java/com/adyen/model/management/TerminalProductPrice.java @@ -45,66 +45,72 @@ public class TerminalProductPrice { public TerminalProductPrice() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code TerminalProductPrice} instance, allowing for method chaining + */ public TerminalProductPrice currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The price of the item. + * + * @param value + * @return the current {@code TerminalProductPrice} instance, allowing for method chaining + */ public TerminalProductPrice value(Double value) { this.value = value; return this; } - /** + /** * The price of the item. * @return value - **/ + */ @ApiModelProperty(value = "The price of the item.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Double getValue() { return value; } - - /** - * The price of the item. - * - * @param value - */ + /** + * The price of the item. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Double value) { this.value = value; } - /** * Return true if this TerminalProductPrice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalProductsResponse.java b/src/main/java/com/adyen/model/management/TerminalProductsResponse.java index c86ad44aa..3bd18ae57 100644 --- a/src/main/java/com/adyen/model/management/TerminalProductsResponse.java +++ b/src/main/java/com/adyen/model/management/TerminalProductsResponse.java @@ -44,6 +44,12 @@ public class TerminalProductsResponse { public TerminalProductsResponse() { } + /** + * Terminal products that can be ordered. + * + * @param data + * @return the current {@code TerminalProductsResponse} instance, allowing for method chaining + */ public TerminalProductsResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public TerminalProductsResponse addDataItem(TerminalProduct dataItem) { return this; } - /** + /** * Terminal products that can be ordered. * @return data - **/ + */ @ApiModelProperty(value = "Terminal products that can be ordered.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Terminal products that can be ordered. - * - * @param data - */ + /** + * Terminal products that can be ordered. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this TerminalProductsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalReassignmentRequest.java b/src/main/java/com/adyen/model/management/TerminalReassignmentRequest.java index 9bc1a7461..84a1415f3 100644 --- a/src/main/java/com/adyen/model/management/TerminalReassignmentRequest.java +++ b/src/main/java/com/adyen/model/management/TerminalReassignmentRequest.java @@ -53,126 +53,138 @@ public class TerminalReassignmentRequest { public TerminalReassignmentRequest() { } + /** + * The unique identifier of the company account to which the terminal is reassigned. + * + * @param companyId + * @return the current {@code TerminalReassignmentRequest} instance, allowing for method chaining + */ public TerminalReassignmentRequest companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account to which the terminal is reassigned. * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account to which the terminal is reassigned.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account to which the terminal is reassigned. - * - * @param companyId - */ + /** + * The unique identifier of the company account to which the terminal is reassigned. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * Must be specified when reassigning terminals to a merchant account: - If set to **true**, reassigns terminals to the inventory of the merchant account and the terminals cannot process transactions. - If set to **false**, reassigns terminals directly to the merchant account and the terminals can process transactions. + * + * @param inventory + * @return the current {@code TerminalReassignmentRequest} instance, allowing for method chaining + */ public TerminalReassignmentRequest inventory(Boolean inventory) { this.inventory = inventory; return this; } - /** + /** * Must be specified when reassigning terminals to a merchant account: - If set to **true**, reassigns terminals to the inventory of the merchant account and the terminals cannot process transactions. - If set to **false**, reassigns terminals directly to the merchant account and the terminals can process transactions. * @return inventory - **/ + */ @ApiModelProperty(value = "Must be specified when reassigning terminals to a merchant account: - If set to **true**, reassigns terminals to the inventory of the merchant account and the terminals cannot process transactions. - If set to **false**, reassigns terminals directly to the merchant account and the terminals can process transactions.") @JsonProperty(JSON_PROPERTY_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getInventory() { return inventory; } - - /** - * Must be specified when reassigning terminals to a merchant account: - If set to **true**, reassigns terminals to the inventory of the merchant account and the terminals cannot process transactions. - If set to **false**, reassigns terminals directly to the merchant account and the terminals can process transactions. - * - * @param inventory - */ + /** + * Must be specified when reassigning terminals to a merchant account: - If set to **true**, reassigns terminals to the inventory of the merchant account and the terminals cannot process transactions. - If set to **false**, reassigns terminals directly to the merchant account and the terminals can process transactions. + * + * @param inventory + */ @JsonProperty(JSON_PROPERTY_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInventory(Boolean inventory) { this.inventory = inventory; } - + /** + * The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field. + * + * @param merchantId + * @return the current {@code TerminalReassignmentRequest} instance, allowing for method chaining + */ public TerminalReassignmentRequest merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** - * The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field. + /** + * The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account to which the terminal is reassigned. When reassigning terminals to a merchant account, you must specify the `inventory` field. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The unique identifier of the store to which the terminal is reassigned. + * + * @param storeId + * @return the current {@code TerminalReassignmentRequest} instance, allowing for method chaining + */ public TerminalReassignmentRequest storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the store to which the terminal is reassigned. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store to which the terminal is reassigned.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the store to which the terminal is reassigned. - * - * @param storeId - */ + /** + * The unique identifier of the store to which the terminal is reassigned. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - /** * Return true if this TerminalReassignmentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalReassignmentTarget.java b/src/main/java/com/adyen/model/management/TerminalReassignmentTarget.java index aa47a2a4e..10cc98ed4 100644 --- a/src/main/java/com/adyen/model/management/TerminalReassignmentTarget.java +++ b/src/main/java/com/adyen/model/management/TerminalReassignmentTarget.java @@ -53,126 +53,138 @@ public class TerminalReassignmentTarget { public TerminalReassignmentTarget() { } + /** + * The unique identifier of the company account to which the terminal is reassigned. + * + * @param companyId + * @return the current {@code TerminalReassignmentTarget} instance, allowing for method chaining + */ public TerminalReassignmentTarget companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account to which the terminal is reassigned. * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account to which the terminal is reassigned.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account to which the terminal is reassigned. - * - * @param companyId - */ + /** + * The unique identifier of the company account to which the terminal is reassigned. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions. + * + * @param inventory + * @return the current {@code TerminalReassignmentTarget} instance, allowing for method chaining + */ public TerminalReassignmentTarget inventory(Boolean inventory) { this.inventory = inventory; return this; } - /** + /** * Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions. * @return inventory - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions.") @JsonProperty(JSON_PROPERTY_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getInventory() { return inventory; } - - /** - * Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions. - * - * @param inventory - */ + /** + * Indicates if the terminal is reassigned to the inventory of the merchant account. - If **true**, the terminal is in the inventory of the merchant account and cannot process transactions. - If **false**, the terminal is reassigned directly to the merchant account and can process transactions. + * + * @param inventory + */ @JsonProperty(JSON_PROPERTY_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInventory(Boolean inventory) { this.inventory = inventory; } - + /** + * The unique identifier of the merchant account to which the terminal is reassigned. + * + * @param merchantId + * @return the current {@code TerminalReassignmentTarget} instance, allowing for method chaining + */ public TerminalReassignmentTarget merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account to which the terminal is reassigned. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account to which the terminal is reassigned.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account to which the terminal is reassigned. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account to which the terminal is reassigned. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The unique identifier of the store to which the terminal is reassigned. + * + * @param storeId + * @return the current {@code TerminalReassignmentTarget} instance, allowing for method chaining + */ public TerminalReassignmentTarget storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the store to which the terminal is reassigned. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store to which the terminal is reassigned.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the store to which the terminal is reassigned. - * - * @param storeId - */ + /** + * The unique identifier of the store to which the terminal is reassigned. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - /** * Return true if this TerminalReassignmentTarget object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TerminalSettings.java b/src/main/java/com/adyen/model/management/TerminalSettings.java index 969ff4f9d..712fcdfc3 100644 --- a/src/main/java/com/adyen/model/management/TerminalSettings.java +++ b/src/main/java/com/adyen/model/management/TerminalSettings.java @@ -149,66 +149,78 @@ public class TerminalSettings { public TerminalSettings() { } + /** + * cardholderReceipt + * + * @param cardholderReceipt + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings cardholderReceipt(CardholderReceipt cardholderReceipt) { this.cardholderReceipt = cardholderReceipt; return this; } - /** - * Get cardholderReceipt + /** + * cardholderReceipt * @return cardholderReceipt - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARDHOLDER_RECEIPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardholderReceipt getCardholderReceipt() { return cardholderReceipt; } - - /** - * cardholderReceipt - * - * @param cardholderReceipt - */ + /** + * cardholderReceipt + * + * @param cardholderReceipt + */ @JsonProperty(JSON_PROPERTY_CARDHOLDER_RECEIPT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardholderReceipt(CardholderReceipt cardholderReceipt) { this.cardholderReceipt = cardholderReceipt; } - + /** + * connectivity + * + * @param connectivity + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings connectivity(Connectivity connectivity) { this.connectivity = connectivity; return this; } - /** - * Get connectivity + /** + * connectivity * @return connectivity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONNECTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Connectivity getConnectivity() { return connectivity; } - - /** - * connectivity - * - * @param connectivity - */ + /** + * connectivity + * + * @param connectivity + */ @JsonProperty(JSON_PROPERTY_CONNECTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConnectivity(Connectivity connectivity) { this.connectivity = connectivity; } - + /** + * Settings for tipping with or without predefined options to choose from. The maximum number of predefined options is four, or three plus the option to enter a custom tip. + * + * @param gratuities + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings gratuities(List gratuities) { this.gratuities = gratuities; return this; @@ -222,601 +234,655 @@ public TerminalSettings addGratuitiesItem(Gratuity gratuitiesItem) { return this; } - /** + /** * Settings for tipping with or without predefined options to choose from. The maximum number of predefined options is four, or three plus the option to enter a custom tip. * @return gratuities - **/ + */ @ApiModelProperty(value = "Settings for tipping with or without predefined options to choose from. The maximum number of predefined options is four, or three plus the option to enter a custom tip.") @JsonProperty(JSON_PROPERTY_GRATUITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGratuities() { return gratuities; } - - /** - * Settings for tipping with or without predefined options to choose from. The maximum number of predefined options is four, or three plus the option to enter a custom tip. - * - * @param gratuities - */ + /** + * Settings for tipping with or without predefined options to choose from. The maximum number of predefined options is four, or three plus the option to enter a custom tip. + * + * @param gratuities + */ @JsonProperty(JSON_PROPERTY_GRATUITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGratuities(List gratuities) { this.gratuities = gratuities; } - + /** + * hardware + * + * @param hardware + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings hardware(Hardware hardware) { this.hardware = hardware; return this; } - /** - * Get hardware + /** + * hardware * @return hardware - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HARDWARE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Hardware getHardware() { return hardware; } - - /** - * hardware - * - * @param hardware - */ + /** + * hardware + * + * @param hardware + */ @JsonProperty(JSON_PROPERTY_HARDWARE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHardware(Hardware hardware) { this.hardware = hardware; } - + /** + * localization + * + * @param localization + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings localization(Localization localization) { this.localization = localization; return this; } - /** - * Get localization + /** + * localization * @return localization - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LOCALIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Localization getLocalization() { return localization; } - - /** - * localization - * - * @param localization - */ + /** + * localization + * + * @param localization + */ @JsonProperty(JSON_PROPERTY_LOCALIZATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalization(Localization localization) { this.localization = localization; } - + /** + * nexo + * + * @param nexo + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings nexo(Nexo nexo) { this.nexo = nexo; return this; } - /** - * Get nexo + /** + * nexo * @return nexo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Nexo getNexo() { return nexo; } - - /** - * nexo - * - * @param nexo - */ + /** + * nexo + * + * @param nexo + */ @JsonProperty(JSON_PROPERTY_NEXO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNexo(Nexo nexo) { this.nexo = nexo; } - + /** + * offlineProcessing + * + * @param offlineProcessing + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings offlineProcessing(OfflineProcessing offlineProcessing) { this.offlineProcessing = offlineProcessing; return this; } - /** - * Get offlineProcessing + /** + * offlineProcessing * @return offlineProcessing - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OFFLINE_PROCESSING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OfflineProcessing getOfflineProcessing() { return offlineProcessing; } - - /** - * offlineProcessing - * - * @param offlineProcessing - */ + /** + * offlineProcessing + * + * @param offlineProcessing + */ @JsonProperty(JSON_PROPERTY_OFFLINE_PROCESSING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOfflineProcessing(OfflineProcessing offlineProcessing) { this.offlineProcessing = offlineProcessing; } - + /** + * opi + * + * @param opi + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings opi(Opi opi) { this.opi = opi; return this; } - /** - * Get opi + /** + * opi * @return opi - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OPI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Opi getOpi() { return opi; } - - /** - * opi - * - * @param opi - */ + /** + * opi + * + * @param opi + */ @JsonProperty(JSON_PROPERTY_OPI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpi(Opi opi) { this.opi = opi; } - + /** + * passcodes + * + * @param passcodes + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings passcodes(Passcodes passcodes) { this.passcodes = passcodes; return this; } - /** - * Get passcodes + /** + * passcodes * @return passcodes - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PASSCODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Passcodes getPasscodes() { return passcodes; } - - /** - * passcodes - * - * @param passcodes - */ + /** + * passcodes + * + * @param passcodes + */ @JsonProperty(JSON_PROPERTY_PASSCODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPasscodes(Passcodes passcodes) { this.passcodes = passcodes; } - + /** + * payAtTable + * + * @param payAtTable + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings payAtTable(PayAtTable payAtTable) { this.payAtTable = payAtTable; return this; } - /** - * Get payAtTable + /** + * payAtTable * @return payAtTable - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PayAtTable getPayAtTable() { return payAtTable; } - - /** - * payAtTable - * - * @param payAtTable - */ + /** + * payAtTable + * + * @param payAtTable + */ @JsonProperty(JSON_PROPERTY_PAY_AT_TABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayAtTable(PayAtTable payAtTable) { this.payAtTable = payAtTable; } - + /** + * payment + * + * @param payment + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings payment(Payment payment) { this.payment = payment; return this; } - /** - * Get payment + /** + * payment * @return payment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Payment getPayment() { return payment; } - - /** - * payment - * - * @param payment - */ + /** + * payment + * + * @param payment + */ @JsonProperty(JSON_PROPERTY_PAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayment(Payment payment) { this.payment = payment; } - + /** + * receiptOptions + * + * @param receiptOptions + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings receiptOptions(ReceiptOptions receiptOptions) { this.receiptOptions = receiptOptions; return this; } - /** - * Get receiptOptions + /** + * receiptOptions * @return receiptOptions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECEIPT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReceiptOptions getReceiptOptions() { return receiptOptions; } - - /** - * receiptOptions - * - * @param receiptOptions - */ + /** + * receiptOptions + * + * @param receiptOptions + */ @JsonProperty(JSON_PROPERTY_RECEIPT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiptOptions(ReceiptOptions receiptOptions) { this.receiptOptions = receiptOptions; } - + /** + * receiptPrinting + * + * @param receiptPrinting + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings receiptPrinting(ReceiptPrinting receiptPrinting) { this.receiptPrinting = receiptPrinting; return this; } - /** - * Get receiptPrinting + /** + * receiptPrinting * @return receiptPrinting - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECEIPT_PRINTING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReceiptPrinting getReceiptPrinting() { return receiptPrinting; } - - /** - * receiptPrinting - * - * @param receiptPrinting - */ + /** + * receiptPrinting + * + * @param receiptPrinting + */ @JsonProperty(JSON_PROPERTY_RECEIPT_PRINTING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiptPrinting(ReceiptPrinting receiptPrinting) { this.receiptPrinting = receiptPrinting; } - + /** + * refunds + * + * @param refunds + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings refunds(Refunds refunds) { this.refunds = refunds; return this; } - /** - * Get refunds + /** + * refunds * @return refunds - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REFUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Refunds getRefunds() { return refunds; } - - /** - * refunds - * - * @param refunds - */ + /** + * refunds + * + * @param refunds + */ @JsonProperty(JSON_PROPERTY_REFUNDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefunds(Refunds refunds) { this.refunds = refunds; } - + /** + * signature + * + * @param signature + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings signature(Signature signature) { this.signature = signature; return this; } - /** - * Get signature + /** + * signature * @return signature - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Signature getSignature() { return signature; } - - /** - * signature - * - * @param signature - */ + /** + * signature + * + * @param signature + */ @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSignature(Signature signature) { this.signature = signature; } - + /** + * standalone + * + * @param standalone + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings standalone(Standalone standalone) { this.standalone = standalone; return this; } - /** - * Get standalone + /** + * standalone * @return standalone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STANDALONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Standalone getStandalone() { return standalone; } - - /** - * standalone - * - * @param standalone - */ + /** + * standalone + * + * @param standalone + */ @JsonProperty(JSON_PROPERTY_STANDALONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStandalone(Standalone standalone) { this.standalone = standalone; } - + /** + * storeAndForward + * + * @param storeAndForward + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings storeAndForward(StoreAndForward storeAndForward) { this.storeAndForward = storeAndForward; return this; } - /** - * Get storeAndForward + /** + * storeAndForward * @return storeAndForward - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STORE_AND_FORWARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreAndForward getStoreAndForward() { return storeAndForward; } - - /** - * storeAndForward - * - * @param storeAndForward - */ + /** + * storeAndForward + * + * @param storeAndForward + */ @JsonProperty(JSON_PROPERTY_STORE_AND_FORWARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreAndForward(StoreAndForward storeAndForward) { this.storeAndForward = storeAndForward; } - + /** + * surcharge + * + * @param surcharge + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings surcharge(Surcharge surcharge) { this.surcharge = surcharge; return this; } - /** - * Get surcharge + /** + * surcharge * @return surcharge - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Surcharge getSurcharge() { return surcharge; } - - /** - * surcharge - * - * @param surcharge - */ + /** + * surcharge + * + * @param surcharge + */ @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSurcharge(Surcharge surcharge) { this.surcharge = surcharge; } - + /** + * tapToPay + * + * @param tapToPay + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings tapToPay(TapToPay tapToPay) { this.tapToPay = tapToPay; return this; } - /** - * Get tapToPay + /** + * tapToPay * @return tapToPay - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TAP_TO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TapToPay getTapToPay() { return tapToPay; } - - /** - * tapToPay - * - * @param tapToPay - */ + /** + * tapToPay + * + * @param tapToPay + */ @JsonProperty(JSON_PROPERTY_TAP_TO_PAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTapToPay(TapToPay tapToPay) { this.tapToPay = tapToPay; } - + /** + * terminalInstructions + * + * @param terminalInstructions + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings terminalInstructions(TerminalInstructions terminalInstructions) { this.terminalInstructions = terminalInstructions; return this; } - /** - * Get terminalInstructions + /** + * terminalInstructions * @return terminalInstructions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TERMINAL_INSTRUCTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalInstructions getTerminalInstructions() { return terminalInstructions; } - - /** - * terminalInstructions - * - * @param terminalInstructions - */ + /** + * terminalInstructions + * + * @param terminalInstructions + */ @JsonProperty(JSON_PROPERTY_TERMINAL_INSTRUCTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalInstructions(TerminalInstructions terminalInstructions) { this.terminalInstructions = terminalInstructions; } - + /** + * timeouts + * + * @param timeouts + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings timeouts(Timeouts timeouts) { this.timeouts = timeouts; return this; } - /** - * Get timeouts + /** + * timeouts * @return timeouts - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TIMEOUTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Timeouts getTimeouts() { return timeouts; } - - /** - * timeouts - * - * @param timeouts - */ + /** + * timeouts + * + * @param timeouts + */ @JsonProperty(JSON_PROPERTY_TIMEOUTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeouts(Timeouts timeouts) { this.timeouts = timeouts; } - + /** + * wifiProfiles + * + * @param wifiProfiles + * @return the current {@code TerminalSettings} instance, allowing for method chaining + */ public TerminalSettings wifiProfiles(WifiProfiles wifiProfiles) { this.wifiProfiles = wifiProfiles; return this; } - /** - * Get wifiProfiles + /** + * wifiProfiles * @return wifiProfiles - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WIFI_PROFILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WifiProfiles getWifiProfiles() { return wifiProfiles; } - - /** - * wifiProfiles - * - * @param wifiProfiles - */ + /** + * wifiProfiles + * + * @param wifiProfiles + */ @JsonProperty(JSON_PROPERTY_WIFI_PROFILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWifiProfiles(WifiProfiles wifiProfiles) { this.wifiProfiles = wifiProfiles; } - /** * Return true if this TerminalSettings object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TestCompanyWebhookRequest.java b/src/main/java/com/adyen/model/management/TestCompanyWebhookRequest.java index ee1445b39..56d72270f 100644 --- a/src/main/java/com/adyen/model/management/TestCompanyWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/TestCompanyWebhookRequest.java @@ -52,6 +52,12 @@ public class TestCompanyWebhookRequest { public TestCompanyWebhookRequest() { } + /** + * List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications. + * + * @param merchantIds + * @return the current {@code TestCompanyWebhookRequest} instance, allowing for method chaining + */ public TestCompanyWebhookRequest merchantIds(List merchantIds) { this.merchantIds = merchantIds; return this; @@ -65,61 +71,67 @@ public TestCompanyWebhookRequest addMerchantIdsItem(String merchantIdsItem) { return this; } - /** - * List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications. + /** + * List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications. * @return merchantIds - **/ + */ @ApiModelProperty(value = "List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications.") @JsonProperty(JSON_PROPERTY_MERCHANT_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMerchantIds() { return merchantIds; } - - /** - * List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications. - * - * @param merchantIds - */ + /** + * List of `merchantId` values for which test webhooks will be sent. The list can have a maximum of 20 `merchantId` values. If not specified, we send sample notifications to all the merchant accounts that the webhook is configured for. If this is more than 20 merchant accounts, use this list to specify a subset of the merchant accounts for which to send test notifications. + * + * @param merchantIds + */ @JsonProperty(JSON_PROPERTY_MERCHANT_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantIds(List merchantIds) { this.merchantIds = merchantIds; } - + /** + * notification + * + * @param notification + * @return the current {@code TestCompanyWebhookRequest} instance, allowing for method chaining + */ public TestCompanyWebhookRequest notification(CustomNotification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * notification * @return notification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CustomNotification getNotification() { return notification; } - - /** - * notification - * - * @param notification - */ + /** + * notification + * + * @param notification + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotification(CustomNotification notification) { this.notification = notification; } - + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + * + * @param types + * @return the current {@code TestCompanyWebhookRequest} instance, allowing for method chaining + */ public TestCompanyWebhookRequest types(List types) { this.types = types; return this; @@ -133,31 +145,28 @@ public TestCompanyWebhookRequest addTypesItem(String typesItem) { return this; } - /** - * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** * @return types - **/ + */ @ApiModelProperty(value = "List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** ") @JsonProperty(JSON_PROPERTY_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTypes() { return types; } - - /** - * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** - * - * @param types - */ + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + * + * @param types + */ @JsonProperty(JSON_PROPERTY_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTypes(List types) { this.types = types; } - /** * Return true if this TestCompanyWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TestOutput.java b/src/main/java/com/adyen/model/management/TestOutput.java index 307eab3bf..8a2b1a539 100644 --- a/src/main/java/com/adyen/model/management/TestOutput.java +++ b/src/main/java/com/adyen/model/management/TestOutput.java @@ -61,186 +61,204 @@ public class TestOutput { public TestOutput() { } + /** + * Unique identifier of the merchant account that the notification is about. + * + * @param merchantId + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * Unique identifier of the merchant account that the notification is about. * @return merchantId - **/ + */ @ApiModelProperty(value = "Unique identifier of the merchant account that the notification is about.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * Unique identifier of the merchant account that the notification is about. - * - * @param merchantId - */ + /** + * Unique identifier of the merchant account that the notification is about. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks. + * + * @param output + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput output(String output) { this.output = output; return this; } - /** - * The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks. + /** + * The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks. * @return output - **/ + */ @ApiModelProperty(value = "The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks.") @JsonProperty(JSON_PROPERTY_OUTPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOutput() { return output; } - - /** - * The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks. - * - * @param output - */ + /** + * The response your server returned for the test webhook. Your server must respond with **HTTP 2xx* for the test webhook to be successful (`data.status`: **success**). Find out more about [accepting notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You can use the value of this field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot unsuccessful test webhooks. + * + * @param output + */ @JsonProperty(JSON_PROPERTY_OUTPUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOutput(String output) { this.output = output; } - + /** + * The [body of the notification webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure) that was sent to your server. + * + * @param requestSent + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput requestSent(String requestSent) { this.requestSent = requestSent; return this; } - /** + /** * The [body of the notification webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure) that was sent to your server. * @return requestSent - **/ + */ @ApiModelProperty(value = "The [body of the notification webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure) that was sent to your server.") @JsonProperty(JSON_PROPERTY_REQUEST_SENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestSent() { return requestSent; } - - /** - * The [body of the notification webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure) that was sent to your server. - * - * @param requestSent - */ + /** + * The [body of the notification webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure) that was sent to your server. + * + * @param requestSent + */ @JsonProperty(JSON_PROPERTY_REQUEST_SENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestSent(String requestSent) { this.requestSent = requestSent; } - + /** + * The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks. + * + * @param responseCode + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput responseCode(String responseCode) { this.responseCode = responseCode; return this; } - /** - * The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks. + /** + * The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks. * @return responseCode - **/ + */ @ApiModelProperty(example = "200", value = "The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks.") @JsonProperty(JSON_PROPERTY_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResponseCode() { return responseCode; } - - /** - * The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks. - * - * @param responseCode - */ + /** + * The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field value to troubleshoot failed test webhooks. + * + * @param responseCode + */ @JsonProperty(JSON_PROPERTY_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponseCode(String responseCode) { this.responseCode = responseCode; } - + /** + * The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example **304 ms**. + * + * @param responseTime + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput responseTime(String responseTime) { this.responseTime = responseTime; return this; } - /** + /** * The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example **304 ms**. * @return responseTime - **/ + */ @ApiModelProperty(value = "The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example **304 ms**.") @JsonProperty(JSON_PROPERTY_RESPONSE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResponseTime() { return responseTime; } - - /** - * The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example **304 ms**. - * - * @param responseTime - */ + /** + * The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example **304 ms**. + * + * @param responseTime + */ @JsonProperty(JSON_PROPERTY_RESPONSE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponseTime(String responseTime) { this.responseTime = responseTime; } - + /** + * The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks. + * + * @param status + * @return the current {@code TestOutput} instance, allowing for method chaining + */ public TestOutput status(String status) { this.status = status; return this; } - /** - * The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks. + /** + * The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks. - * - * @param status - */ + /** + * The status of the test request. Possible values are: * **success**, `data.responseCode`: **2xx**. * **failed**, in all other cases. You can use the value of the [`output`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-output) field together with the [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) value to troubleshoot failed test webhooks. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this TestOutput object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TestWebhookRequest.java b/src/main/java/com/adyen/model/management/TestWebhookRequest.java index 961ba291c..d4ecffb6b 100644 --- a/src/main/java/com/adyen/model/management/TestWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/TestWebhookRequest.java @@ -48,36 +48,45 @@ public class TestWebhookRequest { public TestWebhookRequest() { } + /** + * notification + * + * @param notification + * @return the current {@code TestWebhookRequest} instance, allowing for method chaining + */ public TestWebhookRequest notification(CustomNotification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * notification * @return notification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CustomNotification getNotification() { return notification; } - - /** - * notification - * - * @param notification - */ + /** + * notification + * + * @param notification + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotification(CustomNotification notification) { this.notification = notification; } - + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + * + * @param types + * @return the current {@code TestWebhookRequest} instance, allowing for method chaining + */ public TestWebhookRequest types(List types) { this.types = types; return this; @@ -91,31 +100,28 @@ public TestWebhookRequest addTypesItem(String typesItem) { return this; } - /** - * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** * @return types - **/ + */ @ApiModelProperty(value = "List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** ") @JsonProperty(JSON_PROPERTY_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTypes() { return types; } - - /** - * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** - * - * @param types - */ + /** + * List of event codes for which to send test notifications. Only the webhook types below are supported. Possible values if webhook `type`: **standard**: * **AUTHORISATION** * **CHARGEBACK_REVERSED** * **ORDER_CLOSED** * **ORDER_OPENED** * **PAIDOUT_REVERSED** * **PAYOUT_THIRDPARTY** * **REFUNDED_REVERSED** * **REFUND_WITH_DATA** * **REPORT_AVAILABLE** * **CUSTOM** - set your custom notification fields in the [`notification`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookId}/test__reqParam_notification) object. Possible values if webhook `type`: **banktransfer-notification**: * **PENDING** Possible values if webhook `type`: **report-notification**: * **REPORT_AVAILABLE** Possible values if webhook `type`: **ideal-notification**: * **AUTHORISATION** Possible values if webhook `type`: **pending-notification**: * **PENDING** + * + * @param types + */ @JsonProperty(JSON_PROPERTY_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTypes(List types) { this.types = types; } - /** * Return true if this TestWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TestWebhookResponse.java b/src/main/java/com/adyen/model/management/TestWebhookResponse.java index 5268a66c3..f2e605024 100644 --- a/src/main/java/com/adyen/model/management/TestWebhookResponse.java +++ b/src/main/java/com/adyen/model/management/TestWebhookResponse.java @@ -44,6 +44,12 @@ public class TestWebhookResponse { public TestWebhookResponse() { } + /** + * List with test results. Each test webhook we send has a list element with the result. + * + * @param data + * @return the current {@code TestWebhookResponse} instance, allowing for method chaining + */ public TestWebhookResponse data(List data) { this.data = data; return this; @@ -57,31 +63,28 @@ public TestWebhookResponse addDataItem(TestOutput dataItem) { return this; } - /** + /** * List with test results. Each test webhook we send has a list element with the result. * @return data - **/ + */ @ApiModelProperty(value = "List with test results. Each test webhook we send has a list element with the result.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * List with test results. Each test webhook we send has a list element with the result. - * - * @param data - */ + /** + * List with test results. Each test webhook we send has a list element with the result. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this TestWebhookResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TicketInfo.java b/src/main/java/com/adyen/model/management/TicketInfo.java index 37227c2e9..85b922e5d 100644 --- a/src/main/java/com/adyen/model/management/TicketInfo.java +++ b/src/main/java/com/adyen/model/management/TicketInfo.java @@ -41,36 +41,39 @@ public class TicketInfo { public TicketInfo() { } + /** + * Ticket requestorId + * + * @param requestorId + * @return the current {@code TicketInfo} instance, allowing for method chaining + */ public TicketInfo requestorId(String requestorId) { this.requestorId = requestorId; return this; } - /** + /** * Ticket requestorId * @return requestorId - **/ + */ @ApiModelProperty(value = "Ticket requestorId") @JsonProperty(JSON_PROPERTY_REQUESTOR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestorId() { return requestorId; } - - /** - * Ticket requestorId - * - * @param requestorId - */ + /** + * Ticket requestorId + * + * @param requestorId + */ @JsonProperty(JSON_PROPERTY_REQUESTOR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestorId(String requestorId) { this.requestorId = requestorId; } - /** * Return true if this TicketInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Timeouts.java b/src/main/java/com/adyen/model/management/Timeouts.java index 916a0d36e..bec158cdd 100644 --- a/src/main/java/com/adyen/model/management/Timeouts.java +++ b/src/main/java/com/adyen/model/management/Timeouts.java @@ -41,36 +41,39 @@ public class Timeouts { public Timeouts() { } + /** + * Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode. + * + * @param fromActiveToSleep + * @return the current {@code Timeouts} instance, allowing for method chaining + */ public Timeouts fromActiveToSleep(Integer fromActiveToSleep) { this.fromActiveToSleep = fromActiveToSleep; return this; } - /** + /** * Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode. * @return fromActiveToSleep - **/ + */ @ApiModelProperty(value = "Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.") @JsonProperty(JSON_PROPERTY_FROM_ACTIVE_TO_SLEEP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFromActiveToSleep() { return fromActiveToSleep; } - - /** - * Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode. - * - * @param fromActiveToSleep - */ + /** + * Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode. + * + * @param fromActiveToSleep + */ @JsonProperty(JSON_PROPERTY_FROM_ACTIVE_TO_SLEEP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFromActiveToSleep(Integer fromActiveToSleep) { this.fromActiveToSleep = fromActiveToSleep; } - /** * Return true if this Timeouts object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java b/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java index 1d1391202..8d342b6e0 100644 --- a/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java +++ b/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java @@ -82,66 +82,72 @@ public static TypeEnum fromValue(String value) { public TransactionDescriptionInfo() { } + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param doingBusinessAsName + * @return the current {@code TransactionDescriptionInfo} instance, allowing for method chaining + */ public TransactionDescriptionInfo doingBusinessAsName(String doingBusinessAsName) { this.doingBusinessAsName = doingBusinessAsName; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return doingBusinessAsName - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDoingBusinessAsName() { return doingBusinessAsName; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param doingBusinessAsName - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param doingBusinessAsName + */ @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDoingBusinessAsName(String doingBusinessAsName) { this.doingBusinessAsName = doingBusinessAsName; } - + /** + * The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method. + * + * @param type + * @return the current {@code TransactionDescriptionInfo} instance, allowing for method chaining + */ public TransactionDescriptionInfo type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method. * @return type - **/ + */ @ApiModelProperty(value = "The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method. - * - * @param type - */ + /** + * The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransactionDescriptionInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/TwintInfo.java b/src/main/java/com/adyen/model/management/TwintInfo.java index 1dc7d42f5..44b86ea9d 100644 --- a/src/main/java/com/adyen/model/management/TwintInfo.java +++ b/src/main/java/com/adyen/model/management/TwintInfo.java @@ -41,36 +41,39 @@ public class TwintInfo { public TwintInfo() { } + /** + * Twint logo. Format: Base64-encoded string. + * + * @param logo + * @return the current {@code TwintInfo} instance, allowing for method chaining + */ public TwintInfo logo(String logo) { this.logo = logo; return this; } - /** + /** * Twint logo. Format: Base64-encoded string. * @return logo - **/ + */ @ApiModelProperty(required = true, value = "Twint logo. Format: Base64-encoded string.") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogo() { return logo; } - - /** - * Twint logo. Format: Base64-encoded string. - * - * @param logo - */ + /** + * Twint logo. Format: Base64-encoded string. + * + * @param logo + */ @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(String logo) { this.logo = logo; } - /** * Return true if this TwintInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java b/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java index e1089b90b..231b92b00 100644 --- a/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java +++ b/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public UninstallAndroidAppDetails() { } + /** + * The unique identifier of the app to be uninstalled. + * + * @param appId + * @return the current {@code UninstallAndroidAppDetails} instance, allowing for method chaining + */ public UninstallAndroidAppDetails appId(String appId) { this.appId = appId; return this; } - /** + /** * The unique identifier of the app to be uninstalled. * @return appId - **/ + */ @ApiModelProperty(value = "The unique identifier of the app to be uninstalled.") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAppId() { return appId; } - - /** - * The unique identifier of the app to be uninstalled. - * - * @param appId - */ + /** + * The unique identifier of the app to be uninstalled. + * + * @param appId + */ @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } - + /** + * Type of terminal action: Uninstall an Android app. + * + * @param type + * @return the current {@code UninstallAndroidAppDetails} instance, allowing for method chaining + */ public UninstallAndroidAppDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of terminal action: Uninstall an Android app. * @return type - **/ + */ @ApiModelProperty(value = "Type of terminal action: Uninstall an Android app.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of terminal action: Uninstall an Android app. - * - * @param type - */ + /** + * Type of terminal action: Uninstall an Android app. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UninstallAndroidAppDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java b/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java index 271a4536d..581a3756d 100644 --- a/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java +++ b/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public UninstallAndroidCertificateDetails() { } + /** + * The unique identifier of the certificate to be uninstalled. + * + * @param certificateId + * @return the current {@code UninstallAndroidCertificateDetails} instance, allowing for method chaining + */ public UninstallAndroidCertificateDetails certificateId(String certificateId) { this.certificateId = certificateId; return this; } - /** + /** * The unique identifier of the certificate to be uninstalled. * @return certificateId - **/ + */ @ApiModelProperty(value = "The unique identifier of the certificate to be uninstalled.") @JsonProperty(JSON_PROPERTY_CERTIFICATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCertificateId() { return certificateId; } - - /** - * The unique identifier of the certificate to be uninstalled. - * - * @param certificateId - */ + /** + * The unique identifier of the certificate to be uninstalled. + * + * @param certificateId + */ @JsonProperty(JSON_PROPERTY_CERTIFICATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCertificateId(String certificateId) { this.certificateId = certificateId; } - + /** + * Type of terminal action: Uninstall an Android certificate. + * + * @param type + * @return the current {@code UninstallAndroidCertificateDetails} instance, allowing for method chaining + */ public UninstallAndroidCertificateDetails type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of terminal action: Uninstall an Android certificate. * @return type - **/ + */ @ApiModelProperty(value = "Type of terminal action: Uninstall an Android certificate.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of terminal action: Uninstall an Android certificate. - * - * @param type - */ + /** + * Type of terminal action: Uninstall an Android certificate. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UninstallAndroidCertificateDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdatableAddress.java b/src/main/java/com/adyen/model/management/UpdatableAddress.java index b6f2e2f85..d17c3803b 100644 --- a/src/main/java/com/adyen/model/management/UpdatableAddress.java +++ b/src/main/java/com/adyen/model/management/UpdatableAddress.java @@ -61,186 +61,204 @@ public class UpdatableAddress { public UpdatableAddress() { } + /** + * The name of the city. + * + * @param city + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress city(String city) { this.city = city; return this; } - /** + /** * The name of the city. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. - * - * @param city - */ + /** + * The name of the city. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The street address. + * + * @param line1 + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress line1(String line1) { this.line1 = line1; return this; } - /** + /** * The street address. * @return line1 - **/ + */ @ApiModelProperty(value = "The street address.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * The street address. - * - * @param line1 - */ + /** + * The street address. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * Second address line. + * + * @param line2 + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress line2(String line2) { this.line2 = line2; return this; } - /** + /** * Second address line. * @return line2 - **/ + */ @ApiModelProperty(value = "Second address line.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * Second address line. - * - * @param line2 - */ + /** + * Second address line. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * Third address line. + * + * @param line3 + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress line3(String line3) { this.line3 = line3; return this; } - /** + /** * Third address line. * @return line3 - **/ + */ @ApiModelProperty(value = "Third address line.") @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine3() { return line3; } - - /** - * Third address line. - * - * @param line3 - */ + /** + * Third address line. + * + * @param line3 + */ @JsonProperty(JSON_PROPERTY_LINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine3(String line3) { this.line3 = line3; } - + /** + * The postal code. + * + * @param postalCode + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. - * - * @param postalCode - */ + /** + * The postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + * @return the current {@code UpdatableAddress} instance, allowing for method chaining + */ public UpdatableAddress stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** + /** * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States - * - * @param stateOrProvince - */ + /** + * The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this UpdatableAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateCompanyApiCredentialRequest.java b/src/main/java/com/adyen/model/management/UpdateCompanyApiCredentialRequest.java index 4630dacaa..b61abcf2f 100644 --- a/src/main/java/com/adyen/model/management/UpdateCompanyApiCredentialRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateCompanyApiCredentialRequest.java @@ -59,36 +59,45 @@ public class UpdateCompanyApiCredentialRequest { public UpdateCompanyApiCredentialRequest() { } + /** + * Indicates if the API credential is enabled. + * + * @param active + * @return the current {@code UpdateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public UpdateCompanyApiCredentialRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. * @return active - **/ + */ @ApiModelProperty(value = "Indicates if the API credential is enabled.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. + * + * @param allowedOrigins + * @return the current {@code UpdateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public UpdateCompanyApiCredentialRequest allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -102,31 +111,34 @@ public UpdateCompanyApiCredentialRequest addAllowedOriginsItem(String allowedOri return this; } - /** + /** * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. - * - * @param allowedOrigins - */ + /** + * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + * @return the current {@code UpdateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public UpdateCompanyApiCredentialRequest associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -140,61 +152,67 @@ public UpdateCompanyApiCredentialRequest addAssociatedMerchantAccountsItem(Strin return this; } - /** + /** * List of merchant accounts that the API credential has access to. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "List of merchant accounts that the API credential has access to.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * List of merchant accounts that the API credential has access to. - * - * @param associatedMerchantAccounts - */ + /** + * List of merchant accounts that the API credential has access to. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code UpdateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public UpdateCompanyApiCredentialRequest description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + * @return the current {@code UpdateCompanyApiCredentialRequest} instance, allowing for method chaining + */ public UpdateCompanyApiCredentialRequest roles(List roles) { this.roles = roles; return this; @@ -208,31 +226,28 @@ public UpdateCompanyApiCredentialRequest addRolesItem(String rolesItem) { return this; } - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. * @return roles - **/ + */ @ApiModelProperty(value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - /** * Return true if this UpdateCompanyApiCredentialRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateCompanyUserRequest.java b/src/main/java/com/adyen/model/management/UpdateCompanyUserRequest.java index 5141b7a64..0aa3fdfce 100644 --- a/src/main/java/com/adyen/model/management/UpdateCompanyUserRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateCompanyUserRequest.java @@ -72,6 +72,12 @@ public class UpdateCompanyUserRequest { public UpdateCompanyUserRequest() { } + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -85,61 +91,67 @@ public UpdateCompanyUserRequest addAccountGroupsItem(String accountGroupsItem) { return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Indicates whether this user is active. + * + * @param active + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates whether this user is active. * @return active - **/ + */ @ApiModelProperty(value = "Indicates whether this user is active.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates whether this user is active. - * - * @param active - */ + /** + * Indicates whether this user is active. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with. + * + * @param associatedMerchantAccounts + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest associatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; return this; @@ -153,121 +165,133 @@ public UpdateCompanyUserRequest addAssociatedMerchantAccountsItem(String associa return this; } - /** + /** * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with. * @return associatedMerchantAccounts - **/ + */ @ApiModelProperty(value = "The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.") @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAssociatedMerchantAccounts() { return associatedMerchantAccounts; } - - /** - * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with. - * - * @param associatedMerchantAccounts - */ + /** + * The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with. + * + * @param associatedMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAssociatedMerchantAccounts(List associatedMerchantAccounts) { this.associatedMerchantAccounts = associatedMerchantAccounts; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest loginMethod(String loginMethod) { this.loginMethod = loginMethod; return this; } - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** * @return loginMethod - **/ + */ @ApiModelProperty(value = "The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** ") @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLoginMethod() { return loginMethod; } - - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** - * - * @param loginMethod - */ + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + */ @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLoginMethod(String loginMethod) { this.loginMethod = loginMethod; } - + /** + * name + * + * @param name + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest name(Name2 name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name2 getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name2 name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest roles(List roles) { this.roles = roles; return this; @@ -281,61 +305,61 @@ public UpdateCompanyUserRequest addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code UpdateCompanyUserRequest} instance, allowing for method chaining + */ public UpdateCompanyUserRequest timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - /** * Return true if this UpdateCompanyUserRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateCompanyWebhookRequest.java b/src/main/java/com/adyen/model/management/UpdateCompanyWebhookRequest.java index 10d60e872..b12bd9a91 100644 --- a/src/main/java/com/adyen/model/management/UpdateCompanyWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateCompanyWebhookRequest.java @@ -246,276 +246,309 @@ public static NetworkTypeEnum fromValue(String value) { public UpdateCompanyWebhookRequest() { } + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest acceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; return this; } - /** + /** * Indicates if expired SSL certificates are accepted. Default value: **false**. * @return acceptsExpiredCertificate - **/ + */ @ApiModelProperty(value = "Indicates if expired SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsExpiredCertificate() { return acceptsExpiredCertificate; } - - /** - * Indicates if expired SSL certificates are accepted. Default value: **false**. - * - * @param acceptsExpiredCertificate - */ + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; } - + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest acceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; return this; } - /** + /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. * @return acceptsSelfSignedCertificate - **/ + */ @ApiModelProperty(value = "Indicates if self-signed SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsSelfSignedCertificate() { return acceptsSelfSignedCertificate; } - - /** - * Indicates if self-signed SSL certificates are accepted. Default value: **false**. - * - * @param acceptsSelfSignedCertificate - */ + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; } - + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest acceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; return this; } - /** + /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. * @return acceptsUntrustedRootCertificate - **/ + */ @ApiModelProperty(value = "Indicates if untrusted SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsUntrustedRootCertificate() { return acceptsUntrustedRootCertificate; } - - /** - * Indicates if untrusted SSL certificates are accepted. Default value: **false**. - * - * @param acceptsUntrustedRootCertificate - */ + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; } - + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. * @return active - **/ + */ @ApiModelProperty(value = "Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. - * - * @param active - */ + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * additionalSettings + * + * @param additionalSettings + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest additionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; return this; } - /** - * Get additionalSettings + /** + * additionalSettings * @return additionalSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalSettings getAdditionalSettings() { return additionalSettings; } - - /** - * additionalSettings - * - * @param additionalSettings - */ + /** + * additionalSettings + * + * @param additionalSettings + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; } - + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest communicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; return this; } - /** + /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** * @return communicationFormat - **/ + */ @ApiModelProperty(example = "soap", value = "Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** ") @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommunicationFormatEnum getCommunicationFormat() { return communicationFormat; } - - /** - * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** - * - * @param communicationFormat - */ + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + */ @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommunicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; } - + /** + * Your description for this webhook configuration. + * + * @param description + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for this webhook configuration. * @return description - **/ + */ @ApiModelProperty(value = "Your description for this webhook configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for this webhook configuration. - * - * @param description - */ + /** + * Your description for this webhook configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest encryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; return this; } - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. * @return encryptionProtocol - **/ + */ @ApiModelProperty(example = "TLSv1.2", value = "SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.") @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptionProtocolEnum getEncryptionProtocol() { return encryptionProtocol; } - - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. - * - * @param encryptionProtocol - */ + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; } - + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest filterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; return this; } - /** - * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * @return filterMerchantAccountType - **/ + */ @ApiModelProperty(value = "Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`.") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FilterMerchantAccountTypeEnum getFilterMerchantAccountType() { return filterMerchantAccountType; } - - /** - * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. - * - * @param filterMerchantAccountType - */ + /** + * Shows how merchant accounts are filtered when configuring the webhook. Possible values: * **includeAccounts**: The webhook is configured for the merchant accounts listed in `filterMerchantAccounts`. * **excludeAccounts**: The webhook is not configured for the merchant accounts listed in `filterMerchantAccounts`. * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; } - + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest filterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; return this; @@ -529,181 +562,193 @@ public UpdateCompanyWebhookRequest addFilterMerchantAccountsItem(String filterMe return this; } - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. * @return filterMerchantAccounts - **/ + */ @ApiModelProperty(value = "A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**.") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFilterMerchantAccounts() { return filterMerchantAccounts; } - - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. - * - * @param filterMerchantAccounts - */ + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; } - + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest networkType(NetworkTypeEnum networkType) { this.networkType = networkType; return this; } - /** + /** * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. * @return networkType - **/ + */ @ApiModelProperty(value = "Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.") @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkTypeEnum getNetworkType() { return networkType; } - - /** - * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. - * - * @param networkType - */ + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + */ @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkType(NetworkTypeEnum networkType) { this.networkType = networkType; } - + /** + * Password to access the webhook URL. + * + * @param password + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest password(String password) { this.password = password; return this; } - /** + /** * Password to access the webhook URL. * @return password - **/ + */ @ApiModelProperty(value = "Password to access the webhook URL.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * Password to access the webhook URL. - * - * @param password - */ + /** + * Password to access the webhook URL. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest populateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; return this; } - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. * @return populateSoapActionHeader - **/ + */ @ApiModelProperty(value = "Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.") @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPopulateSoapActionHeader() { return populateSoapActionHeader; } - - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. - * - * @param populateSoapActionHeader - */ + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + */ @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; } - + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest url(String url) { this.url = url; return this; } - /** + /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. * @return url - **/ + */ @ApiModelProperty(example = "http://www.adyen.com", value = "Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. - * - * @param url - */ + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * Username to access the webhook URL. + * + * @param username + * @return the current {@code UpdateCompanyWebhookRequest} instance, allowing for method chaining + */ public UpdateCompanyWebhookRequest username(String username) { this.username = username; return this; } - /** + /** * Username to access the webhook URL. * @return username - **/ + */ @ApiModelProperty(value = "Username to access the webhook URL.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * Username to access the webhook URL. - * - * @param username - */ + /** + * Username to access the webhook URL. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this UpdateCompanyWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateMerchantApiCredentialRequest.java b/src/main/java/com/adyen/model/management/UpdateMerchantApiCredentialRequest.java index 2f762f5a9..0eaba99ea 100644 --- a/src/main/java/com/adyen/model/management/UpdateMerchantApiCredentialRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateMerchantApiCredentialRequest.java @@ -55,36 +55,45 @@ public class UpdateMerchantApiCredentialRequest { public UpdateMerchantApiCredentialRequest() { } + /** + * Indicates if the API credential is enabled. + * + * @param active + * @return the current {@code UpdateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public UpdateMerchantApiCredentialRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the API credential is enabled. * @return active - **/ + */ @ApiModelProperty(value = "Indicates if the API credential is enabled.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the API credential is enabled. - * - * @param active - */ + /** + * Indicates if the API credential is enabled. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. + * + * @param allowedOrigins + * @return the current {@code UpdateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public UpdateMerchantApiCredentialRequest allowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; return this; @@ -98,61 +107,67 @@ public UpdateMerchantApiCredentialRequest addAllowedOriginsItem(String allowedOr return this; } - /** + /** * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. * @return allowedOrigins - **/ + */ @ApiModelProperty(value = "The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential.") @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedOrigins() { return allowedOrigins; } - - /** - * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. - * - * @param allowedOrigins - */ + /** + * The new list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential. + * + * @param allowedOrigins + */ @JsonProperty(JSON_PROPERTY_ALLOWED_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedOrigins(List allowedOrigins) { this.allowedOrigins = allowedOrigins; } - + /** + * Description of the API credential. + * + * @param description + * @return the current {@code UpdateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public UpdateMerchantApiCredentialRequest description(String description) { this.description = description; return this; } - /** + /** * Description of the API credential. * @return description - **/ + */ @ApiModelProperty(value = "Description of the API credential.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Description of the API credential. - * - * @param description - */ + /** + * Description of the API credential. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + * @return the current {@code UpdateMerchantApiCredentialRequest} instance, allowing for method chaining + */ public UpdateMerchantApiCredentialRequest roles(List roles) { this.roles = roles; return this; @@ -166,31 +181,28 @@ public UpdateMerchantApiCredentialRequest addRolesItem(String rolesItem) { return this; } - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. * @return roles - **/ + */ @ApiModelProperty(value = "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.<CompanyName>' can be assigned to other API credentials. - * - * @param roles - */ + /** + * List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - /** * Return true if this UpdateMerchantApiCredentialRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateMerchantUserRequest.java b/src/main/java/com/adyen/model/management/UpdateMerchantUserRequest.java index 053f974f2..b652e6469 100644 --- a/src/main/java/com/adyen/model/management/UpdateMerchantUserRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateMerchantUserRequest.java @@ -68,6 +68,12 @@ public class UpdateMerchantUserRequest { public UpdateMerchantUserRequest() { } + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -81,151 +87,166 @@ public UpdateMerchantUserRequest addAccountGroupsItem(String accountGroupsItem) return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Sets the status of the user to active (**true**) or inactive (**false**). + * + * @param active + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Sets the status of the user to active (**true**) or inactive (**false**). * @return active - **/ + */ @ApiModelProperty(value = "Sets the status of the user to active (**true**) or inactive (**false**).") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Sets the status of the user to active (**true**) or inactive (**false**). - * - * @param active - */ + /** + * Sets the status of the user to active (**true**) or inactive (**false**). + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest loginMethod(String loginMethod) { this.loginMethod = loginMethod; return this; } - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** * @return loginMethod - **/ + */ @ApiModelProperty(value = "The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** ") @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLoginMethod() { return loginMethod; } - - /** - * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** - * - * @param loginMethod - */ + /** + * The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO** + * + * @param loginMethod + */ @JsonProperty(JSON_PROPERTY_LOGIN_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLoginMethod(String loginMethod) { this.loginMethod = loginMethod; } - + /** + * name + * + * @param name + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest name(Name2 name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name2 getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name2 name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest roles(List roles) { this.roles = roles; return this; @@ -239,61 +260,61 @@ public UpdateMerchantUserRequest addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code UpdateMerchantUserRequest} instance, allowing for method chaining + */ public UpdateMerchantUserRequest timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - /** * Return true if this UpdateMerchantUserRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateMerchantWebhookRequest.java b/src/main/java/com/adyen/model/management/UpdateMerchantWebhookRequest.java index 4e93c5541..748c36c89 100644 --- a/src/main/java/com/adyen/model/management/UpdateMerchantWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateMerchantWebhookRequest.java @@ -199,396 +199,435 @@ public static NetworkTypeEnum fromValue(String value) { public UpdateMerchantWebhookRequest() { } + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest acceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; return this; } - /** + /** * Indicates if expired SSL certificates are accepted. Default value: **false**. * @return acceptsExpiredCertificate - **/ + */ @ApiModelProperty(value = "Indicates if expired SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsExpiredCertificate() { return acceptsExpiredCertificate; } - - /** - * Indicates if expired SSL certificates are accepted. Default value: **false**. - * - * @param acceptsExpiredCertificate - */ + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; } - + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest acceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; return this; } - /** + /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. * @return acceptsSelfSignedCertificate - **/ + */ @ApiModelProperty(value = "Indicates if self-signed SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsSelfSignedCertificate() { return acceptsSelfSignedCertificate; } - - /** - * Indicates if self-signed SSL certificates are accepted. Default value: **false**. - * - * @param acceptsSelfSignedCertificate - */ + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; } - + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest acceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; return this; } - /** + /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. * @return acceptsUntrustedRootCertificate - **/ + */ @ApiModelProperty(value = "Indicates if untrusted SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsUntrustedRootCertificate() { return acceptsUntrustedRootCertificate; } - - /** - * Indicates if untrusted SSL certificates are accepted. Default value: **false**. - * - * @param acceptsUntrustedRootCertificate - */ + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; } - + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. * @return active - **/ + */ @ApiModelProperty(value = "Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. - * - * @param active - */ + /** + * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * additionalSettings + * + * @param additionalSettings + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest additionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; return this; } - /** - * Get additionalSettings + /** + * additionalSettings * @return additionalSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalSettings getAdditionalSettings() { return additionalSettings; } - - /** - * additionalSettings - * - * @param additionalSettings - */ + /** + * additionalSettings + * + * @param additionalSettings + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSettings(AdditionalSettings additionalSettings) { this.additionalSettings = additionalSettings; } - + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest communicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; return this; } - /** + /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** * @return communicationFormat - **/ + */ @ApiModelProperty(example = "soap", value = "Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** ") @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommunicationFormatEnum getCommunicationFormat() { return communicationFormat; } - - /** - * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** - * - * @param communicationFormat - */ + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + */ @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommunicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; } - + /** + * Your description for this webhook configuration. + * + * @param description + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for this webhook configuration. * @return description - **/ + */ @ApiModelProperty(value = "Your description for this webhook configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for this webhook configuration. - * - * @param description - */ + /** + * Your description for this webhook configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest encryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; return this; } - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. * @return encryptionProtocol - **/ + */ @ApiModelProperty(example = "TLSv1.2", value = "SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.") @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptionProtocolEnum getEncryptionProtocol() { return encryptionProtocol; } - - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. - * - * @param encryptionProtocol - */ + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; } - + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest networkType(NetworkTypeEnum networkType) { this.networkType = networkType; return this; } - /** + /** * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. * @return networkType - **/ + */ @ApiModelProperty(value = "Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.") @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkTypeEnum getNetworkType() { return networkType; } - - /** - * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. - * - * @param networkType - */ + /** + * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. + * + * @param networkType + */ @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkType(NetworkTypeEnum networkType) { this.networkType = networkType; } - + /** + * Password to access the webhook URL. + * + * @param password + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest password(String password) { this.password = password; return this; } - /** + /** * Password to access the webhook URL. * @return password - **/ + */ @ApiModelProperty(value = "Password to access the webhook URL.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * Password to access the webhook URL. - * - * @param password - */ + /** + * Password to access the webhook URL. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest populateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; return this; } - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. * @return populateSoapActionHeader - **/ + */ @ApiModelProperty(value = "Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.") @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPopulateSoapActionHeader() { return populateSoapActionHeader; } - - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. - * - * @param populateSoapActionHeader - */ + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + */ @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; } - + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest url(String url) { this.url = url; return this; } - /** + /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. * @return url - **/ + */ @ApiModelProperty(example = "http://www.adyen.com", value = "Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. - * - * @param url - */ + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * Username to access the webhook URL. + * + * @param username + * @return the current {@code UpdateMerchantWebhookRequest} instance, allowing for method chaining + */ public UpdateMerchantWebhookRequest username(String username) { this.username = username; return this; } - /** + /** * Username to access the webhook URL. * @return username - **/ + */ @ApiModelProperty(value = "Username to access the webhook URL.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * Username to access the webhook URL. - * - * @param username - */ + /** + * Username to access the webhook URL. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this UpdateMerchantWebhookRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java index ed329ffd2..b5eda4363 100644 --- a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java +++ b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java @@ -134,96 +134,111 @@ public class UpdatePaymentMethodInfo { public UpdatePaymentMethodInfo() { } + /** + * accel + * + * @param accel + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo accel(AccelInfo accel) { this.accel = accel; return this; } - /** - * Get accel + /** + * accel * @return accel - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccelInfo getAccel() { return accel; } - - /** - * accel - * - * @param accel - */ + /** + * accel + * + * @param accel + */ @JsonProperty(JSON_PROPERTY_ACCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccel(AccelInfo accel) { this.accel = accel; } - + /** + * bcmc + * + * @param bcmc + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo bcmc(BcmcInfo bcmc) { this.bcmc = bcmc; return this; } - /** - * Get bcmc + /** + * bcmc * @return bcmc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BcmcInfo getBcmc() { return bcmc; } - - /** - * bcmc - * - * @param bcmc - */ + /** + * bcmc + * + * @param bcmc + */ @JsonProperty(JSON_PROPERTY_BCMC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBcmc(BcmcInfo bcmc) { this.bcmc = bcmc; } - + /** + * cartesBancaires + * + * @param cartesBancaires + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo cartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; return this; } - /** - * Get cartesBancaires + /** + * cartesBancaires * @return cartesBancaires - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CartesBancairesInfo getCartesBancaires() { return cartesBancaires; } - - /** - * cartesBancaires - * - * @param cartesBancaires - */ + /** + * cartesBancaires + * + * @param cartesBancaires + */ @JsonProperty(JSON_PROPERTY_CARTES_BANCAIRES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCartesBancaires(CartesBancairesInfo cartesBancaires) { this.cartesBancaires = cartesBancaires; } - + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo countries(List countries) { this.countries = countries; return this; @@ -237,61 +252,67 @@ public UpdatePaymentMethodInfo addCountriesItem(String countriesItem) { return this; } - /** + /** * The list of countries where a payment method is available. By default, all countries supported by the payment method. * @return countries - **/ + */ @ApiModelProperty(value = "The list of countries where a payment method is available. By default, all countries supported by the payment method.") @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCountries() { return countries; } - - /** - * The list of countries where a payment method is available. By default, all countries supported by the payment method. - * - * @param countries - */ + /** + * The list of countries where a payment method is available. By default, all countries supported by the payment method. + * + * @param countries + */ @JsonProperty(JSON_PROPERTY_COUNTRIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountries(List countries) { this.countries = countries; } - + /** + * cup + * + * @param cup + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo cup(GenericPmWithTdiInfo cup) { this.cup = cup; return this; } - /** - * Get cup + /** + * cup * @return cup - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getCup() { return cup; } - - /** - * cup - * - * @param cup - */ + /** + * cup + * + * @param cup + */ @JsonProperty(JSON_PROPERTY_CUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCup(GenericPmWithTdiInfo cup) { this.cup = cup; } - + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo currencies(List currencies) { this.currencies = currencies; return this; @@ -305,31 +326,34 @@ public UpdatePaymentMethodInfo addCurrenciesItem(String currenciesItem) { return this; } - /** + /** * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. * @return currencies - **/ + */ @ApiModelProperty(value = "The list of currencies that a payment method supports. By default, all currencies supported by the payment method.") @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCurrencies() { return currencies; } - - /** - * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. - * - * @param currencies - */ + /** + * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. + * + * @param currencies + */ @JsonProperty(JSON_PROPERTY_CURRENCIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrencies(List currencies) { this.currencies = currencies; } - + /** + * Custom routing flags for acquirer routing. + * + * @param customRoutingFlags + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo customRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; return this; @@ -343,421 +367,463 @@ public UpdatePaymentMethodInfo addCustomRoutingFlagsItem(String customRoutingFla return this; } - /** + /** * Custom routing flags for acquirer routing. * @return customRoutingFlags - **/ + */ @ApiModelProperty(value = "Custom routing flags for acquirer routing.") @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getCustomRoutingFlags() { return customRoutingFlags; } - - /** - * Custom routing flags for acquirer routing. - * - * @param customRoutingFlags - */ + /** + * Custom routing flags for acquirer routing. + * + * @param customRoutingFlags + */ @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomRoutingFlags(List customRoutingFlags) { this.customRoutingFlags = customRoutingFlags; } - + /** + * diners + * + * @param diners + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo diners(GenericPmWithTdiInfo diners) { this.diners = diners; return this; } - /** - * Get diners + /** + * diners * @return diners - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiners() { return diners; } - - /** - * diners - * - * @param diners - */ + /** + * diners + * + * @param diners + */ @JsonProperty(JSON_PROPERTY_DINERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiners(GenericPmWithTdiInfo diners) { this.diners = diners; } - + /** + * discover + * + * @param discover + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo discover(GenericPmWithTdiInfo discover) { this.discover = discover; return this; } - /** - * Get discover + /** + * discover * @return discover - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getDiscover() { return discover; } - - /** - * discover - * - * @param discover - */ + /** + * discover + * + * @param discover + */ @JsonProperty(JSON_PROPERTY_DISCOVER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDiscover(GenericPmWithTdiInfo discover) { this.discover = discover; } - + /** + * eftposAustralia + * + * @param eftposAustralia + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; return this; } - /** - * Get eftposAustralia + /** + * eftposAustralia * @return eftposAustralia - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getEftposAustralia() { return eftposAustralia; } - - /** - * eftposAustralia - * - * @param eftposAustralia - */ + /** + * eftposAustralia + * + * @param eftposAustralia + */ @JsonProperty(JSON_PROPERTY_EFTPOS_AUSTRALIA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia) { this.eftposAustralia = eftposAustralia; } - + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the payment method is enabled (**true**) or disabled (**false**). * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the payment method is enabled (**true**) or disabled (**false**).") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). - * - * @param enabled - */ + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * girocard + * + * @param girocard + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo girocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; return this; } - /** - * Get girocard + /** + * girocard * @return girocard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getGirocard() { return girocard; } - - /** - * girocard - * - * @param girocard - */ + /** + * girocard + * + * @param girocard + */ @JsonProperty(JSON_PROPERTY_GIROCARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGirocard(GenericPmWithTdiInfo girocard) { this.girocard = girocard; } - + /** + * ideal + * + * @param ideal + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo ideal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; return this; } - /** - * Get ideal + /** + * ideal * @return ideal - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getIdeal() { return ideal; } - - /** - * ideal - * - * @param ideal - */ + /** + * ideal + * + * @param ideal + */ @JsonProperty(JSON_PROPERTY_IDEAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIdeal(GenericPmWithTdiInfo ideal) { this.ideal = ideal; } - + /** + * interacCard + * + * @param interacCard + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo interacCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; return this; } - /** - * Get interacCard + /** + * interacCard * @return interacCard - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getInteracCard() { return interacCard; } - - /** - * interacCard - * - * @param interacCard - */ + /** + * interacCard + * + * @param interacCard + */ @JsonProperty(JSON_PROPERTY_INTERAC_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInteracCard(GenericPmWithTdiInfo interacCard) { this.interacCard = interacCard; } - + /** + * jcb + * + * @param jcb + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo jcb(GenericPmWithTdiInfo jcb) { this.jcb = jcb; return this; } - /** - * Get jcb + /** + * jcb * @return jcb - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getJcb() { return jcb; } - - /** - * jcb - * - * @param jcb - */ + /** + * jcb + * + * @param jcb + */ @JsonProperty(JSON_PROPERTY_JCB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJcb(GenericPmWithTdiInfo jcb) { this.jcb = jcb; } - + /** + * maestro + * + * @param maestro + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo maestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; return this; } - /** - * Get maestro + /** + * maestro * @return maestro - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMaestro() { return maestro; } - - /** - * maestro - * - * @param maestro - */ + /** + * maestro + * + * @param maestro + */ @JsonProperty(JSON_PROPERTY_MAESTRO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaestro(GenericPmWithTdiInfo maestro) { this.maestro = maestro; } - + /** + * mc + * + * @param mc + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo mc(GenericPmWithTdiInfo mc) { this.mc = mc; return this; } - /** - * Get mc + /** + * mc * @return mc - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getMc() { return mc; } - - /** - * mc - * - * @param mc - */ + /** + * mc + * + * @param mc + */ @JsonProperty(JSON_PROPERTY_MC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMc(GenericPmWithTdiInfo mc) { this.mc = mc; } - + /** + * nyce + * + * @param nyce + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo nyce(NyceInfo nyce) { this.nyce = nyce; return this; } - /** - * Get nyce + /** + * nyce * @return nyce - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NyceInfo getNyce() { return nyce; } - - /** - * nyce - * - * @param nyce - */ + /** + * nyce + * + * @param nyce + */ @JsonProperty(JSON_PROPERTY_NYCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNyce(NyceInfo nyce) { this.nyce = nyce; } - + /** + * pulse + * + * @param pulse + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo pulse(PulseInfo pulse) { this.pulse = pulse; return this; } - /** - * Get pulse + /** + * pulse * @return pulse - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PulseInfo getPulse() { return pulse; } - - /** - * pulse - * - * @param pulse - */ + /** + * pulse + * + * @param pulse + */ @JsonProperty(JSON_PROPERTY_PULSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPulse(PulseInfo pulse) { this.pulse = pulse; } - + /** + * star + * + * @param star + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo star(StarInfo star) { this.star = star; return this; } - /** - * Get star + /** + * star * @return star - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StarInfo getStar() { return star; } - - /** - * star - * - * @param star - */ + /** + * star + * + * @param star + */ @JsonProperty(JSON_PROPERTY_STAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStar(StarInfo star) { this.star = star; } - + /** + * The list of stores for this payment method + * + * @param storeIds + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo storeIds(List storeIds) { this.storeIds = storeIds; return this; @@ -771,61 +837,61 @@ public UpdatePaymentMethodInfo addStoreIdsItem(String storeIdsItem) { return this; } - /** + /** * The list of stores for this payment method * @return storeIds - **/ + */ @ApiModelProperty(value = "The list of stores for this payment method") @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStoreIds() { return storeIds; } - - /** - * The list of stores for this payment method - * - * @param storeIds - */ + /** + * The list of stores for this payment method + * + * @param storeIds + */ @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreIds(List storeIds) { this.storeIds = storeIds; } - + /** + * visa + * + * @param visa + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ public UpdatePaymentMethodInfo visa(GenericPmWithTdiInfo visa) { this.visa = visa; return this; } - /** - * Get visa + /** + * visa * @return visa - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public GenericPmWithTdiInfo getVisa() { return visa; } - - /** - * visa - * - * @param visa - */ + /** + * visa + * + * @param visa + */ @JsonProperty(JSON_PROPERTY_VISA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisa(GenericPmWithTdiInfo visa) { this.visa = visa; } - /** * Return true if this UpdatePaymentMethodInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdatePayoutSettingsRequest.java b/src/main/java/com/adyen/model/management/UpdatePayoutSettingsRequest.java index 87bab3372..e62c06e49 100644 --- a/src/main/java/com/adyen/model/management/UpdatePayoutSettingsRequest.java +++ b/src/main/java/com/adyen/model/management/UpdatePayoutSettingsRequest.java @@ -41,36 +41,39 @@ public class UpdatePayoutSettingsRequest { public UpdatePayoutSettingsRequest() { } + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + * @return the current {@code UpdatePayoutSettingsRequest} instance, allowing for method chaining + */ public UpdatePayoutSettingsRequest enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. - * - * @param enabled - */ + /** + * Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**. + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - /** * Return true if this UpdatePayoutSettingsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationLogicRequest.java b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationLogicRequest.java index 359d6add4..91c4d0c2d 100644 --- a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationLogicRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationLogicRequest.java @@ -601,516 +601,567 @@ public static TipEnum fromValue(String value) { public UpdateSplitConfigurationLogicRequest() { } + /** + * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param acquiringFees + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest acquiringFees(AcquiringFeesEnum acquiringFees) { this.acquiringFees = acquiringFees; return this; } - /** + /** * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return acquiringFees - **/ + */ @ApiModelProperty(value = "Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ACQUIRING_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcquiringFeesEnum getAcquiringFees() { return acquiringFees; } - - /** - * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param acquiringFees - */ + /** + * Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param acquiringFees + */ @JsonProperty(JSON_PROPERTY_ACQUIRING_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquiringFees(AcquiringFeesEnum acquiringFees) { this.acquiringFees = acquiringFees; } - + /** + * additionalCommission + * + * @param additionalCommission + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest additionalCommission(AdditionalCommission additionalCommission) { this.additionalCommission = additionalCommission; return this; } - /** - * Get additionalCommission + /** + * additionalCommission * @return additionalCommission - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalCommission getAdditionalCommission() { return additionalCommission; } - - /** - * additionalCommission - * - * @param additionalCommission - */ + /** + * additionalCommission + * + * @param additionalCommission + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalCommission(AdditionalCommission additionalCommission) { this.additionalCommission = additionalCommission; } - + /** + * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenCommission + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest adyenCommission(AdyenCommissionEnum adyenCommission) { this.adyenCommission = adyenCommission; return this; } - /** + /** * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenCommission - **/ + */ @ApiModelProperty(value = "Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenCommissionEnum getAdyenCommission() { return adyenCommission; } - - /** - * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenCommission - */ + /** + * Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenCommission + */ @JsonProperty(JSON_PROPERTY_ADYEN_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenCommission(AdyenCommissionEnum adyenCommission) { this.adyenCommission = adyenCommission; } - + /** + * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenFees + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest adyenFees(AdyenFeesEnum adyenFees) { this.adyenFees = adyenFees; return this; } - /** + /** * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenFees - **/ + */ @ApiModelProperty(value = "Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenFeesEnum getAdyenFees() { return adyenFees; } - - /** - * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenFees - */ + /** + * Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenFees + */ @JsonProperty(JSON_PROPERTY_ADYEN_FEES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenFees(AdyenFeesEnum adyenFees) { this.adyenFees = adyenFees; } - + /** + * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenMarkup + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest adyenMarkup(AdyenMarkupEnum adyenMarkup) { this.adyenMarkup = adyenMarkup; return this; } - /** + /** * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return adyenMarkup - **/ + */ @ApiModelProperty(value = "Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_ADYEN_MARKUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdyenMarkupEnum getAdyenMarkup() { return adyenMarkup; } - - /** - * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param adyenMarkup - */ + /** + * Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param adyenMarkup + */ @JsonProperty(JSON_PROPERTY_ADYEN_MARKUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenMarkup(AdyenMarkupEnum adyenMarkup) { this.adyenMarkup = adyenMarkup; } - + /** + * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param chargeback + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest chargeback(ChargebackEnum chargeback) { this.chargeback = chargeback; return this; } - /** + /** * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. * @return chargeback - **/ + */ @ApiModelProperty(value = "Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.") @JsonProperty(JSON_PROPERTY_CHARGEBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChargebackEnum getChargeback() { return chargeback; } - - /** - * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. - * - * @param chargeback - */ + /** + * Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param chargeback + */ @JsonProperty(JSON_PROPERTY_CHARGEBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChargeback(ChargebackEnum chargeback) { this.chargeback = chargeback; } - + /** + * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param chargebackCostAllocation + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest chargebackCostAllocation(ChargebackCostAllocationEnum chargebackCostAllocation) { this.chargebackCostAllocation = chargebackCostAllocation; return this; } - /** + /** * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** * @return chargebackCostAllocation - **/ + */ @ApiModelProperty(value = "Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChargebackCostAllocationEnum getChargebackCostAllocation() { return chargebackCostAllocation; } - - /** - * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** - * - * @param chargebackCostAllocation - */ + /** + * Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param chargebackCostAllocation + */ @JsonProperty(JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChargebackCostAllocation(ChargebackCostAllocationEnum chargebackCostAllocation) { this.chargebackCostAllocation = chargebackCostAllocation; } - + /** + * commission + * + * @param commission + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest commission(Commission commission) { this.commission = commission; return this; } - /** - * Get commission + /** + * commission * @return commission - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Commission getCommission() { return commission; } - - /** - * commission - * - * @param commission - */ + /** + * commission + * + * @param commission + */ @JsonProperty(JSON_PROPERTY_COMMISSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommission(Commission commission) { this.commission = commission; } - + /** + * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param interchange + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest interchange(InterchangeEnum interchange) { this.interchange = interchange; return this; } - /** + /** * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return interchange - **/ + */ @ApiModelProperty(value = "Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_INTERCHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public InterchangeEnum getInterchange() { return interchange; } - - /** - * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param interchange - */ + /** + * Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param interchange + */ @JsonProperty(JSON_PROPERTY_INTERCHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterchange(InterchangeEnum interchange) { this.interchange = interchange; } - + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param paymentFee + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest paymentFee(PaymentFeeEnum paymentFee) { this.paymentFee = paymentFee; return this; } - /** - * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return paymentFee - **/ + */ @ApiModelProperty(value = "Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_PAYMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentFeeEnum getPaymentFee() { return paymentFee; } - - /** - * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param paymentFee - */ + /** + * Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param paymentFee + */ @JsonProperty(JSON_PROPERTY_PAYMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentFee(PaymentFeeEnum paymentFee) { this.paymentFee = paymentFee; } - + /** + * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** + * + * @param refund + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest refund(RefundEnum refund) { this.refund = refund; return this; } - /** + /** * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** * @return refund - **/ + */ @ApiModelProperty(value = "Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**") @JsonProperty(JSON_PROPERTY_REFUND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RefundEnum getRefund() { return refund; } - - /** - * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** - * - * @param refund - */ + /** + * Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio** + * + * @param refund + */ @JsonProperty(JSON_PROPERTY_REFUND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefund(RefundEnum refund) { this.refund = refund; } - + /** + * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param refundCostAllocation + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest refundCostAllocation(RefundCostAllocationEnum refundCostAllocation) { this.refundCostAllocation = refundCostAllocation; return this; } - /** + /** * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** * @return refundCostAllocation - **/ + */ @ApiModelProperty(value = "Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_REFUND_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RefundCostAllocationEnum getRefundCostAllocation() { return refundCostAllocation; } - - /** - * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** - * - * @param refundCostAllocation - */ + /** + * Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount** + * + * @param refundCostAllocation + */ @JsonProperty(JSON_PROPERTY_REFUND_COST_ALLOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefundCostAllocation(RefundCostAllocationEnum refundCostAllocation) { this.refundCostAllocation = refundCostAllocation; } - + /** + * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param remainder + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest remainder(RemainderEnum remainder) { this.remainder = remainder; return this; } - /** + /** * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. * @return remainder - **/ + */ @ApiModelProperty(value = "Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_REMAINDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RemainderEnum getRemainder() { return remainder; } - - /** - * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. - * - * @param remainder - */ + /** + * Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param remainder + */ @JsonProperty(JSON_PROPERTY_REMAINDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemainder(RemainderEnum remainder) { this.remainder = remainder; } - + /** + * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param schemeFee + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest schemeFee(SchemeFeeEnum schemeFee) { this.schemeFee = schemeFee; return this; } - /** + /** * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. * @return schemeFee - **/ + */ @ApiModelProperty(value = "Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_SCHEME_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SchemeFeeEnum getSchemeFee() { return schemeFee; } - - /** - * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. - * - * @param schemeFee - */ + /** + * Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**. + * + * @param schemeFee + */ @JsonProperty(JSON_PROPERTY_SCHEME_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeFee(SchemeFeeEnum schemeFee) { this.schemeFee = schemeFee; } - + /** + * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. + * + * @param splitLogicId + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest splitLogicId(String splitLogicId) { this.splitLogicId = splitLogicId; return this; } - /** + /** * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. * @return splitLogicId - **/ + */ @ApiModelProperty(value = "Unique identifier of the collection of split instructions that are applied when the rule conditions are met.") @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSplitLogicId() { return splitLogicId; } - - /** - * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. - * - * @param splitLogicId - */ + /** + * Unique identifier of the collection of split instructions that are applied when the rule conditions are met. + * + * @param splitLogicId + */ @JsonProperty(JSON_PROPERTY_SPLIT_LOGIC_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitLogicId(String splitLogicId) { this.splitLogicId = splitLogicId; } - + /** + * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** + * + * @param surcharge + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest surcharge(SurchargeEnum surcharge) { this.surcharge = surcharge; return this; } - /** + /** * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** * @return surcharge - **/ + */ @ApiModelProperty(value = "Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**") @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SurchargeEnum getSurcharge() { return surcharge; } - - /** - * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** - * - * @param surcharge - */ + /** + * Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount** + * + * @param surcharge + */ @JsonProperty(JSON_PROPERTY_SURCHARGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSurcharge(SurchargeEnum surcharge) { this.surcharge = surcharge; } - + /** + * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param tip + * @return the current {@code UpdateSplitConfigurationLogicRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationLogicRequest tip(TipEnum tip) { this.tip = tip; return this; } - /** + /** * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. * @return tip - **/ + */ @ApiModelProperty(value = "Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_TIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TipEnum getTip() { return tip; } - - /** - * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. - * - * @param tip - */ + /** + * Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**. + * + * @param tip + */ @JsonProperty(JSON_PROPERTY_TIP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTip(TipEnum tip) { this.tip = tip; } - /** * Return true if this UpdateSplitConfigurationLogicRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRequest.java b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRequest.java index 2fb5989d0..fcdf61af9 100644 --- a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRequest.java @@ -41,36 +41,39 @@ public class UpdateSplitConfigurationRequest { public UpdateSplitConfigurationRequest() { } + /** + * Your description for the split configuration. + * + * @param description + * @return the current {@code UpdateSplitConfigurationRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationRequest description(String description) { this.description = description; return this; } - /** + /** * Your description for the split configuration. * @return description - **/ + */ @ApiModelProperty(required = true, value = "Your description for the split configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the split configuration. - * - * @param description - */ + /** + * Your description for the split configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - /** * Return true if this UpdateSplitConfigurationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java index d0e5fdb67..7dc00721c 100644 --- a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java @@ -53,126 +53,138 @@ public class UpdateSplitConfigurationRuleRequest { public UpdateSplitConfigurationRuleRequest() { } + /** + * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param currency + * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationRuleRequest currency(String currency) { this.currency = currency; return this; } - /** + /** * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param currency - */ + /** + * The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. + * + * @param fundingSource + * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationRuleRequest fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. - * - * @param fundingSource - */ + /** + * The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. + * + * @param paymentMethod + * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationRuleRequest paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. - * - * @param paymentMethod - */ + /** + * The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * + * @param shopperInteraction + * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method chaining + */ public UpdateSplitConfigurationRuleRequest shopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. * @return shopperInteraction - **/ + */ @ApiModelProperty(required = true, value = "The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperInteraction() { return shopperInteraction; } - - /** - * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. - * - * @param shopperInteraction - */ + /** + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; } - /** * Return true if this UpdateSplitConfigurationRuleRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UpdateStoreRequest.java b/src/main/java/com/adyen/model/management/UpdateStoreRequest.java index 9ac9f9143..e7d1ca637 100644 --- a/src/main/java/com/adyen/model/management/UpdateStoreRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateStoreRequest.java @@ -106,36 +106,45 @@ public static StatusEnum fromValue(String value) { public UpdateStoreRequest() { } + /** + * address + * + * @param address + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest address(UpdatableAddress address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UpdatableAddress getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(UpdatableAddress address) { this.address = address; } - + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with. + * + * @param businessLineIds + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest businessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; return this; @@ -149,181 +158,193 @@ public UpdateStoreRequest addBusinessLineIdsItem(String businessLineIdsItem) { return this; } - /** + /** * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with. * @return businessLineIds - **/ + */ @ApiModelProperty(value = "The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with.") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBusinessLineIds() { return businessLineIds; } - - /** - * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with. - * - * @param businessLineIds - */ + /** + * The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with. + * + * @param businessLineIds + */ @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBusinessLineIds(List businessLineIds) { this.businessLineIds = businessLineIds; } - + /** + * The description of the store. + * + * @param description + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest description(String description) { this.description = description; return this; } - /** + /** * The description of the store. * @return description - **/ + */ @ApiModelProperty(value = "The description of the store.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the store. - * - * @param description - */ + /** + * The description of the store. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest externalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; return this; } - /** + /** * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExternalReferenceId() { return externalReferenceId; } - - /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. - * - * @param externalReferenceId - */ + /** + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. + * + * @param externalReferenceId + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReferenceId(String externalReferenceId) { this.externalReferenceId = externalReferenceId; } - + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. * @return phoneNumber - **/ + */ @ApiModelProperty(value = "The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. ") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhoneNumber() { return phoneNumber; } - - /** - * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. - * - * @param phoneNumber - */ + /** + * The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @param phoneNumber + */ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - + /** + * splitConfiguration + * + * @param splitConfiguration + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest splitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; return this; } - /** - * Get splitConfiguration + /** + * splitConfiguration * @return splitConfiguration - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StoreSplitConfiguration getSplitConfiguration() { return splitConfiguration; } - - /** - * splitConfiguration - * - * @param splitConfiguration - */ + /** + * splitConfiguration + * + * @param splitConfiguration + */ @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplitConfiguration(StoreSplitConfiguration splitConfiguration) { this.splitConfiguration = splitConfiguration; } - + /** + * The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened. + * + * @param status + * @return the current {@code UpdateStoreRequest} instance, allowing for method chaining + */ public UpdateStoreRequest status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened. + /** + * The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened. * @return status - **/ + */ @ApiModelProperty(value = "The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened. - * - * @param status - */ + /** + * The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this UpdateStoreRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UploadAndroidAppResponse.java b/src/main/java/com/adyen/model/management/UploadAndroidAppResponse.java index f0af7a48c..becfe27c9 100644 --- a/src/main/java/com/adyen/model/management/UploadAndroidAppResponse.java +++ b/src/main/java/com/adyen/model/management/UploadAndroidAppResponse.java @@ -41,36 +41,39 @@ public class UploadAndroidAppResponse { public UploadAndroidAppResponse() { } + /** + * The unique identifier of the uploaded Android app. + * + * @param id + * @return the current {@code UploadAndroidAppResponse} instance, allowing for method chaining + */ public UploadAndroidAppResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the uploaded Android app. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the uploaded Android app.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the uploaded Android app. - * - * @param id - */ + /** + * The unique identifier of the uploaded Android app. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this UploadAndroidAppResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java b/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java index 479e0290d..0eaa9c4ab 100644 --- a/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java +++ b/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java @@ -41,36 +41,39 @@ public class UploadAndroidCertificateResponse { public UploadAndroidCertificateResponse() { } + /** + * The unique identifier of the uploaded Android certificate. + * + * @param id + * @return the current {@code UploadAndroidCertificateResponse} instance, allowing for method chaining + */ public UploadAndroidCertificateResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the uploaded Android certificate. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the uploaded Android certificate.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the uploaded Android certificate. - * - * @param id - */ + /** + * The unique identifier of the uploaded Android certificate. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this UploadAndroidCertificateResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Url.java b/src/main/java/com/adyen/model/management/Url.java index 32dc3ba7e..43a8feb93 100644 --- a/src/main/java/com/adyen/model/management/Url.java +++ b/src/main/java/com/adyen/model/management/Url.java @@ -53,126 +53,138 @@ public class Url { public Url() { } + /** + * Indicates if the message sent to this URL should be encrypted. + * + * @param encrypted + * @return the current {@code Url} instance, allowing for method chaining + */ public Url encrypted(Boolean encrypted) { this.encrypted = encrypted; return this; } - /** + /** * Indicates if the message sent to this URL should be encrypted. * @return encrypted - **/ + */ @ApiModelProperty(value = "Indicates if the message sent to this URL should be encrypted.") @JsonProperty(JSON_PROPERTY_ENCRYPTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEncrypted() { return encrypted; } - - /** - * Indicates if the message sent to this URL should be encrypted. - * - * @param encrypted - */ + /** + * Indicates if the message sent to this URL should be encrypted. + * + * @param encrypted + */ @JsonProperty(JSON_PROPERTY_ENCRYPTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncrypted(Boolean encrypted) { this.encrypted = encrypted; } - + /** + * The password for authentication of the notifications. + * + * @param password + * @return the current {@code Url} instance, allowing for method chaining + */ public Url password(String password) { this.password = password; return this; } - /** + /** * The password for authentication of the notifications. * @return password - **/ + */ @ApiModelProperty(value = "The password for authentication of the notifications.") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } - - /** - * The password for authentication of the notifications. - * - * @param password - */ + /** + * The password for authentication of the notifications. + * + * @param password + */ @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPassword(String password) { this.password = password; } - + /** + * The URL in the format: http(s)://domain.com. + * + * @param url + * @return the current {@code Url} instance, allowing for method chaining + */ public Url url(String url) { this.url = url; return this; } - /** + /** * The URL in the format: http(s)://domain.com. * @return url - **/ + */ @ApiModelProperty(value = "The URL in the format: http(s)://domain.com.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * The URL in the format: http(s)://domain.com. - * - * @param url - */ + /** + * The URL in the format: http(s)://domain.com. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * The username for authentication of the notifications. + * + * @param username + * @return the current {@code Url} instance, allowing for method chaining + */ public Url username(String username) { this.username = username; return this; } - /** + /** * The username for authentication of the notifications. * @return username - **/ + */ @ApiModelProperty(value = "The username for authentication of the notifications.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The username for authentication of the notifications. - * - * @param username - */ + /** + * The username for authentication of the notifications. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this Url object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/User.java b/src/main/java/com/adyen/model/management/User.java index 27e67b8d6..4a225e400 100644 --- a/src/main/java/com/adyen/model/management/User.java +++ b/src/main/java/com/adyen/model/management/User.java @@ -81,36 +81,45 @@ public class User { public User() { } + /** + * links + * + * @param links + * @return the current {@code User} instance, allowing for method chaining + */ public User links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + * @return the current {@code User} instance, allowing for method chaining + */ public User accountGroups(List accountGroups) { this.accountGroups = accountGroups; return this; @@ -124,61 +133,67 @@ public User addAccountGroupsItem(String accountGroupsItem) { return this; } - /** + /** * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. * @return accountGroups - **/ + */ @ApiModelProperty(value = "The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.") @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAccountGroups() { return accountGroups; } - - /** - * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. - * - * @param accountGroups - */ + /** + * The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user. + * + * @param accountGroups + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_GROUPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountGroups(List accountGroups) { this.accountGroups = accountGroups; } - + /** + * Indicates whether this user is active. + * + * @param active + * @return the current {@code User} instance, allowing for method chaining + */ public User active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates whether this user is active. * @return active - **/ + */ @ApiModelProperty(value = "Indicates whether this user is active.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates whether this user is active. - * - * @param active - */ + /** + * Indicates whether this user is active. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * Set of apps available to this user + * + * @param apps + * @return the current {@code User} instance, allowing for method chaining + */ public User apps(List apps) { this.apps = apps; return this; @@ -192,121 +207,133 @@ public User addAppsItem(String appsItem) { return this; } - /** + /** * Set of apps available to this user * @return apps - **/ + */ @ApiModelProperty(value = "Set of apps available to this user") @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getApps() { return apps; } - - /** - * Set of apps available to this user - * - * @param apps - */ + /** + * Set of apps available to this user + * + * @param apps + */ @JsonProperty(JSON_PROPERTY_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApps(List apps) { this.apps = apps; } - + /** + * The email address of the user. + * + * @param email + * @return the current {@code User} instance, allowing for method chaining + */ public User email(String email) { this.email = email; return this; } - /** + /** * The email address of the user. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of the user.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of the user. - * - * @param email - */ + /** + * The email address of the user. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - + /** + * The unique identifier of the user. + * + * @param id + * @return the current {@code User} instance, allowing for method chaining + */ public User id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the user. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the user.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the user. - * - * @param id - */ + /** + * The unique identifier of the user. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * name + * + * @param name + * @return the current {@code User} instance, allowing for method chaining + */ public User name(Name name) { this.name = name; return this; } - /** - * Get name + /** + * name * @return name - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getName() { return name; } - - /** - * name - * - * @param name - */ + /** + * name + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(Name name) { this.name = name; } - + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + * @return the current {@code User} instance, allowing for method chaining + */ public User roles(List roles) { this.roles = roles; return this; @@ -317,91 +344,94 @@ public User addRolesItem(String rolesItem) { return this; } - /** + /** * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. * @return roles - **/ + */ @ApiModelProperty(required = true, value = "The list of [roles](https://docs.adyen.com/account/user-roles) for this user.") @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoles() { return roles; } - - /** - * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. - * - * @param roles - */ + /** + * The list of [roles](https://docs.adyen.com/account/user-roles) for this user. + * + * @param roles + */ @JsonProperty(JSON_PROPERTY_ROLES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoles(List roles) { this.roles = roles; } - + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + * @return the current {@code User} instance, allowing for method chaining + */ public User timeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; return this; } - /** + /** * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. * @return timeZoneCode - **/ + */ @ApiModelProperty(required = true, value = "The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimeZoneCode() { return timeZoneCode; } - - /** - * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. - * - * @param timeZoneCode - */ + /** + * The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**. + * + * @param timeZoneCode + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneCode(String timeZoneCode) { this.timeZoneCode = timeZoneCode; } - + /** + * The username for this user. + * + * @param username + * @return the current {@code User} instance, allowing for method chaining + */ public User username(String username) { this.username = username; return this; } - /** + /** * The username for this user. * @return username - **/ + */ @ApiModelProperty(required = true, value = "The username for this user.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * The username for this user. - * - * @param username - */ + /** + * The username for this user. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this User object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/VippsInfo.java b/src/main/java/com/adyen/model/management/VippsInfo.java index d9634cc65..b99902b91 100644 --- a/src/main/java/com/adyen/model/management/VippsInfo.java +++ b/src/main/java/com/adyen/model/management/VippsInfo.java @@ -45,66 +45,72 @@ public class VippsInfo { public VippsInfo() { } + /** + * Vipps logo. Format: Base64-encoded string. + * + * @param logo + * @return the current {@code VippsInfo} instance, allowing for method chaining + */ public VippsInfo logo(String logo) { this.logo = logo; return this; } - /** + /** * Vipps logo. Format: Base64-encoded string. * @return logo - **/ + */ @ApiModelProperty(required = true, value = "Vipps logo. Format: Base64-encoded string.") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLogo() { return logo; } - - /** - * Vipps logo. Format: Base64-encoded string. - * - * @param logo - */ + /** + * Vipps logo. Format: Base64-encoded string. + * + * @param logo + */ @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(String logo) { this.logo = logo; } - + /** + * Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization)) + * + * @param subscriptionCancelUrl + * @return the current {@code VippsInfo} instance, allowing for method chaining + */ public VippsInfo subscriptionCancelUrl(String subscriptionCancelUrl) { this.subscriptionCancelUrl = subscriptionCancelUrl; return this; } - /** + /** * Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization)) * @return subscriptionCancelUrl - **/ + */ @ApiModelProperty(value = "Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization))") @JsonProperty(JSON_PROPERTY_SUBSCRIPTION_CANCEL_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubscriptionCancelUrl() { return subscriptionCancelUrl; } - - /** - * Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization)) - * - * @param subscriptionCancelUrl - */ + /** + * Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization)) + * + * @param subscriptionCancelUrl + */ @JsonProperty(JSON_PROPERTY_SUBSCRIPTION_CANCEL_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubscriptionCancelUrl(String subscriptionCancelUrl) { this.subscriptionCancelUrl = subscriptionCancelUrl; } - /** * Return true if this VippsInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/WeChatPayInfo.java b/src/main/java/com/adyen/model/management/WeChatPayInfo.java index 946a69a5f..ceb9e03a2 100644 --- a/src/main/java/com/adyen/model/management/WeChatPayInfo.java +++ b/src/main/java/com/adyen/model/management/WeChatPayInfo.java @@ -45,66 +45,72 @@ public class WeChatPayInfo { public WeChatPayInfo() { } + /** + * The name of the contact person from merchant support. + * + * @param contactPersonName + * @return the current {@code WeChatPayInfo} instance, allowing for method chaining + */ public WeChatPayInfo contactPersonName(String contactPersonName) { this.contactPersonName = contactPersonName; return this; } - /** + /** * The name of the contact person from merchant support. * @return contactPersonName - **/ + */ @ApiModelProperty(required = true, value = "The name of the contact person from merchant support.") @JsonProperty(JSON_PROPERTY_CONTACT_PERSON_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContactPersonName() { return contactPersonName; } - - /** - * The name of the contact person from merchant support. - * - * @param contactPersonName - */ + /** + * The name of the contact person from merchant support. + * + * @param contactPersonName + */ @JsonProperty(JSON_PROPERTY_CONTACT_PERSON_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContactPersonName(String contactPersonName) { this.contactPersonName = contactPersonName; } - + /** + * The email address of merchant support. + * + * @param email + * @return the current {@code WeChatPayInfo} instance, allowing for method chaining + */ public WeChatPayInfo email(String email) { this.email = email; return this; } - /** + /** * The email address of merchant support. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of merchant support.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of merchant support. - * - * @param email - */ + /** + * The email address of merchant support. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - /** * Return true if this WeChatPayInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/WeChatPayPosInfo.java b/src/main/java/com/adyen/model/management/WeChatPayPosInfo.java index 45a1f00d4..5a00043c1 100644 --- a/src/main/java/com/adyen/model/management/WeChatPayPosInfo.java +++ b/src/main/java/com/adyen/model/management/WeChatPayPosInfo.java @@ -45,66 +45,72 @@ public class WeChatPayPosInfo { public WeChatPayPosInfo() { } + /** + * The name of the contact person from merchant support. + * + * @param contactPersonName + * @return the current {@code WeChatPayPosInfo} instance, allowing for method chaining + */ public WeChatPayPosInfo contactPersonName(String contactPersonName) { this.contactPersonName = contactPersonName; return this; } - /** + /** * The name of the contact person from merchant support. * @return contactPersonName - **/ + */ @ApiModelProperty(required = true, value = "The name of the contact person from merchant support.") @JsonProperty(JSON_PROPERTY_CONTACT_PERSON_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContactPersonName() { return contactPersonName; } - - /** - * The name of the contact person from merchant support. - * - * @param contactPersonName - */ + /** + * The name of the contact person from merchant support. + * + * @param contactPersonName + */ @JsonProperty(JSON_PROPERTY_CONTACT_PERSON_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContactPersonName(String contactPersonName) { this.contactPersonName = contactPersonName; } - + /** + * The email address of merchant support. + * + * @param email + * @return the current {@code WeChatPayPosInfo} instance, allowing for method chaining + */ public WeChatPayPosInfo email(String email) { this.email = email; return this; } - /** + /** * The email address of merchant support. * @return email - **/ + */ @ApiModelProperty(required = true, value = "The email address of merchant support.") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } - - /** - * The email address of merchant support. - * - * @param email - */ + /** + * The email address of merchant support. + * + * @param email + */ @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEmail(String email) { this.email = email; } - /** * Return true if this WeChatPayPosInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/Webhook.java b/src/main/java/com/adyen/model/management/Webhook.java index 40d22cd0e..3ebce3fd9 100644 --- a/src/main/java/com/adyen/model/management/Webhook.java +++ b/src/main/java/com/adyen/model/management/Webhook.java @@ -275,366 +275,408 @@ public static NetworkTypeEnum fromValue(String value) { public Webhook() { } + /** + * links + * + * @param links + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook links(WebhookLinks links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public WebhookLinks getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(WebhookLinks links) { this.links = links; } - + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook acceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; return this; } - /** + /** * Indicates if expired SSL certificates are accepted. Default value: **false**. * @return acceptsExpiredCertificate - **/ + */ @ApiModelProperty(value = "Indicates if expired SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsExpiredCertificate() { return acceptsExpiredCertificate; } - - /** - * Indicates if expired SSL certificates are accepted. Default value: **false**. - * - * @param acceptsExpiredCertificate - */ + /** + * Indicates if expired SSL certificates are accepted. Default value: **false**. + * + * @param acceptsExpiredCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_EXPIRED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsExpiredCertificate(Boolean acceptsExpiredCertificate) { this.acceptsExpiredCertificate = acceptsExpiredCertificate; } - + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook acceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; return this; } - /** + /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. * @return acceptsSelfSignedCertificate - **/ + */ @ApiModelProperty(value = "Indicates if self-signed SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsSelfSignedCertificate() { return acceptsSelfSignedCertificate; } - - /** - * Indicates if self-signed SSL certificates are accepted. Default value: **false**. - * - * @param acceptsSelfSignedCertificate - */ + /** + * Indicates if self-signed SSL certificates are accepted. Default value: **false**. + * + * @param acceptsSelfSignedCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_SELF_SIGNED_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsSelfSignedCertificate(Boolean acceptsSelfSignedCertificate) { this.acceptsSelfSignedCertificate = acceptsSelfSignedCertificate; } - + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook acceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; return this; } - /** + /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. * @return acceptsUntrustedRootCertificate - **/ + */ @ApiModelProperty(value = "Indicates if untrusted SSL certificates are accepted. Default value: **false**.") @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAcceptsUntrustedRootCertificate() { return acceptsUntrustedRootCertificate; } - - /** - * Indicates if untrusted SSL certificates are accepted. Default value: **false**. - * - * @param acceptsUntrustedRootCertificate - */ + /** + * Indicates if untrusted SSL certificates are accepted. Default value: **false**. + * + * @param acceptsUntrustedRootCertificate + */ @JsonProperty(JSON_PROPERTY_ACCEPTS_UNTRUSTED_ROOT_CERTIFICATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptsUntrustedRootCertificate(Boolean acceptsUntrustedRootCertificate) { this.acceptsUntrustedRootCertificate = acceptsUntrustedRootCertificate; } - + /** + * Reference to the account the webook is set on. + * + * @param accountReference + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook accountReference(String accountReference) { this.accountReference = accountReference; return this; } - /** + /** * Reference to the account the webook is set on. * @return accountReference - **/ + */ @ApiModelProperty(value = "Reference to the account the webook is set on.") @JsonProperty(JSON_PROPERTY_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountReference() { return accountReference; } - - /** - * Reference to the account the webook is set on. - * - * @param accountReference - */ + /** + * Reference to the account the webook is set on. + * + * @param accountReference + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountReference(String accountReference) { this.accountReference = accountReference; } - + /** + * Indicates if the webhook configuration is active. The field must be **true** for you to receive webhooks about events related an account. + * + * @param active + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook active(Boolean active) { this.active = active; return this; } - /** + /** * Indicates if the webhook configuration is active. The field must be **true** for you to receive webhooks about events related an account. * @return active - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the webhook configuration is active. The field must be **true** for you to receive webhooks about events related an account.") @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getActive() { return active; } - - /** - * Indicates if the webhook configuration is active. The field must be **true** for you to receive webhooks about events related an account. - * - * @param active - */ + /** + * Indicates if the webhook configuration is active. The field must be **true** for you to receive webhooks about events related an account. + * + * @param active + */ @JsonProperty(JSON_PROPERTY_ACTIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActive(Boolean active) { this.active = active; } - + /** + * additionalSettings + * + * @param additionalSettings + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook additionalSettings(AdditionalSettingsResponse additionalSettings) { this.additionalSettings = additionalSettings; return this; } - /** - * Get additionalSettings + /** + * additionalSettings * @return additionalSettings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalSettingsResponse getAdditionalSettings() { return additionalSettings; } - - /** - * additionalSettings - * - * @param additionalSettings - */ + /** + * additionalSettings + * + * @param additionalSettings + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalSettings(AdditionalSettingsResponse additionalSettings) { this.additionalSettings = additionalSettings; } - + /** + * The alias of our SSL certificate. When you receive a notification from us, the alias from the HMAC signature will match this alias. + * + * @param certificateAlias + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook certificateAlias(String certificateAlias) { this.certificateAlias = certificateAlias; return this; } - /** + /** * The alias of our SSL certificate. When you receive a notification from us, the alias from the HMAC signature will match this alias. * @return certificateAlias - **/ + */ @ApiModelProperty(value = "The alias of our SSL certificate. When you receive a notification from us, the alias from the HMAC signature will match this alias.") @JsonProperty(JSON_PROPERTY_CERTIFICATE_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCertificateAlias() { return certificateAlias; } - - /** - * The alias of our SSL certificate. When you receive a notification from us, the alias from the HMAC signature will match this alias. - * - * @param certificateAlias - */ + /** + * The alias of our SSL certificate. When you receive a notification from us, the alias from the HMAC signature will match this alias. + * + * @param certificateAlias + */ @JsonProperty(JSON_PROPERTY_CERTIFICATE_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCertificateAlias(String certificateAlias) { this.certificateAlias = certificateAlias; } - + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook communicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; return this; } - /** + /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** * @return communicationFormat - **/ + */ @ApiModelProperty(example = "soap", required = true, value = "Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** ") @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommunicationFormatEnum getCommunicationFormat() { return communicationFormat; } - - /** - * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** - * - * @param communicationFormat - */ + /** + * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** + * + * @param communicationFormat + */ @JsonProperty(JSON_PROPERTY_COMMUNICATION_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCommunicationFormat(CommunicationFormatEnum communicationFormat) { this.communicationFormat = communicationFormat; } - + /** + * Your description for this webhook configuration. + * + * @param description + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook description(String description) { this.description = description; return this; } - /** + /** * Your description for this webhook configuration. * @return description - **/ + */ @ApiModelProperty(value = "Your description for this webhook configuration.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for this webhook configuration. - * - * @param description - */ + /** + * Your description for this webhook configuration. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook encryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; return this; } - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. * @return encryptionProtocol - **/ + */ @ApiModelProperty(example = "TLSv1.2", value = "SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.") @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EncryptionProtocolEnum getEncryptionProtocol() { return encryptionProtocol; } - - /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. - * - * @param encryptionProtocol - */ + /** + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * + * @param encryptionProtocol + */ @JsonProperty(JSON_PROPERTY_ENCRYPTION_PROTOCOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEncryptionProtocol(EncryptionProtocolEnum encryptionProtocol) { this.encryptionProtocol = encryptionProtocol; } - + /** + * Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook filterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; return this; } - /** - * Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + /** + * Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. * @return filterMerchantAccountType - **/ + */ @ApiModelProperty(value = "Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`.") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FilterMerchantAccountTypeEnum getFilterMerchantAccountType() { return filterMerchantAccountType; } - - /** - * Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. - * - * @param filterMerchantAccountType - */ + /** + * Shows how merchant accounts are included in company-level webhooks. Possible values: * **includeAccounts** * **excludeAccounts** * **allAccounts**: Includes all merchant accounts, and does not require specifying `filterMerchantAccounts`. + * + * @param filterMerchantAccountType + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccountType(FilterMerchantAccountTypeEnum filterMerchantAccountType) { this.filterMerchantAccountType = filterMerchantAccountType; } - + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook filterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; return this; @@ -648,301 +690,325 @@ public Webhook addFilterMerchantAccountsItem(String filterMerchantAccountsItem) return this; } - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. * @return filterMerchantAccounts - **/ + */ @ApiModelProperty(value = "A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**.") @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFilterMerchantAccounts() { return filterMerchantAccounts; } - - /** - * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. - * - * @param filterMerchantAccounts - */ + /** + * A list of merchant account names that are included or excluded from receiving the webhook. Inclusion or exclusion is based on the value defined for `filterMerchantAccountType`. Required if `filterMerchantAccountType` is either: * **includeAccounts** * **excludeAccounts** Not needed for `filterMerchantAccountType`: **allAccounts**. + * + * @param filterMerchantAccounts + */ @JsonProperty(JSON_PROPERTY_FILTER_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFilterMerchantAccounts(List filterMerchantAccounts) { this.filterMerchantAccounts = filterMerchantAccounts; } - + /** + * Indicates if the webhook configuration has errors that need troubleshooting. If the value is **true**, troubleshoot the configuration using the [testing endpoint](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookid}/test). + * + * @param hasError + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook hasError(Boolean hasError) { this.hasError = hasError; return this; } - /** + /** * Indicates if the webhook configuration has errors that need troubleshooting. If the value is **true**, troubleshoot the configuration using the [testing endpoint](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookid}/test). * @return hasError - **/ + */ @ApiModelProperty(value = "Indicates if the webhook configuration has errors that need troubleshooting. If the value is **true**, troubleshoot the configuration using the [testing endpoint](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookid}/test).") @JsonProperty(JSON_PROPERTY_HAS_ERROR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasError() { return hasError; } - - /** - * Indicates if the webhook configuration has errors that need troubleshooting. If the value is **true**, troubleshoot the configuration using the [testing endpoint](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookid}/test). - * - * @param hasError - */ + /** + * Indicates if the webhook configuration has errors that need troubleshooting. If the value is **true**, troubleshoot the configuration using the [testing endpoint](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/webhooks/{webhookid}/test). + * + * @param hasError + */ @JsonProperty(JSON_PROPERTY_HAS_ERROR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasError(Boolean hasError) { this.hasError = hasError; } - + /** + * Indicates if the webhook is password protected. + * + * @param hasPassword + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook hasPassword(Boolean hasPassword) { this.hasPassword = hasPassword; return this; } - /** + /** * Indicates if the webhook is password protected. * @return hasPassword - **/ + */ @ApiModelProperty(value = "Indicates if the webhook is password protected.") @JsonProperty(JSON_PROPERTY_HAS_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasPassword() { return hasPassword; } - - /** - * Indicates if the webhook is password protected. - * - * @param hasPassword - */ + /** + * Indicates if the webhook is password protected. + * + * @param hasPassword + */ @JsonProperty(JSON_PROPERTY_HAS_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHasPassword(Boolean hasPassword) { this.hasPassword = hasPassword; } - + /** + * The [checksum](https://en.wikipedia.org/wiki/Key_checksum_value) of the HMAC key generated for this webhook. You can use this value to uniquely identify the HMAC key configured for this webhook. + * + * @param hmacKeyCheckValue + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook hmacKeyCheckValue(String hmacKeyCheckValue) { this.hmacKeyCheckValue = hmacKeyCheckValue; return this; } - /** + /** * The [checksum](https://en.wikipedia.org/wiki/Key_checksum_value) of the HMAC key generated for this webhook. You can use this value to uniquely identify the HMAC key configured for this webhook. * @return hmacKeyCheckValue - **/ + */ @ApiModelProperty(value = "The [checksum](https://en.wikipedia.org/wiki/Key_checksum_value) of the HMAC key generated for this webhook. You can use this value to uniquely identify the HMAC key configured for this webhook.") @JsonProperty(JSON_PROPERTY_HMAC_KEY_CHECK_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHmacKeyCheckValue() { return hmacKeyCheckValue; } - - /** - * The [checksum](https://en.wikipedia.org/wiki/Key_checksum_value) of the HMAC key generated for this webhook. You can use this value to uniquely identify the HMAC key configured for this webhook. - * - * @param hmacKeyCheckValue - */ + /** + * The [checksum](https://en.wikipedia.org/wiki/Key_checksum_value) of the HMAC key generated for this webhook. You can use this value to uniquely identify the HMAC key configured for this webhook. + * + * @param hmacKeyCheckValue + */ @JsonProperty(JSON_PROPERTY_HMAC_KEY_CHECK_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHmacKeyCheckValue(String hmacKeyCheckValue) { this.hmacKeyCheckValue = hmacKeyCheckValue; } - + /** + * Unique identifier for this webhook. + * + * @param id + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook id(String id) { this.id = id; return this; } - /** + /** * Unique identifier for this webhook. * @return id - **/ + */ @ApiModelProperty(value = "Unique identifier for this webhook.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Unique identifier for this webhook. - * - * @param id - */ + /** + * Unique identifier for this webhook. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Network type for Terminal API details webhooks. + * + * @param networkType + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook networkType(NetworkTypeEnum networkType) { this.networkType = networkType; return this; } - /** + /** * Network type for Terminal API details webhooks. * @return networkType - **/ + */ @ApiModelProperty(value = "Network type for Terminal API details webhooks.") @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NetworkTypeEnum getNetworkType() { return networkType; } - - /** - * Network type for Terminal API details webhooks. - * - * @param networkType - */ + /** + * Network type for Terminal API details webhooks. + * + * @param networkType + */ @JsonProperty(JSON_PROPERTY_NETWORK_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkType(NetworkTypeEnum networkType) { this.networkType = networkType; } - + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook populateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; return this; } - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. * @return populateSoapActionHeader - **/ + */ @ApiModelProperty(value = "Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.") @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPopulateSoapActionHeader() { return populateSoapActionHeader; } - - /** - * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. - * - * @param populateSoapActionHeader - */ + /** + * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. + * + * @param populateSoapActionHeader + */ @JsonProperty(JSON_PROPERTY_POPULATE_SOAP_ACTION_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { this.populateSoapActionHeader = populateSoapActionHeader; } - + /** + * The type of webhook. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook type(String type) { this.type = type; return this; } - /** + /** * The type of webhook. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of webhook. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of webhook. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). - * - * @param type - */ + /** + * The type of webhook. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook url(String url) { this.url = url; return this; } - /** + /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. * @return url - **/ + */ @ApiModelProperty(example = "http://www.adyen.com", required = true, value = "Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.") @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUrl() { return url; } - - /** - * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. - * - * @param url - */ + /** + * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. + * + * @param url + */ @JsonProperty(JSON_PROPERTY_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrl(String url) { this.url = url; } - + /** + * Username to access the webhook URL. + * + * @param username + * @return the current {@code Webhook} instance, allowing for method chaining + */ public Webhook username(String username) { this.username = username; return this; } - /** + /** * Username to access the webhook URL. * @return username - **/ + */ @ApiModelProperty(value = "Username to access the webhook URL.") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } - - /** - * Username to access the webhook URL. - * - * @param username - */ + /** + * Username to access the webhook URL. + * + * @param username + */ @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUsername(String username) { this.username = username; } - /** * Return true if this Webhook object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/WebhookLinks.java b/src/main/java/com/adyen/model/management/WebhookLinks.java index e04b63edf..c0eb0d6f8 100644 --- a/src/main/java/com/adyen/model/management/WebhookLinks.java +++ b/src/main/java/com/adyen/model/management/WebhookLinks.java @@ -58,156 +58,171 @@ public class WebhookLinks { public WebhookLinks() { } + /** + * company + * + * @param company + * @return the current {@code WebhookLinks} instance, allowing for method chaining + */ public WebhookLinks company(LinksElement company) { this.company = company; return this; } - /** - * Get company + /** + * company * @return company - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getCompany() { return company; } - - /** - * company - * - * @param company - */ + /** + * company + * + * @param company + */ @JsonProperty(JSON_PROPERTY_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompany(LinksElement company) { this.company = company; } - + /** + * generateHmac + * + * @param generateHmac + * @return the current {@code WebhookLinks} instance, allowing for method chaining + */ public WebhookLinks generateHmac(LinksElement generateHmac) { this.generateHmac = generateHmac; return this; } - /** - * Get generateHmac + /** + * generateHmac * @return generateHmac - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_GENERATE_HMAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getGenerateHmac() { return generateHmac; } - - /** - * generateHmac - * - * @param generateHmac - */ + /** + * generateHmac + * + * @param generateHmac + */ @JsonProperty(JSON_PROPERTY_GENERATE_HMAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGenerateHmac(LinksElement generateHmac) { this.generateHmac = generateHmac; } - + /** + * merchant + * + * @param merchant + * @return the current {@code WebhookLinks} instance, allowing for method chaining + */ public WebhookLinks merchant(LinksElement merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(LinksElement merchant) { this.merchant = merchant; } - + /** + * self + * + * @param self + * @return the current {@code WebhookLinks} instance, allowing for method chaining + */ public WebhookLinks self(LinksElement self) { this.self = self; return this; } - /** - * Get self + /** + * self * @return self - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getSelf() { return self; } - - /** - * self - * - * @param self - */ + /** + * self + * + * @param self + */ @JsonProperty(JSON_PROPERTY_SELF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelf(LinksElement self) { this.self = self; } - + /** + * testWebhook + * + * @param testWebhook + * @return the current {@code WebhookLinks} instance, allowing for method chaining + */ public WebhookLinks testWebhook(LinksElement testWebhook) { this.testWebhook = testWebhook; return this; } - /** - * Get testWebhook + /** + * testWebhook * @return testWebhook - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TEST_WEBHOOK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LinksElement getTestWebhook() { return testWebhook; } - - /** - * testWebhook - * - * @param testWebhook - */ + /** + * testWebhook + * + * @param testWebhook + */ @JsonProperty(JSON_PROPERTY_TEST_WEBHOOK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTestWebhook(LinksElement testWebhook) { this.testWebhook = testWebhook; } - /** * Return true if this WebhookLinks object is equal to o. */ diff --git a/src/main/java/com/adyen/model/management/WifiProfiles.java b/src/main/java/com/adyen/model/management/WifiProfiles.java index ab07a0dab..42b8a041d 100644 --- a/src/main/java/com/adyen/model/management/WifiProfiles.java +++ b/src/main/java/com/adyen/model/management/WifiProfiles.java @@ -49,6 +49,12 @@ public class WifiProfiles { public WifiProfiles() { } + /** + * List of remote Wi-Fi profiles. + * + * @param profiles + * @return the current {@code WifiProfiles} instance, allowing for method chaining + */ public WifiProfiles profiles(List profiles) { this.profiles = profiles; return this; @@ -62,61 +68,61 @@ public WifiProfiles addProfilesItem(Profile profilesItem) { return this; } - /** + /** * List of remote Wi-Fi profiles. * @return profiles - **/ + */ @ApiModelProperty(value = "List of remote Wi-Fi profiles.") @JsonProperty(JSON_PROPERTY_PROFILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProfiles() { return profiles; } - - /** - * List of remote Wi-Fi profiles. - * - * @param profiles - */ + /** + * List of remote Wi-Fi profiles. + * + * @param profiles + */ @JsonProperty(JSON_PROPERTY_PROFILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProfiles(List profiles) { this.profiles = profiles; } - + /** + * settings + * + * @param settings + * @return the current {@code WifiProfiles} instance, allowing for method chaining + */ public WifiProfiles settings(Settings settings) { this.settings = settings; return this; } - /** - * Get settings + /** + * settings * @return settings - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Settings getSettings() { return settings; } - - /** - * settings - * - * @param settings - */ + /** + * settings + * + * @param settings + */ @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSettings(Settings settings) { this.settings = settings; } - /** * Return true if this WifiProfiles object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java b/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java index 5a114dd0a..beb7719fb 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java @@ -73,96 +73,111 @@ public class AccountCapabilityData { public AccountCapabilityData() { } + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. + * + * @param allowed + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. - * - * @param allowed - */ + /** + * Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData allowedLevel(String allowedLevel) { this.allowedLevel = allowedLevel; return this; } - /** + /** * The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. * @return allowedLevel - **/ + */ @ApiModelProperty(value = "The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAllowedLevel() { return allowedLevel; } - - /** - * The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param allowedLevel - */ + /** + * The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param allowedLevel + */ @JsonProperty(JSON_PROPERTY_ALLOWED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowedLevel(String allowedLevel) { this.allowedLevel = allowedLevel; } - + /** + * The name of the capability. For example, **sendToTransferInstrument**. + * + * @param capability + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData capability(String capability) { this.capability = capability; return this; } - /** + /** * The name of the capability. For example, **sendToTransferInstrument**. * @return capability - **/ + */ @ApiModelProperty(value = "The name of the capability. For example, **sendToTransferInstrument**.") @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCapability() { return capability; } - - /** - * The name of the capability. For example, **sendToTransferInstrument**. - * - * @param capability - */ + /** + * The name of the capability. For example, **sendToTransferInstrument**. + * + * @param capability + */ @JsonProperty(JSON_PROPERTY_CAPABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapability(String capability) { this.capability = capability; } - + /** + * List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them. + * + * @param problems + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData problems(List problems) { this.problems = problems; return this; @@ -176,151 +191,160 @@ public AccountCapabilityData addProblemsItem(CapabilityProblem problemsItem) { return this; } - /** + /** * List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them. * @return problems - **/ + */ @ApiModelProperty(value = "List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them.") @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getProblems() { return problems; } - - /** - * List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them. - * - * @param problems - */ + /** + * List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them. + * + * @param problems + */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProblems(List problems) { this.problems = problems; } - + /** + * Indicates whether you requested the capability. + * + * @param requested + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData requested(Boolean requested) { this.requested = requested; return this; } - /** + /** * Indicates whether you requested the capability. * @return requested - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether you requested the capability.") @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRequested() { return requested; } - - /** - * Indicates whether you requested the capability. - * - * @param requested - */ + /** + * Indicates whether you requested the capability. + * + * @param requested + */ @JsonProperty(JSON_PROPERTY_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequested(Boolean requested) { this.requested = requested; } - + /** + * The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData requestedLevel(String requestedLevel) { this.requestedLevel = requestedLevel; return this; } - /** + /** * The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. * @return requestedLevel - **/ + */ @ApiModelProperty(required = true, value = "The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.") @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestedLevel() { return requestedLevel; } - - /** - * The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. - * - * @param requestedLevel - */ + /** + * The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**. + * + * @param requestedLevel + */ @JsonProperty(JSON_PROPERTY_REQUESTED_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedLevel(String requestedLevel) { this.requestedLevel = requestedLevel; } - + /** + * The verification deadline for the capability that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadline + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData verificationDeadline(OffsetDateTime verificationDeadline) { this.verificationDeadline = verificationDeadline; return this; } - /** + /** * The verification deadline for the capability that will be disallowed if verification errors are not resolved. * @return verificationDeadline - **/ + */ @ApiModelProperty(value = "The verification deadline for the capability that will be disallowed if verification errors are not resolved.") @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getVerificationDeadline() { return verificationDeadline; } - - /** - * The verification deadline for the capability that will be disallowed if verification errors are not resolved. - * - * @param verificationDeadline - */ + /** + * The verification deadline for the capability that will be disallowed if verification errors are not resolved. + * + * @param verificationDeadline + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_DEADLINE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationDeadline(OffsetDateTime verificationDeadline) { this.verificationDeadline = verificationDeadline; } - + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. + * + * @param verificationStatus + * @return the current {@code AccountCapabilityData} instance, allowing for method chaining + */ public AccountCapabilityData verificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. * @return verificationStatus - **/ + */ @ApiModelProperty(value = "The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. ") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVerificationStatus() { return verificationStatus; } - - /** - * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. - * - * @param verificationStatus - */ + /** + * The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability. + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(String verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this AccountCapabilityData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountCreateNotificationData.java b/src/main/java/com/adyen/model/managementwebhooks/AccountCreateNotificationData.java index 6925f5153..584c60590 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountCreateNotificationData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountCreateNotificationData.java @@ -61,6 +61,12 @@ public class AccountCreateNotificationData { public AccountCreateNotificationData() { } + /** + * Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountCreateNotificationData} instance, allowing for method chaining + */ public AccountCreateNotificationData capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -71,151 +77,160 @@ public AccountCreateNotificationData putCapabilitiesItem(String key, AccountCapa return this; } - /** + /** * Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(required = true, value = "Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code AccountCreateNotificationData} instance, allowing for method chaining + */ public AccountCreateNotificationData companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + * @return the current {@code AccountCreateNotificationData} instance, allowing for method chaining + */ public AccountCreateNotificationData legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). * @return legalEntityId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The unique identifier of the merchant account. + * + * @param merchantId + * @return the current {@code AccountCreateNotificationData} instance, allowing for method chaining + */ public AccountCreateNotificationData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account. * @return merchantId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + * @return the current {@code AccountCreateNotificationData} instance, allowing for method chaining + */ public AccountCreateNotificationData status(String status) { this.status = status; return this; } - /** + /** * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. - * - * @param status - */ + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this AccountCreateNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java index 51f700728..a2c2b1d79 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java @@ -41,36 +41,39 @@ public class AccountNotificationResponse { public AccountNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code AccountNotificationResponse} instance, allowing for method chaining + */ public AccountNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this AccountNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountUpdateNotificationData.java b/src/main/java/com/adyen/model/managementwebhooks/AccountUpdateNotificationData.java index a5a791a2d..b41d18aa3 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountUpdateNotificationData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountUpdateNotificationData.java @@ -57,6 +57,12 @@ public class AccountUpdateNotificationData { public AccountUpdateNotificationData() { } + /** + * Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability. + * + * @param capabilities + * @return the current {@code AccountUpdateNotificationData} instance, allowing for method chaining + */ public AccountUpdateNotificationData capabilities(Map capabilities) { this.capabilities = capabilities; return this; @@ -67,121 +73,127 @@ public AccountUpdateNotificationData putCapabilitiesItem(String key, AccountCapa return this; } - /** + /** * Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability. * @return capabilities - **/ + */ @ApiModelProperty(required = true, value = "Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability.") @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getCapabilities() { return capabilities; } - - /** - * Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability. - * - * @param capabilities - */ + /** + * Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability. + * + * @param capabilities + */ @JsonProperty(JSON_PROPERTY_CAPABILITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCapabilities(Map capabilities) { this.capabilities = capabilities; } - + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + * @return the current {@code AccountUpdateNotificationData} instance, allowing for method chaining + */ public AccountUpdateNotificationData legalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; return this; } - /** + /** * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). * @return legalEntityId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).") @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLegalEntityId() { return legalEntityId; } - - /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). - * - * @param legalEntityId - */ + /** + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). + * + * @param legalEntityId + */ @JsonProperty(JSON_PROPERTY_LEGAL_ENTITY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLegalEntityId(String legalEntityId) { this.legalEntityId = legalEntityId; } - + /** + * The unique identifier of the merchant account. + * + * @param merchantId + * @return the current {@code AccountUpdateNotificationData} instance, allowing for method chaining + */ public AccountUpdateNotificationData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account. * @return merchantId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + * @return the current {@code AccountUpdateNotificationData} instance, allowing for method chaining + */ public AccountUpdateNotificationData status(String status) { this.status = status; return this; } - /** + /** * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. - * - * @param status - */ + /** + * The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this AccountUpdateNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblem.java b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblem.java index c956492cb..2018be16a 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblem.java +++ b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblem.java @@ -49,36 +49,45 @@ public class CapabilityProblem { public CapabilityProblem() { } + /** + * entity + * + * @param entity + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem entity(CapabilityProblemEntity entity) { this.entity = entity; return this; } - /** - * Get entity + /** + * entity * @return entity - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntity getEntity() { return entity; } - - /** - * entity - * - * @param entity - */ + /** + * entity + * + * @param entity + */ @JsonProperty(JSON_PROPERTY_ENTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntity(CapabilityProblemEntity entity) { this.entity = entity; } - + /** + * List of verification errors. + * + * @param verificationErrors + * @return the current {@code CapabilityProblem} instance, allowing for method chaining + */ public CapabilityProblem verificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; return this; @@ -92,31 +101,28 @@ public CapabilityProblem addVerificationErrorsItem(VerificationError verificatio return this; } - /** + /** * List of verification errors. * @return verificationErrors - **/ + */ @ApiModelProperty(value = "List of verification errors.") @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getVerificationErrors() { return verificationErrors; } - - /** - * List of verification errors. - * - * @param verificationErrors - */ + /** + * List of verification errors. + * + * @param verificationErrors + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationErrors(List verificationErrors) { this.verificationErrors = verificationErrors; } - /** * Return true if this CapabilityProblem object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntity.java b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntity.java index 7965bea93..2f37b4a3f 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntity.java +++ b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntity.java @@ -93,6 +93,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntity() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity documents(List documents) { this.documents = documents; return this; @@ -106,121 +112,127 @@ public CapabilityProblemEntity addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * owner + * + * @param owner + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity owner(CapabilityProblemEntityRecursive owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * owner * @return owner - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapabilityProblemEntityRecursive getOwner() { return owner; } - - /** - * owner - * - * @param owner - */ + /** + * owner + * + * @param owner + */ @JsonProperty(JSON_PROPERTY_OWNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwner(CapabilityProblemEntityRecursive owner) { this.owner = owner; } - + /** + * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntity} instance, allowing for method chaining + */ public CapabilityProblemEntity type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. * @return type - **/ + */ @ApiModelProperty(value = "The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. - * - * @param type - */ + /** + * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntityRecursive.java b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntityRecursive.java index b517a52a0..cc45b4f03 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntityRecursive.java +++ b/src/main/java/com/adyen/model/managementwebhooks/CapabilityProblemEntityRecursive.java @@ -89,6 +89,12 @@ public static TypeEnum fromValue(String value) { public CapabilityProblemEntityRecursive() { } + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive documents(List documents) { this.documents = documents; return this; @@ -102,91 +108,94 @@ public CapabilityProblemEntityRecursive addDocumentsItem(String documentsItem) { return this; } - /** + /** * List of document IDs to which the verification errors related to the capabilities correspond to. * @return documents - **/ + */ @ApiModelProperty(value = "List of document IDs to which the verification errors related to the capabilities correspond to.") @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDocuments() { return documents; } - - /** - * List of document IDs to which the verification errors related to the capabilities correspond to. - * - * @param documents - */ + /** + * List of document IDs to which the verification errors related to the capabilities correspond to. + * + * @param documents + */ @JsonProperty(JSON_PROPERTY_DOCUMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDocuments(List documents) { this.documents = documents; } - + /** + * The ID of the entity. + * + * @param id + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive id(String id) { this.id = id; return this; } - /** + /** * The ID of the entity. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the entity.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the entity. - * - * @param id - */ + /** + * The ID of the entity. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. + * + * @param type + * @return the current {@code CapabilityProblemEntityRecursive} instance, allowing for method chaining + */ public CapabilityProblemEntityRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. * @return type - **/ + */ @ApiModelProperty(value = "The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. - * - * @param type - */ + /** + * The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CapabilityProblemEntity-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/MerchantCreatedNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/MerchantCreatedNotificationRequest.java index ad1d3526a..96d0c0427 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/MerchantCreatedNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/MerchantCreatedNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public MerchantCreatedNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code MerchantCreatedNotificationRequest} instance, allowing for method chaining + */ public MerchantCreatedNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code MerchantCreatedNotificationRequest} instance, allowing for method chaining + */ public MerchantCreatedNotificationRequest data(AccountCreateNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountCreateNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(AccountCreateNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code MerchantCreatedNotificationRequest} instance, allowing for method chaining + */ public MerchantCreatedNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code MerchantCreatedNotificationRequest} instance, allowing for method chaining + */ public MerchantCreatedNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MerchantCreatedNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/MerchantUpdatedNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/MerchantUpdatedNotificationRequest.java index f4a897bd7..d6295a3bd 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/MerchantUpdatedNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/MerchantUpdatedNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public MerchantUpdatedNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code MerchantUpdatedNotificationRequest} instance, allowing for method chaining + */ public MerchantUpdatedNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code MerchantUpdatedNotificationRequest} instance, allowing for method chaining + */ public MerchantUpdatedNotificationRequest data(AccountUpdateNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountUpdateNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(AccountUpdateNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code MerchantUpdatedNotificationRequest} instance, allowing for method chaining + */ public MerchantUpdatedNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code MerchantUpdatedNotificationRequest} instance, allowing for method chaining + */ public MerchantUpdatedNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this MerchantUpdatedNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java b/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java index 6ff29aad1..00906b537 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java @@ -153,276 +153,303 @@ public static VerificationStatusEnum fromValue(String value) { public MidServiceNotificationData() { } + /** + * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. + * + * @param allowed + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData allowed(Boolean allowed) { this.allowed = allowed; return this; } - /** + /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. * @return allowed - **/ + */ @ApiModelProperty(value = "Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.") @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllowed() { return allowed; } - - /** - * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. - * - * @param allowed - */ + /** + * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. + * + * @param allowed + */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowed(Boolean allowed) { this.allowed = allowed; } - + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData enabled(Boolean enabled) { this.enabled = enabled; return this; } - /** + /** * Indicates whether the payment method is enabled (**true**) or disabled (**false**). * @return enabled - **/ + */ @ApiModelProperty(value = "Indicates whether the payment method is enabled (**true**) or disabled (**false**).") @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getEnabled() { return enabled; } - - /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). - * - * @param enabled - */ + /** + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * + * @param enabled + */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnabled(Boolean enabled) { this.enabled = enabled; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the merchant account. + * + * @param merchantId + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account. * @return merchantId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * Your reference for the payment method. + * + * @param reference + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment method. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment method.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment method. - * - * @param reference - */ + /** + * Your reference for the payment method. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. + * + * @param status + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. - * - * @param status - */ + /** + * The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any. + * + * @param storeId + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any. - * - * @param storeId - */ + /** + * The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData type(String type) { this.type = type; return this; } - /** + /** * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). * @return type - **/ + */ @ApiModelProperty(required = true, value = "Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). - * - * @param type - */ + /** + * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * + * @param verificationStatus + * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining + */ public MidServiceNotificationData verificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; return this; } - /** + /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** * @return verificationStatus - **/ + */ @ApiModelProperty(value = "Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**") @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public VerificationStatusEnum getVerificationStatus() { return verificationStatus; } - - /** - * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** - * - * @param verificationStatus - */ + /** + * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * + * @param verificationStatus + */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVerificationStatus(VerificationStatusEnum verificationStatus) { this.verificationStatus = verificationStatus; } - /** * Return true if this MidServiceNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodCreatedNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodCreatedNotificationRequest.java index 5d72a5564..30c2f7b77 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodCreatedNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodCreatedNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public PaymentMethodCreatedNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code PaymentMethodCreatedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodCreatedNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code PaymentMethodCreatedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodCreatedNotificationRequest data(MidServiceNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MidServiceNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(MidServiceNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code PaymentMethodCreatedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodCreatedNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code PaymentMethodCreatedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodCreatedNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentMethodCreatedNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java index 0a76aff40..6688e64b5 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java @@ -41,36 +41,39 @@ public class PaymentMethodNotificationResponse { public PaymentMethodNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code PaymentMethodNotificationResponse} instance, allowing for method chaining + */ public PaymentMethodNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this PaymentMethodNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodRequestRemovedNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodRequestRemovedNotificationRequest.java index e2e6d4a2f..36ecfe4f9 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodRequestRemovedNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodRequestRemovedNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public PaymentMethodRequestRemovedNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code PaymentMethodRequestRemovedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodRequestRemovedNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code PaymentMethodRequestRemovedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodRequestRemovedNotificationRequest data(MidServiceNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MidServiceNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(MidServiceNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code PaymentMethodRequestRemovedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodRequestRemovedNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code PaymentMethodRequestRemovedNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodRequestRemovedNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentMethodRequestRemovedNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodScheduledForRemovalNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodScheduledForRemovalNotificationRequest.java index f3a3bcb7e..44717ec24 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodScheduledForRemovalNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodScheduledForRemovalNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public PaymentMethodScheduledForRemovalNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code PaymentMethodScheduledForRemovalNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodScheduledForRemovalNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code PaymentMethodScheduledForRemovalNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodScheduledForRemovalNotificationRequest data(MidServiceNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MidServiceNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(MidServiceNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code PaymentMethodScheduledForRemovalNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodScheduledForRemovalNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code PaymentMethodScheduledForRemovalNotificationRequest} instance, allowing for method chaining + */ public PaymentMethodScheduledForRemovalNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PaymentMethodScheduledForRemovalNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/RemediatingAction.java b/src/main/java/com/adyen/model/managementwebhooks/RemediatingAction.java index f290b626a..776e4283a 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/RemediatingAction.java +++ b/src/main/java/com/adyen/model/managementwebhooks/RemediatingAction.java @@ -45,66 +45,72 @@ public class RemediatingAction { public RemediatingAction() { } + /** + * The remediating action code. + * + * @param code + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction code(String code) { this.code = code; return this; } - /** + /** * The remediating action code. * @return code - **/ + */ @ApiModelProperty(value = "The remediating action code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The remediating action code. - * - * @param code - */ + /** + * The remediating action code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * A description of how you can resolve the verification error. + * + * @param message + * @return the current {@code RemediatingAction} instance, allowing for method chaining + */ public RemediatingAction message(String message) { this.message = message; return this; } - /** + /** * A description of how you can resolve the verification error. * @return message - **/ + */ @ApiModelProperty(value = "A description of how you can resolve the verification error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A description of how you can resolve the verification error. - * - * @param message - */ + /** + * A description of how you can resolve the verification error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - /** * Return true if this RemediatingAction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingData.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingData.java index ba46005fe..f577fc592 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingData.java @@ -53,126 +53,138 @@ public class TerminalBoardingData { public TerminalBoardingData() { } + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code TerminalBoardingData} instance, allowing for method chaining + */ public TerminalBoardingData companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * The unique identifier of the merchant account. + * + * @param merchantId + * @return the current {@code TerminalBoardingData} instance, allowing for method chaining + */ public TerminalBoardingData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The unique identifier of the store. + * + * @param storeId + * @return the current {@code TerminalBoardingData} instance, allowing for method chaining + */ public TerminalBoardingData storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the store. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the store. - * - * @param storeId - */ + /** + * The unique identifier of the store. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - + /** + * The unique identifier of the terminal. + * + * @param uniqueTerminalId + * @return the current {@code TerminalBoardingData} instance, allowing for method chaining + */ public TerminalBoardingData uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * The unique identifier of the terminal. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the terminal.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * The unique identifier of the terminal. - * - * @param uniqueTerminalId - */ + /** + * The unique identifier of the terminal. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this TerminalBoardingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationRequest.java index a5fabc73c..4fa32b927 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public TerminalBoardingNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code TerminalBoardingNotificationRequest} instance, allowing for method chaining + */ public TerminalBoardingNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code TerminalBoardingNotificationRequest} instance, allowing for method chaining + */ public TerminalBoardingNotificationRequest data(TerminalBoardingData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalBoardingData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(TerminalBoardingData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code TerminalBoardingNotificationRequest} instance, allowing for method chaining + */ public TerminalBoardingNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code TerminalBoardingNotificationRequest} instance, allowing for method chaining + */ public TerminalBoardingNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TerminalBoardingNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java index 5341a560e..498fca660 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java @@ -41,36 +41,39 @@ public class TerminalBoardingNotificationResponse { public TerminalBoardingNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code TerminalBoardingNotificationResponse} instance, allowing for method chaining + */ public TerminalBoardingNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this TerminalBoardingNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsData.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsData.java index d18afc7f0..a0469bba6 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsData.java @@ -96,186 +96,204 @@ public static UpdateSourceEnum fromValue(String value) { public TerminalSettingsData() { } + /** + * The unique identifier of the company account. + * + * @param companyId + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData companyId(String companyId) { this.companyId = companyId; return this; } - /** + /** * The unique identifier of the company account. * @return companyId - **/ + */ @ApiModelProperty(value = "The unique identifier of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyId() { return companyId; } - - /** - * The unique identifier of the company account. - * - * @param companyId - */ + /** + * The unique identifier of the company account. + * + * @param companyId + */ @JsonProperty(JSON_PROPERTY_COMPANY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyId(String companyId) { this.companyId = companyId; } - + /** + * The unique identifier of the merchant account. + * + * @param merchantId + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The unique identifier of the merchant account. * @return merchantId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The unique identifier of the merchant account. - * - * @param merchantId - */ + /** + * The unique identifier of the merchant account. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The unique identifier of the store. + * + * @param storeId + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData storeId(String storeId) { this.storeId = storeId; return this; } - /** + /** * The unique identifier of the store. * @return storeId - **/ + */ @ApiModelProperty(value = "The unique identifier of the store.") @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoreId() { return storeId; } - - /** - * The unique identifier of the store. - * - * @param storeId - */ + /** + * The unique identifier of the store. + * + * @param storeId + */ @JsonProperty(JSON_PROPERTY_STORE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreId(String storeId) { this.storeId = storeId; } - + /** + * The unique identifier of the terminal. + * + * @param terminalId + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The unique identifier of the terminal. * @return terminalId - **/ + */ @ApiModelProperty(value = "The unique identifier of the terminal.") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The unique identifier of the terminal. - * - * @param terminalId - */ + /** + * The unique identifier of the terminal. + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - + /** + * Indicates whether the terminal settings were updated using the Customer Area or the Management API. + * + * @param updateSource + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData updateSource(UpdateSourceEnum updateSource) { this.updateSource = updateSource; return this; } - /** + /** * Indicates whether the terminal settings were updated using the Customer Area or the Management API. * @return updateSource - **/ + */ @ApiModelProperty(required = true, value = "Indicates whether the terminal settings were updated using the Customer Area or the Management API.") @JsonProperty(JSON_PROPERTY_UPDATE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UpdateSourceEnum getUpdateSource() { return updateSource; } - - /** - * Indicates whether the terminal settings were updated using the Customer Area or the Management API. - * - * @param updateSource - */ + /** + * Indicates whether the terminal settings were updated using the Customer Area or the Management API. + * + * @param updateSource + */ @JsonProperty(JSON_PROPERTY_UPDATE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdateSource(UpdateSourceEnum updateSource) { this.updateSource = updateSource; } - + /** + * The user that updated the terminal settings. Can be Adyen or your API credential username. + * + * @param user + * @return the current {@code TerminalSettingsData} instance, allowing for method chaining + */ public TerminalSettingsData user(String user) { this.user = user; return this; } - /** + /** * The user that updated the terminal settings. Can be Adyen or your API credential username. * @return user - **/ + */ @ApiModelProperty(required = true, value = "The user that updated the terminal settings. Can be Adyen or your API credential username.") @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUser() { return user; } - - /** - * The user that updated the terminal settings. Can be Adyen or your API credential username. - * - * @param user - */ + /** + * The user that updated the terminal settings. Can be Adyen or your API credential username. + * + * @param user + */ @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUser(String user) { this.user = user; } - /** * Return true if this TerminalSettingsData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationRequest.java index 3b98afa9d..0f5e25c2e 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationRequest.java @@ -88,126 +88,138 @@ public static TypeEnum fromValue(String value) { public TerminalSettingsNotificationRequest() { } + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + * @return the current {@code TerminalSettingsNotificationRequest} instance, allowing for method chaining + */ public TerminalSettingsNotificationRequest createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } - /** + /** * Timestamp for when the webhook was created. * @return createdAt - **/ + */ @ApiModelProperty(required = true, value = "Timestamp for when the webhook was created.") @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { return createdAt; } - - /** - * Timestamp for when the webhook was created. - * - * @param createdAt - */ + /** + * Timestamp for when the webhook was created. + * + * @param createdAt + */ @JsonProperty(JSON_PROPERTY_CREATED_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - + /** + * data + * + * @param data + * @return the current {@code TerminalSettingsNotificationRequest} instance, allowing for method chaining + */ public TerminalSettingsNotificationRequest data(TerminalSettingsData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalSettingsData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(TerminalSettingsData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code TerminalSettingsNotificationRequest} instance, allowing for method chaining + */ public TerminalSettingsNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of notification. + * + * @param type + * @return the current {@code TerminalSettingsNotificationRequest} instance, allowing for method chaining + */ public TerminalSettingsNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of notification. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of notification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of notification. - * - * @param type - */ + /** + * Type of notification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TerminalSettingsNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java index ef2be8243..e7b6d40e2 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java @@ -41,36 +41,39 @@ public class TerminalSettingsNotificationResponse { public TerminalSettingsNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code TerminalSettingsNotificationResponse} instance, allowing for method chaining + */ public TerminalSettingsNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this TerminalSettingsNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java b/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java index e3e194c2f..2149bc435 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java +++ b/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java @@ -98,66 +98,78 @@ public static TypeEnum fromValue(String value) { public VerificationError() { } + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The verification error message. + * + * @param message + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError message(String message) { this.message = message; return this; } - /** + /** * The verification error message. * @return message - **/ + */ @ApiModelProperty(value = "The verification error message.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * The verification error message. - * - * @param message - */ + /** + * The verification error message. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -171,31 +183,34 @@ public VerificationError addRemediatingActionsItem(RemediatingAction remediating return this; } - /** + /** * The actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "The actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * The actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * The actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - + /** + * More granular information about the verification error. + * + * @param subErrors + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError subErrors(List subErrors) { this.subErrors = subErrors; return this; @@ -209,61 +224,61 @@ public VerificationError addSubErrorsItem(VerificationErrorRecursive subErrorsIt return this; } - /** + /** * More granular information about the verification error. * @return subErrors - **/ + */ @ApiModelProperty(value = "More granular information about the verification error.") @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSubErrors() { return subErrors; } - - /** - * More granular information about the verification error. - * - * @param subErrors - */ + /** + * More granular information about the verification error. + * + * @param subErrors + */ @JsonProperty(JSON_PROPERTY_SUB_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubErrors(List subErrors) { this.subErrors = subErrors; } - + /** + * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. + * + * @param type + * @return the current {@code VerificationError} instance, allowing for method chaining + */ public VerificationError type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. * @return type - **/ + */ @ApiModelProperty(value = "The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. - * - * @param type - */ + /** + * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this VerificationError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java b/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java index 4ce7e509d..396ab1fe2 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java +++ b/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java @@ -94,96 +94,111 @@ public static TypeEnum fromValue(String value) { public VerificationErrorRecursive() { } + /** + * The verification error code. + * + * @param code + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive code(String code) { this.code = code; return this; } - /** + /** * The verification error code. * @return code - **/ + */ @ApiModelProperty(value = "The verification error code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The verification error code. - * - * @param code - */ + /** + * The verification error code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The verification error message. + * + * @param message + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive message(String message) { this.message = message; return this; } - /** + /** * The verification error message. * @return message - **/ + */ @ApiModelProperty(value = "The verification error message.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * The verification error message. - * - * @param message - */ + /** + * The verification error message. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. + * + * @param type + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. * @return type - **/ + */ @ApiModelProperty(value = "The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. - * - * @param type - */ + /** + * The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The actions that you can take to resolve the verification error. + * + * @param remediatingActions + * @return the current {@code VerificationErrorRecursive} instance, allowing for method chaining + */ public VerificationErrorRecursive remediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; return this; @@ -197,31 +212,28 @@ public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction re return this; } - /** + /** * The actions that you can take to resolve the verification error. * @return remediatingActions - **/ + */ @ApiModelProperty(value = "The actions that you can take to resolve the verification error.") @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRemediatingActions() { return remediatingActions; } - - /** - * The actions that you can take to resolve the verification error. - * - * @param remediatingActions - */ + /** + * The actions that you can take to resolve the verification error. + * + * @param remediatingActions + */ @JsonProperty(JSON_PROPERTY_REMEDIATING_ACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemediatingActions(List remediatingActions) { this.remediatingActions = remediatingActions; } - /** * Return true if this VerificationError-recursive object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AccountInfo.java b/src/main/java/com/adyen/model/payment/AccountInfo.java index cc2097df2..0c2fa80c3 100644 --- a/src/main/java/com/adyen/model/payment/AccountInfo.java +++ b/src/main/java/com/adyen/model/payment/AccountInfo.java @@ -235,11 +235,11 @@ public static DeliveryAddressUsageIndicatorEnum fromValue(String value) { private DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator; public static final String JSON_PROPERTY_HOME_PHONE = "homePhone"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` instead. private String homePhone; public static final String JSON_PROPERTY_MOBILE_PHONE = "mobilePhone"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` instead. private String mobilePhone; public static final String JSON_PROPERTY_PASSWORD_CHANGE_DATE = "passwordChangeDate"; @@ -349,278 +349,314 @@ public static PaymentAccountIndicatorEnum fromValue(String value) { private Boolean suspiciousActivity; public static final String JSON_PROPERTY_WORK_PHONE = "workPhone"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` instead. private String workPhone; public AccountInfo() { } + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountAgeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountAgeIndicator(AccountAgeIndicatorEnum accountAgeIndicator) { this.accountAgeIndicator = accountAgeIndicator; return this; } - /** - * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return accountAgeIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_ACCOUNT_AGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountAgeIndicatorEnum getAccountAgeIndicator() { return accountAgeIndicator; } - - /** - * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param accountAgeIndicator - */ + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountAgeIndicator + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_AGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountAgeIndicator(AccountAgeIndicatorEnum accountAgeIndicator) { this.accountAgeIndicator = accountAgeIndicator; } - + /** + * Date when the shopper's account was last changed. + * + * @param accountChangeDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountChangeDate(OffsetDateTime accountChangeDate) { this.accountChangeDate = accountChangeDate; return this; } - /** - * Date when the shopper's account was last changed. + /** + * Date when the shopper's account was last changed. * @return accountChangeDate - **/ + */ @ApiModelProperty(value = "Date when the shopper's account was last changed.") @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getAccountChangeDate() { return accountChangeDate; } - - /** - * Date when the shopper's account was last changed. - * - * @param accountChangeDate - */ + /** + * Date when the shopper's account was last changed. + * + * @param accountChangeDate + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountChangeDate(OffsetDateTime accountChangeDate) { this.accountChangeDate = accountChangeDate; } - + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountChangeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountChangeIndicator(AccountChangeIndicatorEnum accountChangeIndicator) { this.accountChangeIndicator = accountChangeIndicator; return this; } - /** - * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return accountChangeIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountChangeIndicatorEnum getAccountChangeIndicator() { return accountChangeIndicator; } - - /** - * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param accountChangeIndicator - */ + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param accountChangeIndicator + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountChangeIndicator(AccountChangeIndicatorEnum accountChangeIndicator) { this.accountChangeIndicator = accountChangeIndicator; } - + /** + * Date when the shopper's account was created. + * + * @param accountCreationDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountCreationDate(OffsetDateTime accountCreationDate) { this.accountCreationDate = accountCreationDate; return this; } - /** - * Date when the shopper's account was created. + /** + * Date when the shopper's account was created. * @return accountCreationDate - **/ + */ @ApiModelProperty(value = "Date when the shopper's account was created.") @JsonProperty(JSON_PROPERTY_ACCOUNT_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getAccountCreationDate() { return accountCreationDate; } - - /** - * Date when the shopper's account was created. - * - * @param accountCreationDate - */ + /** + * Date when the shopper's account was created. + * + * @param accountCreationDate + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountCreationDate(OffsetDateTime accountCreationDate) { this.accountCreationDate = accountCreationDate; } - + /** + * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit + * + * @param accountType + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit * @return accountType - **/ + */ @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit - * - * @param accountType - */ + /** + * Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + * + * @param addCardAttemptsDay + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo addCardAttemptsDay(Integer addCardAttemptsDay) { this.addCardAttemptsDay = addCardAttemptsDay; return this; } - /** + /** * Number of attempts the shopper tried to add a card to their account in the last day. * @return addCardAttemptsDay - **/ + */ @ApiModelProperty(value = "Number of attempts the shopper tried to add a card to their account in the last day.") @JsonProperty(JSON_PROPERTY_ADD_CARD_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAddCardAttemptsDay() { return addCardAttemptsDay; } - - /** - * Number of attempts the shopper tried to add a card to their account in the last day. - * - * @param addCardAttemptsDay - */ + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + * + * @param addCardAttemptsDay + */ @JsonProperty(JSON_PROPERTY_ADD_CARD_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddCardAttemptsDay(Integer addCardAttemptsDay) { this.addCardAttemptsDay = addCardAttemptsDay; } - + /** + * Date the selected delivery address was first used. + * + * @param deliveryAddressUsageDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo deliveryAddressUsageDate(OffsetDateTime deliveryAddressUsageDate) { this.deliveryAddressUsageDate = deliveryAddressUsageDate; return this; } - /** + /** * Date the selected delivery address was first used. * @return deliveryAddressUsageDate - **/ + */ @ApiModelProperty(value = "Date the selected delivery address was first used.") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryAddressUsageDate() { return deliveryAddressUsageDate; } - - /** - * Date the selected delivery address was first used. - * - * @param deliveryAddressUsageDate - */ + /** + * Date the selected delivery address was first used. + * + * @param deliveryAddressUsageDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressUsageDate(OffsetDateTime deliveryAddressUsageDate) { this.deliveryAddressUsageDate = deliveryAddressUsageDate; } - + /** + * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param deliveryAddressUsageIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo deliveryAddressUsageIndicator(DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator) { this.deliveryAddressUsageIndicator = deliveryAddressUsageIndicator; return this; } - /** + /** * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return deliveryAddressUsageIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddressUsageIndicatorEnum getDeliveryAddressUsageIndicator() { return deliveryAddressUsageIndicator; } - - /** - * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param deliveryAddressUsageIndicator - */ + /** + * Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param deliveryAddressUsageIndicator + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_USAGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressUsageIndicator(DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator) { this.deliveryAddressUsageIndicator = deliveryAddressUsageIndicator; } - + /** + * Shopper's home phone number (including the country code). + * + * @param homePhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated public AccountInfo homePhone(String homePhone) { this.homePhone = homePhone; return this; } - /** - * Shopper's home phone number (including the country code). + /** + * Shopper's home phone number (including the country code). * @return homePhone - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's home phone number (including the country code).") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHomePhone() { return homePhone; } - - /** - * Shopper's home phone number (including the country code). - * - * @param homePhone - */ + /** + * Shopper's home phone number (including the country code). + * + * @param homePhone + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.homePhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -628,33 +664,44 @@ public void setHomePhone(String homePhone) { this.homePhone = homePhone; } - + /** + * Shopper's mobile phone number (including the country code). + * + * @param mobilePhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated public AccountInfo mobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Shopper's mobile phone number (including the country code). + /** + * Shopper's mobile phone number (including the country code). * @return mobilePhone - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's mobile phone number (including the country code).") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMobilePhone() { return mobilePhone; } - - /** - * Shopper's mobile phone number (including the country code). - * - * @param mobilePhone - */ + /** + * Shopper's mobile phone number (including the country code). + * + * @param mobilePhone + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -662,273 +709,308 @@ public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * Date when the shopper last changed their password. + * + * @param passwordChangeDate + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo passwordChangeDate(OffsetDateTime passwordChangeDate) { this.passwordChangeDate = passwordChangeDate; return this; } - /** + /** * Date when the shopper last changed their password. * @return passwordChangeDate - **/ + */ @ApiModelProperty(value = "Date when the shopper last changed their password.") @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPasswordChangeDate() { return passwordChangeDate; } - - /** - * Date when the shopper last changed their password. - * - * @param passwordChangeDate - */ + /** + * Date when the shopper last changed their password. + * + * @param passwordChangeDate + */ @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPasswordChangeDate(OffsetDateTime passwordChangeDate) { this.passwordChangeDate = passwordChangeDate; } - + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param passwordChangeIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo passwordChangeIndicator(PasswordChangeIndicatorEnum passwordChangeIndicator) { this.passwordChangeIndicator = passwordChangeIndicator; return this; } - /** + /** * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return passwordChangeIndicator - **/ + */ @ApiModelProperty(value = "Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PasswordChangeIndicatorEnum getPasswordChangeIndicator() { return passwordChangeIndicator; } - - /** - * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param passwordChangeIndicator - */ + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param passwordChangeIndicator + */ @JsonProperty(JSON_PROPERTY_PASSWORD_CHANGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPasswordChangeIndicator(PasswordChangeIndicatorEnum passwordChangeIndicator) { this.passwordChangeIndicator = passwordChangeIndicator; } - + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + * + * @param pastTransactionsDay + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo pastTransactionsDay(Integer pastTransactionsDay) { this.pastTransactionsDay = pastTransactionsDay; return this; } - /** + /** * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. * @return pastTransactionsDay - **/ + */ @ApiModelProperty(value = "Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.") @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPastTransactionsDay() { return pastTransactionsDay; } - - /** - * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. - * - * @param pastTransactionsDay - */ + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + * + * @param pastTransactionsDay + */ @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPastTransactionsDay(Integer pastTransactionsDay) { this.pastTransactionsDay = pastTransactionsDay; } - + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + * + * @param pastTransactionsYear + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo pastTransactionsYear(Integer pastTransactionsYear) { this.pastTransactionsYear = pastTransactionsYear; return this; } - /** + /** * Number of all transactions (successful and abandoned) from this shopper in the past year. * @return pastTransactionsYear - **/ + */ @ApiModelProperty(value = "Number of all transactions (successful and abandoned) from this shopper in the past year.") @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPastTransactionsYear() { return pastTransactionsYear; } - - /** - * Number of all transactions (successful and abandoned) from this shopper in the past year. - * - * @param pastTransactionsYear - */ + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + * + * @param pastTransactionsYear + */ @JsonProperty(JSON_PROPERTY_PAST_TRANSACTIONS_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPastTransactionsYear(Integer pastTransactionsYear) { this.pastTransactionsYear = pastTransactionsYear; } - + /** + * Date this payment method was added to the shopper's account. + * + * @param paymentAccountAge + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo paymentAccountAge(OffsetDateTime paymentAccountAge) { this.paymentAccountAge = paymentAccountAge; return this; } - /** - * Date this payment method was added to the shopper's account. + /** + * Date this payment method was added to the shopper's account. * @return paymentAccountAge - **/ + */ @ApiModelProperty(value = "Date this payment method was added to the shopper's account.") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPaymentAccountAge() { return paymentAccountAge; } - - /** - * Date this payment method was added to the shopper's account. - * - * @param paymentAccountAge - */ + /** + * Date this payment method was added to the shopper's account. + * + * @param paymentAccountAge + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountAge(OffsetDateTime paymentAccountAge) { this.paymentAccountAge = paymentAccountAge; } - + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param paymentAccountIndicator + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo paymentAccountIndicator(PaymentAccountIndicatorEnum paymentAccountIndicator) { this.paymentAccountIndicator = paymentAccountIndicator; return this; } - /** - * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days * @return paymentAccountIndicator - **/ + */ @ApiModelProperty(value = "Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentAccountIndicatorEnum getPaymentAccountIndicator() { return paymentAccountIndicator; } - - /** - * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days - * - * @param paymentAccountIndicator - */ + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + * + * @param paymentAccountIndicator + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountIndicator(PaymentAccountIndicatorEnum paymentAccountIndicator) { this.paymentAccountIndicator = paymentAccountIndicator; } - + /** + * Number of successful purchases in the last six months. + * + * @param purchasesLast6Months + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo purchasesLast6Months(Integer purchasesLast6Months) { this.purchasesLast6Months = purchasesLast6Months; return this; } - /** + /** * Number of successful purchases in the last six months. * @return purchasesLast6Months - **/ + */ @ApiModelProperty(value = "Number of successful purchases in the last six months.") @JsonProperty(JSON_PROPERTY_PURCHASES_LAST6_MONTHS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getPurchasesLast6Months() { return purchasesLast6Months; } - - /** - * Number of successful purchases in the last six months. - * - * @param purchasesLast6Months - */ + /** + * Number of successful purchases in the last six months. + * + * @param purchasesLast6Months + */ @JsonProperty(JSON_PROPERTY_PURCHASES_LAST6_MONTHS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchasesLast6Months(Integer purchasesLast6Months) { this.purchasesLast6Months = purchasesLast6Months; } - + /** + * Whether suspicious activity was recorded on this account. + * + * @param suspiciousActivity + * @return the current {@code AccountInfo} instance, allowing for method chaining + */ public AccountInfo suspiciousActivity(Boolean suspiciousActivity) { this.suspiciousActivity = suspiciousActivity; return this; } - /** + /** * Whether suspicious activity was recorded on this account. * @return suspiciousActivity - **/ + */ @ApiModelProperty(value = "Whether suspicious activity was recorded on this account.") @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSuspiciousActivity() { return suspiciousActivity; } - - /** - * Whether suspicious activity was recorded on this account. - * - * @param suspiciousActivity - */ + /** + * Whether suspicious activity was recorded on this account. + * + * @param suspiciousActivity + */ @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuspiciousActivity(Boolean suspiciousActivity) { this.suspiciousActivity = suspiciousActivity; } - + /** + * Shopper's work phone number (including the country code). + * + * @param workPhone + * @return the current {@code AccountInfo} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated public AccountInfo workPhone(String workPhone) { this.workPhone = workPhone; return this; } - /** - * Shopper's work phone number (including the country code). + /** + * Shopper's work phone number (including the country code). * @return workPhone - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated @ApiModelProperty(value = "Shopper's work phone number (including the country code).") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWorkPhone() { return workPhone; } - - /** - * Shopper's work phone number (including the country code). - * - * @param workPhone - */ + /** + * Shopper's work phone number (including the country code). + * + * @param workPhone + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.workPhone` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -936,7 +1018,6 @@ public void setWorkPhone(String workPhone) { this.workPhone = workPhone; } - /** * Return true if this AccountInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AcctInfo.java b/src/main/java/com/adyen/model/payment/AcctInfo.java index 43fc301d2..3205e6ce7 100644 --- a/src/main/java/com/adyen/model/payment/AcctInfo.java +++ b/src/main/java/com/adyen/model/payment/AcctInfo.java @@ -372,486 +372,534 @@ public static SuspiciousAccActivityEnum fromValue(String value) { public AcctInfo() { } + /** + * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccAgeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccAgeInd(ChAccAgeIndEnum chAccAgeInd) { this.chAccAgeInd = chAccAgeInd; return this; } - /** + /** * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return chAccAgeInd - **/ + */ @ApiModelProperty(value = "Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_AGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccAgeIndEnum getChAccAgeInd() { return chAccAgeInd; } - - /** - * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param chAccAgeInd - */ + /** + * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccAgeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_AGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccAgeInd(ChAccAgeIndEnum chAccAgeInd) { this.chAccAgeInd = chAccAgeInd; } - + /** + * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** + * + * @param chAccChange + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccChange(String chAccChange) { this.chAccChange = chAccChange; return this; } - /** + /** * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** * @return chAccChange - **/ + */ @ApiModelProperty(value = "Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccChange() { return chAccChange; } - - /** - * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** - * - * @param chAccChange - */ + /** + * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** + * + * @param chAccChange + */ @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccChange(String chAccChange) { this.chAccChange = chAccChange; } - + /** + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param chAccChangeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccChangeInd(ChAccChangeIndEnum chAccChangeInd) { this.chAccChangeInd = chAccChangeInd; return this; } - /** + /** * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days * @return chAccChangeInd - **/ + */ @ApiModelProperty(value = "Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccChangeIndEnum getChAccChangeInd() { return chAccChangeInd; } - - /** - * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days - * - * @param chAccChangeInd - */ + /** + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param chAccChangeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccChangeInd(ChAccChangeIndEnum chAccChangeInd) { this.chAccChangeInd = chAccChangeInd; } - + /** + * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** + * + * @param chAccPwChange + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccPwChange(String chAccPwChange) { this.chAccPwChange = chAccPwChange; return this; } - /** + /** * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** * @return chAccPwChange - **/ + */ @ApiModelProperty(value = "Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccPwChange() { return chAccPwChange; } - - /** - * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** - * - * @param chAccPwChange - */ + /** + * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** + * + * @param chAccPwChange + */ @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccPwChange(String chAccPwChange) { this.chAccPwChange = chAccPwChange; } - + /** + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccPwChangeInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccPwChangeInd(ChAccPwChangeIndEnum chAccPwChangeInd) { this.chAccPwChangeInd = chAccPwChangeInd; return this; } - /** + /** * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return chAccPwChangeInd - **/ + */ @ApiModelProperty(value = "Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChAccPwChangeIndEnum getChAccPwChangeInd() { return chAccPwChangeInd; } - - /** - * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param chAccPwChangeInd - */ + /** + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param chAccPwChangeInd + */ @JsonProperty(JSON_PROPERTY_CH_ACC_PW_CHANGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccPwChangeInd(ChAccPwChangeIndEnum chAccPwChangeInd) { this.chAccPwChangeInd = chAccPwChangeInd; } - + /** + * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param chAccString + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo chAccString(String chAccString) { this.chAccString = chAccString; return this; } - /** + /** * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** * @return chAccString - **/ + */ @ApiModelProperty(value = "Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_CH_ACC_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getChAccString() { return chAccString; } - - /** - * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param chAccString - */ + /** + * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param chAccString + */ @JsonProperty(JSON_PROPERTY_CH_ACC_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChAccString(String chAccString) { this.chAccString = chAccString; } - + /** + * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. + * + * @param nbPurchaseAccount + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo nbPurchaseAccount(String nbPurchaseAccount) { this.nbPurchaseAccount = nbPurchaseAccount; return this; } - /** + /** * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. * @return nbPurchaseAccount - **/ + */ @ApiModelProperty(value = "Number of purchases with this cardholder account during the previous six months. Max length: 4 characters.") @JsonProperty(JSON_PROPERTY_NB_PURCHASE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNbPurchaseAccount() { return nbPurchaseAccount; } - - /** - * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. - * - * @param nbPurchaseAccount - */ + /** + * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. + * + * @param nbPurchaseAccount + */ @JsonProperty(JSON_PROPERTY_NB_PURCHASE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNbPurchaseAccount(String nbPurchaseAccount) { this.nbPurchaseAccount = nbPurchaseAccount; } - + /** + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param paymentAccAge + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo paymentAccAge(String paymentAccAge) { this.paymentAccAge = paymentAccAge; return this; } - /** + /** * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** * @return paymentAccAge - **/ + */ @ApiModelProperty(value = "String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAccAge() { return paymentAccAge; } - - /** - * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param paymentAccAge - */ + /** + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param paymentAccAge + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_AGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccAge(String paymentAccAge) { this.paymentAccAge = paymentAccAge; } - + /** + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param paymentAccInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo paymentAccInd(PaymentAccIndEnum paymentAccInd) { this.paymentAccInd = paymentAccInd; return this; } - /** + /** * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days * @return paymentAccInd - **/ + */ @ApiModelProperty(value = "Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days") @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentAccIndEnum getPaymentAccInd() { return paymentAccInd; } - - /** - * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days - * - * @param paymentAccInd - */ + /** + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days + * + * @param paymentAccInd + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACC_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccInd(PaymentAccIndEnum paymentAccInd) { this.paymentAccInd = paymentAccInd; } - + /** + * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. + * + * @param provisionAttemptsDay + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo provisionAttemptsDay(String provisionAttemptsDay) { this.provisionAttemptsDay = provisionAttemptsDay; return this; } - /** + /** * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. * @return provisionAttemptsDay - **/ + */ @ApiModelProperty(value = "Number of Add Card attempts in the last 24 hours. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_PROVISION_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProvisionAttemptsDay() { return provisionAttemptsDay; } - - /** - * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. - * - * @param provisionAttemptsDay - */ + /** + * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. + * + * @param provisionAttemptsDay + */ @JsonProperty(JSON_PROPERTY_PROVISION_ATTEMPTS_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProvisionAttemptsDay(String provisionAttemptsDay) { this.provisionAttemptsDay = provisionAttemptsDay; } - + /** + * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param shipAddressUsage + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipAddressUsage(String shipAddressUsage) { this.shipAddressUsage = shipAddressUsage; return this; } - /** + /** * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** * @return shipAddressUsage - **/ + */ @ApiModelProperty(value = "String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD**") @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipAddressUsage() { return shipAddressUsage; } - - /** - * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** - * - * @param shipAddressUsage - */ + /** + * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** + * + * @param shipAddressUsage + */ @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipAddressUsage(String shipAddressUsage) { this.shipAddressUsage = shipAddressUsage; } - + /** + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param shipAddressUsageInd + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipAddressUsageInd(ShipAddressUsageIndEnum shipAddressUsageInd) { this.shipAddressUsageInd = shipAddressUsageInd; return this; } - /** + /** * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days * @return shipAddressUsageInd - **/ + */ @ApiModelProperty(value = "Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days") @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShipAddressUsageIndEnum getShipAddressUsageInd() { return shipAddressUsageInd; } - - /** - * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days - * - * @param shipAddressUsageInd - */ + /** + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days + * + * @param shipAddressUsageInd + */ @JsonProperty(JSON_PROPERTY_SHIP_ADDRESS_USAGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipAddressUsageInd(ShipAddressUsageIndEnum shipAddressUsageInd) { this.shipAddressUsageInd = shipAddressUsageInd; } - + /** + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name + * + * @param shipNameIndicator + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo shipNameIndicator(ShipNameIndicatorEnum shipNameIndicator) { this.shipNameIndicator = shipNameIndicator; return this; } - /** + /** * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name * @return shipNameIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name") @JsonProperty(JSON_PROPERTY_SHIP_NAME_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShipNameIndicatorEnum getShipNameIndicator() { return shipNameIndicator; } - - /** - * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name - * - * @param shipNameIndicator - */ + /** + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name + * + * @param shipNameIndicator + */ @JsonProperty(JSON_PROPERTY_SHIP_NAME_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipNameIndicator(ShipNameIndicatorEnum shipNameIndicator) { this.shipNameIndicator = shipNameIndicator; } - + /** + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed + * + * @param suspiciousAccActivity + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo suspiciousAccActivity(SuspiciousAccActivityEnum suspiciousAccActivity) { this.suspiciousAccActivity = suspiciousAccActivity; return this; } - /** + /** * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed * @return suspiciousAccActivity - **/ + */ @ApiModelProperty(value = "Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed") @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACC_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SuspiciousAccActivityEnum getSuspiciousAccActivity() { return suspiciousAccActivity; } - - /** - * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed - * - * @param suspiciousAccActivity - */ + /** + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed + * + * @param suspiciousAccActivity + */ @JsonProperty(JSON_PROPERTY_SUSPICIOUS_ACC_ACTIVITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSuspiciousAccActivity(SuspiciousAccActivityEnum suspiciousAccActivity) { this.suspiciousAccActivity = suspiciousAccActivity; } - + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. + * + * @param txnActivityDay + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo txnActivityDay(String txnActivityDay) { this.txnActivityDay = txnActivityDay; return this; } - /** + /** * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. * @return txnActivityDay - **/ + */ @ApiModelProperty(value = "Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxnActivityDay() { return txnActivityDay; } - - /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. - * - * @param txnActivityDay - */ + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. + * + * @param txnActivityDay + */ @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxnActivityDay(String txnActivityDay) { this.txnActivityDay = txnActivityDay; } - + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. + * + * @param txnActivityYear + * @return the current {@code AcctInfo} instance, allowing for method chaining + */ public AcctInfo txnActivityYear(String txnActivityYear) { this.txnActivityYear = txnActivityYear; return this; } - /** + /** * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. * @return txnActivityYear - **/ + */ @ApiModelProperty(value = "Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters.") @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxnActivityYear() { return txnActivityYear; } - - /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. - * - * @param txnActivityYear - */ + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. + * + * @param txnActivityYear + */ @JsonProperty(JSON_PROPERTY_TXN_ACTIVITY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTxnActivityYear(String txnActivityYear) { this.txnActivityYear = txnActivityYear; } - /** * Return true if this AcctInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalData3DSecure.java b/src/main/java/com/adyen/model/payment/AdditionalData3DSecure.java index 35594d0e3..5686e8de5 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalData3DSecure.java +++ b/src/main/java/com/adyen/model/payment/AdditionalData3DSecure.java @@ -102,186 +102,204 @@ public static ChallengeWindowSizeEnum fromValue(String value) { public AdditionalData3DSecure() { } + /** + * 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 + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure allow3DS2(String allow3DS2) { this.allow3DS2 = allow3DS2; return this; } - /** - * 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. + /** + * 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 - **/ + */ @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) - public String getAllow3DS2() { return 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 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_ALLOW3_D_S2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllow3DS2(String allow3DS2) { this.allow3DS2 = allow3DS2; } - + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure challengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; return this; } - /** + /** * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen * @return challengeWindowSize - **/ + */ @ApiModelProperty(value = "Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen") @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeWindowSizeEnum getChallengeWindowSize() { return challengeWindowSize; } - - /** - * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen - * - * @param challengeWindowSize - */ + /** + * Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen + * + * @param challengeWindowSize + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_WINDOW_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeWindowSize(ChallengeWindowSizeEnum challengeWindowSize) { this.challengeWindowSize = challengeWindowSize; } - + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + * + * @param executeThreeD + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure executeThreeD(String executeThreeD) { this.executeThreeD = executeThreeD; return this; } - /** - * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. * @return executeThreeD - **/ + */ @ApiModelProperty(value = "Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. ") @JsonProperty(JSON_PROPERTY_EXECUTE_THREE_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExecuteThreeD() { return executeThreeD; } - - /** - * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. - * - * @param executeThreeD - */ + /** + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + * + * @param executeThreeD + */ @JsonProperty(JSON_PROPERTY_EXECUTE_THREE_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExecuteThreeD(String executeThreeD) { this.executeThreeD = executeThreeD; } - + /** + * In case of Secure+, this field must be set to **CUPSecurePlus**. + * + * @param mpiImplementationType + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure mpiImplementationType(String mpiImplementationType) { this.mpiImplementationType = mpiImplementationType; return this; } - /** + /** * In case of Secure+, this field must be set to **CUPSecurePlus**. * @return mpiImplementationType - **/ + */ @ApiModelProperty(value = "In case of Secure+, this field must be set to **CUPSecurePlus**.") @JsonProperty(JSON_PROPERTY_MPI_IMPLEMENTATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMpiImplementationType() { return mpiImplementationType; } - - /** - * In case of Secure+, this field must be set to **CUPSecurePlus**. - * - * @param mpiImplementationType - */ + /** + * In case of Secure+, this field must be set to **CUPSecurePlus**. + * + * @param mpiImplementationType + */ @JsonProperty(JSON_PROPERTY_MPI_IMPLEMENTATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiImplementationType(String mpiImplementationType) { this.mpiImplementationType = mpiImplementationType; } - + /** + * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemption + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure scaExemption(String scaExemption) { this.scaExemption = scaExemption; return this; } - /** + /** * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * @return scaExemption - **/ + */ @ApiModelProperty(value = "Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** ") @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScaExemption() { return scaExemption; } - - /** - * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** - * - * @param scaExemption - */ + /** + * Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemption + */ @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScaExemption(String scaExemption) { this.scaExemption = scaExemption; } - + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + * + * @param threeDSVersion + * @return the current {@code AdditionalData3DSecure} instance, allowing for method chaining + */ public AdditionalData3DSecure threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** - * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. ") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. - * - * @param threeDSVersion - */ + /** + * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - /** * Return true if this AdditionalData3DSecure object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataAirline.java b/src/main/java/com/adyen/model/payment/AdditionalDataAirline.java index 721c2436e..820628fa8 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataAirline.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataAirline.java @@ -153,876 +153,963 @@ public class AdditionalDataAirline { public AdditionalDataAirline() { } + /** + * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters + * + * @param airlineAgencyInvoiceNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) { this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber; return this; } - /** + /** * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters * @return airlineAgencyInvoiceNumber - **/ + */ @ApiModelProperty(value = "The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAgencyInvoiceNumber() { return airlineAgencyInvoiceNumber; } - - /** - * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters - * - * @param airlineAgencyInvoiceNumber - */ + /** + * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters + * + * @param airlineAgencyInvoiceNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) { this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber; } - + /** + * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineAgencyPlanName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAgencyPlanName(String airlineAgencyPlanName) { this.airlineAgencyPlanName = airlineAgencyPlanName; return this; } - /** + /** * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters * @return airlineAgencyPlanName - **/ + */ @ApiModelProperty(value = "The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAgencyPlanName() { return airlineAgencyPlanName; } - - /** - * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters - * - * @param airlineAgencyPlanName - */ + /** + * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineAgencyPlanName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAgencyPlanName(String airlineAgencyPlanName) { this.airlineAgencyPlanName = airlineAgencyPlanName; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAirlineCode(String airlineAirlineCode) { this.airlineAirlineCode = airlineAirlineCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineAirlineCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAirlineCode() { return airlineAirlineCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineAirlineCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAirlineCode(String airlineAirlineCode) { this.airlineAirlineCode = airlineAirlineCode; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineDesignatorCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) { this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. * @return airlineAirlineDesignatorCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineAirlineDesignatorCode() { return airlineAirlineDesignatorCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineAirlineDesignatorCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineAirlineDesignatorCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) { this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode; } - + /** + * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters + * + * @param airlineBoardingFee + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineBoardingFee(String airlineBoardingFee) { this.airlineBoardingFee = airlineBoardingFee; return this; } - /** + /** * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters * @return airlineBoardingFee - **/ + */ @ApiModelProperty(value = "The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineBoardingFee() { return airlineBoardingFee; } - - /** - * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters - * - * @param airlineBoardingFee - */ + /** + * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters + * + * @param airlineBoardingFee + */ @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineBoardingFee(String airlineBoardingFee) { this.airlineBoardingFee = airlineBoardingFee; } - + /** + * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters + * + * @param airlineComputerizedReservationSystem + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) { this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem; return this; } - /** + /** * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters * @return airlineComputerizedReservationSystem - **/ + */ @ApiModelProperty(value = "The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineComputerizedReservationSystem() { return airlineComputerizedReservationSystem; } - - /** - * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters - * - * @param airlineComputerizedReservationSystem - */ + /** + * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters + * + * @param airlineComputerizedReservationSystem + */ @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) { this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem; } - + /** + * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces + * + * @param airlineCustomerReferenceNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) { this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber; return this; } - /** + /** * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces * @return airlineCustomerReferenceNumber - **/ + */ @ApiModelProperty(value = "The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces") @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineCustomerReferenceNumber() { return airlineCustomerReferenceNumber; } - - /** - * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces - * - * @param airlineCustomerReferenceNumber - */ + /** + * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces + * + * @param airlineCustomerReferenceNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) { this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber; } - + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineDocumentType + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineDocumentType(String airlineDocumentType) { this.airlineDocumentType = airlineDocumentType; return this; } - /** - * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters * @return airlineDocumentType - **/ + */ @ApiModelProperty(value = "A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineDocumentType() { return airlineDocumentType; } - - /** - * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters - * - * @param airlineDocumentType - */ + /** + * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters + * + * @param airlineDocumentType + */ @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineDocumentType(String airlineDocumentType) { this.airlineDocumentType = airlineDocumentType; } - + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + * + * @param airlineFlightDate + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineFlightDate(String airlineFlightDate) { this.airlineFlightDate = airlineFlightDate; return this; } - /** - * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters * @return airlineFlightDate - **/ + */ @ApiModelProperty(value = "The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineFlightDate() { return airlineFlightDate; } - - /** - * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters - * - * @param airlineFlightDate - */ + /** + * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters + * + * @param airlineFlightDate + */ @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineFlightDate(String airlineFlightDate) { this.airlineFlightDate = airlineFlightDate; } - + /** + * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD + * + * @param airlineIssueDate + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineIssueDate(String airlineIssueDate) { this.airlineIssueDate = airlineIssueDate; return this; } - /** + /** * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD * @return airlineIssueDate - **/ + */ @ApiModelProperty(value = "The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD") @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineIssueDate() { return airlineIssueDate; } - - /** - * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD - * - * @param airlineIssueDate - */ + /** + * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD + * + * @param airlineIssueDate + */ @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineIssueDate(String airlineIssueDate) { this.airlineIssueDate = airlineIssueDate; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegCarrierCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegCarrierCode(String airlineLegCarrierCode) { this.airlineLegCarrierCode = airlineLegCarrierCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegCarrierCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegCarrierCode() { return airlineLegCarrierCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegCarrierCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegCarrierCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegCarrierCode(String airlineLegCarrierCode) { this.airlineLegCarrierCode = airlineLegCarrierCode; } - + /** + * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegClassOfTravel + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegClassOfTravel(String airlineLegClassOfTravel) { this.airlineLegClassOfTravel = airlineLegClassOfTravel; return this; } - /** + /** * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. * @return airlineLegClassOfTravel - **/ + */ @ApiModelProperty(value = "A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegClassOfTravel() { return airlineLegClassOfTravel; } - - /** - * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegClassOfTravel - */ + /** + * A one-letter travel class identifier. The following are common: * F: first class * J: business class * Y: economy class * W: premium economy * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegClassOfTravel + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegClassOfTravel(String airlineLegClassOfTravel) { this.airlineLegClassOfTravel = airlineLegClassOfTravel; } - + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + * + * @param airlineLegDateOfTravel + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDateOfTravel(String airlineLegDateOfTravel) { this.airlineLegDateOfTravel = airlineLegDateOfTravel; return this; } - /** - * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters * @return airlineLegDateOfTravel - **/ + */ @ApiModelProperty(value = " Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDateOfTravel() { return airlineLegDateOfTravel; } - - /** - * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters - * - * @param airlineLegDateOfTravel - */ + /** + * Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters + * + * @param airlineLegDateOfTravel + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDateOfTravel(String airlineLegDateOfTravel) { this.airlineLegDateOfTravel = airlineLegDateOfTravel; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDepartAirport + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDepartAirport(String airlineLegDepartAirport) { this.airlineLegDepartAirport = airlineLegDepartAirport; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegDepartAirport - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDepartAirport() { return airlineLegDepartAirport; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegDepartAirport - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details. * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDepartAirport + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDepartAirport(String airlineLegDepartAirport) { this.airlineLegDepartAirport = airlineLegDepartAirport; } - + /** + * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. + * + * @param airlineLegDepartTax + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDepartTax(String airlineLegDepartTax) { this.airlineLegDepartTax = airlineLegDepartTax; return this; } - /** + /** * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. * @return airlineLegDepartTax - **/ + */ @ApiModelProperty(value = "The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDepartTax() { return airlineLegDepartTax; } - - /** - * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. - * - * @param airlineLegDepartTax - */ + /** + * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros. + * + * @param airlineLegDepartTax + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDepartTax(String airlineLegDepartTax) { this.airlineLegDepartTax = airlineLegDepartTax; } - + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDestinationCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegDestinationCode(String airlineLegDestinationCode) { this.airlineLegDestinationCode = airlineLegDestinationCode; return this; } - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegDestinationCode - **/ + */ @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegDestinationCode() { return airlineLegDestinationCode; } - - /** - * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegDestinationCode - */ + /** + * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegDestinationCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegDestinationCode(String airlineLegDestinationCode) { this.airlineLegDestinationCode = airlineLegDestinationCode; } - + /** + * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFareBaseCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegFareBaseCode(String airlineLegFareBaseCode) { this.airlineLegFareBaseCode = airlineLegFareBaseCode; return this; } - /** + /** * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegFareBaseCode - **/ + */ @ApiModelProperty(value = "The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegFareBaseCode() { return airlineLegFareBaseCode; } - - /** - * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegFareBaseCode - */ + /** + * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFareBaseCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegFareBaseCode(String airlineLegFareBaseCode) { this.airlineLegFareBaseCode = airlineLegFareBaseCode; } - + /** + * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFlightNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegFlightNumber(String airlineLegFlightNumber) { this.airlineLegFlightNumber = airlineLegFlightNumber; return this; } - /** + /** * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. * @return airlineLegFlightNumber - **/ + */ @ApiModelProperty(value = "The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegFlightNumber() { return airlineLegFlightNumber; } - - /** - * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineLegFlightNumber - */ + /** + * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineLegFlightNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegFlightNumber(String airlineLegFlightNumber) { this.airlineLegFlightNumber = airlineLegFlightNumber; } - + /** + * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character + * + * @param airlineLegStopOverCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineLegStopOverCode(String airlineLegStopOverCode) { this.airlineLegStopOverCode = airlineLegStopOverCode; return this; } - /** + /** * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * @return airlineLegStopOverCode - **/ + */ @ApiModelProperty(value = "A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character") @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineLegStopOverCode() { return airlineLegStopOverCode; } - - /** - * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character - * - * @param airlineLegStopOverCode - */ + /** + * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character + * + * @param airlineLegStopOverCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineLegStopOverCode(String airlineLegStopOverCode) { this.airlineLegStopOverCode = airlineLegStopOverCode; } - + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + * + * @param airlinePassengerDateOfBirth + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) { this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth; return this; } - /** - * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 * @return airlinePassengerDateOfBirth - **/ + */ @ApiModelProperty(value = "The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerDateOfBirth() { return airlinePassengerDateOfBirth; } - - /** - * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 - * - * @param airlinePassengerDateOfBirth - */ + /** + * The passenger's date of birth. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 + * + * @param airlinePassengerDateOfBirth + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) { this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth; } - + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerFirstName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerFirstName(String airlinePassengerFirstName) { this.airlinePassengerFirstName = airlinePassengerFirstName; return this; } - /** - * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII * @return airlinePassengerFirstName - **/ + */ @ApiModelProperty(value = "The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerFirstName() { return airlinePassengerFirstName; } - - /** - * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII - * - * @param airlinePassengerFirstName - */ + /** + * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerFirstName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerFirstName(String airlinePassengerFirstName) { this.airlinePassengerFirstName = airlinePassengerFirstName; } - + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerLastName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerLastName(String airlinePassengerLastName) { this.airlinePassengerLastName = airlinePassengerLastName; return this; } - /** - * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII * @return airlinePassengerLastName - **/ + */ @ApiModelProperty(value = "The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerLastName() { return airlinePassengerLastName; } - - /** - * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII - * - * @param airlinePassengerLastName - */ + /** + * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII + * + * @param airlinePassengerLastName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerLastName(String airlinePassengerLastName) { this.airlinePassengerLastName = airlinePassengerLastName; } - + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + * + * @param airlinePassengerTelephoneNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) { this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber; return this; } - /** - * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters * @return airlinePassengerTelephoneNumber - **/ + */ @ApiModelProperty(value = "The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerTelephoneNumber() { return airlinePassengerTelephoneNumber; } - - /** - * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters - * - * @param airlinePassengerTelephoneNumber - */ + /** + * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters + * + * @param airlinePassengerTelephoneNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) { this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber; } - + /** + * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters + * + * @param airlinePassengerTravellerType + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerTravellerType(String airlinePassengerTravellerType) { this.airlinePassengerTravellerType = airlinePassengerTravellerType; return this; } - /** + /** * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters * @return airlinePassengerTravellerType - **/ + */ @ApiModelProperty(value = "The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerTravellerType() { return airlinePassengerTravellerType; } - - /** - * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters - * - * @param airlinePassengerTravellerType - */ + /** + * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters + * + * @param airlinePassengerTravellerType + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerTravellerType(String airlinePassengerTravellerType) { this.airlinePassengerTravellerType = airlinePassengerTravellerType; } - + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + * + * @param airlinePassengerName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlinePassengerName(String airlinePassengerName) { this.airlinePassengerName = airlinePassengerName; return this; } - /** - * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. * @return airlinePassengerName - **/ + */ @ApiModelProperty(required = true, value = "The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlinePassengerName() { return airlinePassengerName; } - - /** - * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. - * - * @param airlinePassengerName - */ + /** + * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces *Must not be all zeros. + * + * @param airlinePassengerName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlinePassengerName(String airlinePassengerName) { this.airlinePassengerName = airlinePassengerName; } - + /** + * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters + * + * @param airlineTicketIssueAddress + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTicketIssueAddress(String airlineTicketIssueAddress) { this.airlineTicketIssueAddress = airlineTicketIssueAddress; return this; } - /** + /** * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters * @return airlineTicketIssueAddress - **/ + */ @ApiModelProperty(value = "The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters") @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTicketIssueAddress() { return airlineTicketIssueAddress; } - - /** - * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters - * - * @param airlineTicketIssueAddress - */ + /** + * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters + * + * @param airlineTicketIssueAddress + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTicketIssueAddress(String airlineTicketIssueAddress) { this.airlineTicketIssueAddress = airlineTicketIssueAddress; } - + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTicketNumber + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTicketNumber(String airlineTicketNumber) { this.airlineTicketNumber = airlineTicketNumber; return this; } - /** - * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. * @return airlineTicketNumber - **/ + */ @ApiModelProperty(value = "The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTicketNumber() { return airlineTicketNumber; } - - /** - * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTicketNumber - */ + /** + * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTicketNumber + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTicketNumber(String airlineTicketNumber) { this.airlineTicketNumber = airlineTicketNumber; } - + /** + * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyCode + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTravelAgencyCode(String airlineTravelAgencyCode) { this.airlineTravelAgencyCode = airlineTravelAgencyCode; return this; } - /** + /** * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. * @return airlineTravelAgencyCode - **/ + */ @ApiModelProperty(value = "The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTravelAgencyCode() { return airlineTravelAgencyCode; } - - /** - * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTravelAgencyCode - */ + /** + * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyCode + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTravelAgencyCode(String airlineTravelAgencyCode) { this.airlineTravelAgencyCode = airlineTravelAgencyCode; } - + /** + * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyName + * @return the current {@code AdditionalDataAirline} instance, allowing for method chaining + */ public AdditionalDataAirline airlineTravelAgencyName(String airlineTravelAgencyName) { this.airlineTravelAgencyName = airlineTravelAgencyName; return this; } - /** + /** * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. * @return airlineTravelAgencyName - **/ + */ @ApiModelProperty(value = "The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAirlineTravelAgencyName() { return airlineTravelAgencyName; } - - /** - * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. - * - * @param airlineTravelAgencyName - */ + /** + * The name of the travel agency. * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros. + * + * @param airlineTravelAgencyName + */ @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAirlineTravelAgencyName(String airlineTravelAgencyName) { this.airlineTravelAgencyName = airlineTravelAgencyName; } - /** * Return true if this AdditionalDataAirline object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataCarRental.java b/src/main/java/com/adyen/model/payment/AdditionalDataCarRental.java index 14b8dbf21..782260e29 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataCarRental.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataCarRental.java @@ -129,696 +129,765 @@ public class AdditionalDataCarRental { public AdditionalDataCarRental() { } + /** + * The pick-up date. * Date format: `yyyyMMdd` + * + * @param carRentalCheckOutDate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalCheckOutDate(String carRentalCheckOutDate) { this.carRentalCheckOutDate = carRentalCheckOutDate; return this; } - /** - * The pick-up date. * Date format: `yyyyMMdd` + /** + * The pick-up date. * Date format: `yyyyMMdd` * @return carRentalCheckOutDate - **/ + */ @ApiModelProperty(value = "The pick-up date. * Date format: `yyyyMMdd`") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalCheckOutDate() { return carRentalCheckOutDate; } - - /** - * The pick-up date. * Date format: `yyyyMMdd` - * - * @param carRentalCheckOutDate - */ + /** + * The pick-up date. * Date format: `yyyyMMdd` + * + * @param carRentalCheckOutDate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalCheckOutDate(String carRentalCheckOutDate) { this.carRentalCheckOutDate = carRentalCheckOutDate; } - + /** + * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber) { this.carRentalCustomerServiceTollFreeNumber = carRentalCustomerServiceTollFreeNumber; return this; } - /** + /** * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber - **/ + */ @ApiModelProperty(value = "The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalCustomerServiceTollFreeNumber() { return carRentalCustomerServiceTollFreeNumber; } - - /** - * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber - */ + /** + * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * 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 carRentalCustomerServiceTollFreeNumber + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber) { this.carRentalCustomerServiceTollFreeNumber = carRentalCustomerServiceTollFreeNumber; } - + /** + * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces + * + * @param carRentalDaysRented + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalDaysRented(String carRentalDaysRented) { this.carRentalDaysRented = carRentalDaysRented; return this; } - /** + /** * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces * @return carRentalDaysRented - **/ + */ @ApiModelProperty(value = "Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalDaysRented() { return carRentalDaysRented; } - - /** - * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces - * - * @param carRentalDaysRented - */ + /** + * Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces + * + * @param carRentalDaysRented + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalDaysRented(String carRentalDaysRented) { this.carRentalDaysRented = carRentalDaysRented; } - + /** + * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 + * + * @param carRentalFuelCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalFuelCharges(String carRentalFuelCharges) { this.carRentalFuelCharges = carRentalFuelCharges; return this; } - /** + /** * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * @return carRentalFuelCharges - **/ + */ @ApiModelProperty(value = "Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalFuelCharges() { return carRentalFuelCharges; } - - /** - * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 - * - * @param carRentalFuelCharges - */ + /** + * Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 + * + * @param carRentalFuelCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalFuelCharges(String carRentalFuelCharges) { this.carRentalFuelCharges = carRentalFuelCharges; } - + /** + * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. + * + * @param carRentalInsuranceCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalInsuranceCharges(String carRentalInsuranceCharges) { this.carRentalInsuranceCharges = carRentalInsuranceCharges; return this; } - /** + /** * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. * @return carRentalInsuranceCharges - **/ + */ @ApiModelProperty(value = "Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalInsuranceCharges() { return carRentalInsuranceCharges; } - - /** - * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. - * - * @param carRentalInsuranceCharges - */ + /** + * Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros. + * + * @param carRentalInsuranceCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalInsuranceCharges(String carRentalInsuranceCharges) { this.carRentalInsuranceCharges = carRentalInsuranceCharges; } - + /** + * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationCity + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationCity(String carRentalLocationCity) { this.carRentalLocationCity = carRentalLocationCity; return this; } - /** + /** * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalLocationCity - **/ + */ @ApiModelProperty(value = "The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationCity() { return carRentalLocationCity; } - - /** - * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalLocationCity - */ + /** + * The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationCity + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationCity(String carRentalLocationCity) { this.carRentalLocationCity = carRentalLocationCity; } - + /** + * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalLocationCountry + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationCountry(String carRentalLocationCountry) { this.carRentalLocationCountry = carRentalLocationCountry; return this; } - /** + /** * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 * @return carRentalLocationCountry - **/ + */ @ApiModelProperty(value = "The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationCountry() { return carRentalLocationCountry; } - - /** - * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 - * - * @param carRentalLocationCountry - */ + /** + * The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalLocationCountry + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationCountry(String carRentalLocationCountry) { this.carRentalLocationCountry = carRentalLocationCountry; } - + /** + * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationStateProvince + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalLocationStateProvince(String carRentalLocationStateProvince) { this.carRentalLocationStateProvince = carRentalLocationStateProvince; return this; } - /** + /** * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalLocationStateProvince - **/ + */ @ApiModelProperty(value = "The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalLocationStateProvince() { return carRentalLocationStateProvince; } - - /** - * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalLocationStateProvince - */ + /** + * The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalLocationStateProvince + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalLocationStateProvince(String carRentalLocationStateProvince) { this.carRentalLocationStateProvince = carRentalLocationStateProvince; } - + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + * + * @param carRentalNoShowIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalNoShowIndicator(String carRentalNoShowIndicator) { this.carRentalNoShowIndicator = carRentalNoShowIndicator; return this; } - /** - * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable * @return carRentalNoShowIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalNoShowIndicator() { return carRentalNoShowIndicator; } - - /** - * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable - * - * @param carRentalNoShowIndicator - */ + /** + * Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable + * + * @param carRentalNoShowIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalNoShowIndicator(String carRentalNoShowIndicator) { this.carRentalNoShowIndicator = carRentalNoShowIndicator; } - + /** + * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 + * + * @param carRentalOneWayDropOffCharges + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges) { this.carRentalOneWayDropOffCharges = carRentalOneWayDropOffCharges; return this; } - /** + /** * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 * @return carRentalOneWayDropOffCharges - **/ + */ @ApiModelProperty(value = "The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalOneWayDropOffCharges() { return carRentalOneWayDropOffCharges; } - - /** - * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 - * - * @param carRentalOneWayDropOffCharges - */ + /** + * The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12 + * + * @param carRentalOneWayDropOffCharges + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges) { this.carRentalOneWayDropOffCharges = carRentalOneWayDropOffCharges; } - + /** + * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 + * + * @param carRentalRate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRate(String carRentalRate) { this.carRentalRate = carRentalRate; return this; } - /** + /** * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 * @return carRentalRate - **/ + */ @ApiModelProperty(value = "The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRate() { return carRentalRate; } - - /** - * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 - * - * @param carRentalRate - */ + /** + * The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12 + * + * @param carRentalRate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRate(String carRentalRate) { this.carRentalRate = carRentalRate; } - + /** + * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate + * + * @param carRentalRateIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRateIndicator(String carRentalRateIndicator) { this.carRentalRateIndicator = carRentalRateIndicator; return this; } - /** + /** * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate * @return carRentalRateIndicator - **/ + */ @ApiModelProperty(value = "Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRateIndicator() { return carRentalRateIndicator; } - - /** - * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate - * - * @param carRentalRateIndicator - */ + /** + * Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate + * + * @param carRentalRateIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRateIndicator(String carRentalRateIndicator) { this.carRentalRateIndicator = carRentalRateIndicator; } - + /** + * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalAgreementNumber + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRentalAgreementNumber(String carRentalRentalAgreementNumber) { this.carRentalRentalAgreementNumber = carRentalRentalAgreementNumber; return this; } - /** + /** * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRentalAgreementNumber - **/ + */ @ApiModelProperty(value = "The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRentalAgreementNumber() { return carRentalRentalAgreementNumber; } - - /** - * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRentalAgreementNumber - */ + /** + * The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalAgreementNumber + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRentalAgreementNumber(String carRentalRentalAgreementNumber) { this.carRentalRentalAgreementNumber = carRentalRentalAgreementNumber; } - + /** + * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalClassId + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRentalClassId(String carRentalRentalClassId) { this.carRentalRentalClassId = carRentalRentalClassId; return this; } - /** + /** * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRentalClassId - **/ + */ @ApiModelProperty(value = "The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRentalClassId() { return carRentalRentalClassId; } - - /** - * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRentalClassId - */ + /** + * The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRentalClassId + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRentalClassId(String carRentalRentalClassId) { this.carRentalRentalClassId = carRentalRentalClassId; } - + /** + * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRenterName + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalRenterName(String carRentalRenterName) { this.carRentalRenterName = carRentalRenterName; return this; } - /** + /** * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalRenterName - **/ + */ @ApiModelProperty(value = "The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalRenterName() { return carRentalRenterName; } - - /** - * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalRenterName - */ + /** + * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalRenterName + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RENTER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalRenterName(String carRentalRenterName) { this.carRentalRenterName = carRentalRenterName; } - + /** + * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnCity + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnCity(String carRentalReturnCity) { this.carRentalReturnCity = carRentalReturnCity; return this; } - /** + /** * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnCity - **/ + */ @ApiModelProperty(value = "The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnCity() { return carRentalReturnCity; } - - /** - * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnCity - */ + /** + * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnCity + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnCity(String carRentalReturnCity) { this.carRentalReturnCity = carRentalReturnCity; } - + /** + * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalReturnCountry + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnCountry(String carRentalReturnCountry) { this.carRentalReturnCountry = carRentalReturnCountry; return this; } - /** + /** * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 * @return carRentalReturnCountry - **/ + */ @ApiModelProperty(value = "The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnCountry() { return carRentalReturnCountry; } - - /** - * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 - * - * @param carRentalReturnCountry - */ + /** + * The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2 + * + * @param carRentalReturnCountry + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnCountry(String carRentalReturnCountry) { this.carRentalReturnCountry = carRentalReturnCountry; } - + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + * + * @param carRentalReturnDate + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnDate(String carRentalReturnDate) { this.carRentalReturnDate = carRentalReturnDate; return this; } - /** - * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 * @return carRentalReturnDate - **/ + */ @ApiModelProperty(value = "The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnDate() { return carRentalReturnDate; } - - /** - * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 - * - * @param carRentalReturnDate - */ + /** + * The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8 + * + * @param carRentalReturnDate + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnDate(String carRentalReturnDate) { this.carRentalReturnDate = carRentalReturnDate; } - + /** + * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnLocationId + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnLocationId(String carRentalReturnLocationId) { this.carRentalReturnLocationId = carRentalReturnLocationId; return this; } - /** + /** * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnLocationId - **/ + */ @ApiModelProperty(value = "The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnLocationId() { return carRentalReturnLocationId; } - - /** - * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnLocationId - */ + /** + * The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnLocationId + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnLocationId(String carRentalReturnLocationId) { this.carRentalReturnLocationId = carRentalReturnLocationId; } - + /** + * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnStateProvince + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalReturnStateProvince(String carRentalReturnStateProvince) { this.carRentalReturnStateProvince = carRentalReturnStateProvince; return this; } - /** + /** * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. * @return carRentalReturnStateProvince - **/ + */ @ApiModelProperty(value = "The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalReturnStateProvince() { return carRentalReturnStateProvince; } - - /** - * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. - * - * @param carRentalReturnStateProvince - */ + /** + * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros. + * + * @param carRentalReturnStateProvince + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalReturnStateProvince(String carRentalReturnStateProvince) { this.carRentalReturnStateProvince = carRentalReturnStateProvince; } - + /** + * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected + * + * @param carRentalTaxExemptIndicator + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental carRentalTaxExemptIndicator(String carRentalTaxExemptIndicator) { this.carRentalTaxExemptIndicator = carRentalTaxExemptIndicator; return this; } - /** + /** * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected * @return carRentalTaxExemptIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected") @JsonProperty(JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCarRentalTaxExemptIndicator() { return carRentalTaxExemptIndicator; } - - /** - * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected - * - * @param carRentalTaxExemptIndicator - */ + /** + * Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected + * + * @param carRentalTaxExemptIndicator + */ @JsonProperty(JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator) { this.carRentalTaxExemptIndicator = carRentalTaxExemptIndicator; } - + /** + * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 + * + * @param travelEntertainmentAuthDataDuration + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; return this; } - /** + /** * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 * @return travelEntertainmentAuthDataDuration - **/ + */ @ApiModelProperty(value = "Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataDuration() { return travelEntertainmentAuthDataDuration; } - - /** - * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 - * - * @param travelEntertainmentAuthDataDuration - */ + /** + * Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4 + * + * @param travelEntertainmentAuthDataDuration + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; } - + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + * + * @param travelEntertainmentAuthDataMarket + * @return the current {@code AdditionalDataCarRental} instance, allowing for method chaining + */ public AdditionalDataCarRental travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; return this; } - /** - * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 * @return travelEntertainmentAuthDataMarket - **/ + */ @ApiModelProperty(value = "Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataMarket() { return travelEntertainmentAuthDataMarket; } - - /** - * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 - * - * @param travelEntertainmentAuthDataMarket - */ + /** + * Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 + * + * @param travelEntertainmentAuthDataMarket + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; } - /** * Return true if this AdditionalDataCarRental object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataCommon.java b/src/main/java/com/adyen/model/payment/AdditionalDataCommon.java index 742a47950..961236418 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataCommon.java @@ -136,486 +136,534 @@ public static IndustryUsageEnum fromValue(String value) { public AdditionalDataCommon() { } + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + * + * @param requestedTestErrorResponseCode + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon requestedTestErrorResponseCode(String requestedTestErrorResponseCode) { this.requestedTestErrorResponseCode = requestedTestErrorResponseCode; return this; } - /** - * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. * @return requestedTestErrorResponseCode - **/ + */ @ApiModelProperty(value = "Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response.") @JsonProperty(JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestedTestErrorResponseCode() { return requestedTestErrorResponseCode; } - - /** - * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. - * - * @param requestedTestErrorResponseCode - */ + /** + * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. + * + * @param requestedTestErrorResponseCode + */ @JsonProperty(JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestedTestErrorResponseCode(String requestedTestErrorResponseCode) { this.requestedTestErrorResponseCode = requestedTestErrorResponseCode; } - + /** + * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. + * + * @param allowPartialAuth + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon allowPartialAuth(String allowPartialAuth) { this.allowPartialAuth = allowPartialAuth; return this; } - /** + /** * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. * @return allowPartialAuth - **/ + */ @ApiModelProperty(value = "Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team.") @JsonProperty(JSON_PROPERTY_ALLOW_PARTIAL_AUTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAllowPartialAuth() { return allowPartialAuth; } - - /** - * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. - * - * @param allowPartialAuth - */ + /** + * Set to true to authorise a part of the requested amount in case the cardholder does not have enough funds on their account. If a payment was partially authorised, the response includes resultCode: PartiallyAuthorised and the authorised amount in additionalData.authorisedAmountValue. To enable this functionality, contact our Support Team. + * + * @param allowPartialAuth + */ @JsonProperty(JSON_PROPERTY_ALLOW_PARTIAL_AUTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllowPartialAuth(String allowPartialAuth) { this.allowPartialAuth = allowPartialAuth; } - + /** + * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. + * + * @param authorisationType + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon authorisationType(String authorisationType) { this.authorisationType = authorisationType; return this; } - /** + /** * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. * @return authorisationType - **/ + */ @ApiModelProperty(value = "Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationType() { return authorisationType; } - - /** - * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. - * - * @param authorisationType - */ + /** + * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. + * + * @param authorisationType + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationType(String authorisationType) { this.authorisationType = authorisationType; } - + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param customRoutingFlag + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon customRoutingFlag(String customRoutingFlag) { this.customRoutingFlag = customRoutingFlag; return this; } - /** - * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). * @return customRoutingFlag - **/ + */ @ApiModelProperty(value = "Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCustomRoutingFlag() { return customRoutingFlag; } - - /** - * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param customRoutingFlag - */ + /** + * Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param customRoutingFlag + */ @JsonProperty(JSON_PROPERTY_CUSTOM_ROUTING_FLAG) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomRoutingFlag(String customRoutingFlag) { this.customRoutingFlag = customRoutingFlag; } - + /** + * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. + * + * @param industryUsage + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon industryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; return this; } - /** + /** * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. * @return industryUsage - **/ + */ @ApiModelProperty(value = "In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed.") @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public IndustryUsageEnum getIndustryUsage() { return industryUsage; } - - /** - * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. - * - * @param industryUsage - */ + /** + * In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made. Possible values: * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation. * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed. + * + * @param industryUsage + */ @JsonProperty(JSON_PROPERTY_INDUSTRY_USAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIndustryUsage(IndustryUsageEnum industryUsage) { this.industryUsage = industryUsage; } - + /** + * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. + * + * @param manualCapture + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon manualCapture(String manualCapture) { this.manualCapture = manualCapture; return this; } - /** + /** * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. * @return manualCapture - **/ + */ @ApiModelProperty(value = "Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction.") @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getManualCapture() { return manualCapture; } - - /** - * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. - * - * @param manualCapture - */ + /** + * Set to **true** to require [manual capture](https://docs.adyen.com/online-payments/capture) for the transaction. + * + * @param manualCapture + */ @JsonProperty(JSON_PROPERTY_MANUAL_CAPTURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setManualCapture(String manualCapture) { this.manualCapture = manualCapture; } - + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + * + * @param networkTxReference + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** - * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. - * - * @param networkTxReference - */ + /** + * Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + * + * @param overwriteBrand + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon overwriteBrand(String overwriteBrand) { this.overwriteBrand = overwriteBrand; return this; } - /** - * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. * @return overwriteBrand - **/ + */ @ApiModelProperty(value = "Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction.") @JsonProperty(JSON_PROPERTY_OVERWRITE_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOverwriteBrand() { return overwriteBrand; } - - /** - * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. - * - * @param overwriteBrand - */ + /** + * Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction. + * + * @param overwriteBrand + */ @JsonProperty(JSON_PROPERTY_OVERWRITE_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOverwriteBrand(String overwriteBrand) { this.overwriteBrand = overwriteBrand; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + * + * @param subMerchantCity + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantCity(String subMerchantCity) { this.subMerchantCity = subMerchantCity; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. * @return subMerchantCity - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantCity() { return subMerchantCity; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. - * - * @param subMerchantCity - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 13 characters. + * + * @param subMerchantCity + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantCity(String subMerchantCity) { this.subMerchantCity = subMerchantCity; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + * + * @param subMerchantCountry + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantCountry(String subMerchantCountry) { this.subMerchantCountry = subMerchantCountry; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. * @return subMerchantCountry - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantCountry() { return subMerchantCountry; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. - * - * @param subMerchantCountry - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address. * Format: alpha-numeric. * Fixed length: 3 characters. + * + * @param subMerchantCountry + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantCountry(String subMerchantCountry) { this.subMerchantCountry = subMerchantCountry; } - + /** + * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. + * + * @param subMerchantID + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantID(String subMerchantID) { this.subMerchantID = subMerchantID; return this; } - /** + /** * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. * @return subMerchantID - **/ + */ @ApiModelProperty(value = "This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantID() { return subMerchantID; } - - /** - * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. - * - * @param subMerchantID - */ + /** + * This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID. A unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator. * Format: alpha-numeric. * Fixed length: 15 characters. + * + * @param subMerchantID + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantID(String subMerchantID) { this.subMerchantID = subMerchantID; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. + * + * @param subMerchantName + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantName(String subMerchantName) { this.subMerchantName = subMerchantName; return this; } - /** + /** * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. * @return subMerchantName - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantName() { return subMerchantName; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. - * - * @param subMerchantName - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant. * Format: alpha-numeric. * Maximum length: 22 characters. + * + * @param subMerchantName + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantName(String subMerchantName) { this.subMerchantName = subMerchantName; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + * + * @param subMerchantPostalCode + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantPostalCode(String subMerchantPostalCode) { this.subMerchantPostalCode = subMerchantPostalCode; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. * @return subMerchantPostalCode - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantPostalCode() { return subMerchantPostalCode; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. - * - * @param subMerchantPostalCode - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 10 characters. + * + * @param subMerchantPostalCode + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantPostalCode(String subMerchantPostalCode) { this.subMerchantPostalCode = subMerchantPostalCode; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + * + * @param subMerchantState + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantState(String subMerchantState) { this.subMerchantState = subMerchantState; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. * @return subMerchantState - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantState() { return subMerchantState; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. - * - * @param subMerchantState - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 3 characters. + * + * @param subMerchantState + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantState(String subMerchantState) { this.subMerchantState = subMerchantState; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + * + * @param subMerchantStreet + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantStreet(String subMerchantStreet) { this.subMerchantStreet = subMerchantStreet; return this; } - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. * @return subMerchantStreet - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantStreet() { return subMerchantStreet; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. - * - * @param subMerchantStreet - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address. * Format: alpha-numeric. * Maximum length: 60 characters. + * + * @param subMerchantStreet + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantStreet(String subMerchantStreet) { this.subMerchantStreet = subMerchantStreet; } - + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. + * + * @param subMerchantTaxId + * @return the current {@code AdditionalDataCommon} instance, allowing for method chaining + */ public AdditionalDataCommon subMerchantTaxId(String subMerchantTaxId) { this.subMerchantTaxId = subMerchantTaxId; return this; } - /** + /** * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. * @return subMerchantTaxId - **/ + */ @ApiModelProperty(value = "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantTaxId() { return subMerchantTaxId; } - - /** - * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. - * - * @param subMerchantTaxId - */ + /** + * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. + * + * @param subMerchantTaxId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantTaxId(String subMerchantTaxId) { this.subMerchantTaxId = subMerchantTaxId; } - /** * Return true if this AdditionalDataCommon object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataLevel23.java b/src/main/java/com/adyen/model/payment/AdditionalDataLevel23.java index 6b1fea5df..82a9508d1 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataLevel23.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataLevel23.java @@ -105,516 +105,567 @@ public class AdditionalDataLevel23 { public AdditionalDataLevel23() { } + /** + * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataCustomerReference + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; return this; } - /** + /** * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataCustomerReference - **/ + */ @ApiModelProperty(value = "The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataCustomerReference() { return enhancedSchemeDataCustomerReference; } - - /** - * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataCustomerReference - */ + /** + * The customer code. * Encoding: ASCII * Max length: 25 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataCustomerReference + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; } - + /** + * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters + * + * @param enhancedSchemeDataDestinationCountryCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationCountryCode(String enhancedSchemeDataDestinationCountryCode) { this.enhancedSchemeDataDestinationCountryCode = enhancedSchemeDataDestinationCountryCode; return this; } - /** + /** * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters * @return enhancedSchemeDataDestinationCountryCode - **/ + */ @ApiModelProperty(value = "The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationCountryCode() { return enhancedSchemeDataDestinationCountryCode; } - - /** - * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters - * - * @param enhancedSchemeDataDestinationCountryCode - */ + /** + * The three-letter [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for the destination address. * Encoding: ASCII * Fixed length: 3 characters + * + * @param enhancedSchemeDataDestinationCountryCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationCountryCode(String enhancedSchemeDataDestinationCountryCode) { this.enhancedSchemeDataDestinationCountryCode = enhancedSchemeDataDestinationCountryCode; } - + /** + * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationPostalCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationPostalCode(String enhancedSchemeDataDestinationPostalCode) { this.enhancedSchemeDataDestinationPostalCode = enhancedSchemeDataDestinationPostalCode; return this; } - /** + /** * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space * @return enhancedSchemeDataDestinationPostalCode - **/ + */ @ApiModelProperty(value = "The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationPostalCode() { return enhancedSchemeDataDestinationPostalCode; } - - /** - * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space - * - * @param enhancedSchemeDataDestinationPostalCode - */ + /** + * The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationPostalCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationPostalCode(String enhancedSchemeDataDestinationPostalCode) { this.enhancedSchemeDataDestinationPostalCode = enhancedSchemeDataDestinationPostalCode; } - + /** + * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationStateProvinceCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDestinationStateProvinceCode(String enhancedSchemeDataDestinationStateProvinceCode) { this.enhancedSchemeDataDestinationStateProvinceCode = enhancedSchemeDataDestinationStateProvinceCode; return this; } - /** + /** * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space * @return enhancedSchemeDataDestinationStateProvinceCode - **/ + */ @ApiModelProperty(value = "Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_STATE_PROVINCE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDestinationStateProvinceCode() { return enhancedSchemeDataDestinationStateProvinceCode; } - - /** - * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space - * - * @param enhancedSchemeDataDestinationStateProvinceCode - */ + /** + * Destination state or province code. * Encoding: ASCII * Max length: 3 characters * Must not start with a space + * + * @param enhancedSchemeDataDestinationStateProvinceCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DESTINATION_STATE_PROVINCE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDestinationStateProvinceCode(String enhancedSchemeDataDestinationStateProvinceCode) { this.enhancedSchemeDataDestinationStateProvinceCode = enhancedSchemeDataDestinationStateProvinceCode; } - + /** + * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataDutyAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataDutyAmount(String enhancedSchemeDataDutyAmount) { this.enhancedSchemeDataDutyAmount = enhancedSchemeDataDutyAmount; return this; } - /** + /** * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * @return enhancedSchemeDataDutyAmount - **/ + */ @ApiModelProperty(value = "The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DUTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataDutyAmount() { return enhancedSchemeDataDutyAmount; } - - /** - * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters - * - * @param enhancedSchemeDataDutyAmount - */ + /** + * The duty amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataDutyAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_DUTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataDutyAmount(String enhancedSchemeDataDutyAmount) { this.enhancedSchemeDataDutyAmount = enhancedSchemeDataDutyAmount; } - + /** + * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters + * + * @param enhancedSchemeDataFreightAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataFreightAmount(String enhancedSchemeDataFreightAmount) { this.enhancedSchemeDataFreightAmount = enhancedSchemeDataFreightAmount; return this; } - /** + /** * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters * @return enhancedSchemeDataFreightAmount - **/ + */ @ApiModelProperty(value = "The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_FREIGHT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataFreightAmount() { return enhancedSchemeDataFreightAmount; } - - /** - * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters - * - * @param enhancedSchemeDataFreightAmount - */ + /** + * The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric *Max length: 12 characters + * + * @param enhancedSchemeDataFreightAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_FREIGHT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataFreightAmount(String enhancedSchemeDataFreightAmount) { this.enhancedSchemeDataFreightAmount = enhancedSchemeDataFreightAmount; } - + /** + * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrCommodityCode(String enhancedSchemeDataItemDetailLineItemNrCommodityCode) { this.enhancedSchemeDataItemDetailLineItemNrCommodityCode = enhancedSchemeDataItemDetailLineItemNrCommodityCode; return this; } - /** + /** * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrCommodityCode - **/ + */ @ApiModelProperty(value = "The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_COMMODITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrCommodityCode() { return enhancedSchemeDataItemDetailLineItemNrCommodityCode; } - - /** - * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode - */ + /** + * The [UNSPC commodity code](https://www.unspsc.org/) of the item. * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrCommodityCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_COMMODITY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrCommodityCode(String enhancedSchemeDataItemDetailLineItemNrCommodityCode) { this.enhancedSchemeDataItemDetailLineItemNrCommodityCode = enhancedSchemeDataItemDetailLineItemNrCommodityCode; } - + /** + * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrDescription + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrDescription(String enhancedSchemeDataItemDetailLineItemNrDescription) { this.enhancedSchemeDataItemDetailLineItemNrDescription = enhancedSchemeDataItemDetailLineItemNrDescription; return this; } - /** + /** * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrDescription - **/ + */ @ApiModelProperty(value = "A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrDescription() { return enhancedSchemeDataItemDetailLineItemNrDescription; } - - /** - * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrDescription - */ + /** + * A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrDescription + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrDescription(String enhancedSchemeDataItemDetailLineItemNrDescription) { this.enhancedSchemeDataItemDetailLineItemNrDescription = enhancedSchemeDataItemDetailLineItemNrDescription; } - + /** + * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrDiscountAmount(String enhancedSchemeDataItemDetailLineItemNrDiscountAmount) { this.enhancedSchemeDataItemDetailLineItemNrDiscountAmount = enhancedSchemeDataItemDetailLineItemNrDiscountAmount; return this; } - /** + /** * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * @return enhancedSchemeDataItemDetailLineItemNrDiscountAmount - **/ + */ @ApiModelProperty(value = "The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrDiscountAmount() { return enhancedSchemeDataItemDetailLineItemNrDiscountAmount; } - - /** - * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters - * - * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount - */ + /** + * The discount amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters + * + * @param enhancedSchemeDataItemDetailLineItemNrDiscountAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrDiscountAmount(String enhancedSchemeDataItemDetailLineItemNrDiscountAmount) { this.enhancedSchemeDataItemDetailLineItemNrDiscountAmount = enhancedSchemeDataItemDetailLineItemNrDiscountAmount; } - + /** + * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrProductCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrProductCode(String enhancedSchemeDataItemDetailLineItemNrProductCode) { this.enhancedSchemeDataItemDetailLineItemNrProductCode = enhancedSchemeDataItemDetailLineItemNrProductCode; return this; } - /** + /** * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrProductCode - **/ + */ @ApiModelProperty(value = "The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_PRODUCT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrProductCode() { return enhancedSchemeDataItemDetailLineItemNrProductCode; } - - /** - * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrProductCode - */ + /** + * The product code. * Encoding: ASCII. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrProductCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_PRODUCT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrProductCode(String enhancedSchemeDataItemDetailLineItemNrProductCode) { this.enhancedSchemeDataItemDetailLineItemNrProductCode = enhancedSchemeDataItemDetailLineItemNrProductCode; } - + /** + * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces + * + * @param enhancedSchemeDataItemDetailLineItemNrQuantity + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrQuantity(String enhancedSchemeDataItemDetailLineItemNrQuantity) { this.enhancedSchemeDataItemDetailLineItemNrQuantity = enhancedSchemeDataItemDetailLineItemNrQuantity; return this; } - /** + /** * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces * @return enhancedSchemeDataItemDetailLineItemNrQuantity - **/ + */ @ApiModelProperty(value = "The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces ") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrQuantity() { return enhancedSchemeDataItemDetailLineItemNrQuantity; } - - /** - * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces - * - * @param enhancedSchemeDataItemDetailLineItemNrQuantity - */ + /** + * The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max length: 12 characters * Must not start with a space or be all spaces + * + * @param enhancedSchemeDataItemDetailLineItemNrQuantity + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrQuantity(String enhancedSchemeDataItemDetailLineItemNrQuantity) { this.enhancedSchemeDataItemDetailLineItemNrQuantity = enhancedSchemeDataItemDetailLineItemNrQuantity; } - + /** + * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrTotalAmount(String enhancedSchemeDataItemDetailLineItemNrTotalAmount) { this.enhancedSchemeDataItemDetailLineItemNrTotalAmount = enhancedSchemeDataItemDetailLineItemNrTotalAmount; return this; } - /** + /** * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrTotalAmount - **/ + */ @ApiModelProperty(value = "The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrTotalAmount() { return enhancedSchemeDataItemDetailLineItemNrTotalAmount; } - - /** - * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount - */ + /** + * The total amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Max length: 12 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrTotalAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_TOTAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrTotalAmount(String enhancedSchemeDataItemDetailLineItemNrTotalAmount) { this.enhancedSchemeDataItemDetailLineItemNrTotalAmount = enhancedSchemeDataItemDetailLineItemNrTotalAmount; } - + /** + * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure(String enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure) { this.enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure = enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; return this; } - /** + /** * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure - **/ + */ @ApiModelProperty(value = "The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_OF_MEASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure() { return enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; } - - /** - * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure - */ + /** + * The unit of measurement for an item. * Encoding: ASCII Max length: 3 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_OF_MEASURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure(String enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure) { this.enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure = enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; } - + /** + * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataItemDetailLineItemNrUnitPrice(String enhancedSchemeDataItemDetailLineItemNrUnitPrice) { this.enhancedSchemeDataItemDetailLineItemNrUnitPrice = enhancedSchemeDataItemDetailLineItemNrUnitPrice; return this; } - /** + /** * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. * @return enhancedSchemeDataItemDetailLineItemNrUnitPrice - **/ + */ @ApiModelProperty(value = "The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataItemDetailLineItemNrUnitPrice() { return enhancedSchemeDataItemDetailLineItemNrUnitPrice; } - - /** - * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. - * - * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice - */ + /** + * The unit price in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataItemDetailLineItemNrUnitPrice + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ITEM_DETAIL_LINE_ITEM_NR_UNIT_PRICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataItemDetailLineItemNrUnitPrice(String enhancedSchemeDataItemDetailLineItemNrUnitPrice) { this.enhancedSchemeDataItemDetailLineItemNrUnitPrice = enhancedSchemeDataItemDetailLineItemNrUnitPrice; } - + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + * + * @param enhancedSchemeDataOrderDate + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataOrderDate(String enhancedSchemeDataOrderDate) { this.enhancedSchemeDataOrderDate = enhancedSchemeDataOrderDate; return this; } - /** - * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters * @return enhancedSchemeDataOrderDate - **/ + */ @ApiModelProperty(value = "The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataOrderDate() { return enhancedSchemeDataOrderDate; } - - /** - * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters - * - * @param enhancedSchemeDataOrderDate - */ + /** + * The order date. * Format: `ddMMyy` * Encoding: ASCII * Max length: 6 characters + * + * @param enhancedSchemeDataOrderDate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataOrderDate(String enhancedSchemeDataOrderDate) { this.enhancedSchemeDataOrderDate = enhancedSchemeDataOrderDate; } - + /** + * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataShipFromPostalCode + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataShipFromPostalCode(String enhancedSchemeDataShipFromPostalCode) { this.enhancedSchemeDataShipFromPostalCode = enhancedSchemeDataShipFromPostalCode; return this; } - /** + /** * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. * @return enhancedSchemeDataShipFromPostalCode - **/ + */ @ApiModelProperty(value = "The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_SHIP_FROM_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataShipFromPostalCode() { return enhancedSchemeDataShipFromPostalCode; } - - /** - * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. - * - * @param enhancedSchemeDataShipFromPostalCode - */ + /** + * The postal code of the address the item is shipped from. * Encoding: ASCII * Max length: 10 characters * Must not start with a space or be all spaces * Must not be all zeros. + * + * @param enhancedSchemeDataShipFromPostalCode + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_SHIP_FROM_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataShipFromPostalCode(String enhancedSchemeDataShipFromPostalCode) { this.enhancedSchemeDataShipFromPostalCode = enhancedSchemeDataShipFromPostalCode; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataTotalTaxAmount + * @return the current {@code AdditionalDataLevel23} instance, allowing for method chaining + */ public AdditionalDataLevel23 enhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. * @return enhancedSchemeDataTotalTaxAmount - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTotalTaxAmount() { return enhancedSchemeDataTotalTaxAmount; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. - * - * @param enhancedSchemeDataTotalTaxAmount - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. *Encoding: Numeric *Max length: 12 characters * Must not be all zeros. + * + * @param enhancedSchemeDataTotalTaxAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; } - /** * Return true if this AdditionalDataLevel23 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataLodging.java b/src/main/java/com/adyen/model/payment/AdditionalDataLodging.java index 5e86ce226..2a348faab 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataLodging.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataLodging.java @@ -105,516 +105,567 @@ public class AdditionalDataLodging { public AdditionalDataLodging() { } + /** + * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit + * + * @param lodgingSpecialProgramCode + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingSpecialProgramCode(String lodgingSpecialProgramCode) { this.lodgingSpecialProgramCode = lodgingSpecialProgramCode; return this; } - /** + /** * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit * @return lodgingSpecialProgramCode - **/ + */ @ApiModelProperty(value = "A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit") @JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingSpecialProgramCode() { return lodgingSpecialProgramCode; } - - /** - * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit - * - * @param lodgingSpecialProgramCode - */ + /** + * A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit + * + * @param lodgingSpecialProgramCode + */ @JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingSpecialProgramCode(String lodgingSpecialProgramCode) { this.lodgingSpecialProgramCode = lodgingSpecialProgramCode; } - + /** + * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckInDate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCheckInDate(String lodgingCheckInDate) { this.lodgingCheckInDate = lodgingCheckInDate; return this; } - /** + /** * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. * @return lodgingCheckInDate - **/ + */ @ApiModelProperty(value = "The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.") @JsonProperty(JSON_PROPERTY_LODGING_CHECK_IN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCheckInDate() { return lodgingCheckInDate; } - - /** - * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. - * - * @param lodgingCheckInDate - */ + /** + * The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckInDate + */ @JsonProperty(JSON_PROPERTY_LODGING_CHECK_IN_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCheckInDate(String lodgingCheckInDate) { this.lodgingCheckInDate = lodgingCheckInDate; } - + /** + * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckOutDate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCheckOutDate(String lodgingCheckOutDate) { this.lodgingCheckOutDate = lodgingCheckOutDate; return this; } - /** + /** * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. * @return lodgingCheckOutDate - **/ + */ @ApiModelProperty(value = "The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.") @JsonProperty(JSON_PROPERTY_LODGING_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCheckOutDate() { return lodgingCheckOutDate; } - - /** - * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. - * - * @param lodgingCheckOutDate - */ + /** + * The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**. + * + * @param lodgingCheckOutDate + */ @JsonProperty(JSON_PROPERTY_LODGING_CHECK_OUT_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCheckOutDate(String lodgingCheckOutDate) { this.lodgingCheckOutDate = lodgingCheckOutDate; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber) { this.lodgingCustomerServiceTollFreeNumber = lodgingCustomerServiceTollFreeNumber; return this; } - /** + /** * 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.") @JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingCustomerServiceTollFreeNumber() { return lodgingCustomerServiceTollFreeNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber) { this.lodgingCustomerServiceTollFreeNumber = lodgingCustomerServiceTollFreeNumber; } - + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + * + * @param lodgingFireSafetyActIndicator + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator) { this.lodgingFireSafetyActIndicator = lodgingFireSafetyActIndicator; return this; } - /** - * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character * @return lodgingFireSafetyActIndicator - **/ + */ @ApiModelProperty(value = "Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character") @JsonProperty(JSON_PROPERTY_LODGING_FIRE_SAFETY_ACT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFireSafetyActIndicator() { return lodgingFireSafetyActIndicator; } - - /** - * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character - * - * @param lodgingFireSafetyActIndicator - */ + /** + * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Must be 'Y' or 'N'. * Format: alphabetic * Max length: 1 character + * + * @param lodgingFireSafetyActIndicator + */ @JsonProperty(JSON_PROPERTY_LODGING_FIRE_SAFETY_ACT_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator) { this.lodgingFireSafetyActIndicator = lodgingFireSafetyActIndicator; } - + /** + * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFolioCashAdvances + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFolioCashAdvances(String lodgingFolioCashAdvances) { this.lodgingFolioCashAdvances = lodgingFolioCashAdvances; return this; } - /** + /** * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * @return lodgingFolioCashAdvances - **/ + */ @ApiModelProperty(value = "The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_CASH_ADVANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFolioCashAdvances() { return lodgingFolioCashAdvances; } - - /** - * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters - * - * @param lodgingFolioCashAdvances - */ + /** + * The folio cash advances, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFolioCashAdvances + */ @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_CASH_ADVANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFolioCashAdvances(String lodgingFolioCashAdvances) { this.lodgingFolioCashAdvances = lodgingFolioCashAdvances; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFolioNumber(String lodgingFolioNumber) { this.lodgingFolioNumber = lodgingFolioNumber; return this; } - /** + /** * 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 contain any special characters * Must not be all zeros.") @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFolioNumber() { return lodgingFolioNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFolioNumber(String lodgingFolioNumber) { this.lodgingFolioNumber = lodgingFolioNumber; } - + /** + * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFoodBeverageCharges + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingFoodBeverageCharges(String lodgingFoodBeverageCharges) { this.lodgingFoodBeverageCharges = lodgingFoodBeverageCharges; return this; } - /** + /** * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * @return lodgingFoodBeverageCharges - **/ + */ @ApiModelProperty(value = "Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_FOOD_BEVERAGE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingFoodBeverageCharges() { return lodgingFoodBeverageCharges; } - - /** - * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters - * - * @param lodgingFoodBeverageCharges - */ + /** + * Any charges for food and beverages associated with the booking, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters + * + * @param lodgingFoodBeverageCharges + */ @JsonProperty(JSON_PROPERTY_LODGING_FOOD_BEVERAGE_CHARGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingFoodBeverageCharges(String lodgingFoodBeverageCharges) { this.lodgingFoodBeverageCharges = lodgingFoodBeverageCharges; } - + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + * + * @param lodgingNoShowIndicator + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingNoShowIndicator(String lodgingNoShowIndicator) { this.lodgingNoShowIndicator = lodgingNoShowIndicator; return this; } - /** - * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in * @return lodgingNoShowIndicator - **/ + */ @ApiModelProperty(value = "Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in") @JsonProperty(JSON_PROPERTY_LODGING_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingNoShowIndicator() { return lodgingNoShowIndicator; } - - /** - * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in - * - * @param lodgingNoShowIndicator - */ + /** + * Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in * **N**: the customer checked in + * + * @param lodgingNoShowIndicator + */ @JsonProperty(JSON_PROPERTY_LODGING_NO_SHOW_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingNoShowIndicator(String lodgingNoShowIndicator) { this.lodgingNoShowIndicator = lodgingNoShowIndicator; } - + /** + * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters + * + * @param lodgingPrepaidExpenses + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingPrepaidExpenses(String lodgingPrepaidExpenses) { this.lodgingPrepaidExpenses = lodgingPrepaidExpenses; return this; } - /** + /** * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters * @return lodgingPrepaidExpenses - **/ + */ @ApiModelProperty(value = "The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters") @JsonProperty(JSON_PROPERTY_LODGING_PREPAID_EXPENSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingPrepaidExpenses() { return lodgingPrepaidExpenses; } - - /** - * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters - * - * @param lodgingPrepaidExpenses - */ + /** + * The prepaid expenses for the booking. * Format: numeric * Max length: 12 characters + * + * @param lodgingPrepaidExpenses + */ @JsonProperty(JSON_PROPERTY_LODGING_PREPAID_EXPENSES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingPrepaidExpenses(String lodgingPrepaidExpenses) { this.lodgingPrepaidExpenses = lodgingPrepaidExpenses; } - + /** + * 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 + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber) { this.lodgingPropertyPhoneNumber = lodgingPropertyPhoneNumber; return this; } - /** - * 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.") @JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingPropertyPhoneNumber() { return lodgingPropertyPhoneNumber; } - - /** - * 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 - */ + /** + * 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 + */ @JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber) { this.lodgingPropertyPhoneNumber = lodgingPropertyPhoneNumber; } - + /** + * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters + * + * @param lodgingRoom1NumberOfNights + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights) { this.lodgingRoom1NumberOfNights = lodgingRoom1NumberOfNights; return this; } - /** + /** * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters * @return lodgingRoom1NumberOfNights - **/ + */ @ApiModelProperty(value = "The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters") @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_NUMBER_OF_NIGHTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingRoom1NumberOfNights() { return lodgingRoom1NumberOfNights; } - - /** - * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters - * - * @param lodgingRoom1NumberOfNights - */ + /** + * The total number of nights the room is booked for. * Format: numeric * Must be a number between 0 and 99 * Max length: 4 characters + * + * @param lodgingRoom1NumberOfNights + */ @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_NUMBER_OF_NIGHTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights) { this.lodgingRoom1NumberOfNights = lodgingRoom1NumberOfNights; } - + /** + * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingRoom1Rate + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingRoom1Rate(String lodgingRoom1Rate) { this.lodgingRoom1Rate = lodgingRoom1Rate; return this; } - /** + /** * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingRoom1Rate - **/ + */ @ApiModelProperty(value = "The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingRoom1Rate() { return lodgingRoom1Rate; } - - /** - * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingRoom1Rate - */ + /** + * The rate for the room, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingRoom1Rate + */ @JsonProperty(JSON_PROPERTY_LODGING_ROOM1_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingRoom1Rate(String lodgingRoom1Rate) { this.lodgingRoom1Rate = lodgingRoom1Rate; } - + /** + * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalRoomTax + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingTotalRoomTax(String lodgingTotalRoomTax) { this.lodgingTotalRoomTax = lodgingTotalRoomTax; return this; } - /** + /** * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingTotalRoomTax - **/ + */ @ApiModelProperty(value = "The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_ROOM_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingTotalRoomTax() { return lodgingTotalRoomTax; } - - /** - * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingTotalRoomTax - */ + /** + * The total room tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalRoomTax + */ @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_ROOM_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingTotalRoomTax(String lodgingTotalRoomTax) { this.lodgingTotalRoomTax = lodgingTotalRoomTax; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalTax + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging lodgingTotalTax(String lodgingTotalTax) { this.lodgingTotalTax = lodgingTotalTax; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number * @return lodgingTotalTax - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number") @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLodgingTotalTax() { return lodgingTotalTax; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number - * - * @param lodgingTotalTax - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: numeric * Max length: 12 characters * Must not be a negative number + * + * @param lodgingTotalTax + */ @JsonProperty(JSON_PROPERTY_LODGING_TOTAL_TAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLodgingTotalTax(String lodgingTotalTax) { this.lodgingTotalTax = lodgingTotalTax; } - + /** + * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters + * + * @param travelEntertainmentAuthDataDuration + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; return this; } - /** + /** * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters * @return travelEntertainmentAuthDataDuration - **/ + */ @ApiModelProperty(value = "The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataDuration() { return travelEntertainmentAuthDataDuration; } - - /** - * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters - * - * @param travelEntertainmentAuthDataDuration - */ + /** + * The number of nights. This should be included in the auth message. * Format: numeric * Max length: 4 characters + * + * @param travelEntertainmentAuthDataDuration + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration) { this.travelEntertainmentAuthDataDuration = travelEntertainmentAuthDataDuration; } - + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + * + * @param travelEntertainmentAuthDataMarket + * @return the current {@code AdditionalDataLodging} instance, allowing for method chaining + */ public AdditionalDataLodging travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; return this; } - /** - * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character * @return travelEntertainmentAuthDataMarket - **/ + */ @ApiModelProperty(value = "Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character") @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTravelEntertainmentAuthDataMarket() { return travelEntertainmentAuthDataMarket; } - - /** - * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character - * - * @param travelEntertainmentAuthDataMarket - */ + /** + * Indicates what market-specific dataset will be submitted. Must be 'H' for Hotel. This should be included in the auth message. * Format: alphanumeric * Max length: 1 character + * + * @param travelEntertainmentAuthDataMarket + */ @JsonProperty(JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket) { this.travelEntertainmentAuthDataMarket = travelEntertainmentAuthDataMarket; } - /** * Return true if this AdditionalDataLodging object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataModifications.java b/src/main/java/com/adyen/model/payment/AdditionalDataModifications.java index 17c820a64..9f980e8fd 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataModifications.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataModifications.java @@ -41,36 +41,39 @@ public class AdditionalDataModifications { public AdditionalDataModifications() { } + /** + * This is the installment option selected by the shopper. It is required only if specified by the user. + * + * @param installmentPaymentDataSelectedInstallmentOption + * @return the current {@code AdditionalDataModifications} instance, allowing for method chaining + */ public AdditionalDataModifications installmentPaymentDataSelectedInstallmentOption(String installmentPaymentDataSelectedInstallmentOption) { this.installmentPaymentDataSelectedInstallmentOption = installmentPaymentDataSelectedInstallmentOption; return this; } - /** + /** * This is the installment option selected by the shopper. It is required only if specified by the user. * @return installmentPaymentDataSelectedInstallmentOption - **/ + */ @ApiModelProperty(value = "This is the installment option selected by the shopper. It is required only if specified by the user.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_SELECTED_INSTALLMENT_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataSelectedInstallmentOption() { return installmentPaymentDataSelectedInstallmentOption; } - - /** - * This is the installment option selected by the shopper. It is required only if specified by the user. - * - * @param installmentPaymentDataSelectedInstallmentOption - */ + /** + * This is the installment option selected by the shopper. It is required only if specified by the user. + * + * @param installmentPaymentDataSelectedInstallmentOption + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_SELECTED_INSTALLMENT_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataSelectedInstallmentOption(String installmentPaymentDataSelectedInstallmentOption) { this.installmentPaymentDataSelectedInstallmentOption = installmentPaymentDataSelectedInstallmentOption; } - /** * Return true if this AdditionalDataModifications object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataOpenInvoice.java b/src/main/java/com/adyen/model/payment/AdditionalDataOpenInvoice.java index 5456aaf19..fc848e986 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataOpenInvoice.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataOpenInvoice.java @@ -109,546 +109,600 @@ public class AdditionalDataOpenInvoice { public AdditionalDataOpenInvoice() { } + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + * + * @param openinvoicedataMerchantData + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataMerchantData(String openinvoicedataMerchantData) { this.openinvoicedataMerchantData = openinvoicedataMerchantData; return this; } - /** - * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. * @return openinvoicedataMerchantData - **/ + */ @ApiModelProperty(value = "Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_MERCHANT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataMerchantData() { return openinvoicedataMerchantData; } - - /** - * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. - * - * @param openinvoicedataMerchantData - */ + /** + * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it's not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. + * + * @param openinvoicedataMerchantData + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_MERCHANT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataMerchantData(String openinvoicedataMerchantData) { this.openinvoicedataMerchantData = openinvoicedataMerchantData; } - + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + * + * @param openinvoicedataNumberOfLines + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataNumberOfLines(String openinvoicedataNumberOfLines) { this.openinvoicedataNumberOfLines = openinvoicedataNumberOfLines; return this; } - /** - * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. * @return openinvoicedataNumberOfLines - **/ + */ @ApiModelProperty(value = "The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_NUMBER_OF_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataNumberOfLines() { return openinvoicedataNumberOfLines; } - - /** - * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. - * - * @param openinvoicedataNumberOfLines - */ + /** + * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. + * + * @param openinvoicedataNumberOfLines + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_NUMBER_OF_LINES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataNumberOfLines(String openinvoicedataNumberOfLines) { this.openinvoicedataNumberOfLines = openinvoicedataNumberOfLines; } - + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientFirstName + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataRecipientFirstName(String openinvoicedataRecipientFirstName) { this.openinvoicedataRecipientFirstName = openinvoicedataRecipientFirstName; return this; } - /** - * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. * @return openinvoicedataRecipientFirstName - **/ + */ @ApiModelProperty(value = "First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataRecipientFirstName() { return openinvoicedataRecipientFirstName; } - - /** - * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. - * - * @param openinvoicedataRecipientFirstName - */ + /** + * First name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientFirstName + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataRecipientFirstName(String openinvoicedataRecipientFirstName) { this.openinvoicedataRecipientFirstName = openinvoicedataRecipientFirstName; } - + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientLastName + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataRecipientLastName(String openinvoicedataRecipientLastName) { this.openinvoicedataRecipientLastName = openinvoicedataRecipientLastName; return this; } - /** - * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. * @return openinvoicedataRecipientLastName - **/ + */ @ApiModelProperty(value = "Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataRecipientLastName() { return openinvoicedataRecipientLastName; } - - /** - * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. - * - * @param openinvoicedataRecipientLastName - */ + /** + * Last name of the recipient. If the delivery address and the billing address are different, specify the `recipientFirstName` and `recipientLastName` to share the delivery address with Klarna. Otherwise, only the billing address is shared with Klarna. + * + * @param openinvoicedataRecipientLastName + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_RECIPIENT_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataRecipientLastName(String openinvoicedataRecipientLastName) { this.openinvoicedataRecipientLastName = openinvoicedataRecipientLastName; } - + /** + * The three-character ISO currency code. + * + * @param openinvoicedataLineItemNrCurrencyCode + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrCurrencyCode(String openinvoicedataLineItemNrCurrencyCode) { this.openinvoicedataLineItemNrCurrencyCode = openinvoicedataLineItemNrCurrencyCode; return this; } - /** + /** * The three-character ISO currency code. * @return openinvoicedataLineItemNrCurrencyCode - **/ + */ @ApiModelProperty(value = "The three-character ISO currency code.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrCurrencyCode() { return openinvoicedataLineItemNrCurrencyCode; } - - /** - * The three-character ISO currency code. - * - * @param openinvoicedataLineItemNrCurrencyCode - */ + /** + * The three-character ISO currency code. + * + * @param openinvoicedataLineItemNrCurrencyCode + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrCurrencyCode(String openinvoicedataLineItemNrCurrencyCode) { this.openinvoicedataLineItemNrCurrencyCode = openinvoicedataLineItemNrCurrencyCode; } - + /** + * A text description of the product the invoice line refers to. + * + * @param openinvoicedataLineItemNrDescription + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrDescription(String openinvoicedataLineItemNrDescription) { this.openinvoicedataLineItemNrDescription = openinvoicedataLineItemNrDescription; return this; } - /** + /** * A text description of the product the invoice line refers to. * @return openinvoicedataLineItemNrDescription - **/ + */ @ApiModelProperty(value = "A text description of the product the invoice line refers to.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrDescription() { return openinvoicedataLineItemNrDescription; } - - /** - * A text description of the product the invoice line refers to. - * - * @param openinvoicedataLineItemNrDescription - */ + /** + * A text description of the product the invoice line refers to. + * + * @param openinvoicedataLineItemNrDescription + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrDescription(String openinvoicedataLineItemNrDescription) { this.openinvoicedataLineItemNrDescription = openinvoicedataLineItemNrDescription; } - + /** + * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. + * + * @param openinvoicedataLineItemNrItemAmount + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemAmount(String openinvoicedataLineItemNrItemAmount) { this.openinvoicedataLineItemNrItemAmount = openinvoicedataLineItemNrItemAmount; return this; } - /** + /** * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. * @return openinvoicedataLineItemNrItemAmount - **/ + */ @ApiModelProperty(value = "The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemAmount() { return openinvoicedataLineItemNrItemAmount; } - - /** - * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. - * - * @param openinvoicedataLineItemNrItemAmount - */ + /** + * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. + * + * @param openinvoicedataLineItemNrItemAmount + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemAmount(String openinvoicedataLineItemNrItemAmount) { this.openinvoicedataLineItemNrItemAmount = openinvoicedataLineItemNrItemAmount; } - + /** + * A unique id for this item. Required for RatePay if the description of each item is not unique. + * + * @param openinvoicedataLineItemNrItemId + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemId(String openinvoicedataLineItemNrItemId) { this.openinvoicedataLineItemNrItemId = openinvoicedataLineItemNrItemId; return this; } - /** + /** * A unique id for this item. Required for RatePay if the description of each item is not unique. * @return openinvoicedataLineItemNrItemId - **/ + */ @ApiModelProperty(value = "A unique id for this item. Required for RatePay if the description of each item is not unique.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemId() { return openinvoicedataLineItemNrItemId; } - - /** - * A unique id for this item. Required for RatePay if the description of each item is not unique. - * - * @param openinvoicedataLineItemNrItemId - */ + /** + * A unique id for this item. Required for RatePay if the description of each item is not unique. + * + * @param openinvoicedataLineItemNrItemId + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemId(String openinvoicedataLineItemNrItemId) { this.openinvoicedataLineItemNrItemId = openinvoicedataLineItemNrItemId; } - + /** + * The VAT due for one item in the invoice line, represented in minor units. + * + * @param openinvoicedataLineItemNrItemVatAmount + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemVatAmount(String openinvoicedataLineItemNrItemVatAmount) { this.openinvoicedataLineItemNrItemVatAmount = openinvoicedataLineItemNrItemVatAmount; return this; } - /** + /** * The VAT due for one item in the invoice line, represented in minor units. * @return openinvoicedataLineItemNrItemVatAmount - **/ + */ @ApiModelProperty(value = "The VAT due for one item in the invoice line, represented in minor units.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemVatAmount() { return openinvoicedataLineItemNrItemVatAmount; } - - /** - * The VAT due for one item in the invoice line, represented in minor units. - * - * @param openinvoicedataLineItemNrItemVatAmount - */ + /** + * The VAT due for one item in the invoice line, represented in minor units. + * + * @param openinvoicedataLineItemNrItemVatAmount + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemVatAmount(String openinvoicedataLineItemNrItemVatAmount) { this.openinvoicedataLineItemNrItemVatAmount = openinvoicedataLineItemNrItemVatAmount; } - + /** + * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. + * + * @param openinvoicedataLineItemNrItemVatPercentage + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrItemVatPercentage(String openinvoicedataLineItemNrItemVatPercentage) { this.openinvoicedataLineItemNrItemVatPercentage = openinvoicedataLineItemNrItemVatPercentage; return this; } - /** + /** * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. * @return openinvoicedataLineItemNrItemVatPercentage - **/ + */ @ApiModelProperty(value = "The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrItemVatPercentage() { return openinvoicedataLineItemNrItemVatPercentage; } - - /** - * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. - * - * @param openinvoicedataLineItemNrItemVatPercentage - */ + /** + * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. + * + * @param openinvoicedataLineItemNrItemVatPercentage + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_ITEM_VAT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrItemVatPercentage(String openinvoicedataLineItemNrItemVatPercentage) { this.openinvoicedataLineItemNrItemVatPercentage = openinvoicedataLineItemNrItemVatPercentage; } - + /** + * The number of units purchased of a specific product. + * + * @param openinvoicedataLineItemNrNumberOfItems + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrNumberOfItems(String openinvoicedataLineItemNrNumberOfItems) { this.openinvoicedataLineItemNrNumberOfItems = openinvoicedataLineItemNrNumberOfItems; return this; } - /** + /** * The number of units purchased of a specific product. * @return openinvoicedataLineItemNrNumberOfItems - **/ + */ @ApiModelProperty(value = "The number of units purchased of a specific product.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_NUMBER_OF_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrNumberOfItems() { return openinvoicedataLineItemNrNumberOfItems; } - - /** - * The number of units purchased of a specific product. - * - * @param openinvoicedataLineItemNrNumberOfItems - */ + /** + * The number of units purchased of a specific product. + * + * @param openinvoicedataLineItemNrNumberOfItems + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_NUMBER_OF_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrNumberOfItems(String openinvoicedataLineItemNrNumberOfItems) { this.openinvoicedataLineItemNrNumberOfItems = openinvoicedataLineItemNrNumberOfItems; } - + /** + * Name of the shipping company handling the the return shipment. + * + * @param openinvoicedataLineItemNrReturnShippingCompany + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnShippingCompany(String openinvoicedataLineItemNrReturnShippingCompany) { this.openinvoicedataLineItemNrReturnShippingCompany = openinvoicedataLineItemNrReturnShippingCompany; return this; } - /** + /** * Name of the shipping company handling the the return shipment. * @return openinvoicedataLineItemNrReturnShippingCompany - **/ + */ @ApiModelProperty(value = "Name of the shipping company handling the the return shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnShippingCompany() { return openinvoicedataLineItemNrReturnShippingCompany; } - - /** - * Name of the shipping company handling the the return shipment. - * - * @param openinvoicedataLineItemNrReturnShippingCompany - */ + /** + * Name of the shipping company handling the the return shipment. + * + * @param openinvoicedataLineItemNrReturnShippingCompany + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnShippingCompany(String openinvoicedataLineItemNrReturnShippingCompany) { this.openinvoicedataLineItemNrReturnShippingCompany = openinvoicedataLineItemNrReturnShippingCompany; } - + /** + * The tracking number for the return of the shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingNumber + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnTrackingNumber(String openinvoicedataLineItemNrReturnTrackingNumber) { this.openinvoicedataLineItemNrReturnTrackingNumber = openinvoicedataLineItemNrReturnTrackingNumber; return this; } - /** + /** * The tracking number for the return of the shipment. * @return openinvoicedataLineItemNrReturnTrackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number for the return of the shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnTrackingNumber() { return openinvoicedataLineItemNrReturnTrackingNumber; } - - /** - * The tracking number for the return of the shipment. - * - * @param openinvoicedataLineItemNrReturnTrackingNumber - */ + /** + * The tracking number for the return of the shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingNumber + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnTrackingNumber(String openinvoicedataLineItemNrReturnTrackingNumber) { this.openinvoicedataLineItemNrReturnTrackingNumber = openinvoicedataLineItemNrReturnTrackingNumber; } - + /** + * URI where the customer can track the return of their shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingUri + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrReturnTrackingUri(String openinvoicedataLineItemNrReturnTrackingUri) { this.openinvoicedataLineItemNrReturnTrackingUri = openinvoicedataLineItemNrReturnTrackingUri; return this; } - /** + /** * URI where the customer can track the return of their shipment. * @return openinvoicedataLineItemNrReturnTrackingUri - **/ + */ @ApiModelProperty(value = "URI where the customer can track the return of their shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrReturnTrackingUri() { return openinvoicedataLineItemNrReturnTrackingUri; } - - /** - * URI where the customer can track the return of their shipment. - * - * @param openinvoicedataLineItemNrReturnTrackingUri - */ + /** + * URI where the customer can track the return of their shipment. + * + * @param openinvoicedataLineItemNrReturnTrackingUri + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_RETURN_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrReturnTrackingUri(String openinvoicedataLineItemNrReturnTrackingUri) { this.openinvoicedataLineItemNrReturnTrackingUri = openinvoicedataLineItemNrReturnTrackingUri; } - + /** + * Name of the shipping company handling the delivery. + * + * @param openinvoicedataLineItemNrShippingCompany + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrShippingCompany(String openinvoicedataLineItemNrShippingCompany) { this.openinvoicedataLineItemNrShippingCompany = openinvoicedataLineItemNrShippingCompany; return this; } - /** + /** * Name of the shipping company handling the delivery. * @return openinvoicedataLineItemNrShippingCompany - **/ + */ @ApiModelProperty(value = "Name of the shipping company handling the delivery.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrShippingCompany() { return openinvoicedataLineItemNrShippingCompany; } - - /** - * Name of the shipping company handling the delivery. - * - * @param openinvoicedataLineItemNrShippingCompany - */ + /** + * Name of the shipping company handling the delivery. + * + * @param openinvoicedataLineItemNrShippingCompany + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_COMPANY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrShippingCompany(String openinvoicedataLineItemNrShippingCompany) { this.openinvoicedataLineItemNrShippingCompany = openinvoicedataLineItemNrShippingCompany; } - + /** + * Shipping method. + * + * @param openinvoicedataLineItemNrShippingMethod + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrShippingMethod(String openinvoicedataLineItemNrShippingMethod) { this.openinvoicedataLineItemNrShippingMethod = openinvoicedataLineItemNrShippingMethod; return this; } - /** + /** * Shipping method. * @return openinvoicedataLineItemNrShippingMethod - **/ + */ @ApiModelProperty(value = "Shipping method.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrShippingMethod() { return openinvoicedataLineItemNrShippingMethod; } - - /** - * Shipping method. - * - * @param openinvoicedataLineItemNrShippingMethod - */ + /** + * Shipping method. + * + * @param openinvoicedataLineItemNrShippingMethod + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_SHIPPING_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrShippingMethod(String openinvoicedataLineItemNrShippingMethod) { this.openinvoicedataLineItemNrShippingMethod = openinvoicedataLineItemNrShippingMethod; } - + /** + * The tracking number for the shipment. + * + * @param openinvoicedataLineItemNrTrackingNumber + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrTrackingNumber(String openinvoicedataLineItemNrTrackingNumber) { this.openinvoicedataLineItemNrTrackingNumber = openinvoicedataLineItemNrTrackingNumber; return this; } - /** + /** * The tracking number for the shipment. * @return openinvoicedataLineItemNrTrackingNumber - **/ + */ @ApiModelProperty(value = "The tracking number for the shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrTrackingNumber() { return openinvoicedataLineItemNrTrackingNumber; } - - /** - * The tracking number for the shipment. - * - * @param openinvoicedataLineItemNrTrackingNumber - */ + /** + * The tracking number for the shipment. + * + * @param openinvoicedataLineItemNrTrackingNumber + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrTrackingNumber(String openinvoicedataLineItemNrTrackingNumber) { this.openinvoicedataLineItemNrTrackingNumber = openinvoicedataLineItemNrTrackingNumber; } - + /** + * URI where the customer can track their shipment. + * + * @param openinvoicedataLineItemNrTrackingUri + * @return the current {@code AdditionalDataOpenInvoice} instance, allowing for method chaining + */ public AdditionalDataOpenInvoice openinvoicedataLineItemNrTrackingUri(String openinvoicedataLineItemNrTrackingUri) { this.openinvoicedataLineItemNrTrackingUri = openinvoicedataLineItemNrTrackingUri; return this; } - /** + /** * URI where the customer can track their shipment. * @return openinvoicedataLineItemNrTrackingUri - **/ + */ @ApiModelProperty(value = "URI where the customer can track their shipment.") @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpeninvoicedataLineItemNrTrackingUri() { return openinvoicedataLineItemNrTrackingUri; } - - /** - * URI where the customer can track their shipment. - * - * @param openinvoicedataLineItemNrTrackingUri - */ + /** + * URI where the customer can track their shipment. + * + * @param openinvoicedataLineItemNrTrackingUri + */ @JsonProperty(JSON_PROPERTY_OPENINVOICEDATA_LINE_ITEM_NR_TRACKING_URI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpeninvoicedataLineItemNrTrackingUri(String openinvoicedataLineItemNrTrackingUri) { this.openinvoicedataLineItemNrTrackingUri = openinvoicedataLineItemNrTrackingUri; } - /** * Return true if this AdditionalDataOpenInvoice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataOpi.java b/src/main/java/com/adyen/model/payment/AdditionalDataOpi.java index d7b461309..838702d9b 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataOpi.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataOpi.java @@ -41,36 +41,39 @@ public class AdditionalDataOpi { public AdditionalDataOpi() { } + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiIncludeTransToken + * @return the current {@code AdditionalDataOpi} instance, allowing for method chaining + */ public AdditionalDataOpi opiIncludeTransToken(String opiIncludeTransToken) { this.opiIncludeTransToken = opiIncludeTransToken; return this; } - /** - * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). * @return opiIncludeTransToken - **/ + */ @ApiModelProperty(value = "Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).") @JsonProperty(JSON_PROPERTY_OPI_INCLUDE_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpiIncludeTransToken() { return opiIncludeTransToken; } - - /** - * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). - * - * @param opiIncludeTransToken - */ + /** + * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiIncludeTransToken + */ @JsonProperty(JSON_PROPERTY_OPI_INCLUDE_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpiIncludeTransToken(String opiIncludeTransToken) { this.opiIncludeTransToken = opiIncludeTransToken; } - /** * Return true if this AdditionalDataOpi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataRatepay.java b/src/main/java/com/adyen/model/payment/AdditionalDataRatepay.java index 3d77e6c18..03f65871a 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataRatepay.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataRatepay.java @@ -69,246 +69,270 @@ public class AdditionalDataRatepay { public AdditionalDataRatepay() { } + /** + * Amount the customer has to pay each month. + * + * @param ratepayInstallmentAmount + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayInstallmentAmount(String ratepayInstallmentAmount) { this.ratepayInstallmentAmount = ratepayInstallmentAmount; return this; } - /** + /** * Amount the customer has to pay each month. * @return ratepayInstallmentAmount - **/ + */ @ApiModelProperty(value = "Amount the customer has to pay each month.") @JsonProperty(JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayInstallmentAmount() { return ratepayInstallmentAmount; } - - /** - * Amount the customer has to pay each month. - * - * @param ratepayInstallmentAmount - */ + /** + * Amount the customer has to pay each month. + * + * @param ratepayInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayInstallmentAmount(String ratepayInstallmentAmount) { this.ratepayInstallmentAmount = ratepayInstallmentAmount; } - + /** + * Interest rate of this installment. + * + * @param ratepayInterestRate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayInterestRate(String ratepayInterestRate) { this.ratepayInterestRate = ratepayInterestRate; return this; } - /** + /** * Interest rate of this installment. * @return ratepayInterestRate - **/ + */ @ApiModelProperty(value = "Interest rate of this installment.") @JsonProperty(JSON_PROPERTY_RATEPAY_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayInterestRate() { return ratepayInterestRate; } - - /** - * Interest rate of this installment. - * - * @param ratepayInterestRate - */ + /** + * Interest rate of this installment. + * + * @param ratepayInterestRate + */ @JsonProperty(JSON_PROPERTY_RATEPAY_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayInterestRate(String ratepayInterestRate) { this.ratepayInterestRate = ratepayInterestRate; } - + /** + * Amount of the last installment. + * + * @param ratepayLastInstallmentAmount + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayLastInstallmentAmount(String ratepayLastInstallmentAmount) { this.ratepayLastInstallmentAmount = ratepayLastInstallmentAmount; return this; } - /** + /** * Amount of the last installment. * @return ratepayLastInstallmentAmount - **/ + */ @ApiModelProperty(value = "Amount of the last installment.") @JsonProperty(JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayLastInstallmentAmount() { return ratepayLastInstallmentAmount; } - - /** - * Amount of the last installment. - * - * @param ratepayLastInstallmentAmount - */ + /** + * Amount of the last installment. + * + * @param ratepayLastInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayLastInstallmentAmount(String ratepayLastInstallmentAmount) { this.ratepayLastInstallmentAmount = ratepayLastInstallmentAmount; } - + /** + * Calendar day of the first payment. + * + * @param ratepayPaymentFirstday + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepayPaymentFirstday(String ratepayPaymentFirstday) { this.ratepayPaymentFirstday = ratepayPaymentFirstday; return this; } - /** + /** * Calendar day of the first payment. * @return ratepayPaymentFirstday - **/ + */ @ApiModelProperty(value = "Calendar day of the first payment.") @JsonProperty(JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepayPaymentFirstday() { return ratepayPaymentFirstday; } - - /** - * Calendar day of the first payment. - * - * @param ratepayPaymentFirstday - */ + /** + * Calendar day of the first payment. + * + * @param ratepayPaymentFirstday + */ @JsonProperty(JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepayPaymentFirstday(String ratepayPaymentFirstday) { this.ratepayPaymentFirstday = ratepayPaymentFirstday; } - + /** + * Date the merchant delivered the goods to the customer. + * + * @param ratepaydataDeliveryDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataDeliveryDate(String ratepaydataDeliveryDate) { this.ratepaydataDeliveryDate = ratepaydataDeliveryDate; return this; } - /** + /** * Date the merchant delivered the goods to the customer. * @return ratepaydataDeliveryDate - **/ + */ @ApiModelProperty(value = "Date the merchant delivered the goods to the customer.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataDeliveryDate() { return ratepaydataDeliveryDate; } - - /** - * Date the merchant delivered the goods to the customer. - * - * @param ratepaydataDeliveryDate - */ + /** + * Date the merchant delivered the goods to the customer. + * + * @param ratepaydataDeliveryDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataDeliveryDate(String ratepaydataDeliveryDate) { this.ratepaydataDeliveryDate = ratepaydataDeliveryDate; } - + /** + * Date by which the customer must settle the payment. + * + * @param ratepaydataDueDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataDueDate(String ratepaydataDueDate) { this.ratepaydataDueDate = ratepaydataDueDate; return this; } - /** + /** * Date by which the customer must settle the payment. * @return ratepaydataDueDate - **/ + */ @ApiModelProperty(value = "Date by which the customer must settle the payment.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataDueDate() { return ratepaydataDueDate; } - - /** - * Date by which the customer must settle the payment. - * - * @param ratepaydataDueDate - */ + /** + * Date by which the customer must settle the payment. + * + * @param ratepaydataDueDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_DUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataDueDate(String ratepaydataDueDate) { this.ratepaydataDueDate = ratepaydataDueDate; } - + /** + * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. + * + * @param ratepaydataInvoiceDate + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataInvoiceDate(String ratepaydataInvoiceDate) { this.ratepaydataInvoiceDate = ratepaydataInvoiceDate; return this; } - /** + /** * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. * @return ratepaydataInvoiceDate - **/ + */ @ApiModelProperty(value = "Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataInvoiceDate() { return ratepaydataInvoiceDate; } - - /** - * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. - * - * @param ratepaydataInvoiceDate - */ + /** + * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. + * + * @param ratepaydataInvoiceDate + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataInvoiceDate(String ratepaydataInvoiceDate) { this.ratepaydataInvoiceDate = ratepaydataInvoiceDate; } - + /** + * Identification name or number for the invoice, defined by the merchant. + * + * @param ratepaydataInvoiceId + * @return the current {@code AdditionalDataRatepay} instance, allowing for method chaining + */ public AdditionalDataRatepay ratepaydataInvoiceId(String ratepaydataInvoiceId) { this.ratepaydataInvoiceId = ratepaydataInvoiceId; return this; } - /** + /** * Identification name or number for the invoice, defined by the merchant. * @return ratepaydataInvoiceId - **/ + */ @ApiModelProperty(value = "Identification name or number for the invoice, defined by the merchant.") @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRatepaydataInvoiceId() { return ratepaydataInvoiceId; } - - /** - * Identification name or number for the invoice, defined by the merchant. - * - * @param ratepaydataInvoiceId - */ + /** + * Identification name or number for the invoice, defined by the merchant. + * + * @param ratepaydataInvoiceId + */ @JsonProperty(JSON_PROPERTY_RATEPAYDATA_INVOICE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRatepaydataInvoiceId(String ratepaydataInvoiceId) { this.ratepaydataInvoiceId = ratepaydataInvoiceId; } - /** * Return true if this AdditionalDataRatepay object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataRetry.java b/src/main/java/com/adyen/model/payment/AdditionalDataRetry.java index d57bd4700..4c25a1a46 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataRetry.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataRetry.java @@ -49,96 +49,105 @@ public class AdditionalDataRetry { public AdditionalDataRetry() { } + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryChainAttemptNumber + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retryChainAttemptNumber(String retryChainAttemptNumber) { this.retryChainAttemptNumber = retryChainAttemptNumber; return this; } - /** - * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retryChainAttemptNumber - **/ + */ @ApiModelProperty(value = "The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_CHAIN_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetryChainAttemptNumber() { return retryChainAttemptNumber; } - - /** - * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retryChainAttemptNumber - */ + /** + * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryChainAttemptNumber + */ @JsonProperty(JSON_PROPERTY_RETRY_CHAIN_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetryChainAttemptNumber(String retryChainAttemptNumber) { this.retryChainAttemptNumber = retryChainAttemptNumber; } - + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryOrderAttemptNumber + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retryOrderAttemptNumber(String retryOrderAttemptNumber) { this.retryOrderAttemptNumber = retryOrderAttemptNumber; return this; } - /** - * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retryOrderAttemptNumber - **/ + */ @ApiModelProperty(value = "The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_ORDER_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetryOrderAttemptNumber() { return retryOrderAttemptNumber; } - - /** - * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retryOrderAttemptNumber - */ + /** + * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retryOrderAttemptNumber + */ @JsonProperty(JSON_PROPERTY_RETRY_ORDER_ATTEMPT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetryOrderAttemptNumber(String retryOrderAttemptNumber) { this.retryOrderAttemptNumber = retryOrderAttemptNumber; } - + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retrySkipRetry + * @return the current {@code AdditionalDataRetry} instance, allowing for method chaining + */ public AdditionalDataRetry retrySkipRetry(String retrySkipRetry) { this.retrySkipRetry = retrySkipRetry; return this; } - /** - * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. * @return retrySkipRetry - **/ + */ @ApiModelProperty(value = "The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.") @JsonProperty(JSON_PROPERTY_RETRY_SKIP_RETRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRetrySkipRetry() { return retrySkipRetry; } - - /** - * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. - * - * @param retrySkipRetry - */ + /** + * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. + * + * @param retrySkipRetry + */ @JsonProperty(JSON_PROPERTY_RETRY_SKIP_RETRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRetrySkipRetry(String retrySkipRetry) { this.retrySkipRetry = retrySkipRetry; } - /** * Return true if this AdditionalDataRetry object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataRisk.java b/src/main/java/com/adyen/model/payment/AdditionalDataRisk.java index f716b897f..81e16a578 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataRisk.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataRisk.java @@ -121,636 +121,699 @@ public class AdditionalDataRisk { public AdditionalDataRisk() { } + /** + * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). + * + * @param riskdataCustomFieldName + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataCustomFieldName(String riskdataCustomFieldName) { this.riskdataCustomFieldName = riskdataCustomFieldName; return this; } - /** + /** * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). * @return riskdataCustomFieldName - **/ + */ @ApiModelProperty(value = "The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).") @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataCustomFieldName() { return riskdataCustomFieldName; } - - /** - * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). - * - * @param riskdataCustomFieldName - */ + /** + * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). + * + * @param riskdataCustomFieldName + */ @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataCustomFieldName(String riskdataCustomFieldName) { this.riskdataCustomFieldName = riskdataCustomFieldName; } - + /** + * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataBasketItemItemNrAmountPerItem + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrAmountPerItem(String riskdataBasketItemItemNrAmountPerItem) { this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem; return this; } - /** + /** * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return riskdataBasketItemItemNrAmountPerItem - **/ + */ @ApiModelProperty(value = "The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrAmountPerItem() { return riskdataBasketItemItemNrAmountPerItem; } - - /** - * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param riskdataBasketItemItemNrAmountPerItem - */ + /** + * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataBasketItemItemNrAmountPerItem + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrAmountPerItem(String riskdataBasketItemItemNrAmountPerItem) { this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem; } - + /** + * Brand of the item. + * + * @param riskdataBasketItemItemNrBrand + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) { this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand; return this; } - /** + /** * Brand of the item. * @return riskdataBasketItemItemNrBrand - **/ + */ @ApiModelProperty(value = "Brand of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrBrand() { return riskdataBasketItemItemNrBrand; } - - /** - * Brand of the item. - * - * @param riskdataBasketItemItemNrBrand - */ + /** + * Brand of the item. + * + * @param riskdataBasketItemItemNrBrand + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) { this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand; } - + /** + * Category of the item. + * + * @param riskdataBasketItemItemNrCategory + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrCategory(String riskdataBasketItemItemNrCategory) { this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory; return this; } - /** + /** * Category of the item. * @return riskdataBasketItemItemNrCategory - **/ + */ @ApiModelProperty(value = "Category of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrCategory() { return riskdataBasketItemItemNrCategory; } - - /** - * Category of the item. - * - * @param riskdataBasketItemItemNrCategory - */ + /** + * Category of the item. + * + * @param riskdataBasketItemItemNrCategory + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrCategory(String riskdataBasketItemItemNrCategory) { this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory; } - + /** + * Color of the item. + * + * @param riskdataBasketItemItemNrColor + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) { this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor; return this; } - /** + /** * Color of the item. * @return riskdataBasketItemItemNrColor - **/ + */ @ApiModelProperty(value = "Color of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrColor() { return riskdataBasketItemItemNrColor; } - - /** - * Color of the item. - * - * @param riskdataBasketItemItemNrColor - */ + /** + * Color of the item. + * + * @param riskdataBasketItemItemNrColor + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) { this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor; } - + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataBasketItemItemNrCurrency + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrCurrency(String riskdataBasketItemItemNrCurrency) { this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency; return this; } - /** + /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return riskdataBasketItemItemNrCurrency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrCurrency() { return riskdataBasketItemItemNrCurrency; } - - /** - * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param riskdataBasketItemItemNrCurrency - */ + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataBasketItemItemNrCurrency + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrCurrency(String riskdataBasketItemItemNrCurrency) { this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency; } - + /** + * ID of the item. + * + * @param riskdataBasketItemItemNrItemID + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) { this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID; return this; } - /** + /** * ID of the item. * @return riskdataBasketItemItemNrItemID - **/ + */ @ApiModelProperty(value = "ID of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrItemID() { return riskdataBasketItemItemNrItemID; } - - /** - * ID of the item. - * - * @param riskdataBasketItemItemNrItemID - */ + /** + * ID of the item. + * + * @param riskdataBasketItemItemNrItemID + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) { this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID; } - + /** + * Manufacturer of the item. + * + * @param riskdataBasketItemItemNrManufacturer + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrManufacturer(String riskdataBasketItemItemNrManufacturer) { this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer; return this; } - /** + /** * Manufacturer of the item. * @return riskdataBasketItemItemNrManufacturer - **/ + */ @ApiModelProperty(value = "Manufacturer of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrManufacturer() { return riskdataBasketItemItemNrManufacturer; } - - /** - * Manufacturer of the item. - * - * @param riskdataBasketItemItemNrManufacturer - */ + /** + * Manufacturer of the item. + * + * @param riskdataBasketItemItemNrManufacturer + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrManufacturer(String riskdataBasketItemItemNrManufacturer) { this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer; } - + /** + * A text description of the product the invoice line refers to. + * + * @param riskdataBasketItemItemNrProductTitle + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrProductTitle(String riskdataBasketItemItemNrProductTitle) { this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle; return this; } - /** + /** * A text description of the product the invoice line refers to. * @return riskdataBasketItemItemNrProductTitle - **/ + */ @ApiModelProperty(value = "A text description of the product the invoice line refers to.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrProductTitle() { return riskdataBasketItemItemNrProductTitle; } - - /** - * A text description of the product the invoice line refers to. - * - * @param riskdataBasketItemItemNrProductTitle - */ + /** + * A text description of the product the invoice line refers to. + * + * @param riskdataBasketItemItemNrProductTitle + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrProductTitle(String riskdataBasketItemItemNrProductTitle) { this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle; } - + /** + * Quantity of the item purchased. + * + * @param riskdataBasketItemItemNrQuantity + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrQuantity(String riskdataBasketItemItemNrQuantity) { this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity; return this; } - /** + /** * Quantity of the item purchased. * @return riskdataBasketItemItemNrQuantity - **/ + */ @ApiModelProperty(value = "Quantity of the item purchased.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrQuantity() { return riskdataBasketItemItemNrQuantity; } - - /** - * Quantity of the item purchased. - * - * @param riskdataBasketItemItemNrQuantity - */ + /** + * Quantity of the item purchased. + * + * @param riskdataBasketItemItemNrQuantity + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrQuantity(String riskdataBasketItemItemNrQuantity) { this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity; } - + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param riskdataBasketItemItemNrReceiverEmail + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrReceiverEmail(String riskdataBasketItemItemNrReceiverEmail) { this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail; return this; } - /** + /** * Email associated with the given product in the basket (usually in electronic gift cards). * @return riskdataBasketItemItemNrReceiverEmail - **/ + */ @ApiModelProperty(value = "Email associated with the given product in the basket (usually in electronic gift cards).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrReceiverEmail() { return riskdataBasketItemItemNrReceiverEmail; } - - /** - * Email associated with the given product in the basket (usually in electronic gift cards). - * - * @param riskdataBasketItemItemNrReceiverEmail - */ + /** + * Email associated with the given product in the basket (usually in electronic gift cards). + * + * @param riskdataBasketItemItemNrReceiverEmail + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrReceiverEmail(String riskdataBasketItemItemNrReceiverEmail) { this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail; } - + /** + * Size of the item. + * + * @param riskdataBasketItemItemNrSize + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) { this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize; return this; } - /** + /** * Size of the item. * @return riskdataBasketItemItemNrSize - **/ + */ @ApiModelProperty(value = "Size of the item.") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrSize() { return riskdataBasketItemItemNrSize; } - - /** - * Size of the item. - * - * @param riskdataBasketItemItemNrSize - */ + /** + * Size of the item. + * + * @param riskdataBasketItemItemNrSize + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) { this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize; } - + /** + * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). + * + * @param riskdataBasketItemItemNrSku + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) { this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku; return this; } - /** + /** * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). * @return riskdataBasketItemItemNrSku - **/ + */ @ApiModelProperty(value = "[Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrSku() { return riskdataBasketItemItemNrSku; } - - /** - * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). - * - * @param riskdataBasketItemItemNrSku - */ + /** + * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). + * + * @param riskdataBasketItemItemNrSku + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) { this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku; } - + /** + * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). + * + * @param riskdataBasketItemItemNrUpc + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) { this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc; return this; } - /** + /** * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). * @return riskdataBasketItemItemNrUpc - **/ + */ @ApiModelProperty(value = "[Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).") @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataBasketItemItemNrUpc() { return riskdataBasketItemItemNrUpc; } - - /** - * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). - * - * @param riskdataBasketItemItemNrUpc - */ + /** + * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). + * + * @param riskdataBasketItemItemNrUpc + */ @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) { this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc; } - + /** + * Code of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionCode + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionCode(String riskdataPromotionsPromotionItemNrPromotionCode) { this.riskdataPromotionsPromotionItemNrPromotionCode = riskdataPromotionsPromotionItemNrPromotionCode; return this; } - /** + /** * Code of the promotion. * @return riskdataPromotionsPromotionItemNrPromotionCode - **/ + */ @ApiModelProperty(value = "Code of the promotion.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionCode() { return riskdataPromotionsPromotionItemNrPromotionCode; } - - /** - * Code of the promotion. - * - * @param riskdataPromotionsPromotionItemNrPromotionCode - */ + /** + * Code of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionCode + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionCode(String riskdataPromotionsPromotionItemNrPromotionCode) { this.riskdataPromotionsPromotionItemNrPromotionCode = riskdataPromotionsPromotionItemNrPromotionCode; } - + /** + * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountAmount(String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) { this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount = riskdataPromotionsPromotionItemNrPromotionDiscountAmount; return this; } - /** + /** * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return riskdataPromotionsPromotionItemNrPromotionDiscountAmount - **/ + */ @ApiModelProperty(value = "The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountAmount() { return riskdataPromotionsPromotionItemNrPromotionDiscountAmount; } - - /** - * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount - */ + /** + * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountAmount(String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) { this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount = riskdataPromotionsPromotionItemNrPromotionDiscountAmount; } - + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountCurrency(String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) { this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency = riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; return this; } - /** + /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). * @return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency() { return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; } - - /** - * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency - */ + /** + * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency(String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) { this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency = riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; } - + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountPercentage(String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) { this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage = riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; return this; } - /** - * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. * @return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage - **/ + */ @ApiModelProperty(value = "Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage() { return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; } - - /** - * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. - * - * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage - */ + /** + * Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. + * + * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage(String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) { this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage = riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; } - + /** + * Name of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionName + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionName(String riskdataPromotionsPromotionItemNrPromotionName) { this.riskdataPromotionsPromotionItemNrPromotionName = riskdataPromotionsPromotionItemNrPromotionName; return this; } - /** + /** * Name of the promotion. * @return riskdataPromotionsPromotionItemNrPromotionName - **/ + */ @ApiModelProperty(value = "Name of the promotion.") @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataPromotionsPromotionItemNrPromotionName() { return riskdataPromotionsPromotionItemNrPromotionName; } - - /** - * Name of the promotion. - * - * @param riskdataPromotionsPromotionItemNrPromotionName - */ + /** + * Name of the promotion. + * + * @param riskdataPromotionsPromotionItemNrPromotionName + */ @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataPromotionsPromotionItemNrPromotionName(String riskdataPromotionsPromotionItemNrPromotionName) { this.riskdataPromotionsPromotionItemNrPromotionName = riskdataPromotionsPromotionItemNrPromotionName; } - + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + * + * @param riskdataRiskProfileReference + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataRiskProfileReference(String riskdataRiskProfileReference) { this.riskdataRiskProfileReference = riskdataRiskProfileReference; return this; } - /** - * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). * @return riskdataRiskProfileReference - **/ + */ @ApiModelProperty(value = "Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).") @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataRiskProfileReference() { return riskdataRiskProfileReference; } - - /** - * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). - * - * @param riskdataRiskProfileReference - */ + /** + * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). + * + * @param riskdataRiskProfileReference + */ @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataRiskProfileReference(String riskdataRiskProfileReference) { this.riskdataRiskProfileReference = riskdataRiskProfileReference; } - + /** + * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. + * + * @param riskdataSkipRisk + * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining + */ public AdditionalDataRisk riskdataSkipRisk(String riskdataSkipRisk) { this.riskdataSkipRisk = riskdataSkipRisk; return this; } - /** + /** * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. * @return riskdataSkipRisk - **/ + */ @ApiModelProperty(value = "If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score.") @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskdataSkipRisk() { return riskdataSkipRisk; } - - /** - * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. - * - * @param riskdataSkipRisk - */ + /** + * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. + * + * @param riskdataSkipRisk + */ @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskdataSkipRisk(String riskdataSkipRisk) { this.riskdataSkipRisk = riskdataSkipRisk; } - /** * Return true if this AdditionalDataRisk object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataRiskStandalone.java b/src/main/java/com/adyen/model/payment/AdditionalDataRiskStandalone.java index 8a015b72a..821f0127e 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataRiskStandalone.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataRiskStandalone.java @@ -97,456 +97,501 @@ public class AdditionalDataRiskStandalone { public AdditionalDataRiskStandalone() { } + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + * + * @param payPalCountryCode + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalCountryCode(String payPalCountryCode) { this.payPalCountryCode = payPalCountryCode; return this; } - /** - * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. * @return payPalCountryCode - **/ + */ @ApiModelProperty(value = "Shopper's country of residence in the form of ISO standard 3166 2-character country codes.") @JsonProperty(JSON_PROPERTY_PAY_PAL_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalCountryCode() { return payPalCountryCode; } - - /** - * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. - * - * @param payPalCountryCode - */ + /** + * Shopper's country of residence in the form of ISO standard 3166 2-character country codes. + * + * @param payPalCountryCode + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalCountryCode(String payPalCountryCode) { this.payPalCountryCode = payPalCountryCode; } - + /** + * Shopper's email. + * + * @param payPalEmailId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalEmailId(String payPalEmailId) { this.payPalEmailId = payPalEmailId; return this; } - /** - * Shopper's email. + /** + * Shopper's email. * @return payPalEmailId - **/ + */ @ApiModelProperty(value = "Shopper's email.") @JsonProperty(JSON_PROPERTY_PAY_PAL_EMAIL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalEmailId() { return payPalEmailId; } - - /** - * Shopper's email. - * - * @param payPalEmailId - */ + /** + * Shopper's email. + * + * @param payPalEmailId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_EMAIL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalEmailId(String payPalEmailId) { this.payPalEmailId = payPalEmailId; } - + /** + * Shopper's first name. + * + * @param payPalFirstName + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalFirstName(String payPalFirstName) { this.payPalFirstName = payPalFirstName; return this; } - /** - * Shopper's first name. + /** + * Shopper's first name. * @return payPalFirstName - **/ + */ @ApiModelProperty(value = "Shopper's first name.") @JsonProperty(JSON_PROPERTY_PAY_PAL_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalFirstName() { return payPalFirstName; } - - /** - * Shopper's first name. - * - * @param payPalFirstName - */ + /** + * Shopper's first name. + * + * @param payPalFirstName + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalFirstName(String payPalFirstName) { this.payPalFirstName = payPalFirstName; } - + /** + * Shopper's last name. + * + * @param payPalLastName + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalLastName(String payPalLastName) { this.payPalLastName = payPalLastName; return this; } - /** - * Shopper's last name. + /** + * Shopper's last name. * @return payPalLastName - **/ + */ @ApiModelProperty(value = "Shopper's last name.") @JsonProperty(JSON_PROPERTY_PAY_PAL_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalLastName() { return payPalLastName; } - - /** - * Shopper's last name. - * - * @param payPalLastName - */ + /** + * Shopper's last name. + * + * @param payPalLastName + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalLastName(String payPalLastName) { this.payPalLastName = payPalLastName; } - + /** + * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payPalPayerId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalPayerId(String payPalPayerId) { this.payPalPayerId = payPalPayerId; return this; } - /** + /** * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. * @return payPalPayerId - **/ + */ @ApiModelProperty(value = "Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalPayerId() { return payPalPayerId; } - - /** - * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. - * - * @param payPalPayerId - */ + /** + * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. + * + * @param payPalPayerId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PAYER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalPayerId(String payPalPayerId) { this.payPalPayerId = payPalPayerId; } - + /** + * Shopper's phone number. + * + * @param payPalPhone + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalPhone(String payPalPhone) { this.payPalPhone = payPalPhone; return this; } - /** - * Shopper's phone number. + /** + * Shopper's phone number. * @return payPalPhone - **/ + */ @ApiModelProperty(value = "Shopper's phone number.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalPhone() { return payPalPhone; } - - /** - * Shopper's phone number. - * - * @param payPalPhone - */ + /** + * Shopper's phone number. + * + * @param payPalPhone + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalPhone(String payPalPhone) { this.payPalPhone = payPalPhone; } - + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + * + * @param payPalProtectionEligibility + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalProtectionEligibility(String payPalProtectionEligibility) { this.payPalProtectionEligibility = payPalProtectionEligibility; return this; } - /** - * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. * @return payPalProtectionEligibility - **/ + */ @ApiModelProperty(value = "Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy.") @JsonProperty(JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalProtectionEligibility() { return payPalProtectionEligibility; } - - /** - * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. - * - * @param payPalProtectionEligibility - */ + /** + * Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. + * + * @param payPalProtectionEligibility + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalProtectionEligibility(String payPalProtectionEligibility) { this.payPalProtectionEligibility = payPalProtectionEligibility; } - + /** + * Unique transaction ID of the payment. + * + * @param payPalTransactionId + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone payPalTransactionId(String payPalTransactionId) { this.payPalTransactionId = payPalTransactionId; return this; } - /** + /** * Unique transaction ID of the payment. * @return payPalTransactionId - **/ + */ @ApiModelProperty(value = "Unique transaction ID of the payment.") @JsonProperty(JSON_PROPERTY_PAY_PAL_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayPalTransactionId() { return payPalTransactionId; } - - /** - * Unique transaction ID of the payment. - * - * @param payPalTransactionId - */ + /** + * Unique transaction ID of the payment. + * + * @param payPalTransactionId + */ @JsonProperty(JSON_PROPERTY_PAY_PAL_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayPalTransactionId(String payPalTransactionId) { this.payPalTransactionId = payPalTransactionId; } - + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone avsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; return this; } - /** + /** * Raw AVS result received from the acquirer, where available. Example: D * @return avsResultRaw - **/ + */ @ApiModelProperty(value = "Raw AVS result received from the acquirer, where available. Example: D") @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResultRaw() { return avsResultRaw; } - - /** - * Raw AVS result received from the acquirer, where available. Example: D - * - * @param avsResultRaw - */ + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; } - + /** + * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). + * + * @param bin + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone bin(String bin) { this.bin = bin; return this; } - /** + /** * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). * @return bin - **/ + */ @ApiModelProperty(value = "The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization).") @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBin() { return bin; } - - /** - * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). - * - * @param bin - */ + /** + * The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). + * + * @param bin + */ @JsonProperty(JSON_PROPERTY_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBin(String bin) { this.bin = bin; } - + /** + * Raw CVC result received from the acquirer, where available. Example: 1 + * + * @param cvcResultRaw + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone cvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; return this; } - /** + /** * Raw CVC result received from the acquirer, where available. Example: 1 * @return cvcResultRaw - **/ + */ @ApiModelProperty(value = "Raw CVC result received from the acquirer, where available. Example: 1") @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResultRaw() { return cvcResultRaw; } - - /** - * Raw CVC result received from the acquirer, where available. Example: 1 - * - * @param cvcResultRaw - */ + /** + * Raw CVC result received from the acquirer, where available. Example: 1 + * + * @param cvcResultRaw + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; } - + /** + * Unique identifier or token for the shopper's card details. + * + * @param riskToken + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone riskToken(String riskToken) { this.riskToken = riskToken; return this; } - /** - * Unique identifier or token for the shopper's card details. + /** + * Unique identifier or token for the shopper's card details. * @return riskToken - **/ + */ @ApiModelProperty(value = "Unique identifier or token for the shopper's card details.") @JsonProperty(JSON_PROPERTY_RISK_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskToken() { return riskToken; } - - /** - * Unique identifier or token for the shopper's card details. - * - * @param riskToken - */ + /** + * Unique identifier or token for the shopper's card details. + * + * @param riskToken + */ @JsonProperty(JSON_PROPERTY_RISK_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskToken(String riskToken) { this.riskToken = riskToken; } - + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone threeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; return this; } - /** + /** * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true * @return threeDAuthenticated - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticated() { return threeDAuthenticated; } - - /** - * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true - * - * @param threeDAuthenticated - */ + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; } - + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone threeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; return this; } - /** + /** * A Boolean value indicating whether 3DS was offered for this payment. Example: true * @return threeDOffered - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS was offered for this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOffered() { return threeDOffered; } - - /** - * A Boolean value indicating whether 3DS was offered for this payment. Example: true - * - * @param threeDOffered - */ + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; } - + /** + * Required for PayPal payments only. The only supported value is: **paypal**. + * + * @param tokenDataType + * @return the current {@code AdditionalDataRiskStandalone} instance, allowing for method chaining + */ public AdditionalDataRiskStandalone tokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; return this; } - /** + /** * Required for PayPal payments only. The only supported value is: **paypal**. * @return tokenDataType - **/ + */ @ApiModelProperty(value = "Required for PayPal payments only. The only supported value is: **paypal**.") @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenDataType() { return tokenDataType; } - - /** - * Required for PayPal payments only. The only supported value is: **paypal**. - * - * @param tokenDataType - */ + /** + * Required for PayPal payments only. The only supported value is: **paypal**. + * + * @param tokenDataType + */ @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; } - /** * Return true if this AdditionalDataRiskStandalone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java b/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java index 65f3e747e..a39f15998 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java @@ -77,306 +77,336 @@ public class AdditionalDataSubMerchant { public AdditionalDataSubMerchant() { } + /** + * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. + * + * @param subMerchantNumberOfSubSellers + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers) { this.subMerchantNumberOfSubSellers = subMerchantNumberOfSubSellers; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. * @return subMerchantNumberOfSubSellers - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantNumberOfSubSellers() { return subMerchantNumberOfSubSellers; } - - /** - * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. - * - * @param subMerchantNumberOfSubSellers - */ + /** + * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. + * + * @param subMerchantNumberOfSubSellers + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers) { this.subMerchantNumberOfSubSellers = subMerchantNumberOfSubSellers; } - + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param subMerchantSubSellerSubSellerNrCity + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity) { this.subMerchantSubSellerSubSellerNrCity = subMerchantSubSellerSubSellerNrCity; return this; } - /** - * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters * @return subMerchantSubSellerSubSellerNrCity - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrCity() { return subMerchantSubSellerSubSellerNrCity; } - - /** - * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters - * - * @param subMerchantSubSellerSubSellerNrCity - */ + /** + * Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param subMerchantSubSellerSubSellerNrCity + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity) { this.subMerchantSubSellerSubSellerNrCity = subMerchantSubSellerSubSellerNrCity; } - + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param subMerchantSubSellerSubSellerNrCountry + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry) { this.subMerchantSubSellerSubSellerNrCountry = subMerchantSubSellerSubSellerNrCountry; return this; } - /** - * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters * @return subMerchantSubSellerSubSellerNrCountry - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrCountry() { return subMerchantSubSellerSubSellerNrCountry; } - - /** - * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters - * - * @param subMerchantSubSellerSubSellerNrCountry - */ + /** + * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param subMerchantSubSellerSubSellerNrCountry + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry) { this.subMerchantSubSellerSubSellerNrCountry = subMerchantSubSellerSubSellerNrCountry; } - + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param subMerchantSubSellerSubSellerNrId + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId) { this.subMerchantSubSellerSubSellerNrId = subMerchantSubSellerSubSellerNrId; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters * @return subMerchantSubSellerSubSellerNrId - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrId() { return subMerchantSubSellerSubSellerNrId; } - - /** - * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters - * - * @param subMerchantSubSellerSubSellerNrId - */ + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + * + * @param subMerchantSubSellerSubSellerNrId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId) { this.subMerchantSubSellerSubSellerNrId = subMerchantSubSellerSubSellerNrId; } - + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param subMerchantSubSellerSubSellerNrMcc + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc) { this.subMerchantSubSellerSubSellerNrMcc = subMerchantSubSellerSubSellerNrMcc; return this; } - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits * @return subMerchantSubSellerSubSellerNrMcc - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrMcc() { return subMerchantSubSellerSubSellerNrMcc; } - - /** - * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits - * - * @param subMerchantSubSellerSubSellerNrMcc - */ + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param subMerchantSubSellerSubSellerNrMcc + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc) { this.subMerchantSubSellerSubSellerNrMcc = subMerchantSubSellerSubSellerNrMcc; } - + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param subMerchantSubSellerSubSellerNrName + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName) { this.subMerchantSubSellerSubSellerNrName = subMerchantSubSellerSubSellerNrName; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters * @return subMerchantSubSellerSubSellerNrName - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrName() { return subMerchantSubSellerSubSellerNrName; } - - /** - * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters - * - * @param subMerchantSubSellerSubSellerNrName - */ + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param subMerchantSubSellerSubSellerNrName + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName) { this.subMerchantSubSellerSubSellerNrName = subMerchantSubSellerSubSellerNrName; } - + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + * + * @param subMerchantSubSellerSubSellerNrPostalCode + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode) { this.subMerchantSubSellerSubSellerNrPostalCode = subMerchantSubSellerSubSellerNrPostalCode; return this; } - /** - * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits * @return subMerchantSubSellerSubSellerNrPostalCode - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrPostalCode() { return subMerchantSubSellerSubSellerNrPostalCode; } - - /** - * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits - * - * @param subMerchantSubSellerSubSellerNrPostalCode - */ + /** + * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits + * + * @param subMerchantSubSellerSubSellerNrPostalCode + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode) { this.subMerchantSubSellerSubSellerNrPostalCode = subMerchantSubSellerSubSellerNrPostalCode; } - + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + * + * @param subMerchantSubSellerSubSellerNrState + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState) { this.subMerchantSubSellerSubSellerNrState = subMerchantSubSellerSubSellerNrState; return this; } - /** - * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters * @return subMerchantSubSellerSubSellerNrState - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrState() { return subMerchantSubSellerSubSellerNrState; } - - /** - * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters - * - * @param subMerchantSubSellerSubSellerNrState - */ + /** + * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters + * + * @param subMerchantSubSellerSubSellerNrState + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState) { this.subMerchantSubSellerSubSellerNrState = subMerchantSubSellerSubSellerNrState; } - + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + * + * @param subMerchantSubSellerSubSellerNrStreet + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet) { this.subMerchantSubSellerSubSellerNrStreet = subMerchantSubSellerSubSellerNrStreet; return this; } - /** - * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters * @return subMerchantSubSellerSubSellerNrStreet - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrStreet() { return subMerchantSubSellerSubSellerNrStreet; } - - /** - * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters - * - * @param subMerchantSubSellerSubSellerNrStreet - */ + /** + * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters + * + * @param subMerchantSubSellerSubSellerNrStreet + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet) { this.subMerchantSubSellerSubSellerNrStreet = subMerchantSubSellerSubSellerNrStreet; } - + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param subMerchantSubSellerSubSellerNrTaxId + * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining + */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId) { this.subMerchantSubSellerSubSellerNrTaxId = subMerchantSubSellerSubSellerNrTaxId; return this; } - /** + /** * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ * @return subMerchantSubSellerSubSellerNrTaxId - **/ + */ @ApiModelProperty(value = "Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubMerchantSubSellerSubSellerNrTaxId() { return subMerchantSubSellerSubSellerNrTaxId; } - - /** - * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ - * - * @param subMerchantSubSellerSubSellerNrTaxId - */ + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param subMerchantSubSellerSubSellerNrTaxId + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId) { this.subMerchantSubSellerSubSellerNrTaxId = subMerchantSubSellerSubSellerNrTaxId; } - /** * Return true if this AdditionalDataSubMerchant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataTemporaryServices.java b/src/main/java/com/adyen/model/payment/AdditionalDataTemporaryServices.java index 2141fc241..9fcd738cb 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataTemporaryServices.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataTemporaryServices.java @@ -73,276 +73,303 @@ public class AdditionalDataTemporaryServices { public AdditionalDataTemporaryServices() { } + /** + * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 + * + * @param enhancedSchemeDataCustomerReference + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; return this; } - /** + /** * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 * @return enhancedSchemeDataCustomerReference - **/ + */ @ApiModelProperty(value = "The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataCustomerReference() { return enhancedSchemeDataCustomerReference; } - - /** - * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 - * - * @param enhancedSchemeDataCustomerReference - */ + /** + * The customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 + * + * @param enhancedSchemeDataCustomerReference + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_CUSTOMER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataCustomerReference(String enhancedSchemeDataCustomerReference) { this.enhancedSchemeDataCustomerReference = enhancedSchemeDataCustomerReference; } - + /** + * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataEmployeeName + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataEmployeeName(String enhancedSchemeDataEmployeeName) { this.enhancedSchemeDataEmployeeName = enhancedSchemeDataEmployeeName; return this; } - /** + /** * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. * @return enhancedSchemeDataEmployeeName - **/ + */ @ApiModelProperty(value = "The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_EMPLOYEE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataEmployeeName() { return enhancedSchemeDataEmployeeName; } - - /** - * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. - * - * @param enhancedSchemeDataEmployeeName - */ + /** + * The name or ID of the person working in a temporary capacity. * maxLength: 40. * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataEmployeeName + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_EMPLOYEE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataEmployeeName(String enhancedSchemeDataEmployeeName) { this.enhancedSchemeDataEmployeeName = enhancedSchemeDataEmployeeName; } - + /** + * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataJobDescription + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataJobDescription(String enhancedSchemeDataJobDescription) { this.enhancedSchemeDataJobDescription = enhancedSchemeDataJobDescription; return this; } - /** + /** * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. * @return enhancedSchemeDataJobDescription - **/ + */ @ApiModelProperty(value = "The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros.") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_JOB_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataJobDescription() { return enhancedSchemeDataJobDescription; } - - /** - * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. - * - * @param enhancedSchemeDataJobDescription - */ + /** + * The job description of the person working in a temporary capacity. * maxLength: 40 * Must not be all spaces. *Must not be all zeros. + * + * @param enhancedSchemeDataJobDescription + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_JOB_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataJobDescription(String enhancedSchemeDataJobDescription) { this.enhancedSchemeDataJobDescription = enhancedSchemeDataJobDescription; } - + /** + * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursRate + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRegularHoursRate(String enhancedSchemeDataRegularHoursRate) { this.enhancedSchemeDataRegularHoursRate = enhancedSchemeDataRegularHoursRate; return this; } - /** + /** * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros * @return enhancedSchemeDataRegularHoursRate - **/ + */ @ApiModelProperty(value = "The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRegularHoursRate() { return enhancedSchemeDataRegularHoursRate; } - - /** - * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros - * - * @param enhancedSchemeDataRegularHoursRate - */ + /** + * The amount paid for regular hours worked, [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursRate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRegularHoursRate(String enhancedSchemeDataRegularHoursRate) { this.enhancedSchemeDataRegularHoursRate = enhancedSchemeDataRegularHoursRate; } - + /** + * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursWorked + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRegularHoursWorked(String enhancedSchemeDataRegularHoursWorked) { this.enhancedSchemeDataRegularHoursWorked = enhancedSchemeDataRegularHoursWorked; return this; } - /** + /** * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros * @return enhancedSchemeDataRegularHoursWorked - **/ + */ @ApiModelProperty(value = "The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_WORKED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRegularHoursWorked() { return enhancedSchemeDataRegularHoursWorked; } - - /** - * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros - * - * @param enhancedSchemeDataRegularHoursWorked - */ + /** + * The hours worked. * maxLength: 7 * Must not be empty * Can be all zeros + * + * @param enhancedSchemeDataRegularHoursWorked + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REGULAR_HOURS_WORKED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRegularHoursWorked(String enhancedSchemeDataRegularHoursWorked) { this.enhancedSchemeDataRegularHoursWorked = enhancedSchemeDataRegularHoursWorked; } - + /** + * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces + * + * @param enhancedSchemeDataRequestName + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataRequestName(String enhancedSchemeDataRequestName) { this.enhancedSchemeDataRequestName = enhancedSchemeDataRequestName; return this; } - /** + /** * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces * @return enhancedSchemeDataRequestName - **/ + */ @ApiModelProperty(value = "The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REQUEST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataRequestName() { return enhancedSchemeDataRequestName; } - - /** - * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces - * - * @param enhancedSchemeDataRequestName - */ + /** + * The name of the person requesting temporary services. * maxLength: 40 * Must not be all zeros * Must not be all spaces + * + * @param enhancedSchemeDataRequestName + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_REQUEST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataRequestName(String enhancedSchemeDataRequestName) { this.enhancedSchemeDataRequestName = enhancedSchemeDataRequestName; } - + /** + * The billing period start date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempStartDate + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTempStartDate(String enhancedSchemeDataTempStartDate) { this.enhancedSchemeDataTempStartDate = enhancedSchemeDataTempStartDate; return this; } - /** + /** * The billing period start date. * Format: ddMMyy * maxLength: 6 * @return enhancedSchemeDataTempStartDate - **/ + */ @ApiModelProperty(value = "The billing period start date. * Format: ddMMyy * maxLength: 6") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTempStartDate() { return enhancedSchemeDataTempStartDate; } - - /** - * The billing period start date. * Format: ddMMyy * maxLength: 6 - * - * @param enhancedSchemeDataTempStartDate - */ + /** + * The billing period start date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempStartDate + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTempStartDate(String enhancedSchemeDataTempStartDate) { this.enhancedSchemeDataTempStartDate = enhancedSchemeDataTempStartDate; } - + /** + * The billing period end date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempWeekEnding + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTempWeekEnding(String enhancedSchemeDataTempWeekEnding) { this.enhancedSchemeDataTempWeekEnding = enhancedSchemeDataTempWeekEnding; return this; } - /** + /** * The billing period end date. * Format: ddMMyy * maxLength: 6 * @return enhancedSchemeDataTempWeekEnding - **/ + */ @ApiModelProperty(value = "The billing period end date. * Format: ddMMyy * maxLength: 6") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_WEEK_ENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTempWeekEnding() { return enhancedSchemeDataTempWeekEnding; } - - /** - * The billing period end date. * Format: ddMMyy * maxLength: 6 - * - * @param enhancedSchemeDataTempWeekEnding - */ + /** + * The billing period end date. * Format: ddMMyy * maxLength: 6 + * + * @param enhancedSchemeDataTempWeekEnding + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TEMP_WEEK_ENDING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTempWeekEnding(String enhancedSchemeDataTempWeekEnding) { this.enhancedSchemeDataTempWeekEnding = enhancedSchemeDataTempWeekEnding; } - + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 + * + * @param enhancedSchemeDataTotalTaxAmount + * @return the current {@code AdditionalDataTemporaryServices} instance, allowing for method chaining + */ public AdditionalDataTemporaryServices enhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; return this; } - /** + /** * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 * @return enhancedSchemeDataTotalTaxAmount - **/ + */ @ApiModelProperty(value = "The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12") @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnhancedSchemeDataTotalTaxAmount() { return enhancedSchemeDataTotalTaxAmount; } - - /** - * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 - * - * @param enhancedSchemeDataTotalTaxAmount - */ + /** + * The total tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). For example, 2000 means USD 20.00 * maxLength: 12 + * + * @param enhancedSchemeDataTotalTaxAmount + */ @JsonProperty(JSON_PROPERTY_ENHANCED_SCHEME_DATA_TOTAL_TAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnhancedSchemeDataTotalTaxAmount(String enhancedSchemeDataTotalTaxAmount) { this.enhancedSchemeDataTotalTaxAmount = enhancedSchemeDataTotalTaxAmount; } - /** * Return true if this AdditionalDataTemporaryServices object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdditionalDataWallets.java b/src/main/java/com/adyen/model/payment/AdditionalDataWallets.java index 096ea0fe3..8cda0b370 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataWallets.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataWallets.java @@ -61,186 +61,204 @@ public class AdditionalDataWallets { public AdditionalDataWallets() { } + /** + * The Android Pay token retrieved from the SDK. + * + * @param androidpayToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets androidpayToken(String androidpayToken) { this.androidpayToken = androidpayToken; return this; } - /** + /** * The Android Pay token retrieved from the SDK. * @return androidpayToken - **/ + */ @ApiModelProperty(value = "The Android Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_ANDROIDPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAndroidpayToken() { return androidpayToken; } - - /** - * The Android Pay token retrieved from the SDK. - * - * @param androidpayToken - */ + /** + * The Android Pay token retrieved from the SDK. + * + * @param androidpayToken + */ @JsonProperty(JSON_PROPERTY_ANDROIDPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAndroidpayToken(String androidpayToken) { this.androidpayToken = androidpayToken; } - + /** + * The Mastercard Masterpass Transaction ID retrieved from the SDK. + * + * @param masterpassTransactionId + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets masterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; return this; } - /** + /** * The Mastercard Masterpass Transaction ID retrieved from the SDK. * @return masterpassTransactionId - **/ + */ @ApiModelProperty(value = "The Mastercard Masterpass Transaction ID retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMasterpassTransactionId() { return masterpassTransactionId; } - - /** - * The Mastercard Masterpass Transaction ID retrieved from the SDK. - * - * @param masterpassTransactionId - */ + /** + * The Mastercard Masterpass Transaction ID retrieved from the SDK. + * + * @param masterpassTransactionId + */ @JsonProperty(JSON_PROPERTY_MASTERPASS_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMasterpassTransactionId(String masterpassTransactionId) { this.masterpassTransactionId = masterpassTransactionId; } - + /** + * The Apple Pay token retrieved from the SDK. + * + * @param paymentToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets paymentToken(String paymentToken) { this.paymentToken = paymentToken; return this; } - /** + /** * The Apple Pay token retrieved from the SDK. * @return paymentToken - **/ + */ @ApiModelProperty(value = "The Apple Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_PAYMENT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentToken() { return paymentToken; } - - /** - * The Apple Pay token retrieved from the SDK. - * - * @param paymentToken - */ + /** + * The Apple Pay token retrieved from the SDK. + * + * @param paymentToken + */ @JsonProperty(JSON_PROPERTY_PAYMENT_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentToken(String paymentToken) { this.paymentToken = paymentToken; } - + /** + * The Google Pay token retrieved from the SDK. + * + * @param paywithgoogleToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets paywithgoogleToken(String paywithgoogleToken) { this.paywithgoogleToken = paywithgoogleToken; return this; } - /** + /** * The Google Pay token retrieved from the SDK. * @return paywithgoogleToken - **/ + */ @ApiModelProperty(value = "The Google Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_PAYWITHGOOGLE_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaywithgoogleToken() { return paywithgoogleToken; } - - /** - * The Google Pay token retrieved from the SDK. - * - * @param paywithgoogleToken - */ + /** + * The Google Pay token retrieved from the SDK. + * + * @param paywithgoogleToken + */ @JsonProperty(JSON_PROPERTY_PAYWITHGOOGLE_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaywithgoogleToken(String paywithgoogleToken) { this.paywithgoogleToken = paywithgoogleToken; } - + /** + * The Samsung Pay token retrieved from the SDK. + * + * @param samsungpayToken + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets samsungpayToken(String samsungpayToken) { this.samsungpayToken = samsungpayToken; return this; } - /** + /** * The Samsung Pay token retrieved from the SDK. * @return samsungpayToken - **/ + */ @ApiModelProperty(value = "The Samsung Pay token retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_SAMSUNGPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSamsungpayToken() { return samsungpayToken; } - - /** - * The Samsung Pay token retrieved from the SDK. - * - * @param samsungpayToken - */ + /** + * The Samsung Pay token retrieved from the SDK. + * + * @param samsungpayToken + */ @JsonProperty(JSON_PROPERTY_SAMSUNGPAY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSamsungpayToken(String samsungpayToken) { this.samsungpayToken = samsungpayToken; } - + /** + * The Visa Checkout Call ID retrieved from the SDK. + * + * @param visacheckoutCallId + * @return the current {@code AdditionalDataWallets} instance, allowing for method chaining + */ public AdditionalDataWallets visacheckoutCallId(String visacheckoutCallId) { this.visacheckoutCallId = visacheckoutCallId; return this; } - /** + /** * The Visa Checkout Call ID retrieved from the SDK. * @return visacheckoutCallId - **/ + */ @ApiModelProperty(value = "The Visa Checkout Call ID retrieved from the SDK.") @JsonProperty(JSON_PROPERTY_VISACHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisacheckoutCallId() { return visacheckoutCallId; } - - /** - * The Visa Checkout Call ID retrieved from the SDK. - * - * @param visacheckoutCallId - */ + /** + * The Visa Checkout Call ID retrieved from the SDK. + * + * @param visacheckoutCallId + */ @JsonProperty(JSON_PROPERTY_VISACHECKOUT_CALL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisacheckoutCallId(String visacheckoutCallId) { this.visacheckoutCallId = visacheckoutCallId; } - /** * Return true if this AdditionalDataWallets object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Address.java b/src/main/java/com/adyen/model/payment/Address.java index f318e6ca0..daa9c19f9 100644 --- a/src/main/java/com/adyen/model/payment/Address.java +++ b/src/main/java/com/adyen/model/payment/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java b/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java index 22e61b6ad..5a8a2b0d5 100644 --- a/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java +++ b/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java @@ -89,6 +89,12 @@ public class AdjustAuthorisationRequest { public AdjustAuthorisationRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -102,241 +108,265 @@ public AdjustAuthorisationRequest putAdditionalDataItem(String key, String addit return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest splits(List splits) { this.splits = splits; return this; @@ -350,91 +380,94 @@ public AdjustAuthorisationRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code AdjustAuthorisationRequest} instance, allowing for method chaining + */ public AdjustAuthorisationRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this AdjustAuthorisationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Amount.java b/src/main/java/com/adyen/model/payment/Amount.java index 5260e1608..f941aae66 100644 --- a/src/main/java/com/adyen/model/payment/Amount.java +++ b/src/main/java/com/adyen/model/payment/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ApplicationInfo.java b/src/main/java/com/adyen/model/payment/ApplicationInfo.java index 19b120740..2fc98f645 100644 --- a/src/main/java/com/adyen/model/payment/ApplicationInfo.java +++ b/src/main/java/com/adyen/model/payment/ApplicationInfo.java @@ -65,186 +65,204 @@ public class ApplicationInfo { public ApplicationInfo() { } + /** + * adyenLibrary + * + * @param adyenLibrary + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo adyenLibrary(CommonField adyenLibrary) { this.adyenLibrary = adyenLibrary; return this; } - /** - * Get adyenLibrary + /** + * adyenLibrary * @return adyenLibrary - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADYEN_LIBRARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getAdyenLibrary() { return adyenLibrary; } - - /** - * adyenLibrary - * - * @param adyenLibrary - */ + /** + * adyenLibrary + * + * @param adyenLibrary + */ @JsonProperty(JSON_PROPERTY_ADYEN_LIBRARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenLibrary(CommonField adyenLibrary) { this.adyenLibrary = adyenLibrary; } - + /** + * adyenPaymentSource + * + * @param adyenPaymentSource + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo adyenPaymentSource(CommonField adyenPaymentSource) { this.adyenPaymentSource = adyenPaymentSource; return this; } - /** - * Get adyenPaymentSource + /** + * adyenPaymentSource * @return adyenPaymentSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADYEN_PAYMENT_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getAdyenPaymentSource() { return adyenPaymentSource; } - - /** - * adyenPaymentSource - * - * @param adyenPaymentSource - */ + /** + * adyenPaymentSource + * + * @param adyenPaymentSource + */ @JsonProperty(JSON_PROPERTY_ADYEN_PAYMENT_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdyenPaymentSource(CommonField adyenPaymentSource) { this.adyenPaymentSource = adyenPaymentSource; } - + /** + * externalPlatform + * + * @param externalPlatform + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo externalPlatform(ExternalPlatform externalPlatform) { this.externalPlatform = externalPlatform; return this; } - /** - * Get externalPlatform + /** + * externalPlatform * @return externalPlatform - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXTERNAL_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExternalPlatform getExternalPlatform() { return externalPlatform; } - - /** - * externalPlatform - * - * @param externalPlatform - */ + /** + * externalPlatform + * + * @param externalPlatform + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalPlatform(ExternalPlatform externalPlatform) { this.externalPlatform = externalPlatform; } - + /** + * merchantApplication + * + * @param merchantApplication + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo merchantApplication(CommonField merchantApplication) { this.merchantApplication = merchantApplication; return this; } - /** - * Get merchantApplication + /** + * merchantApplication * @return merchantApplication - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_APPLICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CommonField getMerchantApplication() { return merchantApplication; } - - /** - * merchantApplication - * - * @param merchantApplication - */ + /** + * merchantApplication + * + * @param merchantApplication + */ @JsonProperty(JSON_PROPERTY_MERCHANT_APPLICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantApplication(CommonField merchantApplication) { this.merchantApplication = merchantApplication; } - + /** + * merchantDevice + * + * @param merchantDevice + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo merchantDevice(MerchantDevice merchantDevice) { this.merchantDevice = merchantDevice; return this; } - /** - * Get merchantDevice + /** + * merchantDevice * @return merchantDevice - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantDevice getMerchantDevice() { return merchantDevice; } - - /** - * merchantDevice - * - * @param merchantDevice - */ + /** + * merchantDevice + * + * @param merchantDevice + */ @JsonProperty(JSON_PROPERTY_MERCHANT_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantDevice(MerchantDevice merchantDevice) { this.merchantDevice = merchantDevice; } - + /** + * shopperInteractionDevice + * + * @param shopperInteractionDevice + * @return the current {@code ApplicationInfo} instance, allowing for method chaining + */ public ApplicationInfo shopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice) { this.shopperInteractionDevice = shopperInteractionDevice; return this; } - /** - * Get shopperInteractionDevice + /** + * shopperInteractionDevice * @return shopperInteractionDevice - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionDevice getShopperInteractionDevice() { return shopperInteractionDevice; } - - /** - * shopperInteractionDevice - * - * @param shopperInteractionDevice - */ + /** + * shopperInteractionDevice + * + * @param shopperInteractionDevice + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice) { this.shopperInteractionDevice = shopperInteractionDevice; } - /** * Return true if this ApplicationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AuthenticationResultRequest.java b/src/main/java/com/adyen/model/payment/AuthenticationResultRequest.java index 7e2385e29..13109eae8 100644 --- a/src/main/java/com/adyen/model/payment/AuthenticationResultRequest.java +++ b/src/main/java/com/adyen/model/payment/AuthenticationResultRequest.java @@ -45,66 +45,72 @@ public class AuthenticationResultRequest { public AuthenticationResultRequest() { } + /** + * The merchant account identifier, with which the authentication was processed. + * + * @param merchantAccount + * @return the current {@code AuthenticationResultRequest} instance, allowing for method chaining + */ public AuthenticationResultRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which the authentication was processed. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which the authentication was processed.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which the authentication was processed. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which the authentication was processed. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The pspReference identifier for the transaction. + * + * @param pspReference + * @return the current {@code AuthenticationResultRequest} instance, allowing for method chaining + */ public AuthenticationResultRequest pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The pspReference identifier for the transaction. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "The pspReference identifier for the transaction.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The pspReference identifier for the transaction. - * - * @param pspReference - */ + /** + * The pspReference identifier for the transaction. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this AuthenticationResultRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/AuthenticationResultResponse.java b/src/main/java/com/adyen/model/payment/AuthenticationResultResponse.java index 84ec13a52..fd5c967fb 100644 --- a/src/main/java/com/adyen/model/payment/AuthenticationResultResponse.java +++ b/src/main/java/com/adyen/model/payment/AuthenticationResultResponse.java @@ -47,66 +47,72 @@ public class AuthenticationResultResponse { public AuthenticationResultResponse() { } + /** + * threeDS1Result + * + * @param threeDS1Result + * @return the current {@code AuthenticationResultResponse} instance, allowing for method chaining + */ public AuthenticationResultResponse threeDS1Result(ThreeDS1Result threeDS1Result) { this.threeDS1Result = threeDS1Result; return this; } - /** - * Get threeDS1Result + /** + * threeDS1Result * @return threeDS1Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S1_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS1Result getThreeDS1Result() { return threeDS1Result; } - - /** - * threeDS1Result - * - * @param threeDS1Result - */ + /** + * threeDS1Result + * + * @param threeDS1Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S1_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS1Result(ThreeDS1Result threeDS1Result) { this.threeDS1Result = threeDS1Result; } - + /** + * threeDS2Result + * + * @param threeDS2Result + * @return the current {@code AuthenticationResultResponse} instance, allowing for method chaining + */ public AuthenticationResultResponse threeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; return this; } - /** - * Get threeDS2Result + /** + * threeDS2Result * @return threeDS2Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2Result getThreeDS2Result() { return threeDS2Result; } - - /** - * threeDS2Result - * - * @param threeDS2Result - */ + /** + * threeDS2Result + * + * @param threeDS2Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; } - /** * Return true if this AuthenticationResultResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/BankAccount.java b/src/main/java/com/adyen/model/payment/BankAccount.java index e8e5b4ec7..f120ee6bf 100644 --- a/src/main/java/com/adyen/model/payment/BankAccount.java +++ b/src/main/java/com/adyen/model/payment/BankAccount.java @@ -73,276 +73,303 @@ public class BankAccount { public BankAccount() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank city. + * + * @param bankCity + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankCity(String bankCity) { this.bankCity = bankCity; return this; } - /** + /** * The bank city. * @return bankCity - **/ + */ @ApiModelProperty(value = "The bank city.") @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCity() { return bankCity; } - - /** - * The bank city. - * - * @param bankCity - */ + /** + * The bank city. + * + * @param bankCity + */ @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCity(String bankCity) { this.bankCity = bankCity; } - + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The location id of the bank. The field value is `nil` in most cases. + /** + * The location id of the bank. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The location id of the bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The location id of the bank. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The name of the bank. + * + * @param bankName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankName(String bankName) { this.bankName = bankName; return this; } - /** + /** * The name of the bank. * @return bankName - **/ + */ @ApiModelProperty(value = "The name of the bank.") @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankName() { return bankName; } - - /** - * The name of the bank. - * - * @param bankName - */ + /** + * The name of the bank. + * + * @param bankName + */ @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankName(String bankName) { this.bankName = bankName; } - + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bic(String bic) { this.bic = bic; return this; } - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. * @return bic - **/ + */ @ApiModelProperty(value = "The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. - * - * @param bic - */ + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). * @return countryCode - **/ + */ @ApiModelProperty(value = "Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). - * - * @param countryCode - */ + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount iban(String iban) { this.iban = iban; return this; } - /** + /** * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). * @return iban - **/ + */ @ApiModelProperty(value = "The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). - * - * @param iban - */ + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The bank account holder's tax ID. + * + * @param taxId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount taxId(String taxId) { this.taxId = taxId; return this; } - /** - * The bank account holder's tax ID. + /** + * The bank account holder's tax ID. * @return taxId - **/ + */ @ApiModelProperty(value = "The bank account holder's tax ID.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The bank account holder's tax ID. - * - * @param taxId - */ + /** + * The bank account holder's tax ID. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this BankAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/BrowserInfo.java b/src/main/java/com/adyen/model/payment/BrowserInfo.java index 04d8c91d3..d9d781ecc 100644 --- a/src/main/java/com/adyen/model/payment/BrowserInfo.java +++ b/src/main/java/com/adyen/model/payment/BrowserInfo.java @@ -73,276 +73,303 @@ public class BrowserInfo { public BrowserInfo() { } + /** + * The accept header value of the shopper's browser. + * + * @param acceptHeader + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo acceptHeader(String acceptHeader) { this.acceptHeader = acceptHeader; return this; } - /** - * The accept header value of the shopper's browser. + /** + * The accept header value of the shopper's browser. * @return acceptHeader - **/ + */ @ApiModelProperty(required = true, value = "The accept header value of the shopper's browser.") @JsonProperty(JSON_PROPERTY_ACCEPT_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcceptHeader() { return acceptHeader; } - - /** - * The accept header value of the shopper's browser. - * - * @param acceptHeader - */ + /** + * The accept header value of the shopper's browser. + * + * @param acceptHeader + */ @JsonProperty(JSON_PROPERTY_ACCEPT_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcceptHeader(String acceptHeader) { this.acceptHeader = acceptHeader; } - + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + * + * @param colorDepth + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo colorDepth(Integer colorDepth) { this.colorDepth = colorDepth; return this; } - /** - * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. * @return colorDepth - **/ + */ @ApiModelProperty(required = true, value = "The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.") @JsonProperty(JSON_PROPERTY_COLOR_DEPTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getColorDepth() { return colorDepth; } - - /** - * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. - * - * @param colorDepth - */ + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. + * + * @param colorDepth + */ @JsonProperty(JSON_PROPERTY_COLOR_DEPTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setColorDepth(Integer colorDepth) { this.colorDepth = colorDepth; } - + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + * + * @param javaEnabled + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo javaEnabled(Boolean javaEnabled) { this.javaEnabled = javaEnabled; return this; } - /** - * Boolean value indicating if the shopper's browser is able to execute Java. + /** + * Boolean value indicating if the shopper's browser is able to execute Java. * @return javaEnabled - **/ + */ @ApiModelProperty(required = true, value = "Boolean value indicating if the shopper's browser is able to execute Java.") @JsonProperty(JSON_PROPERTY_JAVA_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getJavaEnabled() { return javaEnabled; } - - /** - * Boolean value indicating if the shopper's browser is able to execute Java. - * - * @param javaEnabled - */ + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + * + * @param javaEnabled + */ @JsonProperty(JSON_PROPERTY_JAVA_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJavaEnabled(Boolean javaEnabled) { this.javaEnabled = javaEnabled; } - + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + * + * @param javaScriptEnabled + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo javaScriptEnabled(Boolean javaScriptEnabled) { this.javaScriptEnabled = javaScriptEnabled; return this; } - /** - * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. * @return javaScriptEnabled - **/ + */ @ApiModelProperty(value = "Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.") @JsonProperty(JSON_PROPERTY_JAVA_SCRIPT_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getJavaScriptEnabled() { return javaScriptEnabled; } - - /** - * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. - * - * @param javaScriptEnabled - */ + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + * + * @param javaScriptEnabled + */ @JsonProperty(JSON_PROPERTY_JAVA_SCRIPT_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setJavaScriptEnabled(Boolean javaScriptEnabled) { this.javaScriptEnabled = javaScriptEnabled; } - + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + * + * @param language + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo language(String language) { this.language = language; return this; } - /** - * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). * @return language - **/ + */ @ApiModelProperty(required = true, value = "The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47).") @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLanguage() { return language; } - - /** - * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). - * - * @param language - */ + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + * + * @param language + */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLanguage(String language) { this.language = language; } - + /** + * The total height of the shopper's device screen in pixels. + * + * @param screenHeight + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo screenHeight(Integer screenHeight) { this.screenHeight = screenHeight; return this; } - /** - * The total height of the shopper's device screen in pixels. + /** + * The total height of the shopper's device screen in pixels. * @return screenHeight - **/ + */ @ApiModelProperty(required = true, value = "The total height of the shopper's device screen in pixels.") @JsonProperty(JSON_PROPERTY_SCREEN_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScreenHeight() { return screenHeight; } - - /** - * The total height of the shopper's device screen in pixels. - * - * @param screenHeight - */ + /** + * The total height of the shopper's device screen in pixels. + * + * @param screenHeight + */ @JsonProperty(JSON_PROPERTY_SCREEN_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScreenHeight(Integer screenHeight) { this.screenHeight = screenHeight; } - + /** + * The total width of the shopper's device screen in pixels. + * + * @param screenWidth + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo screenWidth(Integer screenWidth) { this.screenWidth = screenWidth; return this; } - /** - * The total width of the shopper's device screen in pixels. + /** + * The total width of the shopper's device screen in pixels. * @return screenWidth - **/ + */ @ApiModelProperty(required = true, value = "The total width of the shopper's device screen in pixels.") @JsonProperty(JSON_PROPERTY_SCREEN_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScreenWidth() { return screenWidth; } - - /** - * The total width of the shopper's device screen in pixels. - * - * @param screenWidth - */ + /** + * The total width of the shopper's device screen in pixels. + * + * @param screenWidth + */ @JsonProperty(JSON_PROPERTY_SCREEN_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScreenWidth(Integer screenWidth) { this.screenWidth = screenWidth; } - + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + * + * @param timeZoneOffset + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo timeZoneOffset(Integer timeZoneOffset) { this.timeZoneOffset = timeZoneOffset; return this; } - /** - * Time difference between UTC time and the shopper's browser local time, in minutes. + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. * @return timeZoneOffset - **/ + */ @ApiModelProperty(required = true, value = "Time difference between UTC time and the shopper's browser local time, in minutes.") @JsonProperty(JSON_PROPERTY_TIME_ZONE_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getTimeZoneOffset() { return timeZoneOffset; } - - /** - * Time difference between UTC time and the shopper's browser local time, in minutes. - * - * @param timeZoneOffset - */ + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + * + * @param timeZoneOffset + */ @JsonProperty(JSON_PROPERTY_TIME_ZONE_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimeZoneOffset(Integer timeZoneOffset) { this.timeZoneOffset = timeZoneOffset; } - + /** + * The user agent value of the shopper's browser. + * + * @param userAgent + * @return the current {@code BrowserInfo} instance, allowing for method chaining + */ public BrowserInfo userAgent(String userAgent) { this.userAgent = userAgent; return this; } - /** - * The user agent value of the shopper's browser. + /** + * The user agent value of the shopper's browser. * @return userAgent - **/ + */ @ApiModelProperty(required = true, value = "The user agent value of the shopper's browser.") @JsonProperty(JSON_PROPERTY_USER_AGENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUserAgent() { return userAgent; } - - /** - * The user agent value of the shopper's browser. - * - * @param userAgent - */ + /** + * The user agent value of the shopper's browser. + * + * @param userAgent + */ @JsonProperty(JSON_PROPERTY_USER_AGENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUserAgent(String userAgent) { this.userAgent = userAgent; } - /** * Return true if this BrowserInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/CancelOrRefundRequest.java b/src/main/java/com/adyen/model/payment/CancelOrRefundRequest.java index 052457cdb..220a20b5c 100644 --- a/src/main/java/com/adyen/model/payment/CancelOrRefundRequest.java +++ b/src/main/java/com/adyen/model/payment/CancelOrRefundRequest.java @@ -78,6 +78,12 @@ public class CancelOrRefundRequest { public CancelOrRefundRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -91,271 +97,292 @@ public CancelOrRefundRequest putAdditionalDataItem(String key, String additional return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code CancelOrRefundRequest} instance, allowing for method chaining + */ public CancelOrRefundRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this CancelOrRefundRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/CancelRequest.java b/src/main/java/com/adyen/model/payment/CancelRequest.java index c386fafa7..45d2942eb 100644 --- a/src/main/java/com/adyen/model/payment/CancelRequest.java +++ b/src/main/java/com/adyen/model/payment/CancelRequest.java @@ -84,6 +84,12 @@ public class CancelRequest { public CancelRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -97,211 +103,232 @@ public CancelRequest putAdditionalDataItem(String key, String additionalDataItem return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest splits(List splits) { this.splits = splits; return this; @@ -315,91 +342,94 @@ public CancelRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code CancelRequest} instance, allowing for method chaining + */ public CancelRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this CancelRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/CaptureRequest.java b/src/main/java/com/adyen/model/payment/CaptureRequest.java index c61334ce5..09fea7f57 100644 --- a/src/main/java/com/adyen/model/payment/CaptureRequest.java +++ b/src/main/java/com/adyen/model/payment/CaptureRequest.java @@ -89,6 +89,12 @@ public class CaptureRequest { public CaptureRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -102,241 +108,265 @@ public CaptureRequest putAdditionalDataItem(String key, String additionalDataIte return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest splits(List splits) { this.splits = splits; return this; @@ -350,91 +380,94 @@ public CaptureRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code CaptureRequest} instance, allowing for method chaining + */ public CaptureRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this CaptureRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Card.java b/src/main/java/com/adyen/model/payment/Card.java index 4976795e7..3f6dfdb26 100644 --- a/src/main/java/com/adyen/model/payment/Card.java +++ b/src/main/java/com/adyen/model/payment/Card.java @@ -69,246 +69,270 @@ public class Card { public Card() { } + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Format: 4 digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Format: 4 digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Format: 4 digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the cardholder, as printed on the card. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the cardholder, as printed on the card.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the cardholder, as printed on the card. - * - * @param holderName - */ + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + * @return the current {@code Card} instance, allowing for method chaining + */ public Card issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card (for some UK debit cards only). * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card (for some UK debit cards only). - * - * @param issueNumber - */ + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** + /** * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. * @return number - **/ + */ @ApiModelProperty(value = "The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. - * - * @param number - */ + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** + /** * The month component of the start date (for some UK debit cards only). * @return startMonth - **/ + */ @ApiModelProperty(value = "The month component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month component of the start date (for some UK debit cards only). - * - * @param startMonth - */ + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year component of the start date (for some UK debit cards only). * @return startYear - **/ + */ @ApiModelProperty(value = "The year component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year component of the start date (for some UK debit cards only). - * - * @param startYear - */ + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/CommonField.java b/src/main/java/com/adyen/model/payment/CommonField.java index de1e0cac6..3319f5bb8 100644 --- a/src/main/java/com/adyen/model/payment/CommonField.java +++ b/src/main/java/com/adyen/model/payment/CommonField.java @@ -45,66 +45,72 @@ public class CommonField { public CommonField() { } + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + * @return the current {@code CommonField} instance, allowing for method chaining + */ public CommonField name(String name) { this.name = name; return this; } - /** + /** * Name of the field. For example, Name of External Platform. * @return name - **/ + */ @ApiModelProperty(value = "Name of the field. For example, Name of External Platform.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Name of the field. For example, Name of External Platform. - * - * @param name - */ + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + * @return the current {@code CommonField} instance, allowing for method chaining + */ public CommonField version(String version) { this.version = version; return this; } - /** + /** * Version of the field. For example, Version of External Platform. * @return version - **/ + */ @ApiModelProperty(value = "Version of the field. For example, Version of External Platform.") @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVersion() { return version; } - - /** - * Version of the field. For example, Version of External Platform. - * - * @param version - */ + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + */ @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersion(String version) { this.version = version; } - /** * Return true if this CommonField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java b/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java index fb0ce2017..f409fcfb6 100644 --- a/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java +++ b/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java @@ -125,36 +125,45 @@ public static SdkUiTypeEnum fromValue(String value) { public DeviceRenderOptions() { } + /** + * Supported SDK interface types. Allowed values: * native * html * both + * + * @param sdkInterface + * @return the current {@code DeviceRenderOptions} instance, allowing for method chaining + */ public DeviceRenderOptions sdkInterface(SdkInterfaceEnum sdkInterface) { this.sdkInterface = sdkInterface; return this; } - /** + /** * Supported SDK interface types. Allowed values: * native * html * both * @return sdkInterface - **/ + */ @ApiModelProperty(value = "Supported SDK interface types. Allowed values: * native * html * both") @JsonProperty(JSON_PROPERTY_SDK_INTERFACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SdkInterfaceEnum getSdkInterface() { return sdkInterface; } - - /** - * Supported SDK interface types. Allowed values: * native * html * both - * - * @param sdkInterface - */ + /** + * Supported SDK interface types. Allowed values: * native * html * both + * + * @param sdkInterface + */ @JsonProperty(JSON_PROPERTY_SDK_INTERFACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkInterface(SdkInterfaceEnum sdkInterface) { this.sdkInterface = sdkInterface; } - + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + * + * @param sdkUiType + * @return the current {@code DeviceRenderOptions} instance, allowing for method chaining + */ public DeviceRenderOptions sdkUiType(List sdkUiType) { this.sdkUiType = sdkUiType; return this; @@ -168,31 +177,28 @@ public DeviceRenderOptions addSdkUiTypeItem(SdkUiTypeEnum sdkUiTypeItem) { return this; } - /** + /** * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect * @return sdkUiType - **/ + */ @ApiModelProperty(value = "UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect") @JsonProperty(JSON_PROPERTY_SDK_UI_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSdkUiType() { return sdkUiType; } - - /** - * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect - * - * @param sdkUiType - */ + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + * + * @param sdkUiType + */ @JsonProperty(JSON_PROPERTY_SDK_UI_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkUiType(List sdkUiType) { this.sdkUiType = sdkUiType; } - /** * Return true if this DeviceRenderOptions object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/DonationRequest.java b/src/main/java/com/adyen/model/payment/DonationRequest.java index 8ea3233cf..d0bffec23 100644 --- a/src/main/java/com/adyen/model/payment/DonationRequest.java +++ b/src/main/java/com/adyen/model/payment/DonationRequest.java @@ -63,186 +63,204 @@ public class DonationRequest { public DonationRequest() { } + /** + * The Adyen account name of the charity. + * + * @param donationAccount + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest donationAccount(String donationAccount) { this.donationAccount = donationAccount; return this; } - /** + /** * The Adyen account name of the charity. * @return donationAccount - **/ + */ @ApiModelProperty(required = true, value = "The Adyen account name of the charity.") @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDonationAccount() { return donationAccount; } - - /** - * The Adyen account name of the charity. - * - * @param donationAccount - */ + /** + * The Adyen account name of the charity. + * + * @param donationAccount + */ @JsonProperty(JSON_PROPERTY_DONATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDonationAccount(String donationAccount) { this.donationAccount = donationAccount; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code DonationRequest} instance, allowing for method chaining + */ public DonationRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this DonationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ExternalPlatform.java b/src/main/java/com/adyen/model/payment/ExternalPlatform.java index e10e41f08..d6c8d3d96 100644 --- a/src/main/java/com/adyen/model/payment/ExternalPlatform.java +++ b/src/main/java/com/adyen/model/payment/ExternalPlatform.java @@ -49,96 +49,105 @@ public class ExternalPlatform { public ExternalPlatform() { } + /** + * External platform integrator. + * + * @param integrator + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform integrator(String integrator) { this.integrator = integrator; return this; } - /** + /** * External platform integrator. * @return integrator - **/ + */ @ApiModelProperty(value = "External platform integrator.") @JsonProperty(JSON_PROPERTY_INTEGRATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIntegrator() { return integrator; } - - /** - * External platform integrator. - * - * @param integrator - */ + /** + * External platform integrator. + * + * @param integrator + */ @JsonProperty(JSON_PROPERTY_INTEGRATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIntegrator(String integrator) { this.integrator = integrator; } - + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform name(String name) { this.name = name; return this; } - /** + /** * Name of the field. For example, Name of External Platform. * @return name - **/ + */ @ApiModelProperty(value = "Name of the field. For example, Name of External Platform.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * Name of the field. For example, Name of External Platform. - * - * @param name - */ + /** + * Name of the field. For example, Name of External Platform. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + * @return the current {@code ExternalPlatform} instance, allowing for method chaining + */ public ExternalPlatform version(String version) { this.version = version; return this; } - /** + /** * Version of the field. For example, Version of External Platform. * @return version - **/ + */ @ApiModelProperty(value = "Version of the field. For example, Version of External Platform.") @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVersion() { return version; } - - /** - * Version of the field. For example, Version of External Platform. - * - * @param version - */ + /** + * Version of the field. For example, Version of External Platform. + * + * @param version + */ @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVersion(String version) { this.version = version; } - /** * Return true if this ExternalPlatform object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ForexQuote.java b/src/main/java/com/adyen/model/payment/ForexQuote.java index ae031f276..489a4098f 100644 --- a/src/main/java/com/adyen/model/payment/ForexQuote.java +++ b/src/main/java/com/adyen/model/payment/ForexQuote.java @@ -87,366 +87,402 @@ public class ForexQuote { public ForexQuote() { } + /** + * The account name. + * + * @param account + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote account(String account) { this.account = account; return this; } - /** + /** * The account name. * @return account - **/ + */ @ApiModelProperty(value = "The account name.") @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccount() { return account; } - - /** - * The account name. - * - * @param account - */ + /** + * The account name. + * + * @param account + */ @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccount(String account) { this.account = account; } - + /** + * The account type. + * + * @param accountType + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote accountType(String accountType) { this.accountType = accountType; return this; } - /** + /** * The account type. * @return accountType - **/ + */ @ApiModelProperty(value = "The account type.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountType() { return accountType; } - - /** - * The account type. - * - * @param accountType - */ + /** + * The account type. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(String accountType) { this.accountType = accountType; } - + /** + * baseAmount + * + * @param baseAmount + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote baseAmount(Amount baseAmount) { this.baseAmount = baseAmount; return this; } - /** - * Get baseAmount + /** + * baseAmount * @return baseAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getBaseAmount() { return baseAmount; } - - /** - * baseAmount - * - * @param baseAmount - */ + /** + * baseAmount + * + * @param baseAmount + */ @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBaseAmount(Amount baseAmount) { this.baseAmount = baseAmount; } - + /** + * The base points. + * + * @param basePoints + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote basePoints(Integer basePoints) { this.basePoints = basePoints; return this; } - /** + /** * The base points. * @return basePoints - **/ + */ @ApiModelProperty(required = true, value = "The base points.") @JsonProperty(JSON_PROPERTY_BASE_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasePoints() { return basePoints; } - - /** - * The base points. - * - * @param basePoints - */ + /** + * The base points. + * + * @param basePoints + */ @JsonProperty(JSON_PROPERTY_BASE_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasePoints(Integer basePoints) { this.basePoints = basePoints; } - + /** + * buy + * + * @param buy + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote buy(Amount buy) { this.buy = buy; return this; } - /** - * Get buy + /** + * buy * @return buy - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BUY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getBuy() { return buy; } - - /** - * buy - * - * @param buy - */ + /** + * buy + * + * @param buy + */ @JsonProperty(JSON_PROPERTY_BUY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBuy(Amount buy) { this.buy = buy; } - + /** + * interbank + * + * @param interbank + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote interbank(Amount interbank) { this.interbank = interbank; return this; } - /** - * Get interbank + /** + * interbank * @return interbank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INTERBANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getInterbank() { return interbank; } - - /** - * interbank - * - * @param interbank - */ + /** + * interbank + * + * @param interbank + */ @JsonProperty(JSON_PROPERTY_INTERBANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInterbank(Amount interbank) { this.interbank = interbank; } - + /** + * The reference assigned to the forex quote request. + * + * @param reference + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference assigned to the forex quote request. * @return reference - **/ + */ @ApiModelProperty(value = "The reference assigned to the forex quote request.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference assigned to the forex quote request. - * - * @param reference - */ + /** + * The reference assigned to the forex quote request. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * sell + * + * @param sell + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote sell(Amount sell) { this.sell = sell; return this; } - /** - * Get sell + /** + * sell * @return sell - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SELL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSell() { return sell; } - - /** - * sell - * - * @param sell - */ + /** + * sell + * + * @param sell + */ @JsonProperty(JSON_PROPERTY_SELL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSell(Amount sell) { this.sell = sell; } - + /** + * The signature to validate the integrity. + * + * @param signature + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote signature(String signature) { this.signature = signature; return this; } - /** + /** * The signature to validate the integrity. * @return signature - **/ + */ @ApiModelProperty(value = "The signature to validate the integrity.") @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSignature() { return signature; } - - /** - * The signature to validate the integrity. - * - * @param signature - */ + /** + * The signature to validate the integrity. + * + * @param signature + */ @JsonProperty(JSON_PROPERTY_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSignature(String signature) { this.signature = signature; } - + /** + * The source of the forex quote. + * + * @param source + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote source(String source) { this.source = source; return this; } - /** + /** * The source of the forex quote. * @return source - **/ + */ @ApiModelProperty(value = "The source of the forex quote.") @JsonProperty(JSON_PROPERTY_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSource() { return source; } - - /** - * The source of the forex quote. - * - * @param source - */ + /** + * The source of the forex quote. + * + * @param source + */ @JsonProperty(JSON_PROPERTY_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSource(String source) { this.source = source; } - + /** + * The type of forex. + * + * @param type + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote type(String type) { this.type = type; return this; } - /** + /** * The type of forex. * @return type - **/ + */ @ApiModelProperty(value = "The type of forex.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of forex. - * - * @param type - */ + /** + * The type of forex. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - + /** + * The date until which the forex quote is valid. + * + * @param validTill + * @return the current {@code ForexQuote} instance, allowing for method chaining + */ public ForexQuote validTill(OffsetDateTime validTill) { this.validTill = validTill; return this; } - /** + /** * The date until which the forex quote is valid. * @return validTill - **/ + */ @ApiModelProperty(required = true, value = "The date until which the forex quote is valid.") @JsonProperty(JSON_PROPERTY_VALID_TILL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValidTill() { return validTill; } - - /** - * The date until which the forex quote is valid. - * - * @param validTill - */ + /** + * The date until which the forex quote is valid. + * + * @param validTill + */ @JsonProperty(JSON_PROPERTY_VALID_TILL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidTill(OffsetDateTime validTill) { this.validTill = validTill; } - /** * Return true if this ForexQuote object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/FraudCheckResult.java b/src/main/java/com/adyen/model/payment/FraudCheckResult.java index 117f5776e..219fab8a5 100644 --- a/src/main/java/com/adyen/model/payment/FraudCheckResult.java +++ b/src/main/java/com/adyen/model/payment/FraudCheckResult.java @@ -49,96 +49,105 @@ public class FraudCheckResult { public FraudCheckResult() { } + /** + * The fraud score generated by the risk check. + * + * @param accountScore + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The fraud score generated by the risk check. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The fraud score generated by the risk check.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The fraud score generated by the risk check. - * - * @param accountScore - */ + /** + * The fraud score generated by the risk check. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The ID of the risk check. + * + * @param checkId + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult checkId(Integer checkId) { this.checkId = checkId; return this; } - /** + /** * The ID of the risk check. * @return checkId - **/ + */ @ApiModelProperty(required = true, value = "The ID of the risk check.") @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCheckId() { return checkId; } - - /** - * The ID of the risk check. - * - * @param checkId - */ + /** + * The ID of the risk check. + * + * @param checkId + */ @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckId(Integer checkId) { this.checkId = checkId; } - + /** + * The name of the risk check. + * + * @param name + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult name(String name) { this.name = name; return this; } - /** + /** * The name of the risk check. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The name of the risk check.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the risk check. - * - * @param name - */ + /** + * The name of the risk check. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this FraudCheckResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/FraudCheckResultWrapper.java b/src/main/java/com/adyen/model/payment/FraudCheckResultWrapper.java index ea0aa7992..151f15a0a 100644 --- a/src/main/java/com/adyen/model/payment/FraudCheckResultWrapper.java +++ b/src/main/java/com/adyen/model/payment/FraudCheckResultWrapper.java @@ -42,36 +42,39 @@ public class FraudCheckResultWrapper { public FraudCheckResultWrapper() { } + /** + * fraudCheckResult + * + * @param fraudCheckResult + * @return the current {@code FraudCheckResultWrapper} instance, allowing for method chaining + */ public FraudCheckResultWrapper fraudCheckResult(FraudCheckResult fraudCheckResult) { this.fraudCheckResult = fraudCheckResult; return this; } - /** - * Get fraudCheckResult + /** + * fraudCheckResult * @return fraudCheckResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudCheckResult getFraudCheckResult() { return fraudCheckResult; } - - /** - * fraudCheckResult - * - * @param fraudCheckResult - */ + /** + * fraudCheckResult + * + * @param fraudCheckResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudCheckResult(FraudCheckResult fraudCheckResult) { this.fraudCheckResult = fraudCheckResult; } - /** * Return true if this FraudCheckResultWrapper object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/FraudResult.java b/src/main/java/com/adyen/model/payment/FraudResult.java index 218e7a71b..459cf05df 100644 --- a/src/main/java/com/adyen/model/payment/FraudResult.java +++ b/src/main/java/com/adyen/model/payment/FraudResult.java @@ -48,36 +48,45 @@ public class FraudResult { public FraudResult() { } + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The total fraud score generated by the risk checks. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The total fraud score generated by the risk checks.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The total fraud score generated by the risk checks. - * - * @param accountScore - */ + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The result of the individual risk checks. + * + * @param results + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult results(List results) { this.results = results; return this; @@ -91,31 +100,28 @@ public FraudResult addResultsItem(FraudCheckResultWrapper resultsItem) { return this; } - /** + /** * The result of the individual risk checks. * @return results - **/ + */ @ApiModelProperty(value = "The result of the individual risk checks.") @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getResults() { return results; } - - /** - * The result of the individual risk checks. - * - * @param results - */ + /** + * The result of the individual risk checks. + * + * @param results + */ @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResults(List results) { this.results = results; } - /** * Return true if this FraudResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/FundDestination.java b/src/main/java/com/adyen/model/payment/FundDestination.java index ba7293500..60cdce47e 100644 --- a/src/main/java/com/adyen/model/payment/FundDestination.java +++ b/src/main/java/com/adyen/model/payment/FundDestination.java @@ -88,36 +88,45 @@ public class FundDestination { public FundDestination() { } + /** + * Bank Account Number of the recipient + * + * @param IBAN + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination IBAN(String IBAN) { this.IBAN = IBAN; return this; } - /** + /** * Bank Account Number of the recipient * @return IBAN - **/ + */ @ApiModelProperty(value = "Bank Account Number of the recipient") @JsonProperty(JSON_PROPERTY_I_B_A_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIBAN() { return IBAN; } - - /** - * Bank Account Number of the recipient - * - * @param IBAN - */ + /** + * Bank Account Number of the recipient + * + * @param IBAN + */ @JsonProperty(JSON_PROPERTY_I_B_A_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIBAN(String IBAN) { this.IBAN = IBAN; } - + /** + * a map of name/value pairs for passing in additional/industry-specific data + * + * @param additionalData + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -131,301 +140,325 @@ public FundDestination putAdditionalDataItem(String key, String additionalDataIt return this; } - /** + /** * a map of name/value pairs for passing in additional/industry-specific data * @return additionalData - **/ + */ @ApiModelProperty(value = "a map of name/value pairs for passing in additional/industry-specific data") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * a map of name/value pairs for passing in additional/industry-specific data - * - * @param additionalData - */ + /** + * a map of name/value pairs for passing in additional/industry-specific data + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * the email address of the person + * + * @param shopperEmail + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * the email address of the person * @return shopperEmail - **/ + */ @ApiModelProperty(value = "the email address of the person") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * the email address of the person - * - * @param shopperEmail - */ + /** + * the email address of the person + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * subMerchant + * + * @param subMerchant + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination subMerchant(SubMerchant subMerchant) { this.subMerchant = subMerchant; return this; } - /** - * Get subMerchant + /** + * subMerchant * @return subMerchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SUB_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SubMerchant getSubMerchant() { return subMerchant; } - - /** - * subMerchant - * - * @param subMerchant - */ + /** + * subMerchant + * + * @param subMerchant + */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubMerchant(SubMerchant subMerchant) { this.subMerchant = subMerchant; } - + /** + * the telephone number of the person + * + * @param telephoneNumber + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * the telephone number of the person * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "the telephone number of the person") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * the telephone number of the person - * - * @param telephoneNumber - */ + /** + * the telephone number of the person + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * The purpose of a digital wallet transaction. + * + * @param walletPurpose + * @return the current {@code FundDestination} instance, allowing for method chaining + */ public FundDestination walletPurpose(String walletPurpose) { this.walletPurpose = walletPurpose; return this; } - /** + /** * The purpose of a digital wallet transaction. * @return walletPurpose - **/ + */ @ApiModelProperty(value = "The purpose of a digital wallet transaction.") @JsonProperty(JSON_PROPERTY_WALLET_PURPOSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWalletPurpose() { return walletPurpose; } - - /** - * The purpose of a digital wallet transaction. - * - * @param walletPurpose - */ + /** + * The purpose of a digital wallet transaction. + * + * @param walletPurpose + */ @JsonProperty(JSON_PROPERTY_WALLET_PURPOSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWalletPurpose(String walletPurpose) { this.walletPurpose = walletPurpose; } - /** * Return true if this FundDestination object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/FundSource.java b/src/main/java/com/adyen/model/payment/FundSource.java index de810b809..7a6e317f1 100644 --- a/src/main/java/com/adyen/model/payment/FundSource.java +++ b/src/main/java/com/adyen/model/payment/FundSource.java @@ -67,6 +67,12 @@ public class FundSource { public FundSource() { } + /** + * A map of name-value pairs for passing additional or industry-specific data. + * + * @param additionalData + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -80,181 +86,193 @@ public FundSource putAdditionalDataItem(String key, String additionalDataItem) { return this; } - /** + /** * A map of name-value pairs for passing additional or industry-specific data. * @return additionalData - **/ + */ @ApiModelProperty(value = "A map of name-value pairs for passing additional or industry-specific data.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * A map of name-value pairs for passing additional or industry-specific data. - * - * @param additionalData - */ + /** + * A map of name-value pairs for passing additional or industry-specific data. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * Email address of the person. + * + * @param shopperEmail + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * Email address of the person. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "Email address of the person.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * Email address of the person. - * - * @param shopperEmail - */ + /** + * Email address of the person. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Phone number of the person + * + * @param telephoneNumber + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * Phone number of the person * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "Phone number of the person") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * Phone number of the person - * - * @param telephoneNumber - */ + /** + * Phone number of the person + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - /** * Return true if this FundSource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Installments.java b/src/main/java/com/adyen/model/payment/Installments.java index 731a51ab9..44bdec24a 100644 --- a/src/main/java/com/adyen/model/payment/Installments.java +++ b/src/main/java/com/adyen/model/payment/Installments.java @@ -98,96 +98,105 @@ public static PlanEnum fromValue(String value) { public Installments() { } + /** + * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) + * + * @param extra + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments extra(Integer extra) { this.extra = extra; return this; } - /** + /** * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) * @return extra - **/ + */ @ApiModelProperty(value = "Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) ") @JsonProperty(JSON_PROPERTY_EXTRA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getExtra() { return extra; } - - /** - * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) - * - * @param extra - */ + /** + * Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico) + * + * @param extra + */ @JsonProperty(JSON_PROPERTY_EXTRA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtra(Integer extra) { this.extra = extra; } - + /** + * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. + * + * @param plan + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments plan(PlanEnum plan) { this.plan = plan; return this; } - /** + /** * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. * @return plan - **/ + */ @ApiModelProperty(value = "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. ") @JsonProperty(JSON_PROPERTY_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlanEnum getPlan() { return plan; } - - /** - * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. - * - * @param plan - */ + /** + * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**. + * + * @param plan + */ @JsonProperty(JSON_PROPERTY_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlan(PlanEnum plan) { this.plan = plan; } - + /** + * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. + * + * @param value + * @return the current {@code Installments} instance, allowing for method chaining + */ public Installments value(Integer value) { this.value = value; return this; } - /** + /** * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. * @return value - **/ + */ @ApiModelProperty(required = true, value = "Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getValue() { return value; } - - /** - * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. - * - * @param value - */ + /** + * Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Integer value) { this.value = value; } - /** * Return true if this Installments object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Mandate.java b/src/main/java/com/adyen/model/payment/Mandate.java index 8b03dec56..cd9d111d1 100644 --- a/src/main/java/com/adyen/model/payment/Mandate.java +++ b/src/main/java/com/adyen/model/payment/Mandate.java @@ -192,276 +192,303 @@ public static FrequencyEnum fromValue(String value) { public Mandate() { } + /** + * The billing amount (in minor units) of the recurring transactions. + * + * @param amount + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate amount(String amount) { this.amount = amount; return this; } - /** + /** * The billing amount (in minor units) of the recurring transactions. * @return amount - **/ + */ @ApiModelProperty(required = true, value = "The billing amount (in minor units) of the recurring transactions.") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAmount() { return amount; } - - /** - * The billing amount (in minor units) of the recurring transactions. - * - * @param amount - */ + /** + * The billing amount (in minor units) of the recurring transactions. + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(String amount) { this.amount = amount; } - + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + * + * @param amountRule + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate amountRule(AmountRuleEnum amountRule) { this.amountRule = amountRule; return this; } - /** - * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. * @return amountRule - **/ + */ @ApiModelProperty(value = "The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. ") @JsonProperty(JSON_PROPERTY_AMOUNT_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmountRuleEnum getAmountRule() { return amountRule; } - - /** - * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. - * - * @param amountRule - */ + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + * + * @param amountRule + */ @JsonProperty(JSON_PROPERTY_AMOUNT_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountRule(AmountRuleEnum amountRule) { this.amountRule = amountRule; } - + /** + * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. + * + * @param billingAttemptsRule + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate billingAttemptsRule(BillingAttemptsRuleEnum billingAttemptsRule) { this.billingAttemptsRule = billingAttemptsRule; return this; } - /** + /** * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. * @return billingAttemptsRule - **/ + */ @ApiModelProperty(value = "The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. ") @JsonProperty(JSON_PROPERTY_BILLING_ATTEMPTS_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BillingAttemptsRuleEnum getBillingAttemptsRule() { return billingAttemptsRule; } - - /** - * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. - * - * @param billingAttemptsRule - */ + /** + * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. + * + * @param billingAttemptsRule + */ @JsonProperty(JSON_PROPERTY_BILLING_ATTEMPTS_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAttemptsRule(BillingAttemptsRuleEnum billingAttemptsRule) { this.billingAttemptsRule = billingAttemptsRule; } - + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + * + * @param billingDay + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate billingDay(String billingDay) { this.billingDay = billingDay; return this; } - /** - * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. * @return billingDay - **/ + */ @ApiModelProperty(value = "The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`.") @JsonProperty(JSON_PROPERTY_BILLING_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingDay() { return billingDay; } - - /** - * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. - * - * @param billingDay - */ + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + * + * @param billingDay + */ @JsonProperty(JSON_PROPERTY_BILLING_DAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingDay(String billingDay) { this.billingDay = billingDay; } - + /** + * The number of transactions that can be performed within the given frequency. + * + * @param count + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate count(String count) { this.count = count; return this; } - /** + /** * The number of transactions that can be performed within the given frequency. * @return count - **/ + */ @ApiModelProperty(value = "The number of transactions that can be performed within the given frequency.") @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCount() { return count; } - - /** - * The number of transactions that can be performed within the given frequency. - * - * @param count - */ + /** + * The number of transactions that can be performed within the given frequency. + * + * @param count + */ @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCount(String count) { this.count = count; } - + /** + * End date of the billing plan, in YYYY-MM-DD format. + * + * @param endsAt + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate endsAt(String endsAt) { this.endsAt = endsAt; return this; } - /** + /** * End date of the billing plan, in YYYY-MM-DD format. * @return endsAt - **/ + */ @ApiModelProperty(required = true, value = "End date of the billing plan, in YYYY-MM-DD format.") @JsonProperty(JSON_PROPERTY_ENDS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEndsAt() { return endsAt; } - - /** - * End date of the billing plan, in YYYY-MM-DD format. - * - * @param endsAt - */ + /** + * End date of the billing plan, in YYYY-MM-DD format. + * + * @param endsAt + */ @JsonProperty(JSON_PROPERTY_ENDS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndsAt(String endsAt) { this.endsAt = endsAt; } - + /** + * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. + * + * @param frequency + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate frequency(FrequencyEnum frequency) { this.frequency = frequency; return this; } - /** + /** * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. * @return frequency - **/ + */ @ApiModelProperty(required = true, value = "The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**.") @JsonProperty(JSON_PROPERTY_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FrequencyEnum getFrequency() { return frequency; } - - /** - * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. - * - * @param frequency - */ + /** + * The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. + * + * @param frequency + */ @JsonProperty(JSON_PROPERTY_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFrequency(FrequencyEnum frequency) { this.frequency = frequency; } - + /** + * The message shown by UPI to the shopper on the approval screen. + * + * @param remarks + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate remarks(String remarks) { this.remarks = remarks; return this; } - /** + /** * The message shown by UPI to the shopper on the approval screen. * @return remarks - **/ + */ @ApiModelProperty(value = "The message shown by UPI to the shopper on the approval screen.") @JsonProperty(JSON_PROPERTY_REMARKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRemarks() { return remarks; } - - /** - * The message shown by UPI to the shopper on the approval screen. - * - * @param remarks - */ + /** + * The message shown by UPI to the shopper on the approval screen. + * + * @param remarks + */ @JsonProperty(JSON_PROPERTY_REMARKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRemarks(String remarks) { this.remarks = remarks; } - + /** + * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. + * + * @param startsAt + * @return the current {@code Mandate} instance, allowing for method chaining + */ public Mandate startsAt(String startsAt) { this.startsAt = startsAt; return this; } - /** + /** * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. * @return startsAt - **/ + */ @ApiModelProperty(value = "Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.") @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartsAt() { return startsAt; } - - /** - * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. - * - * @param startsAt - */ + /** + * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. + * + * @param startsAt + */ @JsonProperty(JSON_PROPERTY_STARTS_AT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartsAt(String startsAt) { this.startsAt = startsAt; } - /** * Return true if this Mandate object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/MerchantDevice.java b/src/main/java/com/adyen/model/payment/MerchantDevice.java index 84d046e13..4392e5231 100644 --- a/src/main/java/com/adyen/model/payment/MerchantDevice.java +++ b/src/main/java/com/adyen/model/payment/MerchantDevice.java @@ -49,96 +49,105 @@ public class MerchantDevice { public MerchantDevice() { } + /** + * Operating system running on the merchant device. + * + * @param os + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice os(String os) { this.os = os; return this; } - /** + /** * Operating system running on the merchant device. * @return os - **/ + */ @ApiModelProperty(value = "Operating system running on the merchant device.") @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOs() { return os; } - - /** - * Operating system running on the merchant device. - * - * @param os - */ + /** + * Operating system running on the merchant device. + * + * @param os + */ @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOs(String os) { this.os = os; } - + /** + * Version of the operating system on the merchant device. + * + * @param osVersion + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice osVersion(String osVersion) { this.osVersion = osVersion; return this; } - /** + /** * Version of the operating system on the merchant device. * @return osVersion - **/ + */ @ApiModelProperty(value = "Version of the operating system on the merchant device.") @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsVersion() { return osVersion; } - - /** - * Version of the operating system on the merchant device. - * - * @param osVersion - */ + /** + * Version of the operating system on the merchant device. + * + * @param osVersion + */ @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - + /** + * Merchant device reference. + * + * @param reference + * @return the current {@code MerchantDevice} instance, allowing for method chaining + */ public MerchantDevice reference(String reference) { this.reference = reference; return this; } - /** + /** * Merchant device reference. * @return reference - **/ + */ @ApiModelProperty(value = "Merchant device reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Merchant device reference. - * - * @param reference - */ + /** + * Merchant device reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this MerchantDevice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/MerchantRiskIndicator.java b/src/main/java/com/adyen/model/payment/MerchantRiskIndicator.java index b7bfbf746..d8ca9697d 100644 --- a/src/main/java/com/adyen/model/payment/MerchantRiskIndicator.java +++ b/src/main/java/com/adyen/model/payment/MerchantRiskIndicator.java @@ -102,7 +102,7 @@ public static DeliveryAddressIndicatorEnum fromValue(String value) { private DeliveryAddressIndicatorEnum deliveryAddressIndicator; public static final String JSON_PROPERTY_DELIVERY_EMAIL = "deliveryEmail"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. private String deliveryEmail; public static final String JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS = "deliveryEmailAddress"; @@ -180,92 +180,110 @@ public static DeliveryTimeframeEnum fromValue(String value) { public MerchantRiskIndicator() { } + /** + * Whether the chosen delivery address is identical to the billing address. + * + * @param addressMatch + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator addressMatch(Boolean addressMatch) { this.addressMatch = addressMatch; return this; } - /** + /** * Whether the chosen delivery address is identical to the billing address. * @return addressMatch - **/ + */ @ApiModelProperty(value = "Whether the chosen delivery address is identical to the billing address.") @JsonProperty(JSON_PROPERTY_ADDRESS_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAddressMatch() { return addressMatch; } - - /** - * Whether the chosen delivery address is identical to the billing address. - * - * @param addressMatch - */ + /** + * Whether the chosen delivery address is identical to the billing address. + * + * @param addressMatch + */ @JsonProperty(JSON_PROPERTY_ADDRESS_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddressMatch(Boolean addressMatch) { this.addressMatch = addressMatch; } - + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + * + * @param deliveryAddressIndicator + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryAddressIndicator(DeliveryAddressIndicatorEnum deliveryAddressIndicator) { this.deliveryAddressIndicator = deliveryAddressIndicator; return this; } - /** - * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` * @return deliveryAddressIndicator - **/ + */ @ApiModelProperty(value = "Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other`") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryAddressIndicatorEnum getDeliveryAddressIndicator() { return deliveryAddressIndicator; } - - /** - * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` - * - * @param deliveryAddressIndicator - */ + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + * + * @param deliveryAddressIndicator + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddressIndicator(DeliveryAddressIndicatorEnum deliveryAddressIndicator) { this.deliveryAddressIndicator = deliveryAddressIndicator; } - + /** + * The delivery email address (for digital goods). + * + * @param deliveryEmail + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated public MerchantRiskIndicator deliveryEmail(String deliveryEmail) { this.deliveryEmail = deliveryEmail; return this; } - /** + /** * The delivery email address (for digital goods). * @return deliveryEmail - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated @ApiModelProperty(value = "The delivery email address (for digital goods).") @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryEmail() { return deliveryEmail; } - - /** - * The delivery email address (for digital goods). - * - * @param deliveryEmail - */ + /** + * The delivery email address (for digital goods). + * + * @param deliveryEmail + * + * @deprecated since Adyen Payment API v68 + * Use `deliveryEmailAddress` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -273,337 +291,369 @@ public void setDeliveryEmail(String deliveryEmail) { this.deliveryEmail = deliveryEmail; } - + /** + * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. + * + * @param deliveryEmailAddress + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryEmailAddress(String deliveryEmailAddress) { this.deliveryEmailAddress = deliveryEmailAddress; return this; } - /** + /** * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. * @return deliveryEmailAddress - **/ + */ @ApiModelProperty(value = "For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters.") @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeliveryEmailAddress() { return deliveryEmailAddress; } - - /** - * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. - * - * @param deliveryEmailAddress - */ + /** + * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. + * + * @param deliveryEmailAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryEmailAddress(String deliveryEmailAddress) { this.deliveryEmailAddress = deliveryEmailAddress; } - + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + * + * @param deliveryTimeframe + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator deliveryTimeframe(DeliveryTimeframeEnum deliveryTimeframe) { this.deliveryTimeframe = deliveryTimeframe; return this; } - /** - * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` * @return deliveryTimeframe - **/ + */ @ApiModelProperty(value = "The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping`") @JsonProperty(JSON_PROPERTY_DELIVERY_TIMEFRAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeliveryTimeframeEnum getDeliveryTimeframe() { return deliveryTimeframe; } - - /** - * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` - * - * @param deliveryTimeframe - */ + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + * + * @param deliveryTimeframe + */ @JsonProperty(JSON_PROPERTY_DELIVERY_TIMEFRAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryTimeframe(DeliveryTimeframeEnum deliveryTimeframe) { this.deliveryTimeframe = deliveryTimeframe; } - + /** + * giftCardAmount + * + * @param giftCardAmount + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardAmount(Amount giftCardAmount) { this.giftCardAmount = giftCardAmount; return this; } - /** - * Get giftCardAmount + /** + * giftCardAmount * @return giftCardAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GIFT_CARD_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getGiftCardAmount() { return giftCardAmount; } - - /** - * giftCardAmount - * - * @param giftCardAmount - */ + /** + * giftCardAmount + * + * @param giftCardAmount + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardAmount(Amount giftCardAmount) { this.giftCardAmount = giftCardAmount; } - + /** + * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. + * + * @param giftCardCount + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardCount(Integer giftCardCount) { this.giftCardCount = giftCardCount; return this; } - /** + /** * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. * @return giftCardCount - **/ + */ @ApiModelProperty(value = "For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased.") @JsonProperty(JSON_PROPERTY_GIFT_CARD_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getGiftCardCount() { return giftCardCount; } - - /** - * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. - * - * @param giftCardCount - */ + /** + * For prepaid or gift card purchase, total count of individual prepaid or gift cards/codes purchased. + * + * @param giftCardCount + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardCount(Integer giftCardCount) { this.giftCardCount = giftCardCount; } - + /** + * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. + * + * @param giftCardCurr + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator giftCardCurr(String giftCardCurr) { this.giftCardCurr = giftCardCurr; return this; } - /** + /** * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. * @return giftCardCurr - **/ + */ @ApiModelProperty(value = "For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification.") @JsonProperty(JSON_PROPERTY_GIFT_CARD_CURR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGiftCardCurr() { return giftCardCurr; } - - /** - * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. - * - * @param giftCardCurr - */ + /** + * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. + * + * @param giftCardCurr + */ @JsonProperty(JSON_PROPERTY_GIFT_CARD_CURR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGiftCardCurr(String giftCardCurr) { this.giftCardCurr = giftCardCurr; } - + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + * + * @param preOrderDate + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderDate(OffsetDateTime preOrderDate) { this.preOrderDate = preOrderDate; return this; } - /** + /** * For pre-order purchases, the expected date this product will be available to the shopper. * @return preOrderDate - **/ + */ @ApiModelProperty(value = "For pre-order purchases, the expected date this product will be available to the shopper.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getPreOrderDate() { return preOrderDate; } - - /** - * For pre-order purchases, the expected date this product will be available to the shopper. - * - * @param preOrderDate - */ + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + * + * @param preOrderDate + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderDate(OffsetDateTime preOrderDate) { this.preOrderDate = preOrderDate; } - + /** + * Indicator for whether this transaction is for pre-ordering a product. + * + * @param preOrderPurchase + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderPurchase(Boolean preOrderPurchase) { this.preOrderPurchase = preOrderPurchase; return this; } - /** + /** * Indicator for whether this transaction is for pre-ordering a product. * @return preOrderPurchase - **/ + */ @ApiModelProperty(value = "Indicator for whether this transaction is for pre-ordering a product.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPreOrderPurchase() { return preOrderPurchase; } - - /** - * Indicator for whether this transaction is for pre-ordering a product. - * - * @param preOrderPurchase - */ + /** + * Indicator for whether this transaction is for pre-ordering a product. + * + * @param preOrderPurchase + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderPurchase(Boolean preOrderPurchase) { this.preOrderPurchase = preOrderPurchase; } - + /** + * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. + * + * @param preOrderPurchaseInd + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator preOrderPurchaseInd(String preOrderPurchaseInd) { this.preOrderPurchaseInd = preOrderPurchaseInd; return this; } - /** + /** * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. * @return preOrderPurchaseInd - **/ + */ @ApiModelProperty(value = "Indicates whether Cardholder is placing an order for merchandise with a future availability or release date.") @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPreOrderPurchaseInd() { return preOrderPurchaseInd; } - - /** - * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. - * - * @param preOrderPurchaseInd - */ + /** + * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. + * + * @param preOrderPurchaseInd + */ @JsonProperty(JSON_PROPERTY_PRE_ORDER_PURCHASE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPreOrderPurchaseInd(String preOrderPurchaseInd) { this.preOrderPurchaseInd = preOrderPurchaseInd; } - + /** + * Indicator for whether the shopper has already purchased the same items in the past. + * + * @param reorderItems + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator reorderItems(Boolean reorderItems) { this.reorderItems = reorderItems; return this; } - /** + /** * Indicator for whether the shopper has already purchased the same items in the past. * @return reorderItems - **/ + */ @ApiModelProperty(value = "Indicator for whether the shopper has already purchased the same items in the past.") @JsonProperty(JSON_PROPERTY_REORDER_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getReorderItems() { return reorderItems; } - - /** - * Indicator for whether the shopper has already purchased the same items in the past. - * - * @param reorderItems - */ + /** + * Indicator for whether the shopper has already purchased the same items in the past. + * + * @param reorderItems + */ @JsonProperty(JSON_PROPERTY_REORDER_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReorderItems(Boolean reorderItems) { this.reorderItems = reorderItems; } - + /** + * Indicates whether the cardholder is reordering previously purchased merchandise. + * + * @param reorderItemsInd + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator reorderItemsInd(String reorderItemsInd) { this.reorderItemsInd = reorderItemsInd; return this; } - /** + /** * Indicates whether the cardholder is reordering previously purchased merchandise. * @return reorderItemsInd - **/ + */ @ApiModelProperty(value = "Indicates whether the cardholder is reordering previously purchased merchandise.") @JsonProperty(JSON_PROPERTY_REORDER_ITEMS_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReorderItemsInd() { return reorderItemsInd; } - - /** - * Indicates whether the cardholder is reordering previously purchased merchandise. - * - * @param reorderItemsInd - */ + /** + * Indicates whether the cardholder is reordering previously purchased merchandise. + * + * @param reorderItemsInd + */ @JsonProperty(JSON_PROPERTY_REORDER_ITEMS_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReorderItemsInd(String reorderItemsInd) { this.reorderItemsInd = reorderItemsInd; } - + /** + * Indicates shipping method chosen for the transaction. + * + * @param shipIndicator + * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining + */ public MerchantRiskIndicator shipIndicator(String shipIndicator) { this.shipIndicator = shipIndicator; return this; } - /** + /** * Indicates shipping method chosen for the transaction. * @return shipIndicator - **/ + */ @ApiModelProperty(value = "Indicates shipping method chosen for the transaction.") @JsonProperty(JSON_PROPERTY_SHIP_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShipIndicator() { return shipIndicator; } - - /** - * Indicates shipping method chosen for the transaction. - * - * @param shipIndicator - */ + /** + * Indicates shipping method chosen for the transaction. + * + * @param shipIndicator + */ @JsonProperty(JSON_PROPERTY_SHIP_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShipIndicator(String shipIndicator) { this.shipIndicator = shipIndicator; } - /** * Return true if this MerchantRiskIndicator object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ModificationResult.java b/src/main/java/com/adyen/model/payment/ModificationResult.java index e660875ac..cb736ac70 100644 --- a/src/main/java/com/adyen/model/payment/ModificationResult.java +++ b/src/main/java/com/adyen/model/payment/ModificationResult.java @@ -99,6 +99,12 @@ public static ResponseEnum fromValue(String value) { public ModificationResult() { } + /** + * This field contains additional data, which may be returned in a particular modification response. + * + * @param additionalData + * @return the current {@code ModificationResult} instance, allowing for method chaining + */ public ModificationResult additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -112,91 +118,94 @@ public ModificationResult putAdditionalDataItem(String key, String additionalDat return this; } - /** + /** * This field contains additional data, which may be returned in a particular modification response. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular modification response.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular modification response. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular modification response. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code ModificationResult} instance, allowing for method chaining + */ public ModificationResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Indicates if the modification request has been received for processing. + * + * @param response + * @return the current {@code ModificationResult} instance, allowing for method chaining + */ public ModificationResult response(ResponseEnum response) { this.response = response; return this; } - /** + /** * Indicates if the modification request has been received for processing. * @return response - **/ + */ @ApiModelProperty(required = true, value = "Indicates if the modification request has been received for processing.") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResponseEnum getResponse() { return response; } - - /** - * Indicates if the modification request has been received for processing. - * - * @param response - */ + /** + * Indicates if the modification request has been received for processing. + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(ResponseEnum response) { this.response = response; } - /** * Return true if this ModificationResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Name.java b/src/main/java/com/adyen/model/payment/Name.java index 50396856f..98c087170 100644 --- a/src/main/java/com/adyen/model/payment/Name.java +++ b/src/main/java/com/adyen/model/payment/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest.java b/src/main/java/com/adyen/model/payment/PaymentRequest.java index 5d6530968..1890cfcde 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest.java @@ -425,66 +425,78 @@ public static ShopperInteractionEnum fromValue(String value) { public PaymentRequest() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -498,571 +510,628 @@ public PaymentRequest putAdditionalDataItem(String key, String additionalDataIte return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest bankAccount(BankAccount bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccount bankAccount) { this.bankAccount = bankAccount; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * card + * + * @param card + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * The type of the entity the payment is processed for. + * + * @param entityType + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** + /** * The type of the entity the payment is processed for. * @return entityType - **/ + */ @ApiModelProperty(value = "The type of the entity the payment is processed for.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payment is processed for. - * - * @param entityType - */ + /** + * The type of the entity the payment is processed for. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * fundDestination + * + * @param fundDestination + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fundDestination(FundDestination fundDestination) { this.fundDestination = fundDestination; return this; } - /** - * Get fundDestination + /** + * fundDestination * @return fundDestination - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_DESTINATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundDestination getFundDestination() { return fundDestination; } - - /** - * fundDestination - * - * @param fundDestination - */ + /** + * fundDestination + * + * @param fundDestination + */ @JsonProperty(JSON_PROPERTY_FUND_DESTINATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundDestination(FundDestination fundDestination) { this.fundDestination = fundDestination; } - + /** + * fundSource + * + * @param fundSource + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fundSource(FundSource fundSource) { this.fundSource = fundSource; return this; } - /** - * Get fundSource + /** + * fundSource * @return fundSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundSource getFundSource() { return fundSource; } - - /** - * fundSource - * - * @param fundSource - */ + /** + * fundSource + * + * @param fundSource + */ @JsonProperty(JSON_PROPERTY_FUND_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundSource(FundSource fundSource) { this.fundSource = fundSource; } - + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest fundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; return this; } - /** + /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundingSourceEnum getFundingSource() { return fundingSource; } - - /** - * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. - * - * @param fundingSource - */ + /** + * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(FundingSourceEnum fundingSource) { this.fundingSource = fundingSource; } - + /** + * installments + * + * @param installments + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -1076,181 +1145,199 @@ public PaymentRequest putLocalizedShopperStatementItem(String key, String locali return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * mandate + * + * @param mandate + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mandate(Mandate mandate) { this.mandate = mandate; return this; } - /** - * Get mandate + /** + * mandate * @return mandate - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Mandate getMandate() { return mandate; } - - /** - * mandate - * - * @param mandate - */ + /** + * mandate + * + * @param mandate + */ @JsonProperty(JSON_PROPERTY_MANDATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMandate(Mandate mandate) { this.mandate = mandate; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest metadata(Map metadata) { this.metadata = metadata; return this; @@ -1264,601 +1351,661 @@ public PaymentRequest putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The two-character country code of the shopper's nationality. + * + * @param nationality + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest nationality(String nationality) { this.nationality = nationality; return this; } - /** - * The two-character country code of the shopper's nationality. + /** + * The two-character country code of the shopper's nationality. * @return nationality - **/ + */ @ApiModelProperty(value = "The two-character country code of the shopper's nationality.") @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNationality() { return nationality; } - - /** - * The two-character country code of the shopper's nationality. - * - * @param nationality - */ + /** + * The two-character country code of the shopper's nationality. + * + * @param nationality + */ @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationality(String nationality) { this.nationality = nationality; } - + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest orderReference(String orderReference) { this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * recurring + * + * @param recurring + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * secureRemoteCommerceCheckoutData + * + * @param secureRemoteCommerceCheckoutData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest secureRemoteCommerceCheckoutData(SecureRemoteCommerceCheckoutData secureRemoteCommerceCheckoutData) { this.secureRemoteCommerceCheckoutData = secureRemoteCommerceCheckoutData; return this; } - /** - * Get secureRemoteCommerceCheckoutData + /** + * secureRemoteCommerceCheckoutData * @return secureRemoteCommerceCheckoutData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SECURE_REMOTE_COMMERCE_CHECKOUT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SecureRemoteCommerceCheckoutData getSecureRemoteCommerceCheckoutData() { return secureRemoteCommerceCheckoutData; } - - /** - * secureRemoteCommerceCheckoutData - * - * @param secureRemoteCommerceCheckoutData - */ + /** + * secureRemoteCommerceCheckoutData + * + * @param secureRemoteCommerceCheckoutData + */ @JsonProperty(JSON_PROPERTY_SECURE_REMOTE_COMMERCE_CHECKOUT_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSecureRemoteCommerceCheckoutData(SecureRemoteCommerceCheckoutData secureRemoteCommerceCheckoutData) { this.secureRemoteCommerceCheckoutData = secureRemoteCommerceCheckoutData; } - + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. - * - * @param selectedBrand - */ + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * A session ID used to identify a payment session. + * + * @param sessionId + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest sessionId(String sessionId) { this.sessionId = sessionId; return this; } - /** + /** * A session ID used to identify a payment session. * @return sessionId - **/ + */ @ApiModelProperty(value = "A session ID used to identify a payment session.") @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionId() { return sessionId; } - - /** - * A session ID used to identify a payment session. - * - * @param sessionId - */ + /** + * A session ID used to identify a payment session. + * + * @param sessionId + */ @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionId(String sessionId) { this.sessionId = sessionId; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest splits(List splits) { this.splits = splits; return this; @@ -1872,211 +2019,226 @@ public PaymentRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest threeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - **/ + */ @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest totalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; return this; } - /** + /** * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). * @return totalsGroup - **/ + */ @ApiModelProperty(value = "The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available).") @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTotalsGroup() { return totalsGroup; } - - /** - * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). - * - * @param totalsGroup - */ + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + */ @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code PaymentRequest} instance, allowing for method chaining + */ public PaymentRequest trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this PaymentRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest3d.java b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java index b56a5c4e8..f97099e18 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3d.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java @@ -311,66 +311,78 @@ public static ShopperInteractionEnum fromValue(String value) { public PaymentRequest3d() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -384,391 +396,430 @@ public PaymentRequest3d putAdditionalDataItem(String key, String additionalDataI return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * installments + * + * @param installments + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -782,181 +833,199 @@ public PaymentRequest3d putLocalizedShopperStatementItem(String key, String loca return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The payment session identifier returned by the card issuer. + * + * @param md + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d md(String md) { this.md = md; return this; } - /** + /** * The payment session identifier returned by the card issuer. * @return md - **/ + */ @ApiModelProperty(required = true, value = "The payment session identifier returned by the card issuer.") @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMd() { return md; } - - /** - * The payment session identifier returned by the card issuer. - * - * @param md - */ + /** + * The payment session identifier returned by the card issuer. + * + * @param md + */ @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMd(String md) { this.md = md; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d metadata(Map metadata) { this.metadata = metadata; return this; @@ -970,511 +1039,562 @@ public PaymentRequest3d putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - - public PaymentRequest3d orderReference(String orderReference) { - this.orderReference = orderReference; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ + public PaymentRequest3d orderReference(String orderReference) { + this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - + /** + * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. + * + * @param paResponse + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d paResponse(String paResponse) { this.paResponse = paResponse; return this; } - /** - * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. + /** + * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. * @return paResponse - **/ + */ @ApiModelProperty(required = true, value = "Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer.") @JsonProperty(JSON_PROPERTY_PA_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaResponse() { return paResponse; } - - /** - * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. - * - * @param paResponse - */ + /** + * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. + * + * @param paResponse + */ @JsonProperty(JSON_PROPERTY_PA_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaResponse(String paResponse) { this.paResponse = paResponse; } - + /** + * recurring + * + * @param recurring + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. - * - * @param selectedBrand - */ + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * A session ID used to identify a payment session. + * + * @param sessionId + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d sessionId(String sessionId) { this.sessionId = sessionId; return this; } - /** + /** * A session ID used to identify a payment session. * @return sessionId - **/ + */ @ApiModelProperty(value = "A session ID used to identify a payment session.") @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionId() { return sessionId; } - - /** - * A session ID used to identify a payment session. - * - * @param sessionId - */ + /** + * A session ID used to identify a payment session. + * + * @param sessionId + */ @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionId(String sessionId) { this.sessionId = sessionId; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d splits(List splits) { this.splits = splits; return this; @@ -1488,211 +1608,226 @@ public PaymentRequest3d addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d threeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - **/ + */ @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d totalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; return this; } - /** + /** * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). * @return totalsGroup - **/ + */ @ApiModelProperty(value = "The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available).") @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTotalsGroup() { return totalsGroup; } - - /** - * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). - * - * @param totalsGroup - */ + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + */ @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code PaymentRequest3d} instance, allowing for method chaining + */ public PaymentRequest3d trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this PaymentRequest3d object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java index 3dbb341bf..dd042dd34 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java @@ -312,66 +312,78 @@ public static ShopperInteractionEnum fromValue(String value) { public PaymentRequest3ds2() { } + /** + * accountInfo + * + * @param accountInfo + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 accountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; return this; } - /** - * Get accountInfo + /** + * accountInfo * @return accountInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountInfo getAccountInfo() { return accountInfo; } - - /** - * accountInfo - * - * @param accountInfo - */ + /** + * accountInfo + * + * @param accountInfo + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountInfo(AccountInfo accountInfo) { this.accountInfo = accountInfo; } - + /** + * additionalAmount + * + * @param additionalAmount + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 additionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; return this; } - /** - * Get additionalAmount + /** + * additionalAmount * @return additionalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAdditionalAmount() { return additionalAmount; } - - /** - * additionalAmount - * - * @param additionalAmount - */ + /** + * additionalAmount + * + * @param additionalAmount + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalAmount(Amount additionalAmount) { this.additionalAmount = additionalAmount; } - + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -385,391 +397,430 @@ public PaymentRequest3ds2 putAdditionalDataItem(String key, String additionalDat return this; } - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * applicationInfo + * + * @param applicationInfo + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 applicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; return this; } - /** - * Get applicationInfo + /** + * applicationInfo * @return applicationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ApplicationInfo getApplicationInfo() { return applicationInfo; } - - /** - * applicationInfo - * - * @param applicationInfo - */ + /** + * applicationInfo + * + * @param applicationInfo + */ @JsonProperty(JSON_PROPERTY_APPLICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApplicationInfo(ApplicationInfo applicationInfo) { this.applicationInfo = applicationInfo; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * browserInfo + * + * @param browserInfo + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 browserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; return this; } - /** - * Get browserInfo + /** + * browserInfo * @return browserInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BrowserInfo getBrowserInfo() { return browserInfo; } - - /** - * browserInfo - * - * @param browserInfo - */ + /** + * browserInfo + * + * @param browserInfo + */ @JsonProperty(JSON_PROPERTY_BROWSER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBrowserInfo(BrowserInfo browserInfo) { this.browserInfo = browserInfo; } - + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 captureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; return this; } - /** + /** * The delay between the authorisation and scheduled auto-capture, specified in hours. * @return captureDelayHours - **/ + */ @ApiModelProperty(value = "The delay between the authorisation and scheduled auto-capture, specified in hours.") @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCaptureDelayHours() { return captureDelayHours; } - - /** - * The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @param captureDelayHours - */ + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + * + * @param captureDelayHours + */ @JsonProperty(JSON_PROPERTY_CAPTURE_DELAY_HOURS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCaptureDelayHours(Integer captureDelayHours) { this.captureDelayHours = captureDelayHours; } - + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD - * - * @param dateOfBirth - */ + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * dccQuote + * + * @param dccQuote + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 dccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; return this; } - /** - * Get dccQuote + /** + * dccQuote * @return dccQuote - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ForexQuote getDccQuote() { return dccQuote; } - - /** - * dccQuote - * - * @param dccQuote - */ + /** + * dccQuote + * + * @param dccQuote + */ @JsonProperty(JSON_PROPERTY_DCC_QUOTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccQuote(ForexQuote dccQuote) { this.dccQuote = dccQuote; } - + /** + * deliveryAddress + * + * @param deliveryAddress + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 deliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; return this; } - /** - * Get deliveryAddress + /** + * deliveryAddress * @return deliveryAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getDeliveryAddress() { return deliveryAddress; } - - /** - * deliveryAddress - * - * @param deliveryAddress - */ + /** + * deliveryAddress + * + * @param deliveryAddress + */ @JsonProperty(JSON_PROPERTY_DELIVERY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryAddress(Address deliveryAddress) { this.deliveryAddress = deliveryAddress; } - + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 deliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; return this; } - /** + /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 * @return deliveryDate - **/ + */ @ApiModelProperty(value = "The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00") @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDeliveryDate() { return deliveryDate; } - - /** - * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @param deliveryDate - */ + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @param deliveryDate + */ @JsonProperty(JSON_PROPERTY_DELIVERY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryDate(OffsetDateTime deliveryDate) { this.deliveryDate = deliveryDate; } - + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 deviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; return this; } - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). * @return deviceFingerprint - **/ + */ @ApiModelProperty(value = "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).") @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceFingerprint() { return deviceFingerprint; } - - /** - * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). - * - * @param deviceFingerprint - */ + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + * + * @param deviceFingerprint + */ @JsonProperty(JSON_PROPERTY_DEVICE_FINGERPRINT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceFingerprint(String deviceFingerprint) { this.deviceFingerprint = deviceFingerprint; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * installments + * + * @param installments + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 installments(Installments installments) { this.installments = installments; return this; } - /** - * Get installments + /** + * installments * @return installments - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Installments getInstallments() { return installments; } - - /** - * installments - * - * @param installments - */ + /** + * installments + * + * @param installments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallments(Installments installments) { this.installments = installments; } - + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 localizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; return this; @@ -783,151 +834,166 @@ public PaymentRequest3ds2 putLocalizedShopperStatementItem(String key, String lo return this; } - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. * @return localizedShopperStatement - **/ + */ @ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.") @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getLocalizedShopperStatement() { return localizedShopperStatement; } - - /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @param localizedShopperStatement - */ + /** + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * + * @param localizedShopperStatement + */ @JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocalizedShopperStatement(Map localizedShopperStatement) { this.localizedShopperStatement = localizedShopperStatement; } - + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. * @return mcc - **/ + */ @ApiModelProperty(value = "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @param mcc - */ + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 merchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; return this; } - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. * @return merchantOrderReference - **/ + */ @ApiModelProperty(value = "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.") @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantOrderReference() { return merchantOrderReference; } - - /** - * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @param merchantOrderReference - */ + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + * + * @param merchantOrderReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantOrderReference(String merchantOrderReference) { this.merchantOrderReference = merchantOrderReference; } - + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 merchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; return this; } - /** - * Get merchantRiskIndicator + /** + * merchantRiskIndicator * @return merchantRiskIndicator - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantRiskIndicator getMerchantRiskIndicator() { return merchantRiskIndicator; } - - /** - * merchantRiskIndicator - * - * @param merchantRiskIndicator - */ + /** + * merchantRiskIndicator + * + * @param merchantRiskIndicator + */ @JsonProperty(JSON_PROPERTY_MERCHANT_RISK_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator) { this.merchantRiskIndicator = merchantRiskIndicator; } - + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 metadata(Map metadata) { this.metadata = metadata; return this; @@ -941,481 +1007,529 @@ public PaymentRequest3ds2 putMetadataItem(String key, String metadataItem) { return this; } - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * @return metadata - **/ + */ @ApiModelProperty(value = "Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. ") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @param metadata - */ + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 orderReference(String orderReference) { this.orderReference = orderReference; return this; } - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. * @return orderReference - **/ + */ @ApiModelProperty(value = "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.") @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrderReference() { return orderReference; } - - /** - * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @param orderReference - */ + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + * + * @param orderReference + */ @JsonProperty(JSON_PROPERTY_ORDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrderReference(String orderReference) { this.orderReference = orderReference; } - + /** + * recurring + * + * @param recurring + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @param recurringProcessingModel - */ + /** + * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. - * - * @param selectedBrand - */ + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * A session ID used to identify a payment session. + * + * @param sessionId + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 sessionId(String sessionId) { this.sessionId = sessionId; return this; } - /** + /** * A session ID used to identify a payment session. * @return sessionId - **/ + */ @ApiModelProperty(value = "A session ID used to identify a payment session.") @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSessionId() { return sessionId; } - - /** - * A session ID used to identify a payment session. - * - * @param sessionId - */ + /** + * A session ID used to identify a payment session. + * + * @param sessionId + */ @JsonProperty(JSON_PROPERTY_SESSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSessionId(String sessionId) { this.sessionId = sessionId; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperIP(String shopperIP) { this.shopperIP = shopperIP; return this; } - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return shopperIP - **/ + */ @ApiModelProperty(value = "The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperIP() { return shopperIP; } - - /** - * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param shopperIP - */ + /** + * The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param shopperIP + */ @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperIP(String shopperIP) { this.shopperIP = shopperIP; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; return this; } - /** + /** * The combination of a language code and a country code to specify the language to be used in the payment. * @return shopperLocale - **/ + */ @ApiModelProperty(value = "The combination of a language code and a country code to specify the language to be used in the payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperLocale() { return shopperLocale; } - - /** - * The combination of a language code and a country code to specify the language to be used in the payment. - * - * @param shopperLocale - */ + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + * + * @param shopperLocale + */ @JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperLocale(String shopperLocale) { this.shopperLocale = shopperLocale; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**.") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @param shopperStatement - */ + /** + * The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 splits(List splits) { this.splits = splits; return this; @@ -1429,271 +1543,292 @@ public PaymentRequest3ds2 addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). - * - * @param splits - */ + /** + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 store(String store) { this.store = store; return this; } - /** + /** * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store - **/ + */ @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. - * - * @param store - */ + /** + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 threeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; return this; } - /** - * Get threeDS2RequestData + /** + * threeDS2RequestData * @return threeDS2RequestData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2RequestData getThreeDS2RequestData() { return threeDS2RequestData; } - - /** - * threeDS2RequestData - * - * @param threeDS2RequestData - */ + /** + * threeDS2RequestData + * + * @param threeDS2RequestData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_REQUEST_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData) { this.threeDS2RequestData = threeDS2RequestData; } - + /** + * threeDS2Result + * + * @param threeDS2Result + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 threeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; return this; } - /** - * Get threeDS2Result + /** + * threeDS2Result * @return threeDS2Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2Result getThreeDS2Result() { return threeDS2Result; } - - /** - * threeDS2Result - * - * @param threeDS2Result - */ + /** + * threeDS2Result + * + * @param threeDS2Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; } - + /** + * The ThreeDS2Token that was returned in the /authorise call. + * + * @param threeDS2Token + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 threeDS2Token(String threeDS2Token) { this.threeDS2Token = threeDS2Token; return this; } - /** + /** * The ThreeDS2Token that was returned in the /authorise call. * @return threeDS2Token - **/ + */ @ApiModelProperty(value = "The ThreeDS2Token that was returned in the /authorise call.") @JsonProperty(JSON_PROPERTY_THREE_D_S2_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDS2Token() { return threeDS2Token; } - - /** - * The ThreeDS2Token that was returned in the /authorise call. - * - * @param threeDS2Token - */ + /** + * The ThreeDS2Token that was returned in the /authorise call. + * + * @param threeDS2Token + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Token(String threeDS2Token) { this.threeDS2Token = threeDS2Token; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return threeDSAuthenticationOnly - **/ + */ @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeDSAuthenticationOnly() { return threeDSAuthenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param threeDSAuthenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param threeDSAuthenticationOnly + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly) { this.threeDSAuthenticationOnly = threeDSAuthenticationOnly; } - + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 totalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; return this; } - /** + /** * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). * @return totalsGroup - **/ + */ @ApiModelProperty(value = "The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available).") @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTotalsGroup() { return totalsGroup; } - - /** - * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). - * - * @param totalsGroup - */ + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + * + * @param totalsGroup + */ @JsonProperty(JSON_PROPERTY_TOTALS_GROUP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotalsGroup(String totalsGroup) { this.totalsGroup = totalsGroup; } - + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + * @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining + */ public PaymentRequest3ds2 trustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; return this; } - /** + /** * Set to true if the payment should be routed to a trusted MID. * @return trustedShopper - **/ + */ @ApiModelProperty(value = "Set to true if the payment should be routed to a trusted MID.") @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getTrustedShopper() { return trustedShopper; } - - /** - * Set to true if the payment should be routed to a trusted MID. - * - * @param trustedShopper - */ + /** + * Set to true if the payment should be routed to a trusted MID. + * + * @param trustedShopper + */ @JsonProperty(JSON_PROPERTY_TRUSTED_SHOPPER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrustedShopper(Boolean trustedShopper) { this.trustedShopper = trustedShopper; } - /** * Return true if this PaymentRequest3ds2 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/PaymentResult.java b/src/main/java/com/adyen/model/payment/PaymentResult.java index 7a49a84c9..62b782320 100644 --- a/src/main/java/com/adyen/model/payment/PaymentResult.java +++ b/src/main/java/com/adyen/model/payment/PaymentResult.java @@ -145,6 +145,12 @@ public static ResultCodeEnum fromValue(String value) { public PaymentResult() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -158,331 +164,358 @@ public PaymentResult putAdditionalDataItem(String key, String additionalDataItem return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * dccAmount + * + * @param dccAmount + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult dccAmount(Amount dccAmount) { this.dccAmount = dccAmount; return this; } - /** - * Get dccAmount + /** + * dccAmount * @return dccAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getDccAmount() { return dccAmount; } - - /** - * dccAmount - * - * @param dccAmount - */ + /** + * dccAmount + * + * @param dccAmount + */ @JsonProperty(JSON_PROPERTY_DCC_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccAmount(Amount dccAmount) { this.dccAmount = dccAmount; } - + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param dccSignature + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult dccSignature(String dccSignature) { this.dccSignature = dccSignature; return this; } - /** - * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return dccSignature - **/ + */ @ApiModelProperty(value = "Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_DCC_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDccSignature() { return dccSignature; } - - /** - * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param dccSignature - */ + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param dccSignature + */ @JsonProperty(JSON_PROPERTY_DCC_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccSignature(String dccSignature) { this.dccSignature = dccSignature; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + * + * @param issuerUrl + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult issuerUrl(String issuerUrl) { this.issuerUrl = issuerUrl; return this; } - /** - * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. * @return issuerUrl - **/ + */ @ApiModelProperty(value = "The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL.") @JsonProperty(JSON_PROPERTY_ISSUER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerUrl() { return issuerUrl; } - - /** - * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. - * - * @param issuerUrl - */ + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + * + * @param issuerUrl + */ @JsonProperty(JSON_PROPERTY_ISSUER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerUrl(String issuerUrl) { this.issuerUrl = issuerUrl; } - + /** + * The payment session. + * + * @param md + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult md(String md) { this.md = md; return this; } - /** + /** * The payment session. * @return md - **/ + */ @ApiModelProperty(value = "The payment session.") @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMd() { return md; } - - /** - * The payment session. - * - * @param md - */ + /** + * The payment session. + * + * @param md + */ @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMd(String md) { this.md = md; } - + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + * + * @param paRequest + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult paRequest(String paRequest) { this.paRequest = paRequest; return this; } - /** - * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). * @return paRequest - **/ + */ @ApiModelProperty(value = "The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure).") @JsonProperty(JSON_PROPERTY_PA_REQUEST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaRequest() { return paRequest; } - - /** - * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). - * - * @param paRequest - */ + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + * + * @param paRequest + */ @JsonProperty(JSON_PROPERTY_PA_REQUEST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaRequest(String paRequest) { this.paRequest = paRequest; } - + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + * @return the current {@code PaymentResult} instance, allowing for method chaining + */ public PaymentResult resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. - * - * @param resultCode - */ + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - /** * Return true if this PaymentResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Phone.java b/src/main/java/com/adyen/model/payment/Phone.java index f17206e6e..12db84b45 100644 --- a/src/main/java/com/adyen/model/payment/Phone.java +++ b/src/main/java/com/adyen/model/payment/Phone.java @@ -45,66 +45,72 @@ public class Phone { public Phone() { } + /** + * Country code. Length: 1–3 characters. + * + * @param cc + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone cc(String cc) { this.cc = cc; return this; } - /** + /** * Country code. Length: 1–3 characters. * @return cc - **/ + */ @ApiModelProperty(value = "Country code. Length: 1–3 characters.") @JsonProperty(JSON_PROPERTY_CC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCc() { return cc; } - - /** - * Country code. Length: 1–3 characters. - * - * @param cc - */ + /** + * Country code. Length: 1–3 characters. + * + * @param cc + */ @JsonProperty(JSON_PROPERTY_CC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCc(String cc) { this.cc = cc; } - + /** + * Subscriber number. Maximum length: 15 characters. + * + * @param subscriber + * @return the current {@code Phone} instance, allowing for method chaining + */ public Phone subscriber(String subscriber) { this.subscriber = subscriber; return this; } - /** + /** * Subscriber number. Maximum length: 15 characters. * @return subscriber - **/ + */ @ApiModelProperty(value = "Subscriber number. Maximum length: 15 characters.") @JsonProperty(JSON_PROPERTY_SUBSCRIBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSubscriber() { return subscriber; } - - /** - * Subscriber number. Maximum length: 15 characters. - * - * @param subscriber - */ + /** + * Subscriber number. Maximum length: 15 characters. + * + * @param subscriber + */ @JsonProperty(JSON_PROPERTY_SUBSCRIBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSubscriber(String subscriber) { this.subscriber = subscriber; } - /** * Return true if this Phone object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/PlatformChargebackLogic.java b/src/main/java/com/adyen/model/payment/PlatformChargebackLogic.java index 8a510298a..2f137cd14 100644 --- a/src/main/java/com/adyen/model/payment/PlatformChargebackLogic.java +++ b/src/main/java/com/adyen/model/payment/PlatformChargebackLogic.java @@ -86,96 +86,105 @@ public static BehaviorEnum fromValue(String value) { public PlatformChargebackLogic() { } + /** + * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param behavior + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic behavior(BehaviorEnum behavior) { this.behavior = behavior; return this; } - /** + /** * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. * @return behavior - **/ + */ @ApiModelProperty(value = "The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.") @JsonProperty(JSON_PROPERTY_BEHAVIOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BehaviorEnum getBehavior() { return behavior; } - - /** - * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. - * - * @param behavior - */ + /** + * The method of handling the chargeback. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**. + * + * @param behavior + */ @JsonProperty(JSON_PROPERTY_BEHAVIOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBehavior(BehaviorEnum behavior) { this.behavior = behavior; } - + /** + * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. + * + * @param costAllocationAccount + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic costAllocationAccount(String costAllocationAccount) { this.costAllocationAccount = costAllocationAccount; return this; } - /** + /** * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. * @return costAllocationAccount - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account.") @JsonProperty(JSON_PROPERTY_COST_ALLOCATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCostAllocationAccount() { return costAllocationAccount; } - - /** - * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. - * - * @param costAllocationAccount - */ + /** + * The unique identifier of the balance account to which the chargeback fees are booked. By default, the chargeback fees are booked to your liable balance account. + * + * @param costAllocationAccount + */ @JsonProperty(JSON_PROPERTY_COST_ALLOCATION_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCostAllocationAccount(String costAllocationAccount) { this.costAllocationAccount = costAllocationAccount; } - + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + * + * @param targetAccount + * @return the current {@code PlatformChargebackLogic} instance, allowing for method chaining + */ public PlatformChargebackLogic targetAccount(String targetAccount) { this.targetAccount = targetAccount; return this; } - /** - * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. * @return targetAccount - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**.") @JsonProperty(JSON_PROPERTY_TARGET_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTargetAccount() { return targetAccount; } - - /** - * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. - * - * @param targetAccount - */ + /** + * The unique identifier of the balance account against which the disputed amount is booked. Required if `behavior` is **deductFromOneBalanceAccount**. + * + * @param targetAccount + */ @JsonProperty(JSON_PROPERTY_TARGET_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetAccount(String targetAccount) { this.targetAccount = targetAccount; } - /** * Return true if this PlatformChargebackLogic object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Recurring.java b/src/main/java/com/adyen/model/payment/Recurring.java index 52ec83547..a5283eb13 100644 --- a/src/main/java/com/adyen/model/payment/Recurring.java +++ b/src/main/java/com/adyen/model/payment/Recurring.java @@ -134,156 +134,171 @@ public static TokenServiceEnum fromValue(String value) { public Recurring() { } + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring contract(ContractEnum contract) { this.contract = contract; return this; } - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * @return contract - **/ + */ @ApiModelProperty(value = "The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractEnum getContract() { return contract; } - - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). - * - * @param contract - */ + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(ContractEnum contract) { this.contract = contract; } - + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; return this; } - /** + /** * A descriptive name for this detail. * @return recurringDetailName - **/ + */ @ApiModelProperty(value = "A descriptive name for this detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailName() { return recurringDetailName; } - - /** - * A descriptive name for this detail. - * - * @param recurringDetailName - */ + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The name of the token service. + * + * @param tokenService + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring tokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; return this; } - /** + /** * The name of the token service. * @return tokenService - **/ + */ @ApiModelProperty(value = "The name of the token service.") @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenServiceEnum getTokenService() { return tokenService; } - - /** - * The name of the token service. - * - * @param tokenService - */ + /** + * The name of the token service. + * + * @param tokenService + */ @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; } - /** * Return true if this Recurring object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/RefundRequest.java b/src/main/java/com/adyen/model/payment/RefundRequest.java index 3c58297c8..579902450 100644 --- a/src/main/java/com/adyen/model/payment/RefundRequest.java +++ b/src/main/java/com/adyen/model/payment/RefundRequest.java @@ -89,6 +89,12 @@ public class RefundRequest { public RefundRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -102,241 +108,265 @@ public RefundRequest putAdditionalDataItem(String key, String additionalDataItem return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest splits(List splits) { this.splits = splits; return this; @@ -350,91 +380,94 @@ public RefundRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code RefundRequest} instance, allowing for method chaining + */ public RefundRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this RefundRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalData3DSecure.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalData3DSecure.java index d3c9f1100..3e04d4a1f 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalData3DSecure.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalData3DSecure.java @@ -57,156 +57,171 @@ public class ResponseAdditionalData3DSecure { public ResponseAdditionalData3DSecure() { } + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; return this; } - /** + /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. * @return cardHolderInfo - **/ + */ @ApiModelProperty(value = "Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. ") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderInfo() { return cardHolderInfo; } - - /** - * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. - * - * @param cardHolderInfo - */ + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; } - + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavv(String cavv) { this.cavv = cavv; return this; } - /** + /** * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. * @return cavv - **/ + */ @ApiModelProperty(value = "The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array.") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavv() { return cavv; } - - /** - * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. - * - * @param cavv - */ + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(String cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure scaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; return this; } - /** + /** * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * @return scaExemptionRequested - **/ + */ @ApiModelProperty(value = "Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** ") @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScaExemptionRequested() { return scaExemptionRequested; } - - /** - * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** - * - * @param scaExemptionRequested - */ + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + */ @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; } - + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure threeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; return this; } - /** + /** * Indicates whether a card is enrolled for 3D Secure 2. * @return threeds2CardEnrolled - **/ + */ @ApiModelProperty(value = "Indicates whether a card is enrolled for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeds2CardEnrolled() { return threeds2CardEnrolled; } - - /** - * Indicates whether a card is enrolled for 3D Secure 2. - * - * @param threeds2CardEnrolled - */ + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + */ @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; } - /** * Return true if this ResponseAdditionalData3DSecure object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataBillingAddress.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataBillingAddress.java index 7ae5d2dae..392e403a5 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataBillingAddress.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataBillingAddress.java @@ -61,186 +61,204 @@ public class ResponseAdditionalDataBillingAddress { public ResponseAdditionalDataBillingAddress() { } + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; return this; } - /** + /** * The billing address city passed in the payment request. * @return billingAddressCity - **/ + */ @ApiModelProperty(value = "The billing address city passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCity() { return billingAddressCity; } - - /** - * The billing address city passed in the payment request. - * - * @param billingAddressCity - */ + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; } - + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; return this; } - /** + /** * The billing address country passed in the payment request. Example: NL * @return billingAddressCountry - **/ + */ @ApiModelProperty(value = "The billing address country passed in the payment request. Example: NL") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCountry() { return billingAddressCountry; } - - /** - * The billing address country passed in the payment request. Example: NL - * - * @param billingAddressCountry - */ + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; } - + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; return this; } - /** + /** * The billing address house number or name passed in the payment request. * @return billingAddressHouseNumberOrName - **/ + */ @ApiModelProperty(value = "The billing address house number or name passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressHouseNumberOrName() { return billingAddressHouseNumberOrName; } - - /** - * The billing address house number or name passed in the payment request. - * - * @param billingAddressHouseNumberOrName - */ + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; } - + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; return this; } - /** + /** * The billing address postal code passed in the payment request. Example: 1011 DJ * @return billingAddressPostalCode - **/ + */ @ApiModelProperty(value = "The billing address postal code passed in the payment request. Example: 1011 DJ") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressPostalCode() { return billingAddressPostalCode; } - - /** - * The billing address postal code passed in the payment request. Example: 1011 DJ - * - * @param billingAddressPostalCode - */ + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; } - + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; return this; } - /** + /** * The billing address state or province passed in the payment request. Example: NH * @return billingAddressStateOrProvince - **/ + */ @ApiModelProperty(value = "The billing address state or province passed in the payment request. Example: NH") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStateOrProvince() { return billingAddressStateOrProvince; } - - /** - * The billing address state or province passed in the payment request. Example: NH - * - * @param billingAddressStateOrProvince - */ + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; } - + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; return this; } - /** + /** * The billing address street passed in the payment request. * @return billingAddressStreet - **/ + */ @ApiModelProperty(value = "The billing address street passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStreet() { return billingAddressStreet; } - - /** - * The billing address street passed in the payment request. - * - * @param billingAddressStreet - */ + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; } - /** * Return true if this ResponseAdditionalDataBillingAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCard.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCard.java index a8ce0366c..016acebf6 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCard.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCard.java @@ -69,246 +69,270 @@ public class ResponseAdditionalDataCard { public ResponseAdditionalDataCard() { } + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardBin(String cardBin) { this.cardBin = cardBin; return this; } - /** + /** * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 * @return cardBin - **/ + */ @ApiModelProperty(value = "The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234") @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardBin() { return cardBin; } - - /** - * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 - * - * @param cardBin - */ + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + */ @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardBin(String cardBin) { this.cardBin = cardBin; } - + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; return this; } - /** + /** * The cardholder name passed in the payment request. * @return cardHolderName - **/ + */ @ApiModelProperty(value = "The cardholder name passed in the payment request.") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderName() { return cardHolderName; } - - /** - * The cardholder name passed in the payment request. - * - * @param cardHolderName - */ + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; } - + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; return this; } - /** + /** * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. * @return cardIssuingBank - **/ + */ @ApiModelProperty(value = "The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingBank() { return cardIssuingBank; } - - /** - * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. - * - * @param cardIssuingBank - */ + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; } - + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; return this; } - /** + /** * The country where the card was issued. Example: US * @return cardIssuingCountry - **/ + */ @ApiModelProperty(value = "The country where the card was issued. Example: US") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCountry() { return cardIssuingCountry; } - - /** - * The country where the card was issued. Example: US - * - * @param cardIssuingCountry - */ + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; } - + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; return this; } - /** + /** * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD * @return cardIssuingCurrency - **/ + */ @ApiModelProperty(value = "The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCurrency() { return cardIssuingCurrency; } - - /** - * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD - * - * @param cardIssuingCurrency - */ + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; } - + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; return this; } - /** + /** * The card payment method used for the transaction. Example: amex * @return cardPaymentMethod - **/ + */ @ApiModelProperty(value = "The card payment method used for the transaction. Example: amex") @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardPaymentMethod() { return cardPaymentMethod; } - - /** - * The card payment method used for the transaction. Example: amex - * - * @param cardPaymentMethod - */ + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + */ @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; } - + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardSummary(String cardSummary) { this.cardSummary = cardSummary; return this; } - /** - * The last four digits of a card number. > Returned only in case of a card payment. + /** + * The last four digits of a card number. > Returned only in case of a card payment. * @return cardSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a card number. > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardSummary() { return cardSummary; } - - /** - * The last four digits of a card number. > Returned only in case of a card payment. - * - * @param cardSummary - */ + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + */ @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardSummary(String cardSummary) { this.cardSummary = cardSummary; } - + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard issuerBin(String issuerBin) { this.issuerBin = issuerBin; return this; } - /** + /** * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 * @return issuerBin - **/ + */ @ApiModelProperty(value = "The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423") @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerBin() { return issuerBin; } - - /** - * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 - * - * @param issuerBin - */ + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + */ @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerBin(String issuerBin) { this.issuerBin = issuerBin; } - /** * Return true if this ResponseAdditionalDataCard object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java index b0785a6f3..84595661b 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java @@ -345,1776 +345,1953 @@ public static RecurringProcessingModelEnum fromValue(String value) { public ResponseAdditionalDataCommon() { } + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; return this; } - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. * @return acquirerAccountCode - **/ + */ @ApiModelProperty(value = "The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerAccountCode() { return acquirerAccountCode; } - - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. - * - * @param acquirerAccountCode - */ + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; } - + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; return this; } - /** + /** * The name of the acquirer processing the payment request. Example: TestPmmAcquirer * @return acquirerCode - **/ + */ @ApiModelProperty(value = "The name of the acquirer processing the payment request. Example: TestPmmAcquirer") @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerCode() { return acquirerCode; } - - /** - * The name of the acquirer processing the payment request. Example: TestPmmAcquirer - * - * @param acquirerCode - */ + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; } - + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; return this; } - /** + /** * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 * @return acquirerReference - **/ + */ @ApiModelProperty(value = "The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9") @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerReference() { return acquirerReference; } - - /** - * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 - * - * @param acquirerReference - */ + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; } - + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon alias(String alias) { this.alias = alias; return this; } - /** + /** * The Adyen alias of the card. Example: H167852639363479 * @return alias - **/ + */ @ApiModelProperty(value = "The Adyen alias of the card. Example: H167852639363479") @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAlias() { return alias; } - - /** - * The Adyen alias of the card. Example: H167852639363479 - * - * @param alias - */ + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + */ @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAlias(String alias) { this.alias = alias; } - + /** + * The type of the card alias. Example: Default + * + * @param aliasType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon aliasType(String aliasType) { this.aliasType = aliasType; return this; } - /** + /** * The type of the card alias. Example: Default * @return aliasType - **/ + */ @ApiModelProperty(value = "The type of the card alias. Example: Default") @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAliasType() { return aliasType; } - - /** - * The type of the card alias. Example: Default - * - * @param aliasType - */ + /** + * The type of the card alias. Example: Default + * + * @param aliasType + */ @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAliasType(String aliasType) { this.aliasType = aliasType; } - + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; return this; } - /** + /** * Merchant ID known by the acquirer. * @return authorisationMid - **/ + */ @ApiModelProperty(value = "Merchant ID known by the acquirer.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationMid() { return authorisationMid; } - - /** - * Merchant ID known by the acquirer. - * - * @param authorisationMid - */ + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; } - + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; return this; } - /** + /** * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountCurrency - **/ + */ @ApiModelProperty(value = "The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountCurrency() { return authorisedAmountCurrency; } - - /** - * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountCurrency - */ + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; } - + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; return this; } - /** + /** * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountValue - **/ + */ @ApiModelProperty(value = "Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountValue() { return authorisedAmountValue; } - - /** - * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountValue - */ + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; } - + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResult(String avsResult) { this.avsResult = avsResult; return this; } - /** + /** * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). * @return avsResult - **/ + */ @ApiModelProperty(value = "The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs).") @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResult() { return avsResult; } - - /** - * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). - * - * @param avsResult - */ + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResult(String avsResult) { this.avsResult = avsResult; } - + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; return this; } - /** + /** * Raw AVS result received from the acquirer, where available. Example: D * @return avsResultRaw - **/ + */ @ApiModelProperty(value = "Raw AVS result received from the acquirer, where available. Example: D") @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResultRaw() { return avsResultRaw; } - - /** - * Raw AVS result received from the acquirer, where available. Example: D - * - * @param avsResultRaw - */ + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; } - + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon bic(String bic) { this.bic = bic; return this; } - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. * @return bic - **/ + */ @ApiModelProperty(value = "BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. - * - * @param bic - */ + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon coBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; return this; } - /** + /** * Includes the co-branded card information. * @return coBrandedWith - **/ + */ @ApiModelProperty(value = "Includes the co-branded card information.") @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCoBrandedWith() { return coBrandedWith; } - - /** - * Includes the co-branded card information. - * - * @param coBrandedWith - */ + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + */ @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCoBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; } - + /** + * The result of CVC verification. + * + * @param cvcResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResult(String cvcResult) { this.cvcResult = cvcResult; return this; } - /** + /** * The result of CVC verification. * @return cvcResult - **/ + */ @ApiModelProperty(example = "1 Matches", value = "The result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResult() { return cvcResult; } - - /** - * The result of CVC verification. - * - * @param cvcResult - */ + /** + * The result of CVC verification. + * + * @param cvcResult + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResult(String cvcResult) { this.cvcResult = cvcResult; } - + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; return this; } - /** + /** * The raw result of CVC verification. * @return cvcResultRaw - **/ + */ @ApiModelProperty(example = "M", value = "The raw result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResultRaw() { return cvcResultRaw; } - - /** - * The raw result of CVC verification. - * - * @param cvcResultRaw - */ + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; } - + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. - * - * @param dsTransID - */ + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon eci(String eci) { this.eci = eci; return this; } - /** + /** * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 * @return eci - **/ + */ @ApiModelProperty(value = "The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 - * - * @param eci - */ + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon expiryDate(String expiryDate) { this.expiryDate = expiryDate; return this; } - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. * @return expiryDate - **/ + */ @ApiModelProperty(value = "The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryDate() { return expiryDate; } - - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. - * - * @param expiryDate - */ + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + */ @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; } - + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; return this; } - /** + /** * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR * @return extraCostsCurrency - **/ + */ @ApiModelProperty(value = "The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsCurrency() { return extraCostsCurrency; } - - /** - * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR - * - * @param extraCostsCurrency - */ + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; } - + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; return this; } - /** + /** * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. * @return extraCostsValue - **/ + */ @ApiModelProperty(value = "The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units.") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsValue() { return extraCostsValue; } - - /** - * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. - * - * @param extraCostsValue - */ + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; } - + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; return this; } - /** + /** * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. * @return fraudCheckItemNrFraudCheckname - **/ + */ @ApiModelProperty(value = "The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair.") @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudCheckItemNrFraudCheckname() { return fraudCheckItemNrFraudCheckname; } - - /** - * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. - * - * @param fraudCheckItemNrFraudCheckname - */ + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + */ @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; } - + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; return this; } - /** + /** * Indicates if the payment is sent to manual review. * @return fraudManualReview - **/ + */ @ApiModelProperty(value = "Indicates if the payment is sent to manual review.") @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudManualReview() { return fraudManualReview; } - - /** - * Indicates if the payment is sent to manual review. - * - * @param fraudManualReview - */ + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + */ @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; } - + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; return this; } - /** + /** * The fraud result properties of the payment. * @return fraudResultType - **/ + */ @ApiModelProperty(value = "The fraud result properties of the payment.") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResultTypeEnum getFraudResultType() { return fraudResultType; } - - /** - * The fraud result properties of the payment. - * - * @param fraudResultType - */ + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; } - + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. - * - * @param fundingSource - */ + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; return this; } - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". * @return fundsAvailability - **/ + */ @ApiModelProperty(value = "Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\".") @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundsAvailability() { return fundsAvailability; } - - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". - * - * @param fundsAvailability - */ + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + */ @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; } - + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon inferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; return this; } - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card * @return inferredRefusalReason - **/ + */ @ApiModelProperty(value = "Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card") @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInferredRefusalReason() { return inferredRefusalReason; } - - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card - * - * @param inferredRefusalReason - */ + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + */ @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; } - + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon isCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; return this; } - /** + /** * Indicates if the card is used for business purposes only. * @return isCardCommercial - **/ + */ @ApiModelProperty(value = "Indicates if the card is used for business purposes only.") @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIsCardCommercial() { return isCardCommercial; } - - /** - * Indicates if the card is used for business purposes only. - * - * @param isCardCommercial - */ + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + */ @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; } - + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP * @return issuerCountry - **/ + */ @ApiModelProperty(value = "The issuing country of the card based on the BIN list that Adyen maintains. Example: JP") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP - * - * @param issuerCountry - */ + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + */ @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon liabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; return this; } - /** + /** * A Boolean value indicating whether a liability shift was offered for this payment. * @return liabilityShift - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether a liability shift was offered for this payment.") @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLiabilityShift() { return liabilityShift; } - - /** - * A Boolean value indicating whether a liability shift was offered for this payment. - * - * @param liabilityShift - */ + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + */ @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLiabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; } - + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon mcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; return this; } - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. * @return mcBankNetReferenceNumber - **/ + */ @ApiModelProperty(value = "The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcBankNetReferenceNumber() { return mcBankNetReferenceNumber; } - - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. - * - * @param mcBankNetReferenceNumber - */ + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + */ @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; } - + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; return this; } - /** + /** * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). * @return merchantAdviceCode - **/ + */ @ApiModelProperty(value = "The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes).") @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAdviceCode() { return merchantAdviceCode; } - - /** - * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). - * - * @param merchantAdviceCode - */ + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; } - + /** + * The reference provided for the transaction. + * + * @param merchantReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * The reference provided for the transaction. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The reference provided for the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The reference provided for the transaction. - * - * @param merchantReference - */ + /** + * The reference provided for the transaction. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. * @return ownerName - **/ + */ @ApiModelProperty(value = "The owner name of a bank account. Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. - * - * @param ownerName - */ + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; return this; } - /** + /** * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. * @return paymentAccountReference - **/ + */ @ApiModelProperty(value = "The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAccountReference() { return paymentAccountReference; } - - /** - * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. - * - * @param paymentAccountReference - */ + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; } - + /** + * The payment method used in the transaction. + * + * @param paymentMethod + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method used in the transaction. * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The payment method used in the transaction.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method used in the transaction. - * - * @param paymentMethod - */ + /** + * The payment method used in the transaction. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; return this; } - /** + /** * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro * @return paymentMethodVariant - **/ + */ @ApiModelProperty(value = "The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodVariant() { return paymentMethodVariant; } - - /** - * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro - * - * @param paymentMethodVariant - */ + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; } - + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon payoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; return this; } - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) * @return payoutEligible - **/ + */ @ApiModelProperty(value = "Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown)") @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayoutEligible() { return payoutEligible; } - - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) - * - * @param payoutEligible - */ + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + */ @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; } - + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon realtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; return this; } - /** + /** * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder * @return realtimeAccountUpdaterStatus - **/ + */ @ApiModelProperty(value = "The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder") @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRealtimeAccountUpdaterStatus() { return realtimeAccountUpdaterStatus; } - - /** - * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder - * - * @param realtimeAccountUpdaterStatus - */ + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + */ @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRealtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; } - + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon receiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; return this; } - /** + /** * Message to be displayed on the terminal. * @return receiptFreeText - **/ + */ @ApiModelProperty(value = "Message to be displayed on the terminal.") @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReceiptFreeText() { return receiptFreeText; } - - /** - * Message to be displayed on the terminal. - * - * @param receiptFreeText - */ + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + */ @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; } - + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; return this; } - /** + /** * The recurring contract types applicable to the transaction. * @return recurringContractTypes - **/ + */ @ApiModelProperty(value = "The recurring contract types applicable to the transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringContractTypes() { return recurringContractTypes; } - - /** - * The recurring contract types applicable to the transaction. - * - * @param recurringContractTypes - */ + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + */ @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; } - + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; return this; } - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. * @return recurringFirstPspReference - **/ + */ @ApiModelProperty(value = "The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.") @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFirstPspReference() { return recurringFirstPspReference; } - - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. - * - * @param recurringFirstPspReference - */ + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; } - + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; return this; } - /** + /** * The reference that uniquely identifies the recurring transaction. * @return recurringRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The reference that uniquely identifies the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringRecurringDetailReference() { return recurringRecurringDetailReference; } - - /** - * The reference that uniquely identifies the recurring transaction. - * - * @param recurringRecurringDetailReference - */ + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; } - + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; return this; } - /** + /** * The provided reference of the shopper for a recurring transaction. * @return recurringShopperReference - **/ + */ @ApiModelProperty(value = "The provided reference of the shopper for a recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringShopperReference() { return recurringShopperReference; } - - /** - * The provided reference of the shopper for a recurring transaction. - * - * @param recurringShopperReference - */ + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; } - + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** + /** * The processing model used for the recurring transaction. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "The processing model used for the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * The processing model used for the recurring transaction. - * - * @param recurringProcessingModel - */ + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon referred(String referred) { this.referred = referred; return this; } - /** + /** * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true * @return referred - **/ + */ @ApiModelProperty(value = "If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true") @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferred() { return referred; } - - /** - * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true - * - * @param referred - */ + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + */ @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferred(String referred) { this.referred = referred; } - + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon refusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; return this; } - /** + /** * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED * @return refusalReasonRaw - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the acquirer, where available. Example: AUTHORISED") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonRaw() { return refusalReasonRaw; } - - /** - * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED - * - * @param refusalReasonRaw - */ + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; } - + /** + * The amount of the payment request. + * + * @param requestAmount + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestAmount(String requestAmount) { this.requestAmount = requestAmount; return this; } - /** + /** * The amount of the payment request. * @return requestAmount - **/ + */ @ApiModelProperty(value = "The amount of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestAmount() { return requestAmount; } - - /** - * The amount of the payment request. - * - * @param requestAmount - */ + /** + * The amount of the payment request. + * + * @param requestAmount + */ @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestAmount(String requestAmount) { this.requestAmount = requestAmount; } - + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; return this; } - /** + /** * The currency of the payment request. * @return requestCurrencyCode - **/ + */ @ApiModelProperty(value = "The currency of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestCurrencyCode() { return requestCurrencyCode; } - - /** - * The currency of the payment request. - * - * @param requestCurrencyCode - */ + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + */ @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; } - + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The shopper interaction type of the payment request. Example: Ecommerce * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "The shopper interaction type of the payment request. Example: Ecommerce") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperInteraction() { return shopperInteraction; } - - /** - * The shopper interaction type of the payment request. Example: Ecommerce - * - * @param shopperInteraction - */ + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * The shopperReference passed in the payment request. Example: AdyenTestShopperXX * @return shopperReference - **/ + */ @ApiModelProperty(value = "The shopperReference passed in the payment request. Example: AdyenTestShopperXX") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopperReference passed in the payment request. Example: AdyenTestShopperXX - * - * @param shopperReference - */ + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The terminal ID used in a point-of-sale payment. Example: 06022622 * @return terminalId - **/ + */ @ApiModelProperty(value = "The terminal ID used in a point-of-sale payment. Example: 06022622") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The terminal ID used in a point-of-sale payment. Example: 06022622 - * - * @param terminalId - */ + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; return this; } - /** + /** * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true * @return threeDAuthenticated - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticated() { return threeDAuthenticated; } - - /** - * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true - * - * @param threeDAuthenticated - */ + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; } - + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; return this; } - /** + /** * The raw 3DS authentication result from the card issuer. Example: N * @return threeDAuthenticatedResponse - **/ + */ @ApiModelProperty(value = "The raw 3DS authentication result from the card issuer. Example: N") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticatedResponse() { return threeDAuthenticatedResponse; } - - /** - * The raw 3DS authentication result from the card issuer. Example: N - * - * @param threeDAuthenticatedResponse - */ + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; } - + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; return this; } - /** + /** * A Boolean value indicating whether 3DS was offered for this payment. Example: true * @return threeDOffered - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS was offered for this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOffered() { return threeDOffered; } - - /** - * A Boolean value indicating whether 3DS was offered for this payment. Example: true - * - * @param threeDOffered - */ + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; } - + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; return this; } - /** + /** * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y * @return threeDOfferedResponse - **/ + */ @ApiModelProperty(value = "The raw enrollment result from the 3DS directory services of the card schemes. Example: Y") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOfferedResponse() { return threeDOfferedResponse; } - - /** - * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y - * - * @param threeDOfferedResponse - */ + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; } - + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The 3D Secure 2 version. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The 3D Secure 2 version.") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * The 3D Secure 2 version. - * - * @param threeDSVersion - */ + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon visaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; return this; } - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. * @return visaTransactionId - **/ + */ @ApiModelProperty(value = "The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisaTransactionId() { return visaTransactionId; } - - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. - * - * @param visaTransactionId - */ + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + */ @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; } - + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon xid(String xid) { this.xid = xid; return this; } - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= * @return xid - **/ + */ @ApiModelProperty(value = "The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA=") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getXid() { return xid; } - - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= - * - * @param xid - */ + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(String xid) { this.xid = xid; } - /** * Return true if this ResponseAdditionalDataCommon object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataDomesticError.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataDomesticError.java index bc65ed4d3..6784b2088 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataDomesticError.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataDomesticError.java @@ -45,66 +45,72 @@ public class ResponseAdditionalDataDomesticError { public ResponseAdditionalDataDomesticError() { } + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; return this; } - /** + /** * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. * @return domesticRefusalReasonRaw - **/ + */ @ApiModelProperty(value = "The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticRefusalReasonRaw() { return domesticRefusalReasonRaw; } - - /** - * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. - * - * @param domesticRefusalReasonRaw - */ + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; } - + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; return this; } - /** + /** * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. * @return domesticShopperAdvice - **/ + */ @ApiModelProperty(value = "The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticShopperAdvice() { return domesticShopperAdvice; } - - /** - * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. - * - * @param domesticShopperAdvice - */ + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; } - /** * Return true if this ResponseAdditionalDataDomesticError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataInstallments.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataInstallments.java index 2f44481d0..8c13c7300 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataInstallments.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataInstallments.java @@ -85,366 +85,402 @@ public class ResponseAdditionalDataInstallments { public ResponseAdditionalDataInstallments() { } + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; return this; } - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. * @return installmentPaymentDataInstallmentType - **/ + */ @ApiModelProperty(value = "Type of installment. The value of `installmentType` should be **IssuerFinanced**.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataInstallmentType() { return installmentPaymentDataInstallmentType; } - - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. - * - * @param installmentPaymentDataInstallmentType - */ + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; } - + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; return this; } - /** + /** * Annual interest rate. * @return installmentPaymentDataOptionItemNrAnnualPercentageRate - **/ + */ @ApiModelProperty(value = "Annual interest rate.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrAnnualPercentageRate() { return installmentPaymentDataOptionItemNrAnnualPercentageRate; } - - /** - * Annual interest rate. - * - * @param installmentPaymentDataOptionItemNrAnnualPercentageRate - */ + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; } - + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; return this; } - /** + /** * First Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrFirstInstallmentAmount - **/ + */ @ApiModelProperty(value = "First Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrFirstInstallmentAmount() { return installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - - /** - * First Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount - */ + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; return this; } - /** + /** * Installment fee amount in minor units. * @return installmentPaymentDataOptionItemNrInstallmentFee - **/ + */ @ApiModelProperty(value = "Installment fee amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInstallmentFee() { return installmentPaymentDataOptionItemNrInstallmentFee; } - - /** - * Installment fee amount in minor units. - * - * @param installmentPaymentDataOptionItemNrInstallmentFee - */ + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; } - + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; return this; } - /** + /** * Interest rate for the installment period. * @return installmentPaymentDataOptionItemNrInterestRate - **/ + */ @ApiModelProperty(value = "Interest rate for the installment period.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInterestRate() { return installmentPaymentDataOptionItemNrInterestRate; } - - /** - * Interest rate for the installment period. - * - * @param installmentPaymentDataOptionItemNrInterestRate - */ + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; } - + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; return this; } - /** + /** * Maximum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Maximum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - - /** - * Maximum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - */ + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; return this; } - /** + /** * Minimum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Minimum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - - /** - * Minimum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - */ + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; return this; } - /** + /** * Total number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Total number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrNumberOfInstallments() { return installmentPaymentDataOptionItemNrNumberOfInstallments; } - - /** - * Total number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrNumberOfInstallments - */ + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; } - + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; return this; } - /** + /** * Subsequent Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - **/ + */ @ApiModelProperty(value = "Subsequent Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount() { return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - - /** - * Subsequent Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - */ + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; return this; } - /** + /** * Total amount in minor units. * @return installmentPaymentDataOptionItemNrTotalAmountDue - **/ + */ @ApiModelProperty(value = "Total amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrTotalAmountDue() { return installmentPaymentDataOptionItemNrTotalAmountDue; } - - /** - * Total amount in minor units. - * - * @param installmentPaymentDataOptionItemNrTotalAmountDue - */ + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; } - + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; return this; } - /** + /** * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments * @return installmentPaymentDataPaymentOptions - **/ + */ @ApiModelProperty(value = "Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataPaymentOptions() { return installmentPaymentDataPaymentOptions; } - - /** - * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments - * - * @param installmentPaymentDataPaymentOptions - */ + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; } - + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; return this; } - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. * @return installmentsValue - **/ + */ @ApiModelProperty(value = "The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments.") @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentsValue() { return installmentsValue; } - - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. - * - * @param installmentsValue - */ + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; } - /** * Return true if this ResponseAdditionalDataInstallments object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataNetworkTokens.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataNetworkTokens.java index 0d8140443..fe6a77849 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataNetworkTokens.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataNetworkTokens.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataNetworkTokens { public ResponseAdditionalDataNetworkTokens() { } + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; return this; } - /** + /** * Indicates whether a network token is available for the specified card. * @return networkTokenAvailable - **/ + */ @ApiModelProperty(value = "Indicates whether a network token is available for the specified card.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenAvailable() { return networkTokenAvailable; } - - /** - * Indicates whether a network token is available for the specified card. - * - * @param networkTokenAvailable - */ + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; } - + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; return this; } - /** + /** * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. * @return networkTokenBin - **/ + */ @ApiModelProperty(value = "The Bank Identification Number of a tokenized card, which is the first six digits of a card number.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenBin() { return networkTokenBin; } - - /** - * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. - * - * @param networkTokenBin - */ + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; } - + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; return this; } - /** + /** * The last four digits of a network token. * @return networkTokenTokenSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a network token.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenTokenSummary() { return networkTokenTokenSummary; } - - /** - * The last four digits of a network token. - * - * @param networkTokenTokenSummary - */ + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; } - /** * Return true if this ResponseAdditionalDataNetworkTokens object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataOpi.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataOpi.java index ebb670b38..e62be236a 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataOpi.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataOpi.java @@ -41,36 +41,39 @@ public class ResponseAdditionalDataOpi { public ResponseAdditionalDataOpi() { } + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + * @return the current {@code ResponseAdditionalDataOpi} instance, allowing for method chaining + */ public ResponseAdditionalDataOpi opiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; return this; } - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). * @return opiTransToken - **/ + */ @ApiModelProperty(value = "Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).") @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpiTransToken() { return opiTransToken; } - - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). - * - * @param opiTransToken - */ + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + */ @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; } - /** * Return true if this ResponseAdditionalDataOpi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataSepa.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataSepa.java index 2c648a467..29ae39103 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataSepa.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataSepa.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataSepa { public ResponseAdditionalDataSepa() { } + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; return this; } - /** + /** * The transaction signature date. Format: yyyy-MM-dd * @return sepadirectdebitDateOfSignature - **/ + */ @ApiModelProperty(value = "The transaction signature date. Format: yyyy-MM-dd") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitDateOfSignature() { return sepadirectdebitDateOfSignature; } - - /** - * The transaction signature date. Format: yyyy-MM-dd - * - * @param sepadirectdebitDateOfSignature - */ + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; } - + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; return this; } - /** + /** * Its value corresponds to the pspReference value of the transaction. * @return sepadirectdebitMandateId - **/ + */ @ApiModelProperty(value = "Its value corresponds to the pspReference value of the transaction.") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitMandateId() { return sepadirectdebitMandateId; } - - /** - * Its value corresponds to the pspReference value of the transaction. - * - * @param sepadirectdebitMandateId - */ + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; } - + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; return this; } - /** + /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF * @return sepadirectdebitSequenceType - **/ + */ @ApiModelProperty(value = "This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitSequenceType() { return sepadirectdebitSequenceType; } - - /** - * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF - * - * @param sepadirectdebitSequenceType - */ + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; } - /** * Return true if this ResponseAdditionalDataSepa object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/SDKEphemPubKey.java b/src/main/java/com/adyen/model/payment/SDKEphemPubKey.java index 8385cd04f..ea9412998 100644 --- a/src/main/java/com/adyen/model/payment/SDKEphemPubKey.java +++ b/src/main/java/com/adyen/model/payment/SDKEphemPubKey.java @@ -53,126 +53,138 @@ public class SDKEphemPubKey { public SDKEphemPubKey() { } + /** + * The `crv` value as received from the 3D Secure 2 SDK. + * + * @param crv + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey crv(String crv) { this.crv = crv; return this; } - /** - * The `crv` value as received from the 3D Secure 2 SDK. + /** + * The `crv` value as received from the 3D Secure 2 SDK. * @return crv - **/ + */ @ApiModelProperty(value = "The `crv` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_CRV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCrv() { return crv; } - - /** - * The `crv` value as received from the 3D Secure 2 SDK. - * - * @param crv - */ + /** + * The `crv` value as received from the 3D Secure 2 SDK. + * + * @param crv + */ @JsonProperty(JSON_PROPERTY_CRV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCrv(String crv) { this.crv = crv; } - + /** + * The `kty` value as received from the 3D Secure 2 SDK. + * + * @param kty + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey kty(String kty) { this.kty = kty; return this; } - /** - * The `kty` value as received from the 3D Secure 2 SDK. + /** + * The `kty` value as received from the 3D Secure 2 SDK. * @return kty - **/ + */ @ApiModelProperty(value = "The `kty` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_KTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getKty() { return kty; } - - /** - * The `kty` value as received from the 3D Secure 2 SDK. - * - * @param kty - */ + /** + * The `kty` value as received from the 3D Secure 2 SDK. + * + * @param kty + */ @JsonProperty(JSON_PROPERTY_KTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKty(String kty) { this.kty = kty; } - + /** + * The `x` value as received from the 3D Secure 2 SDK. + * + * @param x + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey x(String x) { this.x = x; return this; } - /** - * The `x` value as received from the 3D Secure 2 SDK. + /** + * The `x` value as received from the 3D Secure 2 SDK. * @return x - **/ + */ @ApiModelProperty(value = "The `x` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_X) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getX() { return x; } - - /** - * The `x` value as received from the 3D Secure 2 SDK. - * - * @param x - */ + /** + * The `x` value as received from the 3D Secure 2 SDK. + * + * @param x + */ @JsonProperty(JSON_PROPERTY_X) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setX(String x) { this.x = x; } - + /** + * The `y` value as received from the 3D Secure 2 SDK. + * + * @param y + * @return the current {@code SDKEphemPubKey} instance, allowing for method chaining + */ public SDKEphemPubKey y(String y) { this.y = y; return this; } - /** - * The `y` value as received from the 3D Secure 2 SDK. + /** + * The `y` value as received from the 3D Secure 2 SDK. * @return y - **/ + */ @ApiModelProperty(value = "The `y` value as received from the 3D Secure 2 SDK.") @JsonProperty(JSON_PROPERTY_Y) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getY() { return y; } - - /** - * The `y` value as received from the 3D Secure 2 SDK. - * - * @param y - */ + /** + * The `y` value as received from the 3D Secure 2 SDK. + * + * @param y + */ @JsonProperty(JSON_PROPERTY_Y) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setY(String y) { this.y = y; } - /** * Return true if this SDKEphemPubKey object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/SecureRemoteCommerceCheckoutData.java b/src/main/java/com/adyen/model/payment/SecureRemoteCommerceCheckoutData.java index d50d3cffd..913e96aa5 100644 --- a/src/main/java/com/adyen/model/payment/SecureRemoteCommerceCheckoutData.java +++ b/src/main/java/com/adyen/model/payment/SecureRemoteCommerceCheckoutData.java @@ -96,186 +96,204 @@ public static SchemeEnum fromValue(String value) { public SecureRemoteCommerceCheckoutData() { } + /** + * The Secure Remote Commerce checkout payload to process the payment with. + * + * @param checkoutPayload + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData checkoutPayload(String checkoutPayload) { this.checkoutPayload = checkoutPayload; return this; } - /** + /** * The Secure Remote Commerce checkout payload to process the payment with. * @return checkoutPayload - **/ + */ @ApiModelProperty(value = "The Secure Remote Commerce checkout payload to process the payment with.") @JsonProperty(JSON_PROPERTY_CHECKOUT_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCheckoutPayload() { return checkoutPayload; } - - /** - * The Secure Remote Commerce checkout payload to process the payment with. - * - * @param checkoutPayload - */ + /** + * The Secure Remote Commerce checkout payload to process the payment with. + * + * @param checkoutPayload + */ @JsonProperty(JSON_PROPERTY_CHECKOUT_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckoutPayload(String checkoutPayload) { this.checkoutPayload = checkoutPayload; } - + /** + * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). + * + * @param correlationId + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData correlationId(String correlationId) { this.correlationId = correlationId; return this; } - /** + /** * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). * @return correlationId - **/ + */ @ApiModelProperty(value = "This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).") @JsonProperty(JSON_PROPERTY_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCorrelationId() { return correlationId; } - - /** - * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). - * - * @param correlationId - */ + /** + * This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session). + * + * @param correlationId + */ @JsonProperty(JSON_PROPERTY_CORRELATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCorrelationId(String correlationId) { this.correlationId = correlationId; } - + /** + * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). + * + * @param cvc + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData cvc(String cvc) { this.cvc = cvc; return this; } - /** + /** * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid). + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + * + * @param digitalCardId + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData digitalCardId(String digitalCardId) { this.digitalCardId = digitalCardId; return this; } - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. * @return digitalCardId - **/ + */ @ApiModelProperty(value = "A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.") @JsonProperty(JSON_PROPERTY_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDigitalCardId() { return digitalCardId; } - - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. - * - * @param digitalCardId - */ + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'. + * + * @param digitalCardId + */ @JsonProperty(JSON_PROPERTY_DIGITAL_CARD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDigitalCardId(String digitalCardId) { this.digitalCardId = digitalCardId; } - + /** + * The Secure Remote Commerce scheme. + * + * @param scheme + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData scheme(SchemeEnum scheme) { this.scheme = scheme; return this; } - /** + /** * The Secure Remote Commerce scheme. * @return scheme - **/ + */ @ApiModelProperty(value = "The Secure Remote Commerce scheme.") @JsonProperty(JSON_PROPERTY_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SchemeEnum getScheme() { return scheme; } - - /** - * The Secure Remote Commerce scheme. - * - * @param scheme - */ + /** + * The Secure Remote Commerce scheme. + * + * @param scheme + */ @JsonProperty(JSON_PROPERTY_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScheme(SchemeEnum scheme) { this.scheme = scheme; } - + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + * + * @param tokenReference + * @return the current {@code SecureRemoteCommerceCheckoutData} instance, allowing for method chaining + */ public SecureRemoteCommerceCheckoutData tokenReference(String tokenReference) { this.tokenReference = tokenReference; return this; } - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. * @return tokenReference - **/ + */ @ApiModelProperty(value = "A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.") @JsonProperty(JSON_PROPERTY_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenReference() { return tokenReference; } - - /** - * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. - * - * @param tokenReference - */ + /** + * A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'. + * + * @param tokenReference + */ @JsonProperty(JSON_PROPERTY_TOKEN_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenReference(String tokenReference) { this.tokenReference = tokenReference; } - /** * Return true if this SecureRemoteCommerceCheckoutData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ServiceError.java b/src/main/java/com/adyen/model/payment/ServiceError.java index 80fd725f1..a4efdef6f 100644 --- a/src/main/java/com/adyen/model/payment/ServiceError.java +++ b/src/main/java/com/adyen/model/payment/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ShopperInteractionDevice.java b/src/main/java/com/adyen/model/payment/ShopperInteractionDevice.java index 55000819f..81b130ca0 100644 --- a/src/main/java/com/adyen/model/payment/ShopperInteractionDevice.java +++ b/src/main/java/com/adyen/model/payment/ShopperInteractionDevice.java @@ -49,96 +49,105 @@ public class ShopperInteractionDevice { public ShopperInteractionDevice() { } + /** + * Locale on the shopper interaction device. + * + * @param locale + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice locale(String locale) { this.locale = locale; return this; } - /** + /** * Locale on the shopper interaction device. * @return locale - **/ + */ @ApiModelProperty(value = "Locale on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLocale() { return locale; } - - /** - * Locale on the shopper interaction device. - * - * @param locale - */ + /** + * Locale on the shopper interaction device. + * + * @param locale + */ @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLocale(String locale) { this.locale = locale; } - + /** + * Operating system running on the shopper interaction device. + * + * @param os + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice os(String os) { this.os = os; return this; } - /** + /** * Operating system running on the shopper interaction device. * @return os - **/ + */ @ApiModelProperty(value = "Operating system running on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOs() { return os; } - - /** - * Operating system running on the shopper interaction device. - * - * @param os - */ + /** + * Operating system running on the shopper interaction device. + * + * @param os + */ @JsonProperty(JSON_PROPERTY_OS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOs(String os) { this.os = os; } - + /** + * Version of the operating system on the shopper interaction device. + * + * @param osVersion + * @return the current {@code ShopperInteractionDevice} instance, allowing for method chaining + */ public ShopperInteractionDevice osVersion(String osVersion) { this.osVersion = osVersion; return this; } - /** + /** * Version of the operating system on the shopper interaction device. * @return osVersion - **/ + */ @ApiModelProperty(value = "Version of the operating system on the shopper interaction device.") @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOsVersion() { return osVersion; } - - /** - * Version of the operating system on the shopper interaction device. - * - * @param osVersion - */ + /** + * Version of the operating system on the shopper interaction device. + * + * @param osVersion + */ @JsonProperty(JSON_PROPERTY_OS_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - /** * Return true if this ShopperInteractionDevice object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/Split.java b/src/main/java/com/adyen/model/payment/Split.java index ef79d0f9a..605ca9515 100644 --- a/src/main/java/com/adyen/model/payment/Split.java +++ b/src/main/java/com/adyen/model/payment/Split.java @@ -119,156 +119,171 @@ public static TypeEnum fromValue(String value) { public Split() { } + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * + * @param account + * @return the current {@code Split} instance, allowing for method chaining + */ public Split account(String account) { this.account = account; return this; } - /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. * @return account - **/ + */ @ApiModelProperty(value = "The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked.") @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccount() { return account; } - - /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. - * - * @param account - */ + /** + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * + * @param account + */ @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccount(String account) { this.account = account; } - + /** + * amount + * + * @param amount + * @return the current {@code Split} instance, allowing for method chaining + */ public Split amount(SplitAmount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SplitAmount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(SplitAmount amount) { this.amount = amount; } - + /** + * Your description for the split item. + * + * @param description + * @return the current {@code Split} instance, allowing for method chaining + */ public Split description(String description) { this.description = description; return this; } - /** + /** * Your description for the split item. * @return description - **/ + */ @ApiModelProperty(value = "Your description for the split item.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the split item. - * - * @param description - */ + /** + * Your description for the split item. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * + * @param reference + * @return the current {@code Split} instance, allowing for method chaining + */ public Split reference(String reference) { this.reference = reference; return this; } - /** - * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. * @return reference - **/ + */ @ApiModelProperty(value = "Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. - * - * @param reference - */ + /** + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + * + * @param type + * @return the current {@code Split} instance, allowing for method chaining + */ public Split type(TypeEnum type) { this.type = type; return this; } - /** - * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. - * - * @param type - */ + /** + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform's commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Split object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/SplitAmount.java b/src/main/java/com/adyen/model/payment/SplitAmount.java index de857af15..c954923e6 100644 --- a/src/main/java/com/adyen/model/payment/SplitAmount.java +++ b/src/main/java/com/adyen/model/payment/SplitAmount.java @@ -45,66 +45,72 @@ public class SplitAmount { public SplitAmount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. + * + * @param currency + * @return the current {@code SplitAmount} instance, allowing for method chaining + */ public SplitAmount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. * @return currency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency.") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency. + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code SplitAmount} instance, allowing for method chaining + */ public SplitAmount value(Long value) { this.value = value; return this; } - /** + /** * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this SplitAmount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/SubMerchant.java b/src/main/java/com/adyen/model/payment/SubMerchant.java index 80b751f98..3d5e0c4a4 100644 --- a/src/main/java/com/adyen/model/payment/SubMerchant.java +++ b/src/main/java/com/adyen/model/payment/SubMerchant.java @@ -57,156 +57,171 @@ public class SubMerchant { public SubMerchant() { } + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param city + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant city(String city) { this.city = city; return this; } - /** - * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters * @return city - **/ + */ @ApiModelProperty(value = "The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters - * - * @param city - */ + /** + * The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param country + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant country(String country) { this.country = country; return this; } - /** - * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters * @return country - **/ + */ @ApiModelProperty(value = "The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters - * - * @param country - */ + /** + * The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant mcc(String mcc) { this.mcc = mcc; return this; } - /** - * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits * @return mcc - **/ + */ @ApiModelProperty(value = "The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits - * - * @param mcc - */ + /** + * The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant name(String name) { this.name = name; return this; } - /** + /** * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters * @return name - **/ + */ @ApiModelProperty(value = "The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters - * - * @param name - */ + /** + * The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + * @return the current {@code SubMerchant} instance, allowing for method chaining + */ public SubMerchant taxId(String taxId) { this.taxId = taxId; return this; } - /** + /** * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ * @return taxId - **/ + */ @ApiModelProperty(value = "The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ - * - * @param taxId - */ + /** + * The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this SubMerchant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java b/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java index 793ace111..cc9d995da 100644 --- a/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java +++ b/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java @@ -85,6 +85,12 @@ public class TechnicalCancelRequest { public TechnicalCancelRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -98,211 +104,232 @@ public TechnicalCancelRequest putAdditionalDataItem(String key, String additiona return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(required = true, value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest splits(List splits) { this.splits = splits; return this; @@ -316,91 +343,94 @@ public TechnicalCancelRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code TechnicalCancelRequest} instance, allowing for method chaining + */ public TechnicalCancelRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this TechnicalCancelRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS1Result.java b/src/main/java/com/adyen/model/payment/ThreeDS1Result.java index 608ffea87..08ead9060 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS1Result.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS1Result.java @@ -61,186 +61,204 @@ public class ThreeDS1Result { public ThreeDS1Result() { } + /** + * The cardholder authentication value (base64 encoded). + * + * @param cavv + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result cavv(String cavv) { this.cavv = cavv; return this; } - /** + /** * The cardholder authentication value (base64 encoded). * @return cavv - **/ + */ @ApiModelProperty(value = "The cardholder authentication value (base64 encoded).") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavv() { return cavv; } - - /** - * The cardholder authentication value (base64 encoded). - * - * @param cavv - */ + /** + * The cardholder authentication value (base64 encoded). + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(String cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * 3D Secure Electronic Commerce Indicator (ECI). + * + * @param eci + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result eci(String eci) { this.eci = eci; return this; } - /** + /** * 3D Secure Electronic Commerce Indicator (ECI). * @return eci - **/ + */ @ApiModelProperty(value = "3D Secure Electronic Commerce Indicator (ECI).") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * 3D Secure Electronic Commerce Indicator (ECI). - * - * @param eci - */ + /** + * 3D Secure Electronic Commerce Indicator (ECI). + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * The authentication response from the ACS. + * + * @param threeDAuthenticatedResponse + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result threeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; return this; } - /** + /** * The authentication response from the ACS. * @return threeDAuthenticatedResponse - **/ + */ @ApiModelProperty(value = "The authentication response from the ACS.") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticatedResponse() { return threeDAuthenticatedResponse; } - - /** - * The authentication response from the ACS. - * - * @param threeDAuthenticatedResponse - */ + /** + * The authentication response from the ACS. + * + * @param threeDAuthenticatedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; } - + /** + * Whether 3D Secure was offered or not. + * + * @param threeDOfferedResponse + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result threeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; return this; } - /** + /** * Whether 3D Secure was offered or not. * @return threeDOfferedResponse - **/ + */ @ApiModelProperty(value = "Whether 3D Secure was offered or not.") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOfferedResponse() { return threeDOfferedResponse; } - - /** - * Whether 3D Secure was offered or not. - * - * @param threeDOfferedResponse - */ + /** + * Whether 3D Secure was offered or not. + * + * @param threeDOfferedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; } - + /** + * A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding. + * + * @param xid + * @return the current {@code ThreeDS1Result} instance, allowing for method chaining + */ public ThreeDS1Result xid(String xid) { this.xid = xid; return this; } - /** - * A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding. + /** + * A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding. * @return xid - **/ + */ @ApiModelProperty(value = "A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getXid() { return xid; } - - /** - * A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding. - * - * @param xid - */ + /** + * A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding. + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(String xid) { this.xid = xid; } - /** * Return true if this ThreeDS1Result object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java index 2b2a389b3..d94f277ff 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java @@ -167,7 +167,7 @@ public static AddrMatchEnum fromValue(String value) { private AddrMatchEnum addrMatch; public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v50: Use `threeDSAuthenticationOnly` instead. private Boolean authenticationOnly; /** @@ -210,7 +210,7 @@ public static ChallengeIndicatorEnum fromValue(String value) { } public static final String JSON_PROPERTY_CHALLENGE_INDICATOR = "challengeIndicator"; - @Deprecated + @Deprecated // deprecated since Adyen Payment API v68: Use `threeDSRequestorChallengeInd` instead. private ChallengeIndicatorEnum challengeIndicator; public static final String JSON_PROPERTY_DEVICE_CHANNEL = "deviceChannel"; @@ -437,182 +437,209 @@ public static TransactionTypeEnum fromValue(String value) { public ThreeDS2RequestData() { } + /** + * acctInfo + * + * @param acctInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; return this; } - /** - * Get acctInfo + /** + * acctInfo * @return acctInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctInfo getAcctInfo() { return acctInfo; } - - /** - * acctInfo - * - * @param acctInfo - */ + /** + * acctInfo + * + * @param acctInfo + */ @JsonProperty(JSON_PROPERTY_ACCT_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctInfo(AcctInfo acctInfo) { this.acctInfo = acctInfo; } - + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acctType(AcctTypeEnum acctType) { this.acctType = acctType; return this; } - /** + /** * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit * @return acctType - **/ + */ @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit") @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AcctTypeEnum getAcctType() { return acctType; } - - /** - * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit - * - * @param acctType - */ + /** + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit + * + * @param acctType + */ @JsonProperty(JSON_PROPERTY_ACCT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcctType(AcctTypeEnum acctType) { this.acctType = acctType; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerBIN - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerBIN() { return acquirerBIN; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerBIN - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerBIN + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerBIN(String acquirerBIN) { this.acquirerBIN = acquirerBIN; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData acquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. * @return acquirerMerchantID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.") @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerMerchantID() { return acquirerMerchantID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. - * - * @param acquirerMerchantID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. + * + * @param acquirerMerchantID + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerMerchantID(String acquirerMerchantID) { this.acquirerMerchantID = acquirerMerchantID; } - + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData addrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; return this; } - /** + /** * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. * @return addrMatch - **/ + */ @ApiModelProperty(value = "Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.") @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AddrMatchEnum getAddrMatch() { return addrMatch; } - - /** - * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. - * - * @param addrMatch - */ + /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * + * @param addrMatch + */ @JsonProperty(JSON_PROPERTY_ADDR_MATCH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddrMatch(AddrMatchEnum addrMatch) { this.addrMatch = addrMatch; } - + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated public ThreeDS2RequestData authenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; return this; } - /** + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. * @return authenticationOnly - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAuthenticationOnly() { return authenticationOnly; } - - /** - * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. - * - * @param authenticationOnly - */ + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @param authenticationOnly + * + * @deprecated since Adyen Payment API v50 + * Use `threeDSAuthenticationOnly` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -620,33 +647,44 @@ public void setAuthenticationOnly(Boolean authenticationOnly) { this.authenticationOnly = authenticationOnly; } - + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + * + * @deprecated since Adyen Payment API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated public ThreeDS2RequestData challengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; return this; } - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` * @return challengeIndicator - * @deprecated - **/ + * + * @deprecated since Adyen Payment API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @ApiModelProperty(value = "Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` ") @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeIndicatorEnum getChallengeIndicator() { return challengeIndicator; } - - /** - * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` - * - * @param challengeIndicator - */ + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @param challengeIndicator + * + * @deprecated since Adyen Payment API v68 + * Use `threeDSRequestorChallengeInd` instead. + */ @Deprecated @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -654,967 +692,1062 @@ public void setChallengeIndicator(ChallengeIndicatorEnum challengeIndicator) { this.challengeIndicator = challengeIndicator; } - + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + * + * @param deviceChannel + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData deviceChannel(String deviceChannel) { this.deviceChannel = deviceChannel; return this; } - /** - * The environment of the shopper. Allowed values: * `app` * `browser` + /** + * The environment of the shopper. Allowed values: * `app` * `browser` * @return deviceChannel - **/ + */ @ApiModelProperty(required = true, value = "The environment of the shopper. Allowed values: * `app` * `browser`") @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceChannel() { return deviceChannel; } - - /** - * The environment of the shopper. Allowed values: * `app` * `browser` - * - * @param deviceChannel - */ + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + * + * @param deviceChannel + */ @JsonProperty(JSON_PROPERTY_DEVICE_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceChannel(String deviceChannel) { this.deviceChannel = deviceChannel; } - + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData deviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; return this; } - /** - * Get deviceRenderOptions + /** + * deviceRenderOptions * @return deviceRenderOptions - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeviceRenderOptions getDeviceRenderOptions() { return deviceRenderOptions; } - - /** - * deviceRenderOptions - * - * @param deviceRenderOptions - */ + /** + * deviceRenderOptions + * + * @param deviceRenderOptions + */ @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions) { this.deviceRenderOptions = deviceRenderOptions; } - + /** + * homePhone + * + * @param homePhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData homePhone(Phone homePhone) { this.homePhone = homePhone; return this; } - /** - * Get homePhone + /** + * homePhone * @return homePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getHomePhone() { return homePhone; } - - /** - * homePhone - * - * @param homePhone - */ + /** + * homePhone + * + * @param homePhone + */ @JsonProperty(JSON_PROPERTY_HOME_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHomePhone(Phone homePhone) { this.homePhone = homePhone; } - + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData mcc(String mcc) { this.mcc = mcc; return this; } - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. * @return mcc - **/ + */ @ApiModelProperty(value = "Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. - * - * @param mcc - */ + /** + * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData merchantName(String merchantName) { this.merchantName = merchantName; return this; } - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. * @return merchantName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.") @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantName() { return merchantName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. - * - * @param merchantName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account. + * + * @param merchantName + */ @JsonProperty(JSON_PROPERTY_MERCHANT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantName(String merchantName) { this.merchantName = merchantName; } - + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. * @return messageVersion - **/ + */ @ApiModelProperty(value = "The `messageVersion` value indicating the 3D Secure 2 protocol version.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value indicating the 3D Secure 2 protocol version. - * - * @param messageVersion - */ + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * mobilePhone + * + * @param mobilePhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData mobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; return this; } - /** - * Get mobilePhone + /** + * mobilePhone * @return mobilePhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getMobilePhone() { return mobilePhone; } - - /** - * mobilePhone - * - * @param mobilePhone - */ + /** + * mobilePhone + * + * @param mobilePhone + */ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMobilePhone(Phone mobilePhone) { this.mobilePhone = mobilePhone; } - + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData notificationURL(String notificationURL) { this.notificationURL = notificationURL; return this; } - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. * @return notificationURL - **/ + */ @ApiModelProperty(value = "URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.") @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationURL() { return notificationURL; } - - /** - * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. - * - * @param notificationURL - */ + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + * + * @param notificationURL + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationURL(String notificationURL) { this.notificationURL = notificationURL; } - + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData payTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; return this; } - /** + /** * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. * @return payTokenInd - **/ + */ @ApiModelProperty(value = "Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.") @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getPayTokenInd() { return payTokenInd; } - - /** - * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. - * - * @param payTokenInd - */ + /** + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. + * + * @param payTokenInd + */ @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayTokenInd(Boolean payTokenInd) { this.payTokenInd = payTokenInd; } - + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData paymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; return this; } - /** + /** * Indicates the type of payment for which an authentication is requested (message extension) * @return paymentAuthenticationUseCase - **/ + */ @ApiModelProperty(value = "Indicates the type of payment for which an authentication is requested (message extension)") @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAuthenticationUseCase() { return paymentAuthenticationUseCase; } - - /** - * Indicates the type of payment for which an authentication is requested (message extension) - * - * @param paymentAuthenticationUseCase - */ + /** + * Indicates the type of payment for which an authentication is requested (message extension) + * + * @param paymentAuthenticationUseCase + */ @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) { this.paymentAuthenticationUseCase = paymentAuthenticationUseCase; } - + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; } - /** + /** * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. * @return purchaseInstalData - **/ + */ @ApiModelProperty(value = "Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.") @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPurchaseInstalData() { return purchaseInstalData; } - - /** - * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. - * - * @param purchaseInstalData - */ + /** + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. + * + * @param purchaseInstalData + */ @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPurchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; } - + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData recurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Format: YYYYMMDD * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Format: YYYYMMDD") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Format: YYYYMMDD - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Format: YYYYMMDD + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(String recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Indicates the minimum number of days between authorisations. Maximum length: 4 characters.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. - * - * @param recurringFrequency - */ + /** + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkAppID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; return this; } - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. * @return sdkAppID - **/ + */ @ApiModelProperty(value = "The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkAppID() { return sdkAppID; } - - /** - * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. - * - * @param sdkAppID - */ + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkAppID + */ @JsonProperty(JSON_PROPERTY_SDK_APP_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkAppID(String sdkAppID) { this.sdkAppID = sdkAppID; } - + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkEncData + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkEncData(String sdkEncData) { this.sdkEncData = sdkEncData; return this; } - /** - * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. * @return sdkEncData - **/ + */ @ApiModelProperty(value = "The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_ENC_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkEncData() { return sdkEncData; } - - /** - * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. - * - * @param sdkEncData - */ + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + * + * @param sdkEncData + */ @JsonProperty(JSON_PROPERTY_SDK_ENC_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEncData(String sdkEncData) { this.sdkEncData = sdkEncData; } - + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; return this; } - /** - * Get sdkEphemPubKey + /** + * sdkEphemPubKey * @return sdkEphemPubKey - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SDKEphemPubKey getSdkEphemPubKey() { return sdkEphemPubKey; } - - /** - * sdkEphemPubKey - * - * @param sdkEphemPubKey - */ + /** + * sdkEphemPubKey + * + * @param sdkEphemPubKey + */ @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) { this.sdkEphemPubKey = sdkEphemPubKey; } - + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; return this; } - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. * @return sdkMaxTimeout - **/ + */ @ApiModelProperty(value = "The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.") @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSdkMaxTimeout() { return sdkMaxTimeout; } - - /** - * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. - * - * @param sdkMaxTimeout - */ + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes. + * + * @param sdkMaxTimeout + */ @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkMaxTimeout(Integer sdkMaxTimeout) { this.sdkMaxTimeout = sdkMaxTimeout; } - + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkReferenceNumber + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; return this; } - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. * @return sdkReferenceNumber - **/ + */ @ApiModelProperty(value = "The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkReferenceNumber() { return sdkReferenceNumber; } - - /** - * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkReferenceNumber - */ + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkReferenceNumber + */ @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkReferenceNumber(String sdkReferenceNumber) { this.sdkReferenceNumber = sdkReferenceNumber; } - + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkTransID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; return this; } - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. * @return sdkTransID - **/ + */ @ApiModelProperty(value = "The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkTransID() { return sdkTransID; } - - /** - * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkTransID - */ + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkTransID + */ @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkTransID(String sdkTransID) { this.sdkTransID = sdkTransID; } - + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkVersion + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData sdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; return this; } - /** - * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. * @return sdkVersion - **/ + */ @ApiModelProperty(value = "Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**.") @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkVersion() { return sdkVersion; } - - /** - * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. - * - * @param sdkVersion - */ + /** + * Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**. + * + * @param sdkVersion + */ @JsonProperty(JSON_PROPERTY_SDK_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; } - + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; return this; } - /** + /** * Completion indicator for the device fingerprinting. * @return threeDSCompInd - **/ + */ @ApiModelProperty(value = "Completion indicator for the device fingerprinting.") @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSCompInd() { return threeDSCompInd; } - - /** - * Completion indicator for the device fingerprinting. - * - * @param threeDSCompInd - */ + /** + * Completion indicator for the device fingerprinting. + * + * @param threeDSCompInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSCompInd(String threeDSCompInd) { this.threeDSCompInd = threeDSCompInd; } - + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; return this; } - /** + /** * Indicates the type of Authentication request. * @return threeDSRequestorAuthenticationInd - **/ + */ @ApiModelProperty(value = "Indicates the type of Authentication request.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorAuthenticationInd() { return threeDSRequestorAuthenticationInd; } - - /** - * Indicates the type of Authentication request. - * - * @param threeDSRequestorAuthenticationInd - */ + /** + * Indicates the type of Authentication request. + * + * @param threeDSRequestorAuthenticationInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) { this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd; } - + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorAuthenticationInfo + /** + * threeDSRequestorAuthenticationInfo * @return threeDSRequestorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo() { return threeDSRequestorAuthenticationInfo; } - - /** - * threeDSRequestorAuthenticationInfo - * - * @param threeDSRequestorAuthenticationInfo - */ + /** + * threeDSRequestorAuthenticationInfo + * + * @param threeDSRequestorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) { this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorID - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorID() { return threeDSRequestorID; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorID - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorID(String threeDSRequestorID) { this.threeDSRequestorID = threeDSRequestorID; } - + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; return this; } - /** + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. * @return threeDSRequestorName - **/ + */ @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorName() { return threeDSRequestorName; } - - /** - * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. - * - * @param threeDSRequestorName - */ + /** + * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + * + * @param threeDSRequestorName + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorName(String threeDSRequestorName) { this.threeDSRequestorName = threeDSRequestorName; } - + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; return this; } - /** - * Get threeDSRequestorPriorAuthenticationInfo + /** + * threeDSRequestorPriorAuthenticationInfo * @return threeDSRequestorPriorAuthenticationInfo - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo() { return threeDSRequestorPriorAuthenticationInfo; } - - /** - * threeDSRequestorPriorAuthenticationInfo - * - * @param threeDSRequestorPriorAuthenticationInfo - */ + /** + * threeDSRequestorPriorAuthenticationInfo + * + * @param threeDSRequestorPriorAuthenticationInfo + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) { this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo; } - + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData threeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; return this; } - /** + /** * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. * @return threeDSRequestorURL - **/ + */ @ApiModelProperty(value = "URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSRequestorURL() { return threeDSRequestorURL; } - - /** - * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. - * - * @param threeDSRequestorURL - */ + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + * + * @param threeDSRequestorURL + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorURL(String threeDSRequestorURL) { this.threeDSRequestorURL = threeDSRequestorURL; } - + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData transType(TransTypeEnum transType) { this.transType = transType; return this; } - /** + /** * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load * @return transType - **/ + */ @ApiModelProperty(value = "Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load") @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransTypeEnum getTransType() { return transType; } - - /** - * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load - * - * @param transType - */ + /** + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load + * + * @param transType + */ @JsonProperty(JSON_PROPERTY_TRANS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransType(TransTypeEnum transType) { this.transType = transType; } - + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData transactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; return this; } - /** + /** * Identify the type of the transaction being authenticated. * @return transactionType - **/ + */ @ApiModelProperty(value = "Identify the type of the transaction being authenticated.") @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionTypeEnum getTransactionType() { return transactionType; } - - /** - * Identify the type of the transaction being authenticated. - * - * @param transactionType - */ + /** + * Identify the type of the transaction being authenticated. + * + * @param transactionType + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionType(TransactionTypeEnum transactionType) { this.transactionType = transactionType; } - + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData whiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; return this; } - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. * @return whiteListStatus - **/ + */ @ApiModelProperty(value = "The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.") @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWhiteListStatus() { return whiteListStatus; } - - /** - * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. - * - * @param whiteListStatus - */ + /** + * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. + * + * @param whiteListStatus + */ @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } - + /** + * workPhone + * + * @param workPhone + * @return the current {@code ThreeDS2RequestData} instance, allowing for method chaining + */ public ThreeDS2RequestData workPhone(Phone workPhone) { this.workPhone = workPhone; return this; } - /** - * Get workPhone + /** + * workPhone * @return workPhone - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Phone getWorkPhone() { return workPhone; } - - /** - * workPhone - * - * @param workPhone - */ + /** + * workPhone + * + * @param workPhone + */ @JsonProperty(JSON_PROPERTY_WORK_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWorkPhone(Phone workPhone) { this.workPhone = workPhone; } - /** * Return true if this ThreeDS2RequestData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2Result.java b/src/main/java/com/adyen/model/payment/ThreeDS2Result.java index 650a38db2..9b3c2a474 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2Result.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2Result.java @@ -220,426 +220,468 @@ public static ThreeDSRequestorChallengeIndEnum fromValue(String value) { public ThreeDS2Result() { } + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + * + * @param authenticationValue + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result authenticationValue(String authenticationValue) { this.authenticationValue = authenticationValue; return this; } - /** - * The `authenticationValue` value as defined in the 3D Secure 2 specification. + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. * @return authenticationValue - **/ + */ @ApiModelProperty(value = "The `authenticationValue` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthenticationValue() { return authenticationValue; } - - /** - * The `authenticationValue` value as defined in the 3D Secure 2 specification. - * - * @param authenticationValue - */ + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + * + * @param authenticationValue + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationValue(String authenticationValue) { this.authenticationValue = authenticationValue; } - + /** + * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. + * + * @param cavvAlgorithm + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. - * - * @param cavvAlgorithm - */ + /** + * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result challengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; return this; } - /** + /** * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). * @return challengeCancel - **/ + */ @ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).") @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeCancelEnum getChallengeCancel() { return challengeCancel; } - - /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). - * - * @param challengeCancel - */ + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; } - + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + * + * @param dsTransID + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** - * The `dsTransID` value as defined in the 3D Secure 2 specification. + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. * @return dsTransID - **/ + */ @ApiModelProperty(value = "The `dsTransID` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * The `dsTransID` value as defined in the 3D Secure 2 specification. - * - * @param dsTransID - */ + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The `eci` value as defined in the 3D Secure 2 specification. + * + * @param eci + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result eci(String eci) { this.eci = eci; return this; } - /** - * The `eci` value as defined in the 3D Secure 2 specification. + /** + * The `eci` value as defined in the 3D Secure 2 specification. * @return eci - **/ + */ @ApiModelProperty(value = "The `eci` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The `eci` value as defined in the 3D Secure 2 specification. - * - * @param eci - */ + /** + * The `eci` value as defined in the 3D Secure 2 specification. + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + * + * @param exemptionIndicator + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result exemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; return this; } - /** - * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` * @return exemptionIndicator - **/ + */ @ApiModelProperty(value = "Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` ") @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExemptionIndicatorEnum getExemptionIndicator() { return exemptionIndicator; } - - /** - * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` - * - * @param exemptionIndicator - */ + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + * + * @param exemptionIndicator + */ @JsonProperty(JSON_PROPERTY_EXEMPTION_INDICATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExemptionIndicator(ExemptionIndicatorEnum exemptionIndicator) { this.exemptionIndicator = exemptionIndicator; } - + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result messageVersion(String messageVersion) { this.messageVersion = messageVersion; return this; } - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. * @return messageVersion - **/ + */ @ApiModelProperty(value = "The `messageVersion` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessageVersion() { return messageVersion; } - - /** - * The `messageVersion` value as defined in the 3D Secure 2 specification. - * - * @param messageVersion - */ + /** + * The `messageVersion` value as defined in the 3D Secure 2 specification. + * + * @param messageVersion + */ @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessageVersion(String messageVersion) { this.messageVersion = messageVersion; } - + /** + * Risk score calculated by Cartes Bancaires Directory Server (DS). + * + * @param riskScore + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result riskScore(String riskScore) { this.riskScore = riskScore; return this; } - /** + /** * Risk score calculated by Cartes Bancaires Directory Server (DS). * @return riskScore - **/ + */ @ApiModelProperty(value = "Risk score calculated by Cartes Bancaires Directory Server (DS).") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskScore() { return riskScore; } - - /** - * Risk score calculated by Cartes Bancaires Directory Server (DS). - * - * @param riskScore - */ + /** + * Risk score calculated by Cartes Bancaires Directory Server (DS). + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(String riskScore) { this.riskScore = riskScore; } - + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; return this; } - /** + /** * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only * @return threeDSRequestorChallengeInd - **/ + */ @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() { return threeDSRequestorChallengeInd; } - - /** - * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only - * - * @param threeDSRequestorChallengeInd - */ + /** + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only + * + * @param threeDSRequestorChallengeInd + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) { this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd; } - + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result threeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; return this; } - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. * @return threeDSServerTransID - **/ + */ @ApiModelProperty(value = "The `threeDSServerTransID` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSServerTransID() { return threeDSServerTransID; } - - /** - * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. - * - * @param threeDSServerTransID - */ + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + * + * @param threeDSServerTransID + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_SERVER_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSServerTransID(String threeDSServerTransID) { this.threeDSServerTransID = threeDSServerTransID; } - + /** + * The `timestamp` value of the 3D Secure 2 authentication. + * + * @param timestamp + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result timestamp(String timestamp) { this.timestamp = timestamp; return this; } - /** - * The `timestamp` value of the 3D Secure 2 authentication. + /** + * The `timestamp` value of the 3D Secure 2 authentication. * @return timestamp - **/ + */ @ApiModelProperty(value = "The `timestamp` value of the 3D Secure 2 authentication.") @JsonProperty(JSON_PROPERTY_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTimestamp() { return timestamp; } - - /** - * The `timestamp` value of the 3D Secure 2 authentication. - * - * @param timestamp - */ + /** + * The `timestamp` value of the 3D Secure 2 authentication. + * + * @param timestamp + */ @JsonProperty(JSON_PROPERTY_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTimestamp(String timestamp) { this.timestamp = timestamp; } - + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + * + * @param transStatus + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result transStatus(String transStatus) { this.transStatus = transStatus; return this; } - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. * @return transStatus - **/ + */ @ApiModelProperty(value = "The `transStatus` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatus() { return transStatus; } - - /** - * The `transStatus` value as defined in the 3D Secure 2 specification. - * - * @param transStatus - */ + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + * + * @param transStatus + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatus(String transStatus) { this.transStatus = transStatus; } - + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result transStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). * @return transStatusReason - **/ + */ @ApiModelProperty(value = "Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatusReason() { return transStatusReason; } - - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). - * - * @param transStatusReason - */ + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; } - + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + * + * @param whiteListStatus + * @return the current {@code ThreeDS2Result} instance, allowing for method chaining + */ public ThreeDS2Result whiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; return this; } - /** - * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. * @return whiteListStatus - **/ + */ @ApiModelProperty(value = "The `whiteListStatus` value as defined in the 3D Secure 2 specification.") @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWhiteListStatus() { return whiteListStatus; } - - /** - * The `whiteListStatus` value as defined in the 3D Secure 2 specification. - * - * @param whiteListStatus - */ + /** + * The `whiteListStatus` value as defined in the 3D Secure 2 specification. + * + * @param whiteListStatus + */ @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWhiteListStatus(String whiteListStatus) { this.whiteListStatus = whiteListStatus; } - /** * Return true if this ThreeDS2Result object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2ResultRequest.java b/src/main/java/com/adyen/model/payment/ThreeDS2ResultRequest.java index 5a2270aa8..9c54d73fa 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2ResultRequest.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2ResultRequest.java @@ -45,66 +45,72 @@ public class ThreeDS2ResultRequest { public ThreeDS2ResultRequest() { } + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code ThreeDS2ResultRequest} instance, allowing for method chaining + */ public ThreeDS2ResultRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The pspReference returned in the /authorise call. + * + * @param pspReference + * @return the current {@code ThreeDS2ResultRequest} instance, allowing for method chaining + */ public ThreeDS2ResultRequest pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The pspReference returned in the /authorise call. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "The pspReference returned in the /authorise call.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The pspReference returned in the /authorise call. - * - * @param pspReference - */ + /** + * The pspReference returned in the /authorise call. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this ThreeDS2ResultRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2ResultResponse.java b/src/main/java/com/adyen/model/payment/ThreeDS2ResultResponse.java index ae6072aef..7cde88e21 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2ResultResponse.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2ResultResponse.java @@ -42,36 +42,39 @@ public class ThreeDS2ResultResponse { public ThreeDS2ResultResponse() { } + /** + * threeDS2Result + * + * @param threeDS2Result + * @return the current {@code ThreeDS2ResultResponse} instance, allowing for method chaining + */ public ThreeDS2ResultResponse threeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; return this; } - /** - * Get threeDS2Result + /** + * threeDS2Result * @return threeDS2Result - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDS2Result getThreeDS2Result() { return threeDS2Result; } - - /** - * threeDS2Result - * - * @param threeDS2Result - */ + /** + * threeDS2Result + * + * @param threeDS2Result + */ @JsonProperty(JSON_PROPERTY_THREE_D_S2_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDS2Result(ThreeDS2Result threeDS2Result) { this.threeDS2Result = threeDS2Result; } - /** * Return true if this ThreeDS2ResultResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDSRequestorAuthenticationInfo.java b/src/main/java/com/adyen/model/payment/ThreeDSRequestorAuthenticationInfo.java index 255922af6..76e3a86b2 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDSRequestorAuthenticationInfo.java +++ b/src/main/java/com/adyen/model/payment/ThreeDSRequestorAuthenticationInfo.java @@ -92,96 +92,105 @@ public static ThreeDSReqAuthMethodEnum fromValue(String value) { public ThreeDSRequestorAuthenticationInfo() { } + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqAuthData + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthData(String threeDSReqAuthData) { this.threeDSReqAuthData = threeDSReqAuthData; return this; } - /** + /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. * @return threeDSReqAuthData - **/ + */ @ApiModelProperty(value = "Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqAuthData() { return threeDSReqAuthData; } - - /** - * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. - * - * @param threeDSReqAuthData - */ + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqAuthData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthData(String threeDSReqAuthData) { this.threeDSReqAuthData = threeDSReqAuthData; } - + /** + * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. + * + * @param threeDSReqAuthMethod + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthMethod(ThreeDSReqAuthMethodEnum threeDSReqAuthMethod) { this.threeDSReqAuthMethod = threeDSReqAuthMethod; return this; } - /** + /** * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. * @return threeDSReqAuthMethod - **/ + */ @ApiModelProperty(value = "Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSReqAuthMethodEnum getThreeDSReqAuthMethod() { return threeDSReqAuthMethod; } - - /** - * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. - * - * @param threeDSReqAuthMethod - */ + /** + * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. + * + * @param threeDSReqAuthMethod + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthMethod(ThreeDSReqAuthMethodEnum threeDSReqAuthMethod) { this.threeDSReqAuthMethod = threeDSReqAuthMethod; } - + /** + * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqAuthTimestamp + * @return the current {@code ThreeDSRequestorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorAuthenticationInfo threeDSReqAuthTimestamp(String threeDSReqAuthTimestamp) { this.threeDSReqAuthTimestamp = threeDSReqAuthTimestamp; return this; } - /** + /** * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM * @return threeDSReqAuthTimestamp - **/ + */ @ApiModelProperty(value = "Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqAuthTimestamp() { return threeDSReqAuthTimestamp; } - - /** - * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM - * - * @param threeDSReqAuthTimestamp - */ + /** + * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqAuthTimestamp + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqAuthTimestamp(String threeDSReqAuthTimestamp) { this.threeDSReqAuthTimestamp = threeDSReqAuthTimestamp; } - /** * Return true if this ThreeDSRequestorAuthenticationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDSRequestorPriorAuthenticationInfo.java b/src/main/java/com/adyen/model/payment/ThreeDSRequestorPriorAuthenticationInfo.java index 553993458..c166cc25c 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDSRequestorPriorAuthenticationInfo.java +++ b/src/main/java/com/adyen/model/payment/ThreeDSRequestorPriorAuthenticationInfo.java @@ -92,126 +92,138 @@ public static ThreeDSReqPriorAuthMethodEnum fromValue(String value) { public ThreeDSRequestorPriorAuthenticationInfo() { } + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqPriorAuthData + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthData(String threeDSReqPriorAuthData) { this.threeDSReqPriorAuthData = threeDSReqPriorAuthData; return this; } - /** + /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. * @return threeDSReqPriorAuthData - **/ + */ @ApiModelProperty(value = "Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorAuthData() { return threeDSReqPriorAuthData; } - - /** - * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. - * - * @param threeDSReqPriorAuthData - */ + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + * + * @param threeDSReqPriorAuthData + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthData(String threeDSReqPriorAuthData) { this.threeDSReqPriorAuthData = threeDSReqPriorAuthData; } - + /** + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. + * + * @param threeDSReqPriorAuthMethod + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthMethod(ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod) { this.threeDSReqPriorAuthMethod = threeDSReqPriorAuthMethod; return this; } - /** + /** * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. * @return threeDSReqPriorAuthMethod - **/ + */ @ApiModelProperty(value = "Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSReqPriorAuthMethodEnum getThreeDSReqPriorAuthMethod() { return threeDSReqPriorAuthMethod; } - - /** - * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. - * - * @param threeDSReqPriorAuthMethod - */ + /** + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. + * + * @param threeDSReqPriorAuthMethod + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthMethod(ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod) { this.threeDSReqPriorAuthMethod = threeDSReqPriorAuthMethod; } - + /** + * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqPriorAuthTimestamp + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp) { this.threeDSReqPriorAuthTimestamp = threeDSReqPriorAuthTimestamp; return this; } - /** + /** * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM * @return threeDSReqPriorAuthTimestamp - **/ + */ @ApiModelProperty(value = "Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorAuthTimestamp() { return threeDSReqPriorAuthTimestamp; } - - /** - * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM - * - * @param threeDSReqPriorAuthTimestamp - */ + /** + * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM + * + * @param threeDSReqPriorAuthTimestamp + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp) { this.threeDSReqPriorAuthTimestamp = threeDSReqPriorAuthTimestamp; } - + /** + * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. + * + * @param threeDSReqPriorRef + * @return the current {@code ThreeDSRequestorPriorAuthenticationInfo} instance, allowing for method chaining + */ public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorRef(String threeDSReqPriorRef) { this.threeDSReqPriorRef = threeDSReqPriorRef; return this; } - /** + /** * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. * @return threeDSReqPriorRef - **/ + */ @ApiModelProperty(value = "This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters.") @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSReqPriorRef() { return threeDSReqPriorRef; } - - /** - * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. - * - * @param threeDSReqPriorRef - */ + /** + * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. + * + * @param threeDSReqPriorRef + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_REQ_PRIOR_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSReqPriorRef(String threeDSReqPriorRef) { this.threeDSReqPriorRef = threeDSReqPriorRef; } - /** * Return true if this ThreeDSRequestorPriorAuthenticationInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDSecureData.java b/src/main/java/com/adyen/model/payment/ThreeDSecureData.java index 5566e6bf8..1fd0eb55b 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDSecureData.java +++ b/src/main/java/com/adyen/model/payment/ThreeDSecureData.java @@ -216,366 +216,402 @@ public static DirectoryResponseEnum fromValue(String value) { public ThreeDSecureData() { } + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + * + * @param authenticationResponse + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData authenticationResponse(AuthenticationResponseEnum authenticationResponse) { this.authenticationResponse = authenticationResponse; return this; } - /** - * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. * @return authenticationResponse - **/ + */ @ApiModelProperty(value = "In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter.") @JsonProperty(JSON_PROPERTY_AUTHENTICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AuthenticationResponseEnum getAuthenticationResponse() { return authenticationResponse; } - - /** - * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. - * - * @param authenticationResponse - */ + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. + * + * @param authenticationResponse + */ @JsonProperty(JSON_PROPERTY_AUTHENTICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthenticationResponse(AuthenticationResponseEnum authenticationResponse) { this.authenticationResponse = authenticationResponse; } - + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + * + * @param cavv + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData cavv(byte[] cavv) { this.cavv = cavv; return this; } - /** + /** * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). * @return cavv - **/ + */ @ApiModelProperty(value = "The cardholder authentication value (base64 encoded, 20 bytes in a decoded form).") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getCavv() { return cavv; } - - /** - * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). - * - * @param cavv - */ + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(byte[] cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + * + * @param cavvAlgorithm + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. Include this only for 3D Secure 1. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used. Include this only for 3D Secure 1.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. Include this only for 3D Secure 1. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData challengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; return this; } - /** + /** * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). * @return challengeCancel - **/ + */ @ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).") @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ChallengeCancelEnum getChallengeCancel() { return challengeCancel; } - - /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). - * - * @param challengeCancel - */ + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). + * + * @param challengeCancel + */ @JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChallengeCancel(ChallengeCancelEnum challengeCancel) { this.challengeCancel = challengeCancel; } - + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + * + * @param directoryResponse + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData directoryResponse(DirectoryResponseEnum directoryResponse) { this.directoryResponse = directoryResponse; return this; } - /** - * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. * @return directoryResponse - **/ + */ @ApiModelProperty(value = "In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`.") @JsonProperty(JSON_PROPERTY_DIRECTORY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DirectoryResponseEnum getDirectoryResponse() { return directoryResponse; } - - /** - * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. - * - * @param directoryResponse - */ + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. + * + * @param directoryResponse + */ @JsonProperty(JSON_PROPERTY_DIRECTORY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirectoryResponse(DirectoryResponseEnum directoryResponse) { this.directoryResponse = directoryResponse; } - + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + * + * @param dsTransID + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. - * - * @param dsTransID - */ + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The electronic commerce indicator. + * + * @param eci + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData eci(String eci) { this.eci = eci; return this; } - /** + /** * The electronic commerce indicator. * @return eci - **/ + */ @ApiModelProperty(value = "The electronic commerce indicator.") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The electronic commerce indicator. - * - * @param eci - */ + /** + * The electronic commerce indicator. + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. + * + * @param riskScore + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData riskScore(String riskScore) { this.riskScore = riskScore; return this; } - /** + /** * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. * @return riskScore - **/ + */ @ApiModelProperty(value = "Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations.") @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRiskScore() { return riskScore; } - - /** - * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. - * - * @param riskScore - */ + /** + * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. + * + * @param riskScore + */ @JsonProperty(JSON_PROPERTY_RISK_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRiskScore(String riskScore) { this.riskScore = riskScore; } - + /** + * The version of the 3D Secure protocol. + * + * @param threeDSVersion + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The version of the 3D Secure protocol. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The version of the 3D Secure protocol.") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * The version of the 3D Secure protocol. - * - * @param threeDSVersion - */ + /** + * The version of the 3D Secure protocol. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - + /** + * Network token authentication verification value (TAVV). The network token cryptogram. + * + * @param tokenAuthenticationVerificationValue + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData tokenAuthenticationVerificationValue(byte[] tokenAuthenticationVerificationValue) { this.tokenAuthenticationVerificationValue = tokenAuthenticationVerificationValue; return this; } - /** + /** * Network token authentication verification value (TAVV). The network token cryptogram. * @return tokenAuthenticationVerificationValue - **/ + */ @ApiModelProperty(value = "Network token authentication verification value (TAVV). The network token cryptogram.") @JsonProperty(JSON_PROPERTY_TOKEN_AUTHENTICATION_VERIFICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getTokenAuthenticationVerificationValue() { return tokenAuthenticationVerificationValue; } - - /** - * Network token authentication verification value (TAVV). The network token cryptogram. - * - * @param tokenAuthenticationVerificationValue - */ + /** + * Network token authentication verification value (TAVV). The network token cryptogram. + * + * @param tokenAuthenticationVerificationValue + */ @JsonProperty(JSON_PROPERTY_TOKEN_AUTHENTICATION_VERIFICATION_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenAuthenticationVerificationValue(byte[] tokenAuthenticationVerificationValue) { this.tokenAuthenticationVerificationValue = tokenAuthenticationVerificationValue; } - + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData transStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; return this; } - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). * @return transStatusReason - **/ + */ @ApiModelProperty(value = "Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values).") @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransStatusReason() { return transStatusReason; } - - /** - * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). - * - * @param transStatusReason - */ + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + * + * @param transStatusReason + */ @JsonProperty(JSON_PROPERTY_TRANS_STATUS_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransStatusReason(String transStatusReason) { this.transStatusReason = transStatusReason; } - + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + * + * @param xid + * @return the current {@code ThreeDSecureData} instance, allowing for method chaining + */ public ThreeDSecureData xid(byte[] xid) { this.xid = xid; return this; } - /** + /** * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). * @return xid - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public byte[] getXid() { return xid; } - - /** - * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). - * - * @param xid - */ + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(byte[] xid) { this.xid = xid; } - /** * Return true if this ThreeDSecureData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java b/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java index 36cbd3fdd..7beccf50a 100644 --- a/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java +++ b/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java @@ -89,6 +89,12 @@ public class VoidPendingRefundRequest { public VoidPendingRefundRequest() { } + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -102,241 +108,265 @@ public VoidPendingRefundRequest putAdditionalDataItem(String key, String additio return this; } - /** + /** * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account that is used to process the payment. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account that is used to process the payment.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that is used to process the payment. - * - * @param merchantAccount - */ + /** + * The merchant account that is used to process the payment. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * modificationAmount + * + * @param modificationAmount + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest modificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; return this; } - /** - * Get modificationAmount + /** + * modificationAmount * @return modificationAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getModificationAmount() { return modificationAmount; } - - /** - * modificationAmount - * - * @param modificationAmount - */ + /** + * modificationAmount + * + * @param modificationAmount + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationAmount(Amount modificationAmount) { this.modificationAmount = modificationAmount; } - + /** + * mpiData + * + * @param mpiData + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest mpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; return this; } - /** - * Get mpiData + /** + * mpiData * @return mpiData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThreeDSecureData getMpiData() { return mpiData; } - - /** - * mpiData - * - * @param mpiData - */ + /** + * mpiData + * + * @param mpiData + */ @JsonProperty(JSON_PROPERTY_MPI_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMpiData(ThreeDSecureData mpiData) { this.mpiData = mpiData; } - + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest originalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; return this; } - /** + /** * The original merchant reference to cancel. * @return originalMerchantReference - **/ + */ @ApiModelProperty(value = "The original merchant reference to cancel.") @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalMerchantReference() { return originalMerchantReference; } - - /** - * The original merchant reference to cancel. - * - * @param originalMerchantReference - */ + /** + * The original merchant reference to cancel. + * + * @param originalMerchantReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalMerchantReference(String originalMerchantReference) { this.originalMerchantReference = originalMerchantReference; } - + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification * @return originalReference - **/ + */ @ApiModelProperty(value = "The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification ") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest platformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; return this; } - /** - * Get platformChargebackLogic + /** + * platformChargebackLogic * @return platformChargebackLogic - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformChargebackLogic getPlatformChargebackLogic() { return platformChargebackLogic; } - - /** - * platformChargebackLogic - * - * @param platformChargebackLogic - */ + /** + * platformChargebackLogic + * + * @param platformChargebackLogic + */ @JsonProperty(JSON_PROPERTY_PLATFORM_CHARGEBACK_LOGIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformChargebackLogic(PlatformChargebackLogic platformChargebackLogic) { this.platformChargebackLogic = platformChargebackLogic; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest splits(List splits) { this.splits = splits; return this; @@ -350,91 +380,94 @@ public VoidPendingRefundRequest addSplitsItem(Split splitsItem) { return this; } - /** + /** * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @return splits - **/ + */ @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSplits() { return splits; } - - /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). - * - * @param splits - */ + /** + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). + * + * @param splits + */ @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSplits(List splits) { this.splits = splits; } - + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The transaction reference provided by the PED. For point-of-sale integrations only. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The transaction reference provided by the PED. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The transaction reference provided by the PED. For point-of-sale integrations only. - * - * @param tenderReference - */ + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + * @return the current {@code VoidPendingRefundRequest} instance, allowing for method chaining + */ public VoidPendingRefundRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. - * - * @param uniqueTerminalId - */ + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this VoidPendingRefundRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/BoardingTokenRequest.java b/src/main/java/com/adyen/model/paymentsapp/BoardingTokenRequest.java index 8cb1f4090..b42a9ff62 100644 --- a/src/main/java/com/adyen/model/paymentsapp/BoardingTokenRequest.java +++ b/src/main/java/com/adyen/model/paymentsapp/BoardingTokenRequest.java @@ -41,36 +41,39 @@ public class BoardingTokenRequest { public BoardingTokenRequest() { } + /** + * The boardingToken request token. + * + * @param boardingRequestToken + * @return the current {@code BoardingTokenRequest} instance, allowing for method chaining + */ public BoardingTokenRequest boardingRequestToken(String boardingRequestToken) { this.boardingRequestToken = boardingRequestToken; return this; } - /** + /** * The boardingToken request token. * @return boardingRequestToken - **/ + */ @ApiModelProperty(required = true, value = "The boardingToken request token.") @JsonProperty(JSON_PROPERTY_BOARDING_REQUEST_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBoardingRequestToken() { return boardingRequestToken; } - - /** - * The boardingToken request token. - * - * @param boardingRequestToken - */ + /** + * The boardingToken request token. + * + * @param boardingRequestToken + */ @JsonProperty(JSON_PROPERTY_BOARDING_REQUEST_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBoardingRequestToken(String boardingRequestToken) { this.boardingRequestToken = boardingRequestToken; } - /** * Return true if this BoardingTokenRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/BoardingTokenResponse.java b/src/main/java/com/adyen/model/paymentsapp/BoardingTokenResponse.java index 921edc527..eab510d9e 100644 --- a/src/main/java/com/adyen/model/paymentsapp/BoardingTokenResponse.java +++ b/src/main/java/com/adyen/model/paymentsapp/BoardingTokenResponse.java @@ -45,66 +45,72 @@ public class BoardingTokenResponse { public BoardingTokenResponse() { } + /** + * The boarding token that allows the Payments App to board. + * + * @param boardingToken + * @return the current {@code BoardingTokenResponse} instance, allowing for method chaining + */ public BoardingTokenResponse boardingToken(String boardingToken) { this.boardingToken = boardingToken; return this; } - /** + /** * The boarding token that allows the Payments App to board. * @return boardingToken - **/ + */ @ApiModelProperty(required = true, value = "The boarding token that allows the Payments App to board.") @JsonProperty(JSON_PROPERTY_BOARDING_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBoardingToken() { return boardingToken; } - - /** - * The boarding token that allows the Payments App to board. - * - * @param boardingToken - */ + /** + * The boarding token that allows the Payments App to board. + * + * @param boardingToken + */ @JsonProperty(JSON_PROPERTY_BOARDING_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBoardingToken(String boardingToken) { this.boardingToken = boardingToken; } - + /** + * The unique identifier of the Payments App instance. + * + * @param installationId + * @return the current {@code BoardingTokenResponse} instance, allowing for method chaining + */ public BoardingTokenResponse installationId(String installationId) { this.installationId = installationId; return this; } - /** + /** * The unique identifier of the Payments App instance. * @return installationId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the Payments App instance.") @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallationId() { return installationId; } - - /** - * The unique identifier of the Payments App instance. - * - * @param installationId - */ + /** + * The unique identifier of the Payments App instance. + * + * @param installationId + */ @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallationId(String installationId) { this.installationId = installationId; } - /** * Return true if this BoardingTokenResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/DefaultErrorResponseEntity.java b/src/main/java/com/adyen/model/paymentsapp/DefaultErrorResponseEntity.java index 5da2d2542..2647a67fe 100644 --- a/src/main/java/com/adyen/model/paymentsapp/DefaultErrorResponseEntity.java +++ b/src/main/java/com/adyen/model/paymentsapp/DefaultErrorResponseEntity.java @@ -73,96 +73,111 @@ public class DefaultErrorResponseEntity { public DefaultErrorResponseEntity() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * Unique business error code. + * + * @param errorCode + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * Unique business error code. * @return errorCode - **/ + */ @ApiModelProperty(value = "Unique business error code.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * Unique business error code. - * - * @param errorCode - */ + /** + * Unique business error code. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * A URI that identifies the specific occurrence of the problem if applicable. + * + * @param instance + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity instance(String instance) { this.instance = instance; return this; } - /** + /** * A URI that identifies the specific occurrence of the problem if applicable. * @return instance - **/ + */ @ApiModelProperty(value = "A URI that identifies the specific occurrence of the problem if applicable.") @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstance() { return instance; } - - /** - * A URI that identifies the specific occurrence of the problem if applicable. - * - * @param instance - */ + /** + * A URI that identifies the specific occurrence of the problem if applicable. + * + * @param instance + */ @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstance(String instance) { this.instance = instance; } - + /** + * Array of fields with validation errors when applicable. + * + * @param invalidFields + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity invalidFields(List invalidFields) { this.invalidFields = invalidFields; return this; @@ -176,151 +191,160 @@ public DefaultErrorResponseEntity addInvalidFieldsItem(InvalidField invalidField return this; } - /** + /** * Array of fields with validation errors when applicable. * @return invalidFields - **/ + */ @ApiModelProperty(value = "Array of fields with validation errors when applicable.") @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInvalidFields() { return invalidFields; } - - /** - * Array of fields with validation errors when applicable. - * - * @param invalidFields - */ + /** + * Array of fields with validation errors when applicable. + * + * @param invalidFields + */ @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvalidFields(List invalidFields) { this.invalidFields = invalidFields; } - + /** + * The unique reference for the request. + * + * @param requestId + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity requestId(String requestId) { this.requestId = requestId; return this; } - /** + /** * The unique reference for the request. * @return requestId - **/ + */ @ApiModelProperty(value = "The unique reference for the request.") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * The unique reference for the request. - * - * @param requestId - */ + /** + * The unique reference for the request. + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * The HTTP status code. + * + * @param status + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP status code. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP status code.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP status code. - * - * @param status - */ + /** + * The HTTP status code. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - + /** + * A URI that identifies the validation error type. It points to human-readable documentation for the problem type. + * + * @param type + * @return the current {@code DefaultErrorResponseEntity} instance, allowing for method chaining + */ public DefaultErrorResponseEntity type(String type) { this.type = type; return this; } - /** + /** * A URI that identifies the validation error type. It points to human-readable documentation for the problem type. * @return type - **/ + */ @ApiModelProperty(value = "A URI that identifies the validation error type. It points to human-readable documentation for the problem type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * A URI that identifies the validation error type. It points to human-readable documentation for the problem type. - * - * @param type - */ + /** + * A URI that identifies the validation error type. It points to human-readable documentation for the problem type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this DefaultErrorResponseEntity object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/InvalidField.java b/src/main/java/com/adyen/model/paymentsapp/InvalidField.java index 9fbef2c10..3c207693a 100644 --- a/src/main/java/com/adyen/model/paymentsapp/InvalidField.java +++ b/src/main/java/com/adyen/model/paymentsapp/InvalidField.java @@ -49,96 +49,105 @@ public class InvalidField { public InvalidField() { } + /** + * The field that has an invalid value. + * + * @param name + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField name(String name) { this.name = name; return this; } - /** + /** * The field that has an invalid value. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The field that has an invalid value.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The field that has an invalid value. - * - * @param name - */ + /** + * The field that has an invalid value. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The invalid value. + * + * @param value + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField value(String value) { this.value = value; return this; } - /** + /** * The invalid value. * @return value - **/ + */ @ApiModelProperty(required = true, value = "The invalid value.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The invalid value. - * - * @param value - */ + /** + * The invalid value. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - + /** + * Description of the validation error. + * + * @param message + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField message(String message) { this.message = message; return this; } - /** + /** * Description of the validation error. * @return message - **/ + */ @ApiModelProperty(required = true, value = "Description of the validation error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * Description of the validation error. - * - * @param message - */ + /** + * Description of the validation error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - /** * Return true if this InvalidField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/PaymentsAppDto.java b/src/main/java/com/adyen/model/paymentsapp/PaymentsAppDto.java index 6f1af44f1..86b6463bc 100644 --- a/src/main/java/com/adyen/model/paymentsapp/PaymentsAppDto.java +++ b/src/main/java/com/adyen/model/paymentsapp/PaymentsAppDto.java @@ -53,126 +53,138 @@ public class PaymentsAppDto { public PaymentsAppDto() { } + /** + * The unique identifier of the Payments App instance. + * + * @param installationId + * @return the current {@code PaymentsAppDto} instance, allowing for method chaining + */ public PaymentsAppDto installationId(String installationId) { this.installationId = installationId; return this; } - /** + /** * The unique identifier of the Payments App instance. * @return installationId - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the Payments App instance.") @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallationId() { return installationId; } - - /** - * The unique identifier of the Payments App instance. - * - * @param installationId - */ + /** + * The unique identifier of the Payments App instance. + * + * @param installationId + */ @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallationId(String installationId) { this.installationId = installationId; } - + /** + * The account code associated with the Payments App instance. + * + * @param merchantAccountCode + * @return the current {@code PaymentsAppDto} instance, allowing for method chaining + */ public PaymentsAppDto merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The account code associated with the Payments App instance. * @return merchantAccountCode - **/ + */ @ApiModelProperty(required = true, value = "The account code associated with the Payments App instance.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The account code associated with the Payments App instance. - * - * @param merchantAccountCode - */ + /** + * The account code associated with the Payments App instance. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - + /** + * The store code associated with the Payments App instance. + * + * @param merchantStoreCode + * @return the current {@code PaymentsAppDto} instance, allowing for method chaining + */ public PaymentsAppDto merchantStoreCode(String merchantStoreCode) { this.merchantStoreCode = merchantStoreCode; return this; } - /** + /** * The store code associated with the Payments App instance. * @return merchantStoreCode - **/ + */ @ApiModelProperty(value = "The store code associated with the Payments App instance.") @JsonProperty(JSON_PROPERTY_MERCHANT_STORE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantStoreCode() { return merchantStoreCode; } - - /** - * The store code associated with the Payments App instance. - * - * @param merchantStoreCode - */ + /** + * The store code associated with the Payments App instance. + * + * @param merchantStoreCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_STORE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantStoreCode(String merchantStoreCode) { this.merchantStoreCode = merchantStoreCode; } - + /** + * The status of the Payments App instance. + * + * @param status + * @return the current {@code PaymentsAppDto} instance, allowing for method chaining + */ public PaymentsAppDto status(String status) { this.status = status; return this; } - /** + /** * The status of the Payments App instance. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the Payments App instance.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the Payments App instance. - * - * @param status - */ + /** + * The status of the Payments App instance. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this PaymentsAppDto object is equal to o. */ diff --git a/src/main/java/com/adyen/model/paymentsapp/PaymentsAppResponse.java b/src/main/java/com/adyen/model/paymentsapp/PaymentsAppResponse.java index 52fda2457..249a2b112 100644 --- a/src/main/java/com/adyen/model/paymentsapp/PaymentsAppResponse.java +++ b/src/main/java/com/adyen/model/paymentsapp/PaymentsAppResponse.java @@ -44,6 +44,12 @@ public class PaymentsAppResponse { public PaymentsAppResponse() { } + /** + * List of Payments Apps. + * + * @param paymentsApps + * @return the current {@code PaymentsAppResponse} instance, allowing for method chaining + */ public PaymentsAppResponse paymentsApps(List paymentsApps) { this.paymentsApps = paymentsApps; return this; @@ -54,31 +60,28 @@ public PaymentsAppResponse addPaymentsAppsItem(PaymentsAppDto paymentsAppsItem) return this; } - /** + /** * List of Payments Apps. * @return paymentsApps - **/ + */ @ApiModelProperty(required = true, value = "List of Payments Apps.") @JsonProperty(JSON_PROPERTY_PAYMENTS_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPaymentsApps() { return paymentsApps; } - - /** - * List of Payments Apps. - * - * @param paymentsApps - */ + /** + * List of Payments Apps. + * + * @param paymentsApps + */ @JsonProperty(JSON_PROPERTY_PAYMENTS_APPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentsApps(List paymentsApps) { this.paymentsApps = paymentsApps; } - /** * Return true if this PaymentsAppResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/Address.java b/src/main/java/com/adyen/model/payout/Address.java index dcc2ec7e6..10917a6eb 100644 --- a/src/main/java/com/adyen/model/payout/Address.java +++ b/src/main/java/com/adyen/model/payout/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/Amount.java b/src/main/java/com/adyen/model/payout/Amount.java index 49c5e7caa..1d601c9ee 100644 --- a/src/main/java/com/adyen/model/payout/Amount.java +++ b/src/main/java/com/adyen/model/payout/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/BankAccount.java b/src/main/java/com/adyen/model/payout/BankAccount.java index ddb1093ad..4e60d076f 100644 --- a/src/main/java/com/adyen/model/payout/BankAccount.java +++ b/src/main/java/com/adyen/model/payout/BankAccount.java @@ -73,276 +73,303 @@ public class BankAccount { public BankAccount() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank city. + * + * @param bankCity + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankCity(String bankCity) { this.bankCity = bankCity; return this; } - /** + /** * The bank city. * @return bankCity - **/ + */ @ApiModelProperty(value = "The bank city.") @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCity() { return bankCity; } - - /** - * The bank city. - * - * @param bankCity - */ + /** + * The bank city. + * + * @param bankCity + */ @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCity(String bankCity) { this.bankCity = bankCity; } - + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The location id of the bank. The field value is `nil` in most cases. + /** + * The location id of the bank. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The location id of the bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The location id of the bank. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The name of the bank. + * + * @param bankName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankName(String bankName) { this.bankName = bankName; return this; } - /** + /** * The name of the bank. * @return bankName - **/ + */ @ApiModelProperty(value = "The name of the bank.") @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankName() { return bankName; } - - /** - * The name of the bank. - * - * @param bankName - */ + /** + * The name of the bank. + * + * @param bankName + */ @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankName(String bankName) { this.bankName = bankName; } - + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bic(String bic) { this.bic = bic; return this; } - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. * @return bic - **/ + */ @ApiModelProperty(value = "The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. - * - * @param bic - */ + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). * @return countryCode - **/ + */ @ApiModelProperty(value = "Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). - * - * @param countryCode - */ + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount iban(String iban) { this.iban = iban; return this; } - /** + /** * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). * @return iban - **/ + */ @ApiModelProperty(value = "The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). - * - * @param iban - */ + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The bank account holder's tax ID. + * + * @param taxId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount taxId(String taxId) { this.taxId = taxId; return this; } - /** - * The bank account holder's tax ID. + /** + * The bank account holder's tax ID. * @return taxId - **/ + */ @ApiModelProperty(value = "The bank account holder's tax ID.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The bank account holder's tax ID. - * - * @param taxId - */ + /** + * The bank account holder's tax ID. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this BankAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/Card.java b/src/main/java/com/adyen/model/payout/Card.java index 7995bc4bf..de42ff768 100644 --- a/src/main/java/com/adyen/model/payout/Card.java +++ b/src/main/java/com/adyen/model/payout/Card.java @@ -69,246 +69,270 @@ public class Card { public Card() { } + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Format: 4 digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Format: 4 digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Format: 4 digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the cardholder, as printed on the card. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the cardholder, as printed on the card.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the cardholder, as printed on the card. - * - * @param holderName - */ + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + * @return the current {@code Card} instance, allowing for method chaining + */ public Card issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card (for some UK debit cards only). * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card (for some UK debit cards only). - * - * @param issueNumber - */ + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** + /** * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. * @return number - **/ + */ @ApiModelProperty(value = "The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. - * - * @param number - */ + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** + /** * The month component of the start date (for some UK debit cards only). * @return startMonth - **/ + */ @ApiModelProperty(value = "The month component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month component of the start date (for some UK debit cards only). - * - * @param startMonth - */ + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year component of the start date (for some UK debit cards only). * @return startYear - **/ + */ @ApiModelProperty(value = "The year component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year component of the start date (for some UK debit cards only). - * - * @param startYear - */ + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/FraudCheckResult.java b/src/main/java/com/adyen/model/payout/FraudCheckResult.java index 22be5e784..2584d3a59 100644 --- a/src/main/java/com/adyen/model/payout/FraudCheckResult.java +++ b/src/main/java/com/adyen/model/payout/FraudCheckResult.java @@ -49,96 +49,105 @@ public class FraudCheckResult { public FraudCheckResult() { } + /** + * The fraud score generated by the risk check. + * + * @param accountScore + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The fraud score generated by the risk check. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The fraud score generated by the risk check.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The fraud score generated by the risk check. - * - * @param accountScore - */ + /** + * The fraud score generated by the risk check. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The ID of the risk check. + * + * @param checkId + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult checkId(Integer checkId) { this.checkId = checkId; return this; } - /** + /** * The ID of the risk check. * @return checkId - **/ + */ @ApiModelProperty(required = true, value = "The ID of the risk check.") @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCheckId() { return checkId; } - - /** - * The ID of the risk check. - * - * @param checkId - */ + /** + * The ID of the risk check. + * + * @param checkId + */ @JsonProperty(JSON_PROPERTY_CHECK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCheckId(Integer checkId) { this.checkId = checkId; } - + /** + * The name of the risk check. + * + * @param name + * @return the current {@code FraudCheckResult} instance, allowing for method chaining + */ public FraudCheckResult name(String name) { this.name = name; return this; } - /** + /** * The name of the risk check. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The name of the risk check.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the risk check. - * - * @param name - */ + /** + * The name of the risk check. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - /** * Return true if this FraudCheckResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/FraudCheckResultWrapper.java b/src/main/java/com/adyen/model/payout/FraudCheckResultWrapper.java index 49588b8b4..7e50f1fcf 100644 --- a/src/main/java/com/adyen/model/payout/FraudCheckResultWrapper.java +++ b/src/main/java/com/adyen/model/payout/FraudCheckResultWrapper.java @@ -42,36 +42,39 @@ public class FraudCheckResultWrapper { public FraudCheckResultWrapper() { } + /** + * fraudCheckResult + * + * @param fraudCheckResult + * @return the current {@code FraudCheckResultWrapper} instance, allowing for method chaining + */ public FraudCheckResultWrapper fraudCheckResult(FraudCheckResult fraudCheckResult) { this.fraudCheckResult = fraudCheckResult; return this; } - /** - * Get fraudCheckResult + /** + * fraudCheckResult * @return fraudCheckResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudCheckResult getFraudCheckResult() { return fraudCheckResult; } - - /** - * fraudCheckResult - * - * @param fraudCheckResult - */ + /** + * fraudCheckResult + * + * @param fraudCheckResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudCheckResult(FraudCheckResult fraudCheckResult) { this.fraudCheckResult = fraudCheckResult; } - /** * Return true if this FraudCheckResultWrapper object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/FraudResult.java b/src/main/java/com/adyen/model/payout/FraudResult.java index c1794650b..8a3fb40c4 100644 --- a/src/main/java/com/adyen/model/payout/FraudResult.java +++ b/src/main/java/com/adyen/model/payout/FraudResult.java @@ -48,36 +48,45 @@ public class FraudResult { public FraudResult() { } + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult accountScore(Integer accountScore) { this.accountScore = accountScore; return this; } - /** + /** * The total fraud score generated by the risk checks. * @return accountScore - **/ + */ @ApiModelProperty(required = true, value = "The total fraud score generated by the risk checks.") @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getAccountScore() { return accountScore; } - - /** - * The total fraud score generated by the risk checks. - * - * @param accountScore - */ + /** + * The total fraud score generated by the risk checks. + * + * @param accountScore + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountScore(Integer accountScore) { this.accountScore = accountScore; } - + /** + * The result of the individual risk checks. + * + * @param results + * @return the current {@code FraudResult} instance, allowing for method chaining + */ public FraudResult results(List results) { this.results = results; return this; @@ -91,31 +100,28 @@ public FraudResult addResultsItem(FraudCheckResultWrapper resultsItem) { return this; } - /** + /** * The result of the individual risk checks. * @return results - **/ + */ @ApiModelProperty(value = "The result of the individual risk checks.") @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getResults() { return results; } - - /** - * The result of the individual risk checks. - * - * @param results - */ + /** + * The result of the individual risk checks. + * + * @param results + */ @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResults(List results) { this.results = results; } - /** * Return true if this FraudResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/FundSource.java b/src/main/java/com/adyen/model/payout/FundSource.java index 0cfc4cf77..194ef8276 100644 --- a/src/main/java/com/adyen/model/payout/FundSource.java +++ b/src/main/java/com/adyen/model/payout/FundSource.java @@ -67,6 +67,12 @@ public class FundSource { public FundSource() { } + /** + * A map of name-value pairs for passing additional or industry-specific data. + * + * @param additionalData + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -80,181 +86,193 @@ public FundSource putAdditionalDataItem(String key, String additionalDataItem) { return this; } - /** + /** * A map of name-value pairs for passing additional or industry-specific data. * @return additionalData - **/ + */ @ApiModelProperty(value = "A map of name-value pairs for passing additional or industry-specific data.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * A map of name-value pairs for passing additional or industry-specific data. - * - * @param additionalData - */ + /** + * A map of name-value pairs for passing additional or industry-specific data. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * Email address of the person. + * + * @param shopperEmail + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** + /** * Email address of the person. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "Email address of the person.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * Email address of the person. - * - * @param shopperEmail - */ + /** + * Email address of the person. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Phone number of the person + * + * @param telephoneNumber + * @return the current {@code FundSource} instance, allowing for method chaining + */ public FundSource telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** + /** * Phone number of the person * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "Phone number of the person") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * Phone number of the person - * - * @param telephoneNumber - */ + /** + * Phone number of the person + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - /** * Return true if this FundSource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ModifyRequest.java b/src/main/java/com/adyen/model/payout/ModifyRequest.java index 2e9bf565c..501ea676a 100644 --- a/src/main/java/com/adyen/model/payout/ModifyRequest.java +++ b/src/main/java/com/adyen/model/payout/ModifyRequest.java @@ -52,6 +52,12 @@ public class ModifyRequest { public ModifyRequest() { } + /** + * This field contains additional data, which may be required for a particular payout request. + * + * @param additionalData + * @return the current {@code ModifyRequest} instance, allowing for method chaining + */ public ModifyRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -65,91 +71,94 @@ public ModifyRequest putAdditionalDataItem(String key, String additionalDataItem return this; } - /** + /** * This field contains additional data, which may be required for a particular payout request. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular payout request.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular payout request. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular payout request. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code ModifyRequest} instance, allowing for method chaining + */ public ModifyRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The PSP reference received in the `/submitThirdParty` response. + * + * @param originalReference + * @return the current {@code ModifyRequest} instance, allowing for method chaining + */ public ModifyRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** - * The PSP reference received in the `/submitThirdParty` response. + /** + * The PSP reference received in the `/submitThirdParty` response. * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The PSP reference received in the `/submitThirdParty` response.") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The PSP reference received in the `/submitThirdParty` response. - * - * @param originalReference - */ + /** + * The PSP reference received in the `/submitThirdParty` response. + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - /** * Return true if this ModifyRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ModifyResponse.java b/src/main/java/com/adyen/model/payout/ModifyResponse.java index ffb9f6bc8..11d0c32f1 100644 --- a/src/main/java/com/adyen/model/payout/ModifyResponse.java +++ b/src/main/java/com/adyen/model/payout/ModifyResponse.java @@ -52,6 +52,12 @@ public class ModifyResponse { public ModifyResponse() { } + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + * @return the current {@code ModifyResponse} instance, allowing for method chaining + */ public ModifyResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -65,91 +71,94 @@ public ModifyResponse putAdditionalDataItem(String key, String additionalDataIte return this; } - /** + /** * This field contains additional data, which may be returned in a particular response. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular response.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular response. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. + * + * @param pspReference + * @return the current {@code ModifyResponse} instance, allowing for method chaining + */ public ModifyResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. + /** + * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. + * + * @param response + * @return the current {@code ModifyResponse} instance, allowing for method chaining + */ public ModifyResponse response(String response) { this.response = response; return this; } - /** - * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. + /** + * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. * @return response - **/ + */ @ApiModelProperty(required = true, value = "The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResponse() { return response; } - - /** - * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. - * - * @param response - */ + /** + * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(String response) { this.response = response; } - /** * Return true if this ModifyResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/Name.java b/src/main/java/com/adyen/model/payout/Name.java index 5c076ecbe..d5d77c173 100644 --- a/src/main/java/com/adyen/model/payout/Name.java +++ b/src/main/java/com/adyen/model/payout/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/PayoutRequest.java b/src/main/java/com/adyen/model/payout/PayoutRequest.java index 5c32a506d..247a7ee49 100644 --- a/src/main/java/com/adyen/model/payout/PayoutRequest.java +++ b/src/main/java/com/adyen/model/payout/PayoutRequest.java @@ -138,426 +138,468 @@ public static ShopperInteractionEnum fromValue(String value) { public PayoutRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * fundSource + * + * @param fundSource + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest fundSource(FundSource fundSource) { this.fundSource = fundSource; return this; } - /** - * Get fundSource + /** + * fundSource * @return fundSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FUND_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FundSource getFundSource() { return fundSource; } - - /** - * fundSource - * - * @param fundSource - */ + /** + * fundSource + * + * @param fundSource + */ @JsonProperty(JSON_PROPERTY_FUND_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundSource(FundSource fundSource) { this.fundSource = fundSource; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * recurring + * + * @param recurring + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. * @return shopperEmail - **/ + */ @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. - * - * @param shopperEmail - */ + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. * @return shopperReference - **/ + */ @ApiModelProperty(value = "Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. - * - * @param shopperReference - */ + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The shopper's telephone number. + * + * @param telephoneNumber + * @return the current {@code PayoutRequest} instance, allowing for method chaining + */ public PayoutRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's telephone number. + /** + * The shopper's telephone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's telephone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's telephone number. - * - * @param telephoneNumber - */ + /** + * The shopper's telephone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - /** * Return true if this PayoutRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/PayoutResponse.java b/src/main/java/com/adyen/model/payout/PayoutResponse.java index 6c37c358e..271c40f33 100644 --- a/src/main/java/com/adyen/model/payout/PayoutResponse.java +++ b/src/main/java/com/adyen/model/payout/PayoutResponse.java @@ -145,6 +145,12 @@ public static ResultCodeEnum fromValue(String value) { public PayoutResponse() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -158,331 +164,358 @@ public PayoutResponse putAdditionalDataItem(String key, String additionalDataIte return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * dccAmount + * + * @param dccAmount + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse dccAmount(Amount dccAmount) { this.dccAmount = dccAmount; return this; } - /** - * Get dccAmount + /** + * dccAmount * @return dccAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DCC_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getDccAmount() { return dccAmount; } - - /** - * dccAmount - * - * @param dccAmount - */ + /** + * dccAmount + * + * @param dccAmount + */ @JsonProperty(JSON_PROPERTY_DCC_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccAmount(Amount dccAmount) { this.dccAmount = dccAmount; } - + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param dccSignature + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse dccSignature(String dccSignature) { this.dccSignature = dccSignature; return this; } - /** - * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * @return dccSignature - **/ + */ @ApiModelProperty(value = "Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new).") @JsonProperty(JSON_PROPERTY_DCC_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDccSignature() { return dccSignature; } - - /** - * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). - * - * @param dccSignature - */ + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * + * @param dccSignature + */ @JsonProperty(JSON_PROPERTY_DCC_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDccSignature(String dccSignature) { this.dccSignature = dccSignature; } - + /** + * fraudResult + * + * @param fraudResult + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse fraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; return this; } - /** - * Get fraudResult + /** + * fraudResult * @return fraudResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResult getFraudResult() { return fraudResult; } - - /** - * fraudResult - * - * @param fraudResult - */ + /** + * fraudResult + * + * @param fraudResult + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResult(FraudResult fraudResult) { this.fraudResult = fraudResult; } - + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + * + * @param issuerUrl + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse issuerUrl(String issuerUrl) { this.issuerUrl = issuerUrl; return this; } - /** - * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. * @return issuerUrl - **/ + */ @ApiModelProperty(value = "The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL.") @JsonProperty(JSON_PROPERTY_ISSUER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerUrl() { return issuerUrl; } - - /** - * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. - * - * @param issuerUrl - */ + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + * + * @param issuerUrl + */ @JsonProperty(JSON_PROPERTY_ISSUER_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerUrl(String issuerUrl) { this.issuerUrl = issuerUrl; } - + /** + * The payment session. + * + * @param md + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse md(String md) { this.md = md; return this; } - /** + /** * The payment session. * @return md - **/ + */ @ApiModelProperty(value = "The payment session.") @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMd() { return md; } - - /** - * The payment session. - * - * @param md - */ + /** + * The payment session. + * + * @param md + */ @JsonProperty(JSON_PROPERTY_MD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMd(String md) { this.md = md; } - + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + * + * @param paRequest + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse paRequest(String paRequest) { this.paRequest = paRequest; return this; } - /** - * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). * @return paRequest - **/ + */ @ApiModelProperty(value = "The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure).") @JsonProperty(JSON_PROPERTY_PA_REQUEST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaRequest() { return paRequest; } - - /** - * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). - * - * @param paRequest - */ + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + * + * @param paRequest + */ @JsonProperty(JSON_PROPERTY_PA_REQUEST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaRequest(String paRequest) { this.paRequest = paRequest; } - + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). - * - * @param refusalReason - */ + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. For more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + * @return the current {@code PayoutResponse} instance, allowing for method chaining + */ public PayoutResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. - * - * @param resultCode - */ + /** + * The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes). Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **PartiallyAuthorised** – The payment has been authorised for a partial amount. This happens for card payments when the merchant supports Partial Authorisations and the cardholder has insufficient funds. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. * **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - /** * Return true if this PayoutResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/Recurring.java b/src/main/java/com/adyen/model/payout/Recurring.java index 97eeab15c..70b7db163 100644 --- a/src/main/java/com/adyen/model/payout/Recurring.java +++ b/src/main/java/com/adyen/model/payout/Recurring.java @@ -134,156 +134,171 @@ public static TokenServiceEnum fromValue(String value) { public Recurring() { } + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring contract(ContractEnum contract) { this.contract = contract; return this; } - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * @return contract - **/ + */ @ApiModelProperty(value = "The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractEnum getContract() { return contract; } - - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). - * - * @param contract - */ + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(ContractEnum contract) { this.contract = contract; } - + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; return this; } - /** + /** * A descriptive name for this detail. * @return recurringDetailName - **/ + */ @ApiModelProperty(value = "A descriptive name for this detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailName() { return recurringDetailName; } - - /** - * A descriptive name for this detail. - * - * @param recurringDetailName - */ + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The name of the token service. + * + * @param tokenService + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring tokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; return this; } - /** + /** * The name of the token service. * @return tokenService - **/ + */ @ApiModelProperty(value = "The name of the token service.") @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenServiceEnum getTokenService() { return tokenService; } - - /** - * The name of the token service. - * - * @param tokenService - */ + /** + * The name of the token service. + * + * @param tokenService + */ @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; } - /** * Return true if this Recurring object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalData3DSecure.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalData3DSecure.java index c52544a3d..bb9e66f14 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalData3DSecure.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalData3DSecure.java @@ -57,156 +57,171 @@ public class ResponseAdditionalData3DSecure { public ResponseAdditionalData3DSecure() { } + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; return this; } - /** + /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. * @return cardHolderInfo - **/ + */ @ApiModelProperty(value = "Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. ") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderInfo() { return cardHolderInfo; } - - /** - * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. - * - * @param cardHolderInfo - */ + /** + * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. + * + * @param cardHolderInfo + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderInfo(String cardHolderInfo) { this.cardHolderInfo = cardHolderInfo; } - + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavv(String cavv) { this.cavv = cavv; return this; } - /** + /** * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. * @return cavv - **/ + */ @ApiModelProperty(value = "The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array.") @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavv() { return cavv; } - - /** - * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. - * - * @param cavv - */ + /** + * The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array. + * + * @param cavv + */ @JsonProperty(JSON_PROPERTY_CAVV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavv(String cavv) { this.cavv = cavv; } - + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure cavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; return this; } - /** + /** * The CAVV algorithm used. * @return cavvAlgorithm - **/ + */ @ApiModelProperty(value = "The CAVV algorithm used.") @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCavvAlgorithm() { return cavvAlgorithm; } - - /** - * The CAVV algorithm used. - * - * @param cavvAlgorithm - */ + /** + * The CAVV algorithm used. + * + * @param cavvAlgorithm + */ @JsonProperty(JSON_PROPERTY_CAVV_ALGORITHM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCavvAlgorithm(String cavvAlgorithm) { this.cavvAlgorithm = cavvAlgorithm; } - + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure scaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; return this; } - /** + /** * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * @return scaExemptionRequested - **/ + */ @ApiModelProperty(value = "Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** ") @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScaExemptionRequested() { return scaExemptionRequested; } - - /** - * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** - * - * @param scaExemptionRequested - */ + /** + * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** + * + * @param scaExemptionRequested + */ @JsonProperty(JSON_PROPERTY_SCA_EXEMPTION_REQUESTED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScaExemptionRequested(String scaExemptionRequested) { this.scaExemptionRequested = scaExemptionRequested; } - + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + * @return the current {@code ResponseAdditionalData3DSecure} instance, allowing for method chaining + */ public ResponseAdditionalData3DSecure threeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; return this; } - /** + /** * Indicates whether a card is enrolled for 3D Secure 2. * @return threeds2CardEnrolled - **/ + */ @ApiModelProperty(value = "Indicates whether a card is enrolled for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getThreeds2CardEnrolled() { return threeds2CardEnrolled; } - - /** - * Indicates whether a card is enrolled for 3D Secure 2. - * - * @param threeds2CardEnrolled - */ + /** + * Indicates whether a card is enrolled for 3D Secure 2. + * + * @param threeds2CardEnrolled + */ @JsonProperty(JSON_PROPERTY_THREEDS2_CARD_ENROLLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeds2CardEnrolled(Boolean threeds2CardEnrolled) { this.threeds2CardEnrolled = threeds2CardEnrolled; } - /** * Return true if this ResponseAdditionalData3DSecure object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataBillingAddress.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataBillingAddress.java index aebaed324..4d7215efa 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataBillingAddress.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataBillingAddress.java @@ -61,186 +61,204 @@ public class ResponseAdditionalDataBillingAddress { public ResponseAdditionalDataBillingAddress() { } + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; return this; } - /** + /** * The billing address city passed in the payment request. * @return billingAddressCity - **/ + */ @ApiModelProperty(value = "The billing address city passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCity() { return billingAddressCity; } - - /** - * The billing address city passed in the payment request. - * - * @param billingAddressCity - */ + /** + * The billing address city passed in the payment request. + * + * @param billingAddressCity + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCity(String billingAddressCity) { this.billingAddressCity = billingAddressCity; } - + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; return this; } - /** + /** * The billing address country passed in the payment request. Example: NL * @return billingAddressCountry - **/ + */ @ApiModelProperty(value = "The billing address country passed in the payment request. Example: NL") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressCountry() { return billingAddressCountry; } - - /** - * The billing address country passed in the payment request. Example: NL - * - * @param billingAddressCountry - */ + /** + * The billing address country passed in the payment request. Example: NL + * + * @param billingAddressCountry + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressCountry(String billingAddressCountry) { this.billingAddressCountry = billingAddressCountry; } - + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; return this; } - /** + /** * The billing address house number or name passed in the payment request. * @return billingAddressHouseNumberOrName - **/ + */ @ApiModelProperty(value = "The billing address house number or name passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressHouseNumberOrName() { return billingAddressHouseNumberOrName; } - - /** - * The billing address house number or name passed in the payment request. - * - * @param billingAddressHouseNumberOrName - */ + /** + * The billing address house number or name passed in the payment request. + * + * @param billingAddressHouseNumberOrName + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName) { this.billingAddressHouseNumberOrName = billingAddressHouseNumberOrName; } - + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; return this; } - /** + /** * The billing address postal code passed in the payment request. Example: 1011 DJ * @return billingAddressPostalCode - **/ + */ @ApiModelProperty(value = "The billing address postal code passed in the payment request. Example: 1011 DJ") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressPostalCode() { return billingAddressPostalCode; } - - /** - * The billing address postal code passed in the payment request. Example: 1011 DJ - * - * @param billingAddressPostalCode - */ + /** + * The billing address postal code passed in the payment request. Example: 1011 DJ + * + * @param billingAddressPostalCode + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressPostalCode(String billingAddressPostalCode) { this.billingAddressPostalCode = billingAddressPostalCode; } - + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; return this; } - /** + /** * The billing address state or province passed in the payment request. Example: NH * @return billingAddressStateOrProvince - **/ + */ @ApiModelProperty(value = "The billing address state or province passed in the payment request. Example: NH") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStateOrProvince() { return billingAddressStateOrProvince; } - - /** - * The billing address state or province passed in the payment request. Example: NH - * - * @param billingAddressStateOrProvince - */ + /** + * The billing address state or province passed in the payment request. Example: NH + * + * @param billingAddressStateOrProvince + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStateOrProvince(String billingAddressStateOrProvince) { this.billingAddressStateOrProvince = billingAddressStateOrProvince; } - + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + * @return the current {@code ResponseAdditionalDataBillingAddress} instance, allowing for method chaining + */ public ResponseAdditionalDataBillingAddress billingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; return this; } - /** + /** * The billing address street passed in the payment request. * @return billingAddressStreet - **/ + */ @ApiModelProperty(value = "The billing address street passed in the payment request.") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingAddressStreet() { return billingAddressStreet; } - - /** - * The billing address street passed in the payment request. - * - * @param billingAddressStreet - */ + /** + * The billing address street passed in the payment request. + * + * @param billingAddressStreet + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddressStreet(String billingAddressStreet) { this.billingAddressStreet = billingAddressStreet; } - /** * Return true if this ResponseAdditionalDataBillingAddress object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCard.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCard.java index ce0ba2557..f9af38483 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCard.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCard.java @@ -69,246 +69,270 @@ public class ResponseAdditionalDataCard { public ResponseAdditionalDataCard() { } + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardBin(String cardBin) { this.cardBin = cardBin; return this; } - /** + /** * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 * @return cardBin - **/ + */ @ApiModelProperty(value = "The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234") @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardBin() { return cardBin; } - - /** - * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 - * - * @param cardBin - */ + /** + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 + * + * @param cardBin + */ @JsonProperty(JSON_PROPERTY_CARD_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardBin(String cardBin) { this.cardBin = cardBin; } - + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; return this; } - /** + /** * The cardholder name passed in the payment request. * @return cardHolderName - **/ + */ @ApiModelProperty(value = "The cardholder name passed in the payment request.") @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardHolderName() { return cardHolderName; } - - /** - * The cardholder name passed in the payment request. - * - * @param cardHolderName - */ + /** + * The cardholder name passed in the payment request. + * + * @param cardHolderName + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolderName(String cardHolderName) { this.cardHolderName = cardHolderName; } - + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; return this; } - /** + /** * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. * @return cardIssuingBank - **/ + */ @ApiModelProperty(value = "The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingBank() { return cardIssuingBank; } - - /** - * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. - * - * @param cardIssuingBank - */ + /** + * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available. + * + * @param cardIssuingBank + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingBank(String cardIssuingBank) { this.cardIssuingBank = cardIssuingBank; } - + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; return this; } - /** + /** * The country where the card was issued. Example: US * @return cardIssuingCountry - **/ + */ @ApiModelProperty(value = "The country where the card was issued. Example: US") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCountry() { return cardIssuingCountry; } - - /** - * The country where the card was issued. Example: US - * - * @param cardIssuingCountry - */ + /** + * The country where the card was issued. Example: US + * + * @param cardIssuingCountry + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCountry(String cardIssuingCountry) { this.cardIssuingCountry = cardIssuingCountry; } - + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; return this; } - /** + /** * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD * @return cardIssuingCurrency - **/ + */ @ApiModelProperty(value = "The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD") @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardIssuingCurrency() { return cardIssuingCurrency; } - - /** - * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD - * - * @param cardIssuingCurrency - */ + /** + * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD + * + * @param cardIssuingCurrency + */ @JsonProperty(JSON_PROPERTY_CARD_ISSUING_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIssuingCurrency(String cardIssuingCurrency) { this.cardIssuingCurrency = cardIssuingCurrency; } - + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; return this; } - /** + /** * The card payment method used for the transaction. Example: amex * @return cardPaymentMethod - **/ + */ @ApiModelProperty(value = "The card payment method used for the transaction. Example: amex") @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardPaymentMethod() { return cardPaymentMethod; } - - /** - * The card payment method used for the transaction. Example: amex - * - * @param cardPaymentMethod - */ + /** + * The card payment method used for the transaction. Example: amex + * + * @param cardPaymentMethod + */ @JsonProperty(JSON_PROPERTY_CARD_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardPaymentMethod(String cardPaymentMethod) { this.cardPaymentMethod = cardPaymentMethod; } - + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard cardSummary(String cardSummary) { this.cardSummary = cardSummary; return this; } - /** - * The last four digits of a card number. > Returned only in case of a card payment. + /** + * The last four digits of a card number. > Returned only in case of a card payment. * @return cardSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a card number. > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCardSummary() { return cardSummary; } - - /** - * The last four digits of a card number. > Returned only in case of a card payment. - * - * @param cardSummary - */ + /** + * The last four digits of a card number. > Returned only in case of a card payment. + * + * @param cardSummary + */ @JsonProperty(JSON_PROPERTY_CARD_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardSummary(String cardSummary) { this.cardSummary = cardSummary; } - + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + * @return the current {@code ResponseAdditionalDataCard} instance, allowing for method chaining + */ public ResponseAdditionalDataCard issuerBin(String issuerBin) { this.issuerBin = issuerBin; return this; } - /** + /** * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 * @return issuerBin - **/ + */ @ApiModelProperty(value = "The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423") @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerBin() { return issuerBin; } - - /** - * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 - * - * @param issuerBin - */ + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + * + * @param issuerBin + */ @JsonProperty(JSON_PROPERTY_ISSUER_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerBin(String issuerBin) { this.issuerBin = issuerBin; } - /** * Return true if this ResponseAdditionalDataCard object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCommon.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCommon.java index c420d310c..ba3de293b 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataCommon.java @@ -345,1776 +345,1953 @@ public static RecurringProcessingModelEnum fromValue(String value) { public ResponseAdditionalDataCommon() { } + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; return this; } - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. * @return acquirerAccountCode - **/ + */ @ApiModelProperty(value = "The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerAccountCode() { return acquirerAccountCode; } - - /** - * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. - * - * @param acquirerAccountCode - */ + /** + * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. + * + * @param acquirerAccountCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerAccountCode(String acquirerAccountCode) { this.acquirerAccountCode = acquirerAccountCode; } - + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; return this; } - /** + /** * The name of the acquirer processing the payment request. Example: TestPmmAcquirer * @return acquirerCode - **/ + */ @ApiModelProperty(value = "The name of the acquirer processing the payment request. Example: TestPmmAcquirer") @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerCode() { return acquirerCode; } - - /** - * The name of the acquirer processing the payment request. Example: TestPmmAcquirer - * - * @param acquirerCode - */ + /** + * The name of the acquirer processing the payment request. Example: TestPmmAcquirer + * + * @param acquirerCode + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerCode(String acquirerCode) { this.acquirerCode = acquirerCode; } - + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon acquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; return this; } - /** + /** * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 * @return acquirerReference - **/ + */ @ApiModelProperty(value = "The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9") @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerReference() { return acquirerReference; } - - /** - * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 - * - * @param acquirerReference - */ + /** + * The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9 + * + * @param acquirerReference + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerReference(String acquirerReference) { this.acquirerReference = acquirerReference; } - + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon alias(String alias) { this.alias = alias; return this; } - /** + /** * The Adyen alias of the card. Example: H167852639363479 * @return alias - **/ + */ @ApiModelProperty(value = "The Adyen alias of the card. Example: H167852639363479") @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAlias() { return alias; } - - /** - * The Adyen alias of the card. Example: H167852639363479 - * - * @param alias - */ + /** + * The Adyen alias of the card. Example: H167852639363479 + * + * @param alias + */ @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAlias(String alias) { this.alias = alias; } - + /** + * The type of the card alias. Example: Default + * + * @param aliasType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon aliasType(String aliasType) { this.aliasType = aliasType; return this; } - /** + /** * The type of the card alias. Example: Default * @return aliasType - **/ + */ @ApiModelProperty(value = "The type of the card alias. Example: Default") @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAliasType() { return aliasType; } - - /** - * The type of the card alias. Example: Default - * - * @param aliasType - */ + /** + * The type of the card alias. Example: Default + * + * @param aliasType + */ @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAliasType(String aliasType) { this.aliasType = aliasType; } - + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747 + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; return this; } - /** + /** * Merchant ID known by the acquirer. * @return authorisationMid - **/ + */ @ApiModelProperty(value = "Merchant ID known by the acquirer.") @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationMid() { return authorisationMid; } - - /** - * Merchant ID known by the acquirer. - * - * @param authorisationMid - */ + /** + * Merchant ID known by the acquirer. + * + * @param authorisationMid + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_MID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationMid(String authorisationMid) { this.authorisationMid = authorisationMid; } - + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; return this; } - /** + /** * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountCurrency - **/ + */ @ApiModelProperty(value = "The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountCurrency() { return authorisedAmountCurrency; } - - /** - * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountCurrency - */ + /** + * The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountCurrency + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountCurrency(String authorisedAmountCurrency) { this.authorisedAmountCurrency = authorisedAmountCurrency; } - + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon authorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; return this; } - /** + /** * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * @return authorisedAmountValue - **/ + */ @ApiModelProperty(value = "Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisedAmountValue() { return authorisedAmountValue; } - - /** - * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). - * - * @param authorisedAmountValue - */ + /** + * Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + * + * @param authorisedAmountValue + */ @JsonProperty(JSON_PROPERTY_AUTHORISED_AMOUNT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisedAmountValue(String authorisedAmountValue) { this.authorisedAmountValue = authorisedAmountValue; } - + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResult(String avsResult) { this.avsResult = avsResult; return this; } - /** + /** * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). * @return avsResult - **/ + */ @ApiModelProperty(value = "The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs).") @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResult() { return avsResult; } - - /** - * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). - * - * @param avsResult - */ + /** + * The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs). + * + * @param avsResult + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResult(String avsResult) { this.avsResult = avsResult; } - + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon avsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; return this; } - /** + /** * Raw AVS result received from the acquirer, where available. Example: D * @return avsResultRaw - **/ + */ @ApiModelProperty(value = "Raw AVS result received from the acquirer, where available. Example: D") @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAvsResultRaw() { return avsResultRaw; } - - /** - * Raw AVS result received from the acquirer, where available. Example: D - * - * @param avsResultRaw - */ + /** + * Raw AVS result received from the acquirer, where available. Example: D + * + * @param avsResultRaw + */ @JsonProperty(JSON_PROPERTY_AVS_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAvsResultRaw(String avsResultRaw) { this.avsResultRaw = avsResultRaw; } - + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon bic(String bic) { this.bic = bic; return this; } - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. * @return bic - **/ + */ @ApiModelProperty(value = "BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. - * - * @param bic - */ + /** + * BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon coBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; return this; } - /** + /** * Includes the co-branded card information. * @return coBrandedWith - **/ + */ @ApiModelProperty(value = "Includes the co-branded card information.") @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCoBrandedWith() { return coBrandedWith; } - - /** - * Includes the co-branded card information. - * - * @param coBrandedWith - */ + /** + * Includes the co-branded card information. + * + * @param coBrandedWith + */ @JsonProperty(JSON_PROPERTY_CO_BRANDED_WITH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCoBrandedWith(String coBrandedWith) { this.coBrandedWith = coBrandedWith; } - + /** + * The result of CVC verification. + * + * @param cvcResult + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResult(String cvcResult) { this.cvcResult = cvcResult; return this; } - /** + /** * The result of CVC verification. * @return cvcResult - **/ + */ @ApiModelProperty(example = "1 Matches", value = "The result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResult() { return cvcResult; } - - /** - * The result of CVC verification. - * - * @param cvcResult - */ + /** + * The result of CVC verification. + * + * @param cvcResult + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResult(String cvcResult) { this.cvcResult = cvcResult; } - + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon cvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; return this; } - /** + /** * The raw result of CVC verification. * @return cvcResultRaw - **/ + */ @ApiModelProperty(example = "M", value = "The raw result of CVC verification.") @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvcResultRaw() { return cvcResultRaw; } - - /** - * The raw result of CVC verification. - * - * @param cvcResultRaw - */ + /** + * The raw result of CVC verification. + * + * @param cvcResultRaw + */ @JsonProperty(JSON_PROPERTY_CVC_RESULT_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvcResultRaw(String cvcResultRaw) { this.cvcResultRaw = cvcResultRaw; } - + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon dsTransID(String dsTransID) { this.dsTransID = dsTransID; return this; } - /** + /** * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. * @return dsTransID - **/ + */ @ApiModelProperty(value = "Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction.") @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDsTransID() { return dsTransID; } - - /** - * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. - * - * @param dsTransID - */ + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction. + * + * @param dsTransID + */ @JsonProperty(JSON_PROPERTY_DS_TRANS_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDsTransID(String dsTransID) { this.dsTransID = dsTransID; } - + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon eci(String eci) { this.eci = eci; return this; } - /** + /** * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 * @return eci - **/ + */ @ApiModelProperty(value = "The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02") @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEci() { return eci; } - - /** - * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 - * - * @param eci - */ + /** + * The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02 + * + * @param eci + */ @JsonProperty(JSON_PROPERTY_ECI) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEci(String eci) { this.eci = eci; } - + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon expiryDate(String expiryDate) { this.expiryDate = expiryDate; return this; } - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. * @return expiryDate - **/ + */ @ApiModelProperty(value = "The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment.") @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryDate() { return expiryDate; } - - /** - * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. - * - * @param expiryDate - */ + /** + * The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment. + * + * @param expiryDate + */ @JsonProperty(JSON_PROPERTY_EXPIRY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; } - + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; return this; } - /** + /** * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR * @return extraCostsCurrency - **/ + */ @ApiModelProperty(value = "The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsCurrency() { return extraCostsCurrency; } - - /** - * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR - * - * @param extraCostsCurrency - */ + /** + * The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR + * + * @param extraCostsCurrency + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsCurrency(String extraCostsCurrency) { this.extraCostsCurrency = extraCostsCurrency; } - + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon extraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; return this; } - /** + /** * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. * @return extraCostsValue - **/ + */ @ApiModelProperty(value = "The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units.") @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExtraCostsValue() { return extraCostsValue; } - - /** - * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. - * - * @param extraCostsValue - */ + /** + * The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units. + * + * @param extraCostsValue + */ @JsonProperty(JSON_PROPERTY_EXTRA_COSTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExtraCostsValue(String extraCostsValue) { this.extraCostsValue = extraCostsValue; } - + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; return this; } - /** + /** * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. * @return fraudCheckItemNrFraudCheckname - **/ + */ @ApiModelProperty(value = "The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair.") @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudCheckItemNrFraudCheckname() { return fraudCheckItemNrFraudCheckname; } - - /** - * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. - * - * @param fraudCheckItemNrFraudCheckname - */ + /** + * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. + * + * @param fraudCheckItemNrFraudCheckname + */ @JsonProperty(JSON_PROPERTY_FRAUD_CHECK_ITEM_NR_FRAUD_CHECKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudCheckItemNrFraudCheckname(String fraudCheckItemNrFraudCheckname) { this.fraudCheckItemNrFraudCheckname = fraudCheckItemNrFraudCheckname; } - + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; return this; } - /** + /** * Indicates if the payment is sent to manual review. * @return fraudManualReview - **/ + */ @ApiModelProperty(value = "Indicates if the payment is sent to manual review.") @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFraudManualReview() { return fraudManualReview; } - - /** - * Indicates if the payment is sent to manual review. - * - * @param fraudManualReview - */ + /** + * Indicates if the payment is sent to manual review. + * + * @param fraudManualReview + */ @JsonProperty(JSON_PROPERTY_FRAUD_MANUAL_REVIEW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudManualReview(String fraudManualReview) { this.fraudManualReview = fraudManualReview; } - + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; return this; } - /** + /** * The fraud result properties of the payment. * @return fraudResultType - **/ + */ @ApiModelProperty(value = "The fraud result properties of the payment.") @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public FraudResultTypeEnum getFraudResultType() { return fraudResultType; } - - /** - * The fraud result properties of the payment. - * - * @param fraudResultType - */ + /** + * The fraud result properties of the payment. + * + * @param fraudResultType + */ @JsonProperty(JSON_PROPERTY_FRAUD_RESULT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudResultType(FraudResultTypeEnum fraudResultType) { this.fraudResultType = fraudResultType; } - + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundingSource(String fundingSource) { this.fundingSource = fundingSource; return this; } - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. * @return fundingSource - **/ + */ @ApiModelProperty(value = "Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**.") @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundingSource() { return fundingSource; } - - /** - * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. - * - * @param fundingSource - */ + /** + * Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**. + * + * @param fundingSource + */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundingSource(String fundingSource) { this.fundingSource = fundingSource; } - + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon fundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; return this; } - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". * @return fundsAvailability - **/ + */ @ApiModelProperty(value = "Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\".") @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFundsAvailability() { return fundsAvailability; } - - /** - * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". - * - * @param fundsAvailability - */ + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\". + * + * @param fundsAvailability + */ @JsonProperty(JSON_PROPERTY_FUNDS_AVAILABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFundsAvailability(String fundsAvailability) { this.fundsAvailability = fundsAvailability; } - + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon inferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; return this; } - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card * @return inferredRefusalReason - **/ + */ @ApiModelProperty(value = "Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card") @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInferredRefusalReason() { return inferredRefusalReason; } - - /** - * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card - * - * @param inferredRefusalReason - */ + /** + * Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card + * + * @param inferredRefusalReason + */ @JsonProperty(JSON_PROPERTY_INFERRED_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInferredRefusalReason(String inferredRefusalReason) { this.inferredRefusalReason = inferredRefusalReason; } - + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon isCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; return this; } - /** + /** * Indicates if the card is used for business purposes only. * @return isCardCommercial - **/ + */ @ApiModelProperty(value = "Indicates if the card is used for business purposes only.") @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIsCardCommercial() { return isCardCommercial; } - - /** - * Indicates if the card is used for business purposes only. - * - * @param isCardCommercial - */ + /** + * Indicates if the card is used for business purposes only. + * + * @param isCardCommercial + */ @JsonProperty(JSON_PROPERTY_IS_CARD_COMMERCIAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsCardCommercial(String isCardCommercial) { this.isCardCommercial = isCardCommercial; } - + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon issuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; return this; } - /** + /** * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP * @return issuerCountry - **/ + */ @ApiModelProperty(value = "The issuing country of the card based on the BIN list that Adyen maintains. Example: JP") @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssuerCountry() { return issuerCountry; } - - /** - * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP - * - * @param issuerCountry - */ + /** + * The issuing country of the card based on the BIN list that Adyen maintains. Example: JP + * + * @param issuerCountry + */ @JsonProperty(JSON_PROPERTY_ISSUER_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssuerCountry(String issuerCountry) { this.issuerCountry = issuerCountry; } - + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon liabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; return this; } - /** + /** * A Boolean value indicating whether a liability shift was offered for this payment. * @return liabilityShift - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether a liability shift was offered for this payment.") @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLiabilityShift() { return liabilityShift; } - - /** - * A Boolean value indicating whether a liability shift was offered for this payment. - * - * @param liabilityShift - */ + /** + * A Boolean value indicating whether a liability shift was offered for this payment. + * + * @param liabilityShift + */ @JsonProperty(JSON_PROPERTY_LIABILITY_SHIFT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLiabilityShift(String liabilityShift) { this.liabilityShift = liabilityShift; } - + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon mcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; return this; } - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. * @return mcBankNetReferenceNumber - **/ + */ @ApiModelProperty(value = "The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcBankNetReferenceNumber() { return mcBankNetReferenceNumber; } - - /** - * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. - * - * @param mcBankNetReferenceNumber - */ + /** + * The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field. + * + * @param mcBankNetReferenceNumber + */ @JsonProperty(JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcBankNetReferenceNumber(String mcBankNetReferenceNumber) { this.mcBankNetReferenceNumber = mcBankNetReferenceNumber; } - + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; return this; } - /** + /** * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). * @return merchantAdviceCode - **/ + */ @ApiModelProperty(value = "The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes).") @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAdviceCode() { return merchantAdviceCode; } - - /** - * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). - * - * @param merchantAdviceCode - */ + /** + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). + * + * @param merchantAdviceCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ADVICE_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAdviceCode(String merchantAdviceCode) { this.merchantAdviceCode = merchantAdviceCode; } - + /** + * The reference provided for the transaction. + * + * @param merchantReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } - /** + /** * The reference provided for the transaction. * @return merchantReference - **/ + */ @ApiModelProperty(value = "The reference provided for the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantReference() { return merchantReference; } - - /** - * The reference provided for the transaction. - * - * @param merchantReference - */ + /** + * The reference provided for the transaction. + * + * @param merchantReference + */ @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** + /** * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. * @return ownerName - **/ + */ @ApiModelProperty(value = "The owner name of a bank account. Only relevant for SEPA Direct Debit transactions.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. - * - * @param ownerName - */ + /** + * The owner name of a bank account. Only relevant for SEPA Direct Debit transactions. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; return this; } - /** + /** * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. * @return paymentAccountReference - **/ + */ @ApiModelProperty(value = "The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters.") @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentAccountReference() { return paymentAccountReference; } - - /** - * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. - * - * @param paymentAccountReference - */ + /** + * The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters. + * + * @param paymentAccountReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentAccountReference(String paymentAccountReference) { this.paymentAccountReference = paymentAccountReference; } - + /** + * The payment method used in the transaction. + * + * @param paymentMethod + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** + /** * The payment method used in the transaction. * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The payment method used in the transaction.") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethod() { return paymentMethod; } - - /** - * The payment method used in the transaction. - * - * @param paymentMethod - */ + /** + * The payment method used in the transaction. + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon paymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; return this; } - /** + /** * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro * @return paymentMethodVariant - **/ + */ @ApiModelProperty(value = "The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodVariant() { return paymentMethodVariant; } - - /** - * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro - * - * @param paymentMethodVariant - */ + /** + * The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro + * + * @param paymentMethodVariant + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; } - + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon payoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; return this; } - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) * @return payoutEligible - **/ + */ @ApiModelProperty(value = "Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown)") @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPayoutEligible() { return payoutEligible; } - - /** - * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) - * - * @param payoutEligible - */ + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) + * + * @param payoutEligible + */ @JsonProperty(JSON_PROPERTY_PAYOUT_ELIGIBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPayoutEligible(String payoutEligible) { this.payoutEligible = payoutEligible; } - + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon realtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; return this; } - /** + /** * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder * @return realtimeAccountUpdaterStatus - **/ + */ @ApiModelProperty(value = "The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder") @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRealtimeAccountUpdaterStatus() { return realtimeAccountUpdaterStatus; } - - /** - * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder - * - * @param realtimeAccountUpdaterStatus - */ + /** + * The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder + * + * @param realtimeAccountUpdaterStatus + */ @JsonProperty(JSON_PROPERTY_REALTIME_ACCOUNT_UPDATER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRealtimeAccountUpdaterStatus(String realtimeAccountUpdaterStatus) { this.realtimeAccountUpdaterStatus = realtimeAccountUpdaterStatus; } - + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon receiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; return this; } - /** + /** * Message to be displayed on the terminal. * @return receiptFreeText - **/ + */ @ApiModelProperty(value = "Message to be displayed on the terminal.") @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReceiptFreeText() { return receiptFreeText; } - - /** - * Message to be displayed on the terminal. - * - * @param receiptFreeText - */ + /** + * Message to be displayed on the terminal. + * + * @param receiptFreeText + */ @JsonProperty(JSON_PROPERTY_RECEIPT_FREE_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceiptFreeText(String receiptFreeText) { this.receiptFreeText = receiptFreeText; } - + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; return this; } - /** + /** * The recurring contract types applicable to the transaction. * @return recurringContractTypes - **/ + */ @ApiModelProperty(value = "The recurring contract types applicable to the transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringContractTypes() { return recurringContractTypes; } - - /** - * The recurring contract types applicable to the transaction. - * - * @param recurringContractTypes - */ + /** + * The recurring contract types applicable to the transaction. + * + * @param recurringContractTypes + */ @JsonProperty(JSON_PROPERTY_RECURRING_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringContractTypes(String recurringContractTypes) { this.recurringContractTypes = recurringContractTypes; } - + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; return this; } - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. * @return recurringFirstPspReference - **/ + */ @ApiModelProperty(value = "The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.") @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFirstPspReference() { return recurringFirstPspReference; } - - /** - * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. - * - * @param recurringFirstPspReference - */ + /** + * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. + * + * @param recurringFirstPspReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFirstPspReference(String recurringFirstPspReference) { this.recurringFirstPspReference = recurringFirstPspReference; } - + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; return this; } - /** + /** * The reference that uniquely identifies the recurring transaction. * @return recurringRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The reference that uniquely identifies the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringRecurringDetailReference() { return recurringRecurringDetailReference; } - - /** - * The reference that uniquely identifies the recurring transaction. - * - * @param recurringRecurringDetailReference - */ + /** + * The reference that uniquely identifies the recurring transaction. + * + * @param recurringRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringRecurringDetailReference(String recurringRecurringDetailReference) { this.recurringRecurringDetailReference = recurringRecurringDetailReference; } - + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; return this; } - /** + /** * The provided reference of the shopper for a recurring transaction. * @return recurringShopperReference - **/ + */ @ApiModelProperty(value = "The provided reference of the shopper for a recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringShopperReference() { return recurringShopperReference; } - - /** - * The provided reference of the shopper for a recurring transaction. - * - * @param recurringShopperReference - */ + /** + * The provided reference of the shopper for a recurring transaction. + * + * @param recurringShopperReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringShopperReference(String recurringShopperReference) { this.recurringShopperReference = recurringShopperReference; } - + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; return this; } - /** + /** * The processing model used for the recurring transaction. * @return recurringProcessingModel - **/ + */ @ApiModelProperty(value = "The processing model used for the recurring transaction.") @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringProcessingModelEnum getRecurringProcessingModel() { return recurringProcessingModel; } - - /** - * The processing model used for the recurring transaction. - * - * @param recurringProcessingModel - */ + /** + * The processing model used for the recurring transaction. + * + * @param recurringProcessingModel + */ @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { this.recurringProcessingModel = recurringProcessingModel; } - + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon referred(String referred) { this.referred = referred; return this; } - /** + /** * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true * @return referred - **/ + */ @ApiModelProperty(value = "If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true") @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferred() { return referred; } - - /** - * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true - * - * @param referred - */ + /** + * If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true + * + * @param referred + */ @JsonProperty(JSON_PROPERTY_REFERRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferred(String referred) { this.referred = referred; } - + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon refusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; return this; } - /** + /** * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED * @return refusalReasonRaw - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the acquirer, where available. Example: AUTHORISED") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReasonRaw() { return refusalReasonRaw; } - - /** - * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED - * - * @param refusalReasonRaw - */ + /** + * Raw refusal reason received from the acquirer, where available. Example: AUTHORISED + * + * @param refusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReasonRaw(String refusalReasonRaw) { this.refusalReasonRaw = refusalReasonRaw; } - + /** + * The amount of the payment request. + * + * @param requestAmount + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestAmount(String requestAmount) { this.requestAmount = requestAmount; return this; } - /** + /** * The amount of the payment request. * @return requestAmount - **/ + */ @ApiModelProperty(value = "The amount of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestAmount() { return requestAmount; } - - /** - * The amount of the payment request. - * - * @param requestAmount - */ + /** + * The amount of the payment request. + * + * @param requestAmount + */ @JsonProperty(JSON_PROPERTY_REQUEST_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestAmount(String requestAmount) { this.requestAmount = requestAmount; } - + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon requestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; return this; } - /** + /** * The currency of the payment request. * @return requestCurrencyCode - **/ + */ @ApiModelProperty(value = "The currency of the payment request.") @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestCurrencyCode() { return requestCurrencyCode; } - - /** - * The currency of the payment request. - * - * @param requestCurrencyCode - */ + /** + * The currency of the payment request. + * + * @param requestCurrencyCode + */ @JsonProperty(JSON_PROPERTY_REQUEST_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestCurrencyCode(String requestCurrencyCode) { this.requestCurrencyCode = requestCurrencyCode; } - + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** + /** * The shopper interaction type of the payment request. Example: Ecommerce * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "The shopper interaction type of the payment request. Example: Ecommerce") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperInteraction() { return shopperInteraction; } - - /** - * The shopper interaction type of the payment request. Example: Ecommerce - * - * @param shopperInteraction - */ + /** + * The shopper interaction type of the payment request. Example: Ecommerce + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(String shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * The shopperReference passed in the payment request. Example: AdyenTestShopperXX * @return shopperReference - **/ + */ @ApiModelProperty(value = "The shopperReference passed in the payment request. Example: AdyenTestShopperXX") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopperReference passed in the payment request. Example: AdyenTestShopperXX - * - * @param shopperReference - */ + /** + * The shopperReference passed in the payment request. Example: AdyenTestShopperXX + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon terminalId(String terminalId) { this.terminalId = terminalId; return this; } - /** + /** * The terminal ID used in a point-of-sale payment. Example: 06022622 * @return terminalId - **/ + */ @ApiModelProperty(value = "The terminal ID used in a point-of-sale payment. Example: 06022622") @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminalId() { return terminalId; } - - /** - * The terminal ID used in a point-of-sale payment. Example: 06022622 - * - * @param terminalId - */ + /** + * The terminal ID used in a point-of-sale payment. Example: 06022622 + * + * @param terminalId + */ @JsonProperty(JSON_PROPERTY_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; return this; } - /** + /** * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true * @return threeDAuthenticated - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticated() { return threeDAuthenticated; } - - /** - * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true - * - * @param threeDAuthenticated - */ + /** + * A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true + * + * @param threeDAuthenticated + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticated(String threeDAuthenticated) { this.threeDAuthenticated = threeDAuthenticated; } - + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; return this; } - /** + /** * The raw 3DS authentication result from the card issuer. Example: N * @return threeDAuthenticatedResponse - **/ + */ @ApiModelProperty(value = "The raw 3DS authentication result from the card issuer. Example: N") @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDAuthenticatedResponse() { return threeDAuthenticatedResponse; } - - /** - * The raw 3DS authentication result from the card issuer. Example: N - * - * @param threeDAuthenticatedResponse - */ + /** + * The raw 3DS authentication result from the card issuer. Example: N + * + * @param threeDAuthenticatedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse) { this.threeDAuthenticatedResponse = threeDAuthenticatedResponse; } - + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; return this; } - /** + /** * A Boolean value indicating whether 3DS was offered for this payment. Example: true * @return threeDOffered - **/ + */ @ApiModelProperty(value = "A Boolean value indicating whether 3DS was offered for this payment. Example: true") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOffered() { return threeDOffered; } - - /** - * A Boolean value indicating whether 3DS was offered for this payment. Example: true - * - * @param threeDOffered - */ + /** + * A Boolean value indicating whether 3DS was offered for this payment. Example: true + * + * @param threeDOffered + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOffered(String threeDOffered) { this.threeDOffered = threeDOffered; } - + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; return this; } - /** + /** * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y * @return threeDOfferedResponse - **/ + */ @ApiModelProperty(value = "The raw enrollment result from the 3DS directory services of the card schemes. Example: Y") @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDOfferedResponse() { return threeDOfferedResponse; } - - /** - * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y - * - * @param threeDOfferedResponse - */ + /** + * The raw enrollment result from the 3DS directory services of the card schemes. Example: Y + * + * @param threeDOfferedResponse + */ @JsonProperty(JSON_PROPERTY_THREE_D_OFFERED_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDOfferedResponse(String threeDOfferedResponse) { this.threeDOfferedResponse = threeDOfferedResponse; } - + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon threeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; return this; } - /** + /** * The 3D Secure 2 version. * @return threeDSVersion - **/ + */ @ApiModelProperty(value = "The 3D Secure 2 version.") @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThreeDSVersion() { return threeDSVersion; } - - /** - * The 3D Secure 2 version. - * - * @param threeDSVersion - */ + /** + * The 3D Secure 2 version. + * + * @param threeDSVersion + */ @JsonProperty(JSON_PROPERTY_THREE_D_S_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreeDSVersion(String threeDSVersion) { this.threeDSVersion = threeDSVersion; } - + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon visaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; return this; } - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. * @return visaTransactionId - **/ + */ @ApiModelProperty(value = "The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field.") @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVisaTransactionId() { return visaTransactionId; } - - /** - * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. - * - * @param visaTransactionId - */ + /** + * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field. + * + * @param visaTransactionId + */ @JsonProperty(JSON_PROPERTY_VISA_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVisaTransactionId(String visaTransactionId) { this.visaTransactionId = visaTransactionId; } - + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining + */ public ResponseAdditionalDataCommon xid(String xid) { this.xid = xid; return this; } - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= * @return xid - **/ + */ @ApiModelProperty(value = "The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA=") @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getXid() { return xid; } - - /** - * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= - * - * @param xid - */ + /** + * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= + * + * @param xid + */ @JsonProperty(JSON_PROPERTY_XID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setXid(String xid) { this.xid = xid; } - /** * Return true if this ResponseAdditionalDataCommon object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataDomesticError.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataDomesticError.java index 98a7bbbc8..3afa49b66 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataDomesticError.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataDomesticError.java @@ -45,66 +45,72 @@ public class ResponseAdditionalDataDomesticError { public ResponseAdditionalDataDomesticError() { } + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; return this; } - /** + /** * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. * @return domesticRefusalReasonRaw - **/ + */ @ApiModelProperty(value = "The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticRefusalReasonRaw() { return domesticRefusalReasonRaw; } - - /** - * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. - * - * @param domesticRefusalReasonRaw - */ + /** + * The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @param domesticRefusalReasonRaw + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticRefusalReasonRaw(String domesticRefusalReasonRaw) { this.domesticRefusalReasonRaw = domesticRefusalReasonRaw; } - + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + * @return the current {@code ResponseAdditionalDataDomesticError} instance, allowing for method chaining + */ public ResponseAdditionalDataDomesticError domesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; return this; } - /** + /** * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. * @return domesticShopperAdvice - **/ + */ @ApiModelProperty(value = "The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.") @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDomesticShopperAdvice() { return domesticShopperAdvice; } - - /** - * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. - * - * @param domesticShopperAdvice - */ + /** + * The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @param domesticShopperAdvice + */ @JsonProperty(JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDomesticShopperAdvice(String domesticShopperAdvice) { this.domesticShopperAdvice = domesticShopperAdvice; } - /** * Return true if this ResponseAdditionalDataDomesticError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataInstallments.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataInstallments.java index 2c8ed69c1..1e697b330 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataInstallments.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataInstallments.java @@ -85,366 +85,402 @@ public class ResponseAdditionalDataInstallments { public ResponseAdditionalDataInstallments() { } + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; return this; } - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. * @return installmentPaymentDataInstallmentType - **/ + */ @ApiModelProperty(value = "Type of installment. The value of `installmentType` should be **IssuerFinanced**.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataInstallmentType() { return installmentPaymentDataInstallmentType; } - - /** - * Type of installment. The value of `installmentType` should be **IssuerFinanced**. - * - * @param installmentPaymentDataInstallmentType - */ + /** + * Type of installment. The value of `installmentType` should be **IssuerFinanced**. + * + * @param installmentPaymentDataInstallmentType + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_INSTALLMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataInstallmentType(String installmentPaymentDataInstallmentType) { this.installmentPaymentDataInstallmentType = installmentPaymentDataInstallmentType; } - + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; return this; } - /** + /** * Annual interest rate. * @return installmentPaymentDataOptionItemNrAnnualPercentageRate - **/ + */ @ApiModelProperty(value = "Annual interest rate.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrAnnualPercentageRate() { return installmentPaymentDataOptionItemNrAnnualPercentageRate; } - - /** - * Annual interest rate. - * - * @param installmentPaymentDataOptionItemNrAnnualPercentageRate - */ + /** + * Annual interest rate. + * + * @param installmentPaymentDataOptionItemNrAnnualPercentageRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_ANNUAL_PERCENTAGE_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrAnnualPercentageRate(String installmentPaymentDataOptionItemNrAnnualPercentageRate) { this.installmentPaymentDataOptionItemNrAnnualPercentageRate = installmentPaymentDataOptionItemNrAnnualPercentageRate; } - + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; return this; } - /** + /** * First Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrFirstInstallmentAmount - **/ + */ @ApiModelProperty(value = "First Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrFirstInstallmentAmount() { return installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - - /** - * First Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount - */ + /** + * First Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrFirstInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_FIRST_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrFirstInstallmentAmount(String installmentPaymentDataOptionItemNrFirstInstallmentAmount) { this.installmentPaymentDataOptionItemNrFirstInstallmentAmount = installmentPaymentDataOptionItemNrFirstInstallmentAmount; } - + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; return this; } - /** + /** * Installment fee amount in minor units. * @return installmentPaymentDataOptionItemNrInstallmentFee - **/ + */ @ApiModelProperty(value = "Installment fee amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInstallmentFee() { return installmentPaymentDataOptionItemNrInstallmentFee; } - - /** - * Installment fee amount in minor units. - * - * @param installmentPaymentDataOptionItemNrInstallmentFee - */ + /** + * Installment fee amount in minor units. + * + * @param installmentPaymentDataOptionItemNrInstallmentFee + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INSTALLMENT_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInstallmentFee(String installmentPaymentDataOptionItemNrInstallmentFee) { this.installmentPaymentDataOptionItemNrInstallmentFee = installmentPaymentDataOptionItemNrInstallmentFee; } - + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; return this; } - /** + /** * Interest rate for the installment period. * @return installmentPaymentDataOptionItemNrInterestRate - **/ + */ @ApiModelProperty(value = "Interest rate for the installment period.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrInterestRate() { return installmentPaymentDataOptionItemNrInterestRate; } - - /** - * Interest rate for the installment period. - * - * @param installmentPaymentDataOptionItemNrInterestRate - */ + /** + * Interest rate for the installment period. + * + * @param installmentPaymentDataOptionItemNrInterestRate + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_INTEREST_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrInterestRate(String installmentPaymentDataOptionItemNrInterestRate) { this.installmentPaymentDataOptionItemNrInterestRate = installmentPaymentDataOptionItemNrInterestRate; } - + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; return this; } - /** + /** * Maximum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Maximum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - - /** - * Maximum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments - */ + /** + * Maximum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMaximumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MAXIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments(String installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMaximumNumberOfInstallments = installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; } - + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; return this; } - /** + /** * Minimum number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Minimum number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments() { return installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - - /** - * Minimum number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments - */ + /** + * Minimum number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrMinimumNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_MINIMUM_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments(String installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { this.installmentPaymentDataOptionItemNrMinimumNumberOfInstallments = installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; } - + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; return this; } - /** + /** * Total number of installments possible for this payment. * @return installmentPaymentDataOptionItemNrNumberOfInstallments - **/ + */ @ApiModelProperty(value = "Total number of installments possible for this payment.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrNumberOfInstallments() { return installmentPaymentDataOptionItemNrNumberOfInstallments; } - - /** - * Total number of installments possible for this payment. - * - * @param installmentPaymentDataOptionItemNrNumberOfInstallments - */ + /** + * Total number of installments possible for this payment. + * + * @param installmentPaymentDataOptionItemNrNumberOfInstallments + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_NUMBER_OF_INSTALLMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrNumberOfInstallments(String installmentPaymentDataOptionItemNrNumberOfInstallments) { this.installmentPaymentDataOptionItemNrNumberOfInstallments = installmentPaymentDataOptionItemNrNumberOfInstallments; } - + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; return this; } - /** + /** * Subsequent Installment Amount in minor units. * @return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - **/ + */ @ApiModelProperty(value = "Subsequent Installment Amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount() { return installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - - /** - * Subsequent Installment Amount in minor units. - * - * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount - */ + /** + * Subsequent Installment Amount in minor units. + * + * @param installmentPaymentDataOptionItemNrSubsequentInstallmentAmount + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_SUBSEQUENT_INSTALLMENT_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount(String installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { this.installmentPaymentDataOptionItemNrSubsequentInstallmentAmount = installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; } - + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; return this; } - /** + /** * Total amount in minor units. * @return installmentPaymentDataOptionItemNrTotalAmountDue - **/ + */ @ApiModelProperty(value = "Total amount in minor units.") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataOptionItemNrTotalAmountDue() { return installmentPaymentDataOptionItemNrTotalAmountDue; } - - /** - * Total amount in minor units. - * - * @param installmentPaymentDataOptionItemNrTotalAmountDue - */ + /** + * Total amount in minor units. + * + * @param installmentPaymentDataOptionItemNrTotalAmountDue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_OPTION_ITEM_NR_TOTAL_AMOUNT_DUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataOptionItemNrTotalAmountDue(String installmentPaymentDataOptionItemNrTotalAmountDue) { this.installmentPaymentDataOptionItemNrTotalAmountDue = installmentPaymentDataOptionItemNrTotalAmountDue; } - + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; return this; } - /** + /** * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments * @return installmentPaymentDataPaymentOptions - **/ + */ @ApiModelProperty(value = "Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments") @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentPaymentDataPaymentOptions() { return installmentPaymentDataPaymentOptions; } - - /** - * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments - * - * @param installmentPaymentDataPaymentOptions - */ + /** + * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments + * + * @param installmentPaymentDataPaymentOptions + */ @JsonProperty(JSON_PROPERTY_INSTALLMENT_PAYMENT_DATA_PAYMENT_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentPaymentDataPaymentOptions(String installmentPaymentDataPaymentOptions) { this.installmentPaymentDataPaymentOptions = installmentPaymentDataPaymentOptions; } - + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + * @return the current {@code ResponseAdditionalDataInstallments} instance, allowing for method chaining + */ public ResponseAdditionalDataInstallments installmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; return this; } - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. * @return installmentsValue - **/ + */ @ApiModelProperty(value = "The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments.") @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallmentsValue() { return installmentsValue; } - - /** - * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. - * - * @param installmentsValue - */ + /** + * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. + * + * @param installmentsValue + */ @JsonProperty(JSON_PROPERTY_INSTALLMENTS_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallmentsValue(String installmentsValue) { this.installmentsValue = installmentsValue; } - /** * Return true if this ResponseAdditionalDataInstallments object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataNetworkTokens.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataNetworkTokens.java index 7e1b734d6..5cee4d2ba 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataNetworkTokens.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataNetworkTokens.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataNetworkTokens { public ResponseAdditionalDataNetworkTokens() { } + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; return this; } - /** + /** * Indicates whether a network token is available for the specified card. * @return networkTokenAvailable - **/ + */ @ApiModelProperty(value = "Indicates whether a network token is available for the specified card.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenAvailable() { return networkTokenAvailable; } - - /** - * Indicates whether a network token is available for the specified card. - * - * @param networkTokenAvailable - */ + /** + * Indicates whether a network token is available for the specified card. + * + * @param networkTokenAvailable + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenAvailable(String networkTokenAvailable) { this.networkTokenAvailable = networkTokenAvailable; } - + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; return this; } - /** + /** * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. * @return networkTokenBin - **/ + */ @ApiModelProperty(value = "The Bank Identification Number of a tokenized card, which is the first six digits of a card number.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenBin() { return networkTokenBin; } - - /** - * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. - * - * @param networkTokenBin - */ + /** + * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. + * + * @param networkTokenBin + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_BIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenBin(String networkTokenBin) { this.networkTokenBin = networkTokenBin; } - + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + * @return the current {@code ResponseAdditionalDataNetworkTokens} instance, allowing for method chaining + */ public ResponseAdditionalDataNetworkTokens networkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; return this; } - /** + /** * The last four digits of a network token. * @return networkTokenTokenSummary - **/ + */ @ApiModelProperty(value = "The last four digits of a network token.") @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTokenTokenSummary() { return networkTokenTokenSummary; } - - /** - * The last four digits of a network token. - * - * @param networkTokenTokenSummary - */ + /** + * The last four digits of a network token. + * + * @param networkTokenTokenSummary + */ @JsonProperty(JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTokenTokenSummary(String networkTokenTokenSummary) { this.networkTokenTokenSummary = networkTokenTokenSummary; } - /** * Return true if this ResponseAdditionalDataNetworkTokens object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataOpi.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataOpi.java index 208807278..ad41a5bb2 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataOpi.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataOpi.java @@ -41,36 +41,39 @@ public class ResponseAdditionalDataOpi { public ResponseAdditionalDataOpi() { } + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + * @return the current {@code ResponseAdditionalDataOpi} instance, allowing for method chaining + */ public ResponseAdditionalDataOpi opiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; return this; } - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). * @return opiTransToken - **/ + */ @ApiModelProperty(value = "Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).") @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOpiTransToken() { return opiTransToken; } - - /** - * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). - * - * @param opiTransToken - */ + /** + * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). + * + * @param opiTransToken + */ @JsonProperty(JSON_PROPERTY_OPI_TRANS_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOpiTransToken(String opiTransToken) { this.opiTransToken = opiTransToken; } - /** * Return true if this ResponseAdditionalDataOpi object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataSepa.java b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataSepa.java index 6eda7a647..74541af0c 100644 --- a/src/main/java/com/adyen/model/payout/ResponseAdditionalDataSepa.java +++ b/src/main/java/com/adyen/model/payout/ResponseAdditionalDataSepa.java @@ -49,96 +49,105 @@ public class ResponseAdditionalDataSepa { public ResponseAdditionalDataSepa() { } + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; return this; } - /** + /** * The transaction signature date. Format: yyyy-MM-dd * @return sepadirectdebitDateOfSignature - **/ + */ @ApiModelProperty(value = "The transaction signature date. Format: yyyy-MM-dd") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitDateOfSignature() { return sepadirectdebitDateOfSignature; } - - /** - * The transaction signature date. Format: yyyy-MM-dd - * - * @param sepadirectdebitDateOfSignature - */ + /** + * The transaction signature date. Format: yyyy-MM-dd + * + * @param sepadirectdebitDateOfSignature + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_DATE_OF_SIGNATURE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitDateOfSignature(String sepadirectdebitDateOfSignature) { this.sepadirectdebitDateOfSignature = sepadirectdebitDateOfSignature; } - + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; return this; } - /** + /** * Its value corresponds to the pspReference value of the transaction. * @return sepadirectdebitMandateId - **/ + */ @ApiModelProperty(value = "Its value corresponds to the pspReference value of the transaction.") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitMandateId() { return sepadirectdebitMandateId; } - - /** - * Its value corresponds to the pspReference value of the transaction. - * - * @param sepadirectdebitMandateId - */ + /** + * Its value corresponds to the pspReference value of the transaction. + * + * @param sepadirectdebitMandateId + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_MANDATE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitMandateId(String sepadirectdebitMandateId) { this.sepadirectdebitMandateId = sepadirectdebitMandateId; } - + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + * @return the current {@code ResponseAdditionalDataSepa} instance, allowing for method chaining + */ public ResponseAdditionalDataSepa sepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; return this; } - /** + /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF * @return sepadirectdebitSequenceType - **/ + */ @ApiModelProperty(value = "This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF") @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSepadirectdebitSequenceType() { return sepadirectdebitSequenceType; } - - /** - * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF - * - * @param sepadirectdebitSequenceType - */ + /** + * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF + * + * @param sepadirectdebitSequenceType + */ @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT_SEQUENCE_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSepadirectdebitSequenceType(String sepadirectdebitSequenceType) { this.sepadirectdebitSequenceType = sepadirectdebitSequenceType; } - /** * Return true if this ResponseAdditionalDataSepa object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/ServiceError.java b/src/main/java/com/adyen/model/payout/ServiceError.java index f5542e69d..24092f84f 100644 --- a/src/main/java/com/adyen/model/payout/ServiceError.java +++ b/src/main/java/com/adyen/model/payout/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitRequest.java b/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitRequest.java index 9f7ad2f20..d82740f4a 100644 --- a/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitRequest.java +++ b/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitRequest.java @@ -158,6 +158,12 @@ public static EntityTypeEnum fromValue(String value) { public StoreDetailAndSubmitRequest() { } + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -171,571 +177,622 @@ public StoreDetailAndSubmitRequest putAdditionalDataItem(String key, String addi return this; } - /** + /** * This field contains additional data, which may be required for a particular request. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular request.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular request. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * bank + * + * @param bank + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest bank(BankAccount bank) { this.bank = bank; return this; } - /** - * Get bank + /** + * bank * @return bank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBank() { return bank; } - - /** - * bank - * - * @param bank - */ + /** + * bank + * + * @param bank + */ @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBank(BankAccount bank) { this.bank = bank; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + * + * @param dateOfBirth + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. * @return dateOfBirth - **/ + */ @ApiModelProperty(required = true, value = "The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. - * - * @param dateOfBirth - */ + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The type of the entity the payout is processed for. + * + * @param entityType + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** + /** * The type of the entity the payout is processed for. * @return entityType - **/ + */ @ApiModelProperty(required = true, value = "The type of the entity the payout is processed for.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payout is processed for. - * - * @param entityType - */ + /** + * The type of the entity the payout is processed for. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + * + * @param nationality + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest nationality(String nationality) { this.nationality = nationality; return this; } - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). * @return nationality - **/ + */ @ApiModelProperty(required = true, value = "The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNationality() { return nationality; } - - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). - * - * @param nationality - */ + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + * + * @param nationality + */ @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationality(String nationality) { this.nationality = nationality; } - + /** + * recurring + * + * @param recurring + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + * + * @param reference + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. - * - * @param reference - */ + /** + * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + * + * @param selectedBrand + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. - * - * @param selectedBrand - */ + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * The shopper's reference for the payment transaction. + * + * @param shopperReference + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The shopper's reference for the payment transaction. + /** + * The shopper's reference for the payment transaction. * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The shopper's reference for the payment transaction.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopper's reference for the payment transaction. - * - * @param shopperReference - */ + /** + * The shopper's reference for the payment transaction. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + * + * @param shopperStatement + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** + /** * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method).") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). - * - * @param shopperStatement - */ + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * The shopper's phone number. + * + * @param telephoneNumber + * @return the current {@code StoreDetailAndSubmitRequest} instance, allowing for method chaining + */ public StoreDetailAndSubmitRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's phone number. + /** + * The shopper's phone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's phone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's phone number. - * - * @param telephoneNumber - */ + /** + * The shopper's phone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - /** * Return true if this StoreDetailAndSubmitRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitResponse.java b/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitResponse.java index 73002e4c3..a200c8ab8 100644 --- a/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitResponse.java +++ b/src/main/java/com/adyen/model/payout/StoreDetailAndSubmitResponse.java @@ -56,6 +56,12 @@ public class StoreDetailAndSubmitResponse { public StoreDetailAndSubmitResponse() { } + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + * @return the current {@code StoreDetailAndSubmitResponse} instance, allowing for method chaining + */ public StoreDetailAndSubmitResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -69,121 +75,127 @@ public StoreDetailAndSubmitResponse putAdditionalDataItem(String key, String add return this; } - /** + /** * This field contains additional data, which may be returned in a particular response. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular response.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular response. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + * @return the current {@code StoreDetailAndSubmitResponse} instance, allowing for method chaining + */ public StoreDetailAndSubmitResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A new reference to uniquely identify this request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "A new reference to uniquely identify this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A new reference to uniquely identify this request. - * - * @param pspReference - */ + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * In case of refusal, an informational message for the reason. + * + * @param refusalReason + * @return the current {@code StoreDetailAndSubmitResponse} instance, allowing for method chaining + */ public StoreDetailAndSubmitResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** + /** * In case of refusal, an informational message for the reason. * @return refusalReason - **/ + */ @ApiModelProperty(value = "In case of refusal, an informational message for the reason.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * In case of refusal, an informational message for the reason. - * - * @param refusalReason - */ + /** + * In case of refusal, an informational message for the reason. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. + * + * @param resultCode + * @return the current {@code StoreDetailAndSubmitResponse} instance, allowing for method chaining + */ public StoreDetailAndSubmitResponse resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. - * - * @param resultCode - */ + /** + * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - /** * Return true if this StoreDetailAndSubmitResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/StoreDetailRequest.java b/src/main/java/com/adyen/model/payout/StoreDetailRequest.java index 7e5925733..ed801a5c0 100644 --- a/src/main/java/com/adyen/model/payout/StoreDetailRequest.java +++ b/src/main/java/com/adyen/model/payout/StoreDetailRequest.java @@ -145,6 +145,12 @@ public static EntityTypeEnum fromValue(String value) { public StoreDetailRequest() { } + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -158,481 +164,523 @@ public StoreDetailRequest putAdditionalDataItem(String key, String additionalDat return this; } - /** + /** * This field contains additional data, which may be required for a particular request. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular request.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular request. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * bank + * + * @param bank + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest bank(BankAccount bank) { this.bank = bank; return this; } - /** - * Get bank + /** + * bank * @return bank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBank() { return bank; } - - /** - * bank - * - * @param bank - */ + /** + * bank + * + * @param bank + */ @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBank(BankAccount bank) { this.bank = bank; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + * + * @param dateOfBirth + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. * @return dateOfBirth - **/ + */ @ApiModelProperty(required = true, value = "The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. - * - * @param dateOfBirth - */ + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The type of the entity the payout is processed for. + * + * @param entityType + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** + /** * The type of the entity the payout is processed for. * @return entityType - **/ + */ @ApiModelProperty(required = true, value = "The type of the entity the payout is processed for.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payout is processed for. - * - * @param entityType - */ + /** + * The type of the entity the payout is processed for. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + * + * @param nationality + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest nationality(String nationality) { this.nationality = nationality; return this; } - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). * @return nationality - **/ + */ @ApiModelProperty(required = true, value = "The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNationality() { return nationality; } - - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). - * - * @param nationality - */ + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + * + * @param nationality + */ @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationality(String nationality) { this.nationality = nationality; } - + /** + * recurring + * + * @param recurring + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + * + * @param selectedBrand + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest selectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; return this; } - /** - * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. * @return selectedBrand - **/ + */ @ApiModelProperty(value = "The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`.") @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedBrand() { return selectedBrand; } - - /** - * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. - * - * @param selectedBrand - */ + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + * + * @param selectedBrand + */ @JsonProperty(JSON_PROPERTY_SELECTED_BRAND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedBrand(String selectedBrand) { this.selectedBrand = selectedBrand; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * The shopper's reference for the payment transaction. + * + * @param shopperReference + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The shopper's reference for the payment transaction. + /** + * The shopper's reference for the payment transaction. * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The shopper's reference for the payment transaction.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopper's reference for the payment transaction. - * - * @param shopperReference - */ + /** + * The shopper's reference for the payment transaction. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * The shopper's phone number. + * + * @param telephoneNumber + * @return the current {@code StoreDetailRequest} instance, allowing for method chaining + */ public StoreDetailRequest telephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; return this; } - /** - * The shopper's phone number. + /** + * The shopper's phone number. * @return telephoneNumber - **/ + */ @ApiModelProperty(value = "The shopper's phone number.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTelephoneNumber() { return telephoneNumber; } - - /** - * The shopper's phone number. - * - * @param telephoneNumber - */ + /** + * The shopper's phone number. + * + * @param telephoneNumber + */ @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTelephoneNumber(String telephoneNumber) { this.telephoneNumber = telephoneNumber; } - /** * Return true if this StoreDetailRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/StoreDetailResponse.java b/src/main/java/com/adyen/model/payout/StoreDetailResponse.java index b627ce169..8974722c2 100644 --- a/src/main/java/com/adyen/model/payout/StoreDetailResponse.java +++ b/src/main/java/com/adyen/model/payout/StoreDetailResponse.java @@ -56,6 +56,12 @@ public class StoreDetailResponse { public StoreDetailResponse() { } + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + * @return the current {@code StoreDetailResponse} instance, allowing for method chaining + */ public StoreDetailResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -69,121 +75,127 @@ public StoreDetailResponse putAdditionalDataItem(String key, String additionalDa return this; } - /** + /** * This field contains additional data, which may be returned in a particular response. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular response.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular response. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + * @return the current {@code StoreDetailResponse} instance, allowing for method chaining + */ public StoreDetailResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A new reference to uniquely identify this request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "A new reference to uniquely identify this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A new reference to uniquely identify this request. - * - * @param pspReference - */ + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The token which you can use later on for submitting the payout. + * + * @param recurringDetailReference + * @return the current {@code StoreDetailResponse} instance, allowing for method chaining + */ public StoreDetailResponse recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** + /** * The token which you can use later on for submitting the payout. * @return recurringDetailReference - **/ + */ @ApiModelProperty(required = true, value = "The token which you can use later on for submitting the payout.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * The token which you can use later on for submitting the payout. - * - * @param recurringDetailReference - */ + /** + * The token which you can use later on for submitting the payout. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The result code of the transaction. `Success` indicates that the details were stored successfully. + * + * @param resultCode + * @return the current {@code StoreDetailResponse} instance, allowing for method chaining + */ public StoreDetailResponse resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** - * The result code of the transaction. `Success` indicates that the details were stored successfully. + /** + * The result code of the transaction. `Success` indicates that the details were stored successfully. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The result code of the transaction. `Success` indicates that the details were stored successfully.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * The result code of the transaction. `Success` indicates that the details were stored successfully. - * - * @param resultCode - */ + /** + * The result code of the transaction. `Success` indicates that the details were stored successfully. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - /** * Return true if this StoreDetailResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/SubmitRequest.java b/src/main/java/com/adyen/model/payout/SubmitRequest.java index 0a0e33ebc..54fb6d114 100644 --- a/src/main/java/com/adyen/model/payout/SubmitRequest.java +++ b/src/main/java/com/adyen/model/payout/SubmitRequest.java @@ -139,6 +139,12 @@ public static EntityTypeEnum fromValue(String value) { public SubmitRequest() { } + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -152,451 +158,490 @@ public SubmitRequest putAdditionalDataItem(String key, String additionalDataItem return this; } - /** + /** * This field contains additional data, which may be required for a particular request. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular request.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular request. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * amount + * + * @param amount + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. + * + * @param dateOfBirth + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. + /** + * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. - * - * @param dateOfBirth - */ + /** + * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. + * + * @param entityType + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest entityType(EntityTypeEnum entityType) { this.entityType = entityType; return this; } - /** - * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. + /** + * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. * @return entityType - **/ + */ @ApiModelProperty(value = "The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract.") @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EntityTypeEnum getEntityType() { return entityType; } - - /** - * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. - * - * @param entityType - */ + /** + * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. + * + * @param entityType + */ @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEntityType(EntityTypeEnum entityType) { this.entityType = entityType; } - + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest fraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; return this; } - /** + /** * An integer value that is added to the normal fraud score. The value can be either positive or negative. * @return fraudOffset - **/ + */ @ApiModelProperty(value = "An integer value that is added to the normal fraud score. The value can be either positive or negative.") @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getFraudOffset() { return fraudOffset; } - - /** - * An integer value that is added to the normal fraud score. The value can be either positive or negative. - * - * @param fraudOffset - */ + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + * + * @param fraudOffset + */ @JsonProperty(JSON_PROPERTY_FRAUD_OFFSET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFraudOffset(Integer fraudOffset) { this.fraudOffset = fraudOffset; } - + /** + * The merchant account identifier you want to process the transaction request with. + * + * @param merchantAccount + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier you want to process the transaction request with. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier you want to process the transaction request with.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier you want to process the transaction request with. - * - * @param merchantAccount - */ + /** + * The merchant account identifier you want to process the transaction request with. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. + * + * @param nationality + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest nationality(String nationality) { this.nationality = nationality; return this; } - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. * @return nationality - **/ + */ @ApiModelProperty(value = "The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract.") @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNationality() { return nationality; } - - /** - * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. - * - * @param nationality - */ + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. + * + * @param nationality + */ @JsonProperty(JSON_PROPERTY_NATIONALITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNationality(String nationality) { this.nationality = nationality; } - + /** + * recurring + * + * @param recurring + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + * + * @param reference + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. - * - * @param reference - */ + /** + * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. + * + * @param selectedRecurringDetailReference + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. + /** + * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(required = true, value = "This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. - * - * @param selectedRecurringDetailReference - */ + /** + * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * The shopper's email address. + * + * @param shopperEmail + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest shopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; return this; } - /** - * The shopper's email address. + /** + * The shopper's email address. * @return shopperEmail - **/ + */ @ApiModelProperty(required = true, value = "The shopper's email address.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperEmail() { return shopperEmail; } - - /** - * The shopper's email address. - * - * @param shopperEmail - */ + /** + * The shopper's email address. + * + * @param shopperEmail + */ @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperEmail(String shopperEmail) { this.shopperEmail = shopperEmail; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * The shopper's reference for the payout transaction. + * + * @param shopperReference + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The shopper's reference for the payout transaction. + /** + * The shopper's reference for the payout transaction. * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The shopper's reference for the payout transaction.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopper's reference for the payout transaction. - * - * @param shopperReference - */ + /** + * The shopper's reference for the payout transaction. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + * + * @param shopperStatement + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest shopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; return this; } - /** + /** * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). * @return shopperStatement - **/ + */ @ApiModelProperty(value = "The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method).") @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperStatement() { return shopperStatement; } - - /** - * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). - * - * @param shopperStatement - */ + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + * + * @param shopperStatement + */ @JsonProperty(JSON_PROPERTY_SHOPPER_STATEMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperStatement(String shopperStatement) { this.shopperStatement = shopperStatement; } - + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + * @return the current {@code SubmitRequest} instance, allowing for method chaining + */ public SubmitRequest socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * The shopper's social security number. + /** + * The shopper's social security number. * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "The shopper's social security number.") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * The shopper's social security number. - * - * @param socialSecurityNumber - */ + /** + * The shopper's social security number. + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - /** * Return true if this SubmitRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/payout/SubmitResponse.java b/src/main/java/com/adyen/model/payout/SubmitResponse.java index 87ba3a28f..492ab6a41 100644 --- a/src/main/java/com/adyen/model/payout/SubmitResponse.java +++ b/src/main/java/com/adyen/model/payout/SubmitResponse.java @@ -56,6 +56,12 @@ public class SubmitResponse { public SubmitResponse() { } + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + * @return the current {@code SubmitResponse} instance, allowing for method chaining + */ public SubmitResponse additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -69,121 +75,127 @@ public SubmitResponse putAdditionalDataItem(String key, String additionalDataIte return this; } - /** + /** * This field contains additional data, which may be returned in a particular response. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular response.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular response. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular response. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + * @return the current {@code SubmitResponse} instance, allowing for method chaining + */ public SubmitResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A new reference to uniquely identify this request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "A new reference to uniquely identify this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A new reference to uniquely identify this request. - * - * @param pspReference - */ + /** + * A new reference to uniquely identify this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * In case of refusal, an informational message for the reason. + * + * @param refusalReason + * @return the current {@code SubmitResponse} instance, allowing for method chaining + */ public SubmitResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** + /** * In case of refusal, an informational message for the reason. * @return refusalReason - **/ + */ @ApiModelProperty(value = "In case of refusal, an informational message for the reason.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * In case of refusal, an informational message for the reason. - * - * @param refusalReason - */ + /** + * In case of refusal, an informational message for the reason. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. + * + * @param resultCode + * @return the current {@code SubmitResponse} instance, allowing for method chaining + */ public SubmitResponse resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** - * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. + /** + * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. * @return resultCode - **/ + */ @ApiModelProperty(required = true, value = "The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. - * - * @param resultCode - */ + /** + * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - /** * Return true if this SubmitResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posmobile/CreateSessionRequest.java b/src/main/java/com/adyen/model/posmobile/CreateSessionRequest.java index 1da3d1770..aeeb18419 100644 --- a/src/main/java/com/adyen/model/posmobile/CreateSessionRequest.java +++ b/src/main/java/com/adyen/model/posmobile/CreateSessionRequest.java @@ -49,96 +49,105 @@ public class CreateSessionRequest { public CreateSessionRequest() { } + /** + * The unique identifier of your merchant account. + * + * @param merchantAccount + * @return the current {@code CreateSessionRequest} instance, allowing for method chaining + */ public CreateSessionRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The unique identifier of your merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of your merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The unique identifier of your merchant account. - * - * @param merchantAccount - */ + /** + * The unique identifier of your merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`. + * + * @param setupToken + * @return the current {@code CreateSessionRequest} instance, allowing for method chaining + */ public CreateSessionRequest setupToken(String setupToken) { this.setupToken = setupToken; return this; } - /** - * The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`. + /** + * The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`. * @return setupToken - **/ + */ @ApiModelProperty(required = true, value = "The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`.") @JsonProperty(JSON_PROPERTY_SETUP_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSetupToken() { return setupToken; } - - /** - * The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`. - * - * @param setupToken - */ + /** + * The setup token provided by the POS Mobile SDK. - When using the Android POS Mobile SDK, obtain the token through the `AuthenticationService.authenticate(setupToken)` callback of `AuthenticationService`. - When using the iOS POS Mobile SDK, obtain the token through the `PaymentServiceDelegate.register(with:)` callback of `PaymentServiceDelegate`. + * + * @param setupToken + */ @JsonProperty(JSON_PROPERTY_SETUP_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSetupToken(String setupToken) { this.setupToken = setupToken; } - + /** + * The unique identifier of the store that you want to process transactions for. + * + * @param store + * @return the current {@code CreateSessionRequest} instance, allowing for method chaining + */ public CreateSessionRequest store(String store) { this.store = store; return this; } - /** + /** * The unique identifier of the store that you want to process transactions for. * @return store - **/ + */ @ApiModelProperty(value = "The unique identifier of the store that you want to process transactions for.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The unique identifier of the store that you want to process transactions for. - * - * @param store - */ + /** + * The unique identifier of the store that you want to process transactions for. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this CreateSessionRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posmobile/CreateSessionResponse.java b/src/main/java/com/adyen/model/posmobile/CreateSessionResponse.java index fbbc384a8..8569dccca 100644 --- a/src/main/java/com/adyen/model/posmobile/CreateSessionResponse.java +++ b/src/main/java/com/adyen/model/posmobile/CreateSessionResponse.java @@ -57,156 +57,171 @@ public class CreateSessionResponse { public CreateSessionResponse() { } + /** + * The unique identifier of the session. + * + * @param id + * @return the current {@code CreateSessionResponse} instance, allowing for method chaining + */ public CreateSessionResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the session. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the session.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the session. - * - * @param id - */ + /** + * The unique identifier of the session. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request. + * + * @param installationId + * @return the current {@code CreateSessionResponse} instance, allowing for method chaining + */ public CreateSessionResponse installationId(String installationId) { this.installationId = installationId; return this; } - /** - * The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request. + /** + * The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request. * @return installationId - **/ + */ @ApiModelProperty(value = "The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request.") @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstallationId() { return installationId; } - - /** - * The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request. - * - * @param installationId - */ + /** + * The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request. + * + * @param installationId + */ @JsonProperty(JSON_PROPERTY_INSTALLATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstallationId(String installationId) { this.installationId = installationId; } - + /** + * The unique identifier of your merchant account. + * + * @param merchantAccount + * @return the current {@code CreateSessionResponse} instance, allowing for method chaining + */ public CreateSessionResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The unique identifier of your merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The unique identifier of your merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The unique identifier of your merchant account. - * - * @param merchantAccount - */ + /** + * The unique identifier of your merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app. + * + * @param sdkData + * @return the current {@code CreateSessionResponse} instance, allowing for method chaining + */ public CreateSessionResponse sdkData(String sdkData) { this.sdkData = sdkData; return this; } - /** + /** * The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app. * @return sdkData - **/ + */ @ApiModelProperty(value = "The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.") @JsonProperty(JSON_PROPERTY_SDK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSdkData() { return sdkData; } - - /** - * The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app. - * - * @param sdkData - */ + /** + * The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app. + * + * @param sdkData + */ @JsonProperty(JSON_PROPERTY_SDK_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSdkData(String sdkData) { this.sdkData = sdkData; } - + /** + * The unique identifier of the store that you want to process transactions for. + * + * @param store + * @return the current {@code CreateSessionResponse} instance, allowing for method chaining + */ public CreateSessionResponse store(String store) { this.store = store; return this; } - /** + /** * The unique identifier of the store that you want to process transactions for. * @return store - **/ + */ @ApiModelProperty(value = "The unique identifier of the store that you want to process transactions for.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The unique identifier of the store that you want to process transactions for. - * - * @param store - */ + /** + * The unique identifier of the store that you want to process transactions for. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this CreateSessionResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/Address.java b/src/main/java/com/adyen/model/posterminalmanagement/Address.java index 1db414a0d..fcfae93f3 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/Address.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * city + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** - * Get city + /** + * city * @return city - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * city - * - * @param city - */ + /** + * city + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * countryCode + * + * @param countryCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * Get countryCode + /** + * countryCode * @return countryCode - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * countryCode - * - * @param countryCode - */ + /** + * countryCode + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * postalCode + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** - * Get postalCode + /** + * postalCode * @return postalCode - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * postalCode - * - * @param postalCode - */ + /** + * postalCode + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * stateOrProvince + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * Get stateOrProvince + /** + * stateOrProvince * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * stateOrProvince - * - * @param stateOrProvince - */ + /** + * stateOrProvince + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * streetAddress + * + * @param streetAddress + * @return the current {@code Address} instance, allowing for method chaining + */ public Address streetAddress(String streetAddress) { this.streetAddress = streetAddress; return this; } - /** - * Get streetAddress + /** + * streetAddress * @return streetAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STREET_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreetAddress() { return streetAddress; } - - /** - * streetAddress - * - * @param streetAddress - */ + /** + * streetAddress + * + * @param streetAddress + */ @JsonProperty(JSON_PROPERTY_STREET_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } - + /** + * streetAddress2 + * + * @param streetAddress2 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address streetAddress2(String streetAddress2) { this.streetAddress2 = streetAddress2; return this; } - /** - * Get streetAddress2 + /** + * streetAddress2 * @return streetAddress2 - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STREET_ADDRESS2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreetAddress2() { return streetAddress2; } - - /** - * streetAddress2 - * - * @param streetAddress2 - */ + /** + * streetAddress2 + * + * @param streetAddress2 + */ @JsonProperty(JSON_PROPERTY_STREET_ADDRESS2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreetAddress2(String streetAddress2) { this.streetAddress2 = streetAddress2; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsRequest.java b/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsRequest.java index b800f05ec..d935e2856 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsRequest.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsRequest.java @@ -59,126 +59,144 @@ public class AssignTerminalsRequest { public AssignTerminalsRequest() { } + /** + * Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`. + * + * @param companyAccount + * @return the current {@code AssignTerminalsRequest} instance, allowing for method chaining + */ public AssignTerminalsRequest companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** - * Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`. + /** + * Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`. - * - * @param companyAccount - */ + /** + * Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account. + * + * @param merchantAccount + * @return the current {@code AssignTerminalsRequest} instance, allowing for method chaining + */ public AssignTerminalsRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account. - * - * @param merchantAccount - */ + /** + * Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account. - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded. - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account. + * + * @param merchantInventory + * @return the current {@code AssignTerminalsRequest} instance, allowing for method chaining + */ public AssignTerminalsRequest merchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; return this; } - /** + /** * Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account. - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded. - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account. * @return merchantInventory - **/ + */ @ApiModelProperty(value = "Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account. - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded. - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantInventory() { return merchantInventory; } - - /** - * Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account. - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded. - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account. - * - * @param merchantInventory - */ + /** + * Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account. - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded. - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account. + * + * @param merchantInventory + */ @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; } - + /** + * The store code of the store that you want to assign the terminals to. + * + * @param store + * @return the current {@code AssignTerminalsRequest} instance, allowing for method chaining + */ public AssignTerminalsRequest store(String store) { this.store = store; return this; } - /** + /** * The store code of the store that you want to assign the terminals to. * @return store - **/ + */ @ApiModelProperty(value = "The store code of the store that you want to assign the terminals to.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The store code of the store that you want to assign the terminals to. - * - * @param store - */ + /** + * The store code of the store that you want to assign the terminals to. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`. + * + * @param terminals + * @return the current {@code AssignTerminalsRequest} instance, allowing for method chaining + */ public AssignTerminalsRequest terminals(List terminals) { this.terminals = terminals; return this; @@ -189,31 +207,28 @@ public AssignTerminalsRequest addTerminalsItem(String terminalsItem) { return this; } - /** - * Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`. + /** + * Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`. * @return terminals - **/ + */ @ApiModelProperty(required = true, value = "Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`.") @JsonProperty(JSON_PROPERTY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTerminals() { return terminals; } - - /** - * Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`. - * - * @param terminals - */ + /** + * Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory. For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`. + * + * @param terminals + */ @JsonProperty(JSON_PROPERTY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminals(List terminals) { this.terminals = terminals; } - /** * Return true if this AssignTerminalsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsResponse.java b/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsResponse.java index b54c20025..0e31ce0c8 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsResponse.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/AssignTerminalsResponse.java @@ -44,6 +44,12 @@ public class AssignTerminalsResponse { public AssignTerminalsResponse() { } + /** + * Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. + * + * @param results + * @return the current {@code AssignTerminalsResponse} instance, allowing for method chaining + */ public AssignTerminalsResponse results(Map results) { this.results = results; return this; @@ -54,31 +60,28 @@ public AssignTerminalsResponse putResultsItem(String key, String resultsItem) { return this; } - /** - * Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. + /** + * Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. * @return results - **/ + */ @ApiModelProperty(required = true, value = "Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. ") @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getResults() { return results; } - - /** - * Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. - * - * @param results - */ + /** + * Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal. + * + * @param results + */ @JsonProperty(JSON_PROPERTY_RESULTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResults(Map results) { this.results = results; } - /** * Return true if this AssignTerminalsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalRequest.java b/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalRequest.java index d6301025a..4c75743ce 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalRequest.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalRequest.java @@ -41,36 +41,39 @@ public class FindTerminalRequest { public FindTerminalRequest() { } + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + * + * @param terminal + * @return the current {@code FindTerminalRequest} instance, allowing for method chaining + */ public FindTerminalRequest terminal(String terminal) { this.terminal = terminal; return this; } - /** - * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. * @return terminal - **/ + */ @ApiModelProperty(required = true, value = "The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**.") @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminal() { return terminal; } - - /** - * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. - * - * @param terminal - */ + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + * + * @param terminal + */ @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminal(String terminal) { this.terminal = terminal; } - /** * Return true if this FindTerminalRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalResponse.java b/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalResponse.java index 096ebd408..96aa3083f 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalResponse.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/FindTerminalResponse.java @@ -57,156 +57,171 @@ public class FindTerminalResponse { public FindTerminalResponse() { } + /** + * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. + * + * @param companyAccount + * @return the current {@code FindTerminalResponse} instance, allowing for method chaining + */ public FindTerminalResponse companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** + /** * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. - * - * @param companyAccount - */ + /** + * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + * + * @param merchantAccount + * @return the current {@code FindTerminalResponse} instance, allowing for method chaining + */ public FindTerminalResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** - * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. - * - * @param merchantAccount - */ + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param merchantInventory + * @return the current {@code FindTerminalResponse} instance, allowing for method chaining + */ public FindTerminalResponse merchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; return this; } - /** + /** * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. * @return merchantInventory - **/ + */ @ApiModelProperty(value = "Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.") @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantInventory() { return merchantInventory; } - - /** - * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. - * - * @param merchantInventory - */ + /** + * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param merchantInventory + */ @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; } - + /** + * The store code of the store that the terminal is assigned to. + * + * @param store + * @return the current {@code FindTerminalResponse} instance, allowing for method chaining + */ public FindTerminalResponse store(String store) { this.store = store; return this; } - /** + /** * The store code of the store that the terminal is assigned to. * @return store - **/ + */ @ApiModelProperty(value = "The store code of the store that the terminal is assigned to.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The store code of the store that the terminal is assigned to. - * - * @param store - */ + /** + * The store code of the store that the terminal is assigned to. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The unique terminal ID. + * + * @param terminal + * @return the current {@code FindTerminalResponse} instance, allowing for method chaining + */ public FindTerminalResponse terminal(String terminal) { this.terminal = terminal; return this; } - /** + /** * The unique terminal ID. * @return terminal - **/ + */ @ApiModelProperty(required = true, value = "The unique terminal ID.") @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminal() { return terminal; } - - /** - * The unique terminal ID. - * - * @param terminal - */ + /** + * The unique terminal ID. + * + * @param terminal + */ @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminal(String terminal) { this.terminal = terminal; } - /** * Return true if this FindTerminalResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountRequest.java b/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountRequest.java index c0e33727b..974b319bf 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountRequest.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountRequest.java @@ -45,66 +45,72 @@ public class GetStoresUnderAccountRequest { public GetStoresUnderAccountRequest() { } + /** + * The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account. + * + * @param companyAccount + * @return the current {@code GetStoresUnderAccountRequest} instance, allowing for method chaining + */ public GetStoresUnderAccountRequest companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** + /** * The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account. - * - * @param companyAccount - */ + /** + * The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * The merchant account. With this parameter, the response only includes the stores of the specified merchant account. + * + * @param merchantAccount + * @return the current {@code GetStoresUnderAccountRequest} instance, allowing for method chaining + */ public GetStoresUnderAccountRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account. With this parameter, the response only includes the stores of the specified merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account. With this parameter, the response only includes the stores of the specified merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account. With this parameter, the response only includes the stores of the specified merchant account. - * - * @param merchantAccount - */ + /** + * The merchant account. With this parameter, the response only includes the stores of the specified merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - /** * Return true if this GetStoresUnderAccountRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountResponse.java b/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountResponse.java index 670f88b34..cbd46c7fc 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountResponse.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetStoresUnderAccountResponse.java @@ -44,6 +44,12 @@ public class GetStoresUnderAccountResponse { public GetStoresUnderAccountResponse() { } + /** + * Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account. + * + * @param stores + * @return the current {@code GetStoresUnderAccountResponse} instance, allowing for method chaining + */ public GetStoresUnderAccountResponse stores(List stores) { this.stores = stores; return this; @@ -57,31 +63,28 @@ public GetStoresUnderAccountResponse addStoresItem(Store storesItem) { return this; } - /** + /** * Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account. * @return stores - **/ + */ @ApiModelProperty(value = "Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account.") @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStores() { return stores; } - - /** - * Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account. - * - * @param stores - */ + /** + * Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account. + * + * @param stores + */ @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStores(List stores) { this.stores = stores; } - /** * Return true if this GetStoresUnderAccountResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsRequest.java b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsRequest.java index f06ea8282..f3e1284d1 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsRequest.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsRequest.java @@ -41,36 +41,39 @@ public class GetTerminalDetailsRequest { public GetTerminalDetailsRequest() { } + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + * + * @param terminal + * @return the current {@code GetTerminalDetailsRequest} instance, allowing for method chaining + */ public GetTerminalDetailsRequest terminal(String terminal) { this.terminal = terminal; return this; } - /** - * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. * @return terminal - **/ + */ @ApiModelProperty(required = true, value = "The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**.") @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminal() { return terminal; } - - /** - * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. - * - * @param terminal - */ + /** + * The unique terminal ID in the format `[Device model]-[Serial number]`. For example, **V400m-324689776**. + * + * @param terminal + */ @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminal(String terminal) { this.terminal = terminal; } - /** * Return true if this GetTerminalDetailsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsResponse.java b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsResponse.java index f755897e6..9c10cfcd3 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsResponse.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalDetailsResponse.java @@ -194,756 +194,831 @@ public static TerminalStatusEnum fromValue(String value) { public GetTerminalDetailsResponse() { } + /** + * The Bluetooth IP address of the terminal. + * + * @param bluetoothIp + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse bluetoothIp(String bluetoothIp) { this.bluetoothIp = bluetoothIp; return this; } - /** + /** * The Bluetooth IP address of the terminal. * @return bluetoothIp - **/ + */ @ApiModelProperty(value = "The Bluetooth IP address of the terminal.") @JsonProperty(JSON_PROPERTY_BLUETOOTH_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBluetoothIp() { return bluetoothIp; } - - /** - * The Bluetooth IP address of the terminal. - * - * @param bluetoothIp - */ + /** + * The Bluetooth IP address of the terminal. + * + * @param bluetoothIp + */ @JsonProperty(JSON_PROPERTY_BLUETOOTH_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBluetoothIp(String bluetoothIp) { this.bluetoothIp = bluetoothIp; } - + /** + * The Bluetooth MAC address of the terminal. + * + * @param bluetoothMac + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse bluetoothMac(String bluetoothMac) { this.bluetoothMac = bluetoothMac; return this; } - /** + /** * The Bluetooth MAC address of the terminal. * @return bluetoothMac - **/ + */ @ApiModelProperty(value = "The Bluetooth MAC address of the terminal.") @JsonProperty(JSON_PROPERTY_BLUETOOTH_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBluetoothMac() { return bluetoothMac; } - - /** - * The Bluetooth MAC address of the terminal. - * - * @param bluetoothMac - */ + /** + * The Bluetooth MAC address of the terminal. + * + * @param bluetoothMac + */ @JsonProperty(JSON_PROPERTY_BLUETOOTH_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBluetoothMac(String bluetoothMac) { this.bluetoothMac = bluetoothMac; } - + /** + * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. + * + * @param companyAccount + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** + /** * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. - * - * @param companyAccount - */ + /** + * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * The country where the terminal is used. + * + * @param country + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse country(String country) { this.country = country; return this; } - /** + /** * The country where the terminal is used. * @return country - **/ + */ @ApiModelProperty(value = "The country where the terminal is used.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The country where the terminal is used. - * - * @param country - */ + /** + * The country where the terminal is used. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The model name of the terminal. + * + * @param deviceModel + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse deviceModel(String deviceModel) { this.deviceModel = deviceModel; return this; } - /** + /** * The model name of the terminal. * @return deviceModel - **/ + */ @ApiModelProperty(value = "The model name of the terminal.") @JsonProperty(JSON_PROPERTY_DEVICE_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDeviceModel() { return deviceModel; } - - /** - * The model name of the terminal. - * - * @param deviceModel - */ + /** + * The model name of the terminal. + * + * @param deviceModel + */ @JsonProperty(JSON_PROPERTY_DEVICE_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeviceModel(String deviceModel) { this.deviceModel = deviceModel; } - + /** + * Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal. + * + * @param dhcpEnabled + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse dhcpEnabled(Boolean dhcpEnabled) { this.dhcpEnabled = dhcpEnabled; return this; } - /** + /** * Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal. * @return dhcpEnabled - **/ + */ @ApiModelProperty(value = "Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.") @JsonProperty(JSON_PROPERTY_DHCP_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDhcpEnabled() { return dhcpEnabled; } - - /** - * Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal. - * - * @param dhcpEnabled - */ + /** + * Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal. + * + * @param dhcpEnabled + */ @JsonProperty(JSON_PROPERTY_DHCP_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDhcpEnabled(Boolean dhcpEnabled) { this.dhcpEnabled = dhcpEnabled; } - + /** + * The label shown on the status bar of the display. This label (if any) is specified in your Customer Area. + * + * @param displayLabel + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse displayLabel(String displayLabel) { this.displayLabel = displayLabel; return this; } - /** + /** * The label shown on the status bar of the display. This label (if any) is specified in your Customer Area. * @return displayLabel - **/ + */ @ApiModelProperty(value = "The label shown on the status bar of the display. This label (if any) is specified in your Customer Area.") @JsonProperty(JSON_PROPERTY_DISPLAY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisplayLabel() { return displayLabel; } - - /** - * The label shown on the status bar of the display. This label (if any) is specified in your Customer Area. - * - * @param displayLabel - */ + /** + * The label shown on the status bar of the display. This label (if any) is specified in your Customer Area. + * + * @param displayLabel + */ @JsonProperty(JSON_PROPERTY_DISPLAY_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayLabel(String displayLabel) { this.displayLabel = displayLabel; } - + /** + * The terminal's IP address in your Ethernet network. + * + * @param ethernetIp + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse ethernetIp(String ethernetIp) { this.ethernetIp = ethernetIp; return this; } - /** - * The terminal's IP address in your Ethernet network. + /** + * The terminal's IP address in your Ethernet network. * @return ethernetIp - **/ + */ @ApiModelProperty(value = "The terminal's IP address in your Ethernet network.") @JsonProperty(JSON_PROPERTY_ETHERNET_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEthernetIp() { return ethernetIp; } - - /** - * The terminal's IP address in your Ethernet network. - * - * @param ethernetIp - */ + /** + * The terminal's IP address in your Ethernet network. + * + * @param ethernetIp + */ @JsonProperty(JSON_PROPERTY_ETHERNET_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEthernetIp(String ethernetIp) { this.ethernetIp = ethernetIp; } - + /** + * The terminal's MAC address in your Ethernet network. + * + * @param ethernetMac + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse ethernetMac(String ethernetMac) { this.ethernetMac = ethernetMac; return this; } - /** - * The terminal's MAC address in your Ethernet network. + /** + * The terminal's MAC address in your Ethernet network. * @return ethernetMac - **/ + */ @ApiModelProperty(value = "The terminal's MAC address in your Ethernet network.") @JsonProperty(JSON_PROPERTY_ETHERNET_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEthernetMac() { return ethernetMac; } - - /** - * The terminal's MAC address in your Ethernet network. - * - * @param ethernetMac - */ + /** + * The terminal's MAC address in your Ethernet network. + * + * @param ethernetMac + */ @JsonProperty(JSON_PROPERTY_ETHERNET_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEthernetMac(String ethernetMac) { this.ethernetMac = ethernetMac; } - + /** + * The software release currently in use on the terminal. + * + * @param firmwareVersion + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse firmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } - /** + /** * The software release currently in use on the terminal. * @return firmwareVersion - **/ + */ @ApiModelProperty(value = "The software release currently in use on the terminal.") @JsonProperty(JSON_PROPERTY_FIRMWARE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirmwareVersion() { return firmwareVersion; } - - /** - * The software release currently in use on the terminal. - * - * @param firmwareVersion - */ + /** + * The software release currently in use on the terminal. + * + * @param firmwareVersion + */ @JsonProperty(JSON_PROPERTY_FIRMWARE_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; } - + /** + * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. + * + * @param iccid + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse iccid(String iccid) { this.iccid = iccid; return this; } - /** + /** * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. * @return iccid - **/ + */ @ApiModelProperty(value = "The integrated circuit card identifier (ICCID) of the SIM card in the terminal.") @JsonProperty(JSON_PROPERTY_ICCID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIccid() { return iccid; } - - /** - * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. - * - * @param iccid - */ + /** + * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. + * + * @param iccid + */ @JsonProperty(JSON_PROPERTY_ICCID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIccid(String iccid) { this.iccid = iccid; } - + /** + * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. + * + * @param lastActivityDateTime + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse lastActivityDateTime(OffsetDateTime lastActivityDateTime) { this.lastActivityDateTime = lastActivityDateTime; return this; } - /** + /** * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. * @return lastActivityDateTime - **/ + */ @ApiModelProperty(value = "Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.") @JsonProperty(JSON_PROPERTY_LAST_ACTIVITY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLastActivityDateTime() { return lastActivityDateTime; } - - /** - * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. - * - * @param lastActivityDateTime - */ + /** + * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. + * + * @param lastActivityDateTime + */ @JsonProperty(JSON_PROPERTY_LAST_ACTIVITY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastActivityDateTime(OffsetDateTime lastActivityDateTime) { this.lastActivityDateTime = lastActivityDateTime; } - + /** + * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. + * + * @param lastTransactionDateTime + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse lastTransactionDateTime(OffsetDateTime lastTransactionDateTime) { this.lastTransactionDateTime = lastTransactionDateTime; return this; } - /** + /** * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. * @return lastTransactionDateTime - **/ + */ @ApiModelProperty(value = "Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.") @JsonProperty(JSON_PROPERTY_LAST_TRANSACTION_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getLastTransactionDateTime() { return lastTransactionDateTime; } - - /** - * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. - * - * @param lastTransactionDateTime - */ + /** + * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. + * + * @param lastTransactionDateTime + */ @JsonProperty(JSON_PROPERTY_LAST_TRANSACTION_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastTransactionDateTime(OffsetDateTime lastTransactionDateTime) { this.lastTransactionDateTime = lastTransactionDateTime; } - + /** + * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex + * + * @param linkNegotiation + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse linkNegotiation(String linkNegotiation) { this.linkNegotiation = linkNegotiation; return this; } - /** - * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex + /** + * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex * @return linkNegotiation - **/ + */ @ApiModelProperty(value = "The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex") @JsonProperty(JSON_PROPERTY_LINK_NEGOTIATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLinkNegotiation() { return linkNegotiation; } - - /** - * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex - * - * @param linkNegotiation - */ + /** + * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex + * + * @param linkNegotiation + */ @JsonProperty(JSON_PROPERTY_LINK_NEGOTIATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinkNegotiation(String linkNegotiation) { this.linkNegotiation = linkNegotiation; } - + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + * + * @param merchantAccount + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** - * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. - * - * @param merchantAccount - */ + /** + * The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param merchantInventory + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse merchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; return this; } - /** + /** * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. * @return merchantInventory - **/ + */ @ApiModelProperty(value = "Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.") @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMerchantInventory() { return merchantInventory; } - - /** - * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. - * - * @param merchantInventory - */ + /** + * Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param merchantInventory + */ @JsonProperty(JSON_PROPERTY_MERCHANT_INVENTORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantInventory(Boolean merchantInventory) { this.merchantInventory = merchantInventory; } - + /** + * The permanent terminal ID. + * + * @param permanentTerminalId + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse permanentTerminalId(String permanentTerminalId) { this.permanentTerminalId = permanentTerminalId; return this; } - /** + /** * The permanent terminal ID. * @return permanentTerminalId - **/ + */ @ApiModelProperty(value = "The permanent terminal ID.") @JsonProperty(JSON_PROPERTY_PERMANENT_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPermanentTerminalId() { return permanentTerminalId; } - - /** - * The permanent terminal ID. - * - * @param permanentTerminalId - */ + /** + * The permanent terminal ID. + * + * @param permanentTerminalId + */ @JsonProperty(JSON_PROPERTY_PERMANENT_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPermanentTerminalId(String permanentTerminalId) { this.permanentTerminalId = permanentTerminalId; } - + /** + * The serial number of the terminal. + * + * @param serialNumber + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } - /** + /** * The serial number of the terminal. * @return serialNumber - **/ + */ @ApiModelProperty(value = "The serial number of the terminal.") @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSerialNumber() { return serialNumber; } - - /** - * The serial number of the terminal. - * - * @param serialNumber - */ + /** + * The serial number of the terminal. + * + * @param serialNumber + */ @JsonProperty(JSON_PROPERTY_SERIAL_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } - + /** + * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY. + * + * @param simStatus + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse simStatus(String simStatus) { this.simStatus = simStatus; return this; } - /** + /** * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY. * @return simStatus - **/ + */ @ApiModelProperty(value = "On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.") @JsonProperty(JSON_PROPERTY_SIM_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSimStatus() { return simStatus; } - - /** - * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY. - * - * @param simStatus - */ + /** + * On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY. + * + * @param simStatus + */ @JsonProperty(JSON_PROPERTY_SIM_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSimStatus(String simStatus) { this.simStatus = simStatus; } - + /** + * The store code of the store that the terminal is assigned to. + * + * @param store + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse store(String store) { this.store = store; return this; } - /** + /** * The store code of the store that the terminal is assigned to. * @return store - **/ + */ @ApiModelProperty(value = "The store code of the store that the terminal is assigned to.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The store code of the store that the terminal is assigned to. - * - * @param store - */ + /** + * The store code of the store that the terminal is assigned to. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * storeDetails + * + * @param storeDetails + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse storeDetails(Store storeDetails) { this.storeDetails = storeDetails; return this; } - /** - * Get storeDetails + /** + * storeDetails * @return storeDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_STORE_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Store getStoreDetails() { return storeDetails; } - - /** - * storeDetails - * - * @param storeDetails - */ + /** + * storeDetails + * + * @param storeDetails + */ @JsonProperty(JSON_PROPERTY_STORE_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreDetails(Store storeDetails) { this.storeDetails = storeDetails; } - + /** + * The unique terminal ID. + * + * @param terminal + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse terminal(String terminal) { this.terminal = terminal; return this; } - /** + /** * The unique terminal ID. * @return terminal - **/ + */ @ApiModelProperty(required = true, value = "The unique terminal ID.") @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTerminal() { return terminal; } - - /** - * The unique terminal ID. - * - * @param terminal - */ + /** + * The unique terminal ID. + * + * @param terminal + */ @JsonProperty(JSON_PROPERTY_TERMINAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminal(String terminal) { this.terminal = terminal; } - + /** + * The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned. + * + * @param terminalStatus + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse terminalStatus(TerminalStatusEnum terminalStatus) { this.terminalStatus = terminalStatus; return this; } - /** - * The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned. + /** + * The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned. * @return terminalStatus - **/ + */ @ApiModelProperty(value = "The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned.") @JsonProperty(JSON_PROPERTY_TERMINAL_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TerminalStatusEnum getTerminalStatus() { return terminalStatus; } - - /** - * The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned. - * - * @param terminalStatus - */ + /** + * The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned. + * + * @param terminalStatus + */ @JsonProperty(JSON_PROPERTY_TERMINAL_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerminalStatus(TerminalStatusEnum terminalStatus) { this.terminalStatus = terminalStatus; } - + /** + * The terminal's IP address in your Wi-Fi network. + * + * @param wifiIp + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse wifiIp(String wifiIp) { this.wifiIp = wifiIp; return this; } - /** - * The terminal's IP address in your Wi-Fi network. + /** + * The terminal's IP address in your Wi-Fi network. * @return wifiIp - **/ + */ @ApiModelProperty(value = "The terminal's IP address in your Wi-Fi network.") @JsonProperty(JSON_PROPERTY_WIFI_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWifiIp() { return wifiIp; } - - /** - * The terminal's IP address in your Wi-Fi network. - * - * @param wifiIp - */ + /** + * The terminal's IP address in your Wi-Fi network. + * + * @param wifiIp + */ @JsonProperty(JSON_PROPERTY_WIFI_IP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWifiIp(String wifiIp) { this.wifiIp = wifiIp; } - + /** + * The terminal's MAC address in your Wi-Fi network. + * + * @param wifiMac + * @return the current {@code GetTerminalDetailsResponse} instance, allowing for method chaining + */ public GetTerminalDetailsResponse wifiMac(String wifiMac) { this.wifiMac = wifiMac; return this; } - /** - * The terminal's MAC address in your Wi-Fi network. + /** + * The terminal's MAC address in your Wi-Fi network. * @return wifiMac - **/ + */ @ApiModelProperty(value = "The terminal's MAC address in your Wi-Fi network.") @JsonProperty(JSON_PROPERTY_WIFI_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getWifiMac() { return wifiMac; } - - /** - * The terminal's MAC address in your Wi-Fi network. - * - * @param wifiMac - */ + /** + * The terminal's MAC address in your Wi-Fi network. + * + * @param wifiMac + */ @JsonProperty(JSON_PROPERTY_WIFI_MAC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWifiMac(String wifiMac) { this.wifiMac = wifiMac; } - /** * Return true if this GetTerminalDetailsResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountRequest.java b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountRequest.java index b034924a8..e1603b371 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountRequest.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountRequest.java @@ -49,96 +49,105 @@ public class GetTerminalsUnderAccountRequest { public GetTerminalsUnderAccountRequest() { } + /** + * Your company account. If you only specify this parameter, the response includes all terminals at all account levels. + * + * @param companyAccount + * @return the current {@code GetTerminalsUnderAccountRequest} instance, allowing for method chaining + */ public GetTerminalsUnderAccountRequest companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** + /** * Your company account. If you only specify this parameter, the response includes all terminals at all account levels. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "Your company account. If you only specify this parameter, the response includes all terminals at all account levels.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * Your company account. If you only specify this parameter, the response includes all terminals at all account levels. - * - * @param companyAccount - */ + /** + * Your company account. If you only specify this parameter, the response includes all terminals at all account levels. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account. + * + * @param merchantAccount + * @return the current {@code GetTerminalsUnderAccountRequest} instance, allowing for method chaining + */ public GetTerminalsUnderAccountRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** - * The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account. + /** + * The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(value = "The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account. - * - * @param merchantAccount - */ + /** + * The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store. + * + * @param store + * @return the current {@code GetTerminalsUnderAccountRequest} instance, allowing for method chaining + */ public GetTerminalsUnderAccountRequest store(String store) { this.store = store; return this; } - /** + /** * The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store. * @return store - **/ + */ @ApiModelProperty(value = "The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store. - * - * @param store - */ + /** + * The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this GetTerminalsUnderAccountRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountResponse.java b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountResponse.java index 7d517054e..728ee8a1f 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountResponse.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/GetTerminalsUnderAccountResponse.java @@ -52,36 +52,45 @@ public class GetTerminalsUnderAccountResponse { public GetTerminalsUnderAccountResponse() { } + /** + * Your company account. + * + * @param companyAccount + * @return the current {@code GetTerminalsUnderAccountResponse} instance, allowing for method chaining + */ public GetTerminalsUnderAccountResponse companyAccount(String companyAccount) { this.companyAccount = companyAccount; return this; } - /** + /** * Your company account. * @return companyAccount - **/ + */ @ApiModelProperty(required = true, value = "Your company account.") @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCompanyAccount() { return companyAccount; } - - /** - * Your company account. - * - * @param companyAccount - */ + /** + * Your company account. + * + * @param companyAccount + */ @JsonProperty(JSON_PROPERTY_COMPANY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCompanyAccount(String companyAccount) { this.companyAccount = companyAccount; } - + /** + * Array that returns a list of all terminals that are in the inventory of the company account. + * + * @param inventoryTerminals + * @return the current {@code GetTerminalsUnderAccountResponse} instance, allowing for method chaining + */ public GetTerminalsUnderAccountResponse inventoryTerminals(List inventoryTerminals) { this.inventoryTerminals = inventoryTerminals; return this; @@ -95,31 +104,34 @@ public GetTerminalsUnderAccountResponse addInventoryTerminalsItem(String invento return this; } - /** + /** * Array that returns a list of all terminals that are in the inventory of the company account. * @return inventoryTerminals - **/ + */ @ApiModelProperty(value = "Array that returns a list of all terminals that are in the inventory of the company account.") @JsonProperty(JSON_PROPERTY_INVENTORY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInventoryTerminals() { return inventoryTerminals; } - - /** - * Array that returns a list of all terminals that are in the inventory of the company account. - * - * @param inventoryTerminals - */ + /** + * Array that returns a list of all terminals that are in the inventory of the company account. + * + * @param inventoryTerminals + */ @JsonProperty(JSON_PROPERTY_INVENTORY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInventoryTerminals(List inventoryTerminals) { this.inventoryTerminals = inventoryTerminals; } - + /** + * Array that returns a list of all merchant accounts belonging to the company account. + * + * @param merchantAccounts + * @return the current {@code GetTerminalsUnderAccountResponse} instance, allowing for method chaining + */ public GetTerminalsUnderAccountResponse merchantAccounts(List merchantAccounts) { this.merchantAccounts = merchantAccounts; return this; @@ -133,31 +145,28 @@ public GetTerminalsUnderAccountResponse addMerchantAccountsItem(MerchantAccount return this; } - /** + /** * Array that returns a list of all merchant accounts belonging to the company account. * @return merchantAccounts - **/ + */ @ApiModelProperty(value = "Array that returns a list of all merchant accounts belonging to the company account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMerchantAccounts() { return merchantAccounts; } - - /** - * Array that returns a list of all merchant accounts belonging to the company account. - * - * @param merchantAccounts - */ + /** + * Array that returns a list of all merchant accounts belonging to the company account. + * + * @param merchantAccounts + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccounts(List merchantAccounts) { this.merchantAccounts = merchantAccounts; } - /** * Return true if this GetTerminalsUnderAccountResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/MerchantAccount.java b/src/main/java/com/adyen/model/posterminalmanagement/MerchantAccount.java index fd53d21bf..aac4d4e44 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/MerchantAccount.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/MerchantAccount.java @@ -56,6 +56,12 @@ public class MerchantAccount { public MerchantAccount() { } + /** + * List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param inStoreTerminals + * @return the current {@code MerchantAccount} instance, allowing for method chaining + */ public MerchantAccount inStoreTerminals(List inStoreTerminals) { this.inStoreTerminals = inStoreTerminals; return this; @@ -69,31 +75,34 @@ public MerchantAccount addInStoreTerminalsItem(String inStoreTerminalsItem) { return this; } - /** + /** * List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded. * @return inStoreTerminals - **/ + */ @ApiModelProperty(value = "List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded.") @JsonProperty(JSON_PROPERTY_IN_STORE_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInStoreTerminals() { return inStoreTerminals; } - - /** - * List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded. - * - * @param inStoreTerminals - */ + /** + * List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded. + * + * @param inStoreTerminals + */ @JsonProperty(JSON_PROPERTY_IN_STORE_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInStoreTerminals(List inStoreTerminals) { this.inStoreTerminals = inStoreTerminals; } - + /** + * List of terminals assigned to the inventory of this merchant account. + * + * @param inventoryTerminals + * @return the current {@code MerchantAccount} instance, allowing for method chaining + */ public MerchantAccount inventoryTerminals(List inventoryTerminals) { this.inventoryTerminals = inventoryTerminals; return this; @@ -107,61 +116,67 @@ public MerchantAccount addInventoryTerminalsItem(String inventoryTerminalsItem) return this; } - /** + /** * List of terminals assigned to the inventory of this merchant account. * @return inventoryTerminals - **/ + */ @ApiModelProperty(value = "List of terminals assigned to the inventory of this merchant account.") @JsonProperty(JSON_PROPERTY_INVENTORY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInventoryTerminals() { return inventoryTerminals; } - - /** - * List of terminals assigned to the inventory of this merchant account. - * - * @param inventoryTerminals - */ + /** + * List of terminals assigned to the inventory of this merchant account. + * + * @param inventoryTerminals + */ @JsonProperty(JSON_PROPERTY_INVENTORY_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInventoryTerminals(List inventoryTerminals) { this.inventoryTerminals = inventoryTerminals; } - + /** + * The merchant account. + * + * @param merchantAccount + * @return the current {@code MerchantAccount} instance, allowing for method chaining + */ public MerchantAccount merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account. - * - * @param merchantAccount - */ + /** + * The merchant account. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * Array of stores under this merchant account. + * + * @param stores + * @return the current {@code MerchantAccount} instance, allowing for method chaining + */ public MerchantAccount stores(List stores) { this.stores = stores; return this; @@ -175,31 +190,28 @@ public MerchantAccount addStoresItem(Store storesItem) { return this; } - /** + /** * Array of stores under this merchant account. * @return stores - **/ + */ @ApiModelProperty(value = "Array of stores under this merchant account.") @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getStores() { return stores; } - - /** - * Array of stores under this merchant account. - * - * @param stores - */ + /** + * Array of stores under this merchant account. + * + * @param stores + */ @JsonProperty(JSON_PROPERTY_STORES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStores(List stores) { this.stores = stores; } - /** * Return true if this MerchantAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/ServiceError.java b/src/main/java/com/adyen/model/posterminalmanagement/ServiceError.java index 24a721908..0fe7bbd4e 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/ServiceError.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/ServiceError.java @@ -57,156 +57,171 @@ public class ServiceError { public ServiceError() { } + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/posterminalmanagement/Store.java b/src/main/java/com/adyen/model/posterminalmanagement/Store.java index 71fcecb3e..bcbbfe638 100644 --- a/src/main/java/com/adyen/model/posterminalmanagement/Store.java +++ b/src/main/java/com/adyen/model/posterminalmanagement/Store.java @@ -64,66 +64,78 @@ public class Store { public Store() { } + /** + * address + * + * @param address + * @return the current {@code Store} instance, allowing for method chaining + */ public Store address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The description of the store. + * + * @param description + * @return the current {@code Store} instance, allowing for method chaining + */ public Store description(String description) { this.description = description; return this; } - /** + /** * The description of the store. * @return description - **/ + */ @ApiModelProperty(value = "The description of the store.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the store. - * - * @param description - */ + /** + * The description of the store. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The list of terminals assigned to the store. + * + * @param inStoreTerminals + * @return the current {@code Store} instance, allowing for method chaining + */ public Store inStoreTerminals(List inStoreTerminals) { this.inStoreTerminals = inStoreTerminals; return this; @@ -137,121 +149,127 @@ public Store addInStoreTerminalsItem(String inStoreTerminalsItem) { return this; } - /** + /** * The list of terminals assigned to the store. * @return inStoreTerminals - **/ + */ @ApiModelProperty(value = "The list of terminals assigned to the store.") @JsonProperty(JSON_PROPERTY_IN_STORE_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInStoreTerminals() { return inStoreTerminals; } - - /** - * The list of terminals assigned to the store. - * - * @param inStoreTerminals - */ + /** + * The list of terminals assigned to the store. + * + * @param inStoreTerminals + */ @JsonProperty(JSON_PROPERTY_IN_STORE_TERMINALS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInStoreTerminals(List inStoreTerminals) { this.inStoreTerminals = inStoreTerminals; } - + /** + * The code of the merchant account. + * + * @param merchantAccountCode + * @return the current {@code Store} instance, allowing for method chaining + */ public Store merchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; return this; } - /** + /** * The code of the merchant account. * @return merchantAccountCode - **/ + */ @ApiModelProperty(value = "The code of the merchant account.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccountCode() { return merchantAccountCode; } - - /** - * The code of the merchant account. - * - * @param merchantAccountCode - */ + /** + * The code of the merchant account. + * + * @param merchantAccountCode + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccountCode(String merchantAccountCode) { this.merchantAccountCode = merchantAccountCode; } - + /** + * The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. + * + * @param status + * @return the current {@code Store} instance, allowing for method chaining + */ public Store status(String status) { this.status = status; return this; } - /** - * The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. + /** + * The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. * @return status - **/ + */ @ApiModelProperty(value = "The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. - * - * @param status - */ + /** + * The status of the store: - `PreActive`: the store has been created, but not yet activated. - `Active`: the store has been activated. This means you can process payments for this store. - `Inactive`: the store is currently not active. - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. - `Closed`: the store has been closed. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - + /** + * The code of the store. + * + * @param store + * @return the current {@code Store} instance, allowing for method chaining + */ public Store store(String store) { this.store = store; return this; } - /** + /** * The code of the store. * @return store - **/ + */ @ApiModelProperty(required = true, value = "The code of the store.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The code of the store. - * - * @param store - */ + /** + * The code of the store. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this Store object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Address.java b/src/main/java/com/adyen/model/recurring/Address.java index c80569890..e37b6bf54 100644 --- a/src/main/java/com/adyen/model/recurring/Address.java +++ b/src/main/java/com/adyen/model/recurring/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** + /** * The name of the city. Maximum length: 3000 characters. * @return city - **/ + */ @ApiModelProperty(required = true, value = "The name of the city. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Maximum length: 3000 characters. - * - * @param city - */ + /** + * The name of the city. Maximum length: 3000 characters. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. - * - * @param country - */ + /** + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + * @return the current {@code Address} instance, allowing for method chaining + */ public Address houseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; return this; } - /** + /** * The number or name of the house. Maximum length: 3000 characters. * @return houseNumberOrName - **/ + */ @ApiModelProperty(required = true, value = "The number or name of the house. Maximum length: 3000 characters.") @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHouseNumberOrName() { return houseNumberOrName; } - - /** - * The number or name of the house. Maximum length: 3000 characters. - * - * @param houseNumberOrName - */ + /** + * The number or name of the house. Maximum length: 3000 characters. + * + * @param houseNumberOrName + */ @JsonProperty(JSON_PROPERTY_HOUSE_NUMBER_OR_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHouseNumberOrName(String houseNumberOrName) { this.houseNumberOrName = houseNumberOrName; } - + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. * @return postalCode - **/ + */ @ApiModelProperty(required = true, value = "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. - * - * @param postalCode - */ + /** + * A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + * @return the current {@code Address} instance, allowing for method chaining + */ public Address street(String street) { this.street = street; return this; } - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. * @return street - **/ + */ @ApiModelProperty(required = true, value = "The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.") @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStreet() { return street; } - - /** - * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. - * - * @param street - */ + /** + * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. + * + * @param street + */ @JsonProperty(JSON_PROPERTY_STREET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStreet(String street) { this.street = street; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Amount.java b/src/main/java/com/adyen/model/recurring/Amount.java index 46b9cd6c5..498e84cbb 100644 --- a/src/main/java/com/adyen/model/recurring/Amount.java +++ b/src/main/java/com/adyen/model/recurring/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/BankAccount.java b/src/main/java/com/adyen/model/recurring/BankAccount.java index 39ad36097..a0b93980d 100644 --- a/src/main/java/com/adyen/model/recurring/BankAccount.java +++ b/src/main/java/com/adyen/model/recurring/BankAccount.java @@ -73,276 +73,303 @@ public class BankAccount { public BankAccount() { } + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; return this; } - /** + /** * The bank account number (without separators). * @return bankAccountNumber - **/ + */ @ApiModelProperty(value = "The bank account number (without separators).") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAccountNumber() { return bankAccountNumber; } - - /** - * The bank account number (without separators). - * - * @param bankAccountNumber - */ + /** + * The bank account number (without separators). + * + * @param bankAccountNumber + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccountNumber(String bankAccountNumber) { this.bankAccountNumber = bankAccountNumber; } - + /** + * The bank city. + * + * @param bankCity + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankCity(String bankCity) { this.bankCity = bankCity; return this; } - /** + /** * The bank city. * @return bankCity - **/ + */ @ApiModelProperty(value = "The bank city.") @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCity() { return bankCity; } - - /** - * The bank city. - * - * @param bankCity - */ + /** + * The bank city. + * + * @param bankCity + */ @JsonProperty(JSON_PROPERTY_BANK_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCity(String bankCity) { this.bankCity = bankCity; } - + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; return this; } - /** - * The location id of the bank. The field value is `nil` in most cases. + /** + * The location id of the bank. The field value is `nil` in most cases. * @return bankLocationId - **/ + */ @ApiModelProperty(value = "The location id of the bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankLocationId() { return bankLocationId; } - - /** - * The location id of the bank. The field value is `nil` in most cases. - * - * @param bankLocationId - */ + /** + * The location id of the bank. The field value is `nil` in most cases. + * + * @param bankLocationId + */ @JsonProperty(JSON_PROPERTY_BANK_LOCATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankLocationId(String bankLocationId) { this.bankLocationId = bankLocationId; } - + /** + * The name of the bank. + * + * @param bankName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bankName(String bankName) { this.bankName = bankName; return this; } - /** + /** * The name of the bank. * @return bankName - **/ + */ @ApiModelProperty(value = "The name of the bank.") @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankName() { return bankName; } - - /** - * The name of the bank. - * - * @param bankName - */ + /** + * The name of the bank. + * + * @param bankName + */ @JsonProperty(JSON_PROPERTY_BANK_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankName(String bankName) { this.bankName = bankName; } - + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount bic(String bic) { this.bic = bic; return this; } - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. * @return bic - **/ + */ @ApiModelProperty(value = "The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. - * - * @param bic - */ + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). * @return countryCode - **/ + */ @ApiModelProperty(value = "Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL').") @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryCode() { return countryCode; } - - /** - * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). - * - * @param countryCode - */ + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + * + * @param countryCode + */ @JsonProperty(JSON_PROPERTY_COUNTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryCode(String countryCode) { this.countryCode = countryCode; } - + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount iban(String iban) { this.iban = iban; return this; } - /** + /** * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). * @return iban - **/ + */ @ApiModelProperty(value = "The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). - * - * @param iban - */ + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. * @return ownerName - **/ + */ @ApiModelProperty(value = "The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.") @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOwnerName() { return ownerName; } - - /** - * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. - * - * @param ownerName - */ + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + * + * @param ownerName + */ @JsonProperty(JSON_PROPERTY_OWNER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + /** + * The bank account holder's tax ID. + * + * @param taxId + * @return the current {@code BankAccount} instance, allowing for method chaining + */ public BankAccount taxId(String taxId) { this.taxId = taxId; return this; } - /** - * The bank account holder's tax ID. + /** + * The bank account holder's tax ID. * @return taxId - **/ + */ @ApiModelProperty(value = "The bank account holder's tax ID.") @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTaxId() { return taxId; } - - /** - * The bank account holder's tax ID. - * - * @param taxId - */ + /** + * The bank account holder's tax ID. + * + * @param taxId + */ @JsonProperty(JSON_PROPERTY_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTaxId(String taxId) { this.taxId = taxId; } - /** * Return true if this BankAccount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Card.java b/src/main/java/com/adyen/model/recurring/Card.java index c0bd34371..f45e19ff7 100644 --- a/src/main/java/com/adyen/model/recurring/Card.java +++ b/src/main/java/com/adyen/model/recurring/Card.java @@ -69,246 +69,270 @@ public class Card { public Card() { } + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cvc(String cvc) { this.cvc = cvc; return this; } - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. * @return cvc - **/ + */ @ApiModelProperty(value = "The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.") @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCvc() { return cvc; } - - /** - * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. - * - * @param cvc - */ + /** + * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + * + * @param cvc + */ @JsonProperty(JSON_PROPERTY_CVC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCvc(String cvc) { this.cvc = cvc; } - + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The card expiry year. Format: 4 digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The card expiry year. Format: 4 digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The card expiry year. Format: 4 digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The card expiry year. Format: 4 digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + * @return the current {@code Card} instance, allowing for method chaining + */ public Card holderName(String holderName) { this.holderName = holderName; return this; } - /** + /** * The name of the cardholder, as printed on the card. * @return holderName - **/ + */ @ApiModelProperty(value = "The name of the cardholder, as printed on the card.") @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHolderName() { return holderName; } - - /** - * The name of the cardholder, as printed on the card. - * - * @param holderName - */ + /** + * The name of the cardholder, as printed on the card. + * + * @param holderName + */ @JsonProperty(JSON_PROPERTY_HOLDER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHolderName(String holderName) { this.holderName = holderName; } - + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + * @return the current {@code Card} instance, allowing for method chaining + */ public Card issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card (for some UK debit cards only). * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card (for some UK debit cards only). - * - * @param issueNumber - */ + /** + * The issue number of the card (for some UK debit cards only). + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + * @return the current {@code Card} instance, allowing for method chaining + */ public Card number(String number) { this.number = number; return this; } - /** + /** * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. * @return number - **/ + */ @ApiModelProperty(value = "The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. - * - * @param number - */ + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** + /** * The month component of the start date (for some UK debit cards only). * @return startMonth - **/ + */ @ApiModelProperty(value = "The month component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month component of the start date (for some UK debit cards only). - * - * @param startMonth - */ + /** + * The month component of the start date (for some UK debit cards only). + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + * @return the current {@code Card} instance, allowing for method chaining + */ public Card startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year component of the start date (for some UK debit cards only). * @return startYear - **/ + */ @ApiModelProperty(value = "The year component of the start date (for some UK debit cards only).") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year component of the start date (for some UK debit cards only). - * - * @param startYear - */ + /** + * The year component of the start date (for some UK debit cards only). + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/CreatePermitRequest.java b/src/main/java/com/adyen/model/recurring/CreatePermitRequest.java index 195a0249e..3d1e3ef08 100644 --- a/src/main/java/com/adyen/model/recurring/CreatePermitRequest.java +++ b/src/main/java/com/adyen/model/recurring/CreatePermitRequest.java @@ -56,36 +56,45 @@ public class CreatePermitRequest { public CreatePermitRequest() { } + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code CreatePermitRequest} instance, allowing for method chaining + */ public CreatePermitRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The permits to create for this recurring contract. + * + * @param permits + * @return the current {@code CreatePermitRequest} instance, allowing for method chaining + */ public CreatePermitRequest permits(List permits) { this.permits = permits; return this; @@ -96,91 +105,94 @@ public CreatePermitRequest addPermitsItem(Permit permitsItem) { return this; } - /** + /** * The permits to create for this recurring contract. * @return permits - **/ + */ @ApiModelProperty(required = true, value = "The permits to create for this recurring contract.") @JsonProperty(JSON_PROPERTY_PERMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPermits() { return permits; } - - /** - * The permits to create for this recurring contract. - * - * @param permits - */ + /** + * The permits to create for this recurring contract. + * + * @param permits + */ @JsonProperty(JSON_PROPERTY_PERMITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPermits(List permits) { this.permits = permits; } - + /** + * The recurring contract the new permits will use. + * + * @param recurringDetailReference + * @return the current {@code CreatePermitRequest} instance, allowing for method chaining + */ public CreatePermitRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** + /** * The recurring contract the new permits will use. * @return recurringDetailReference - **/ + */ @ApiModelProperty(required = true, value = "The recurring contract the new permits will use.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * The recurring contract the new permits will use. - * - * @param recurringDetailReference - */ + /** + * The recurring contract the new permits will use. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + * + * @param shopperReference + * @return the current {@code CreatePermitRequest} instance, allowing for method chaining + */ public CreatePermitRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID).") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). - * - * @param shopperReference - */ + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this CreatePermitRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/CreatePermitResult.java b/src/main/java/com/adyen/model/recurring/CreatePermitResult.java index 7cae876bc..7cd20c7db 100644 --- a/src/main/java/com/adyen/model/recurring/CreatePermitResult.java +++ b/src/main/java/com/adyen/model/recurring/CreatePermitResult.java @@ -48,6 +48,12 @@ public class CreatePermitResult { public CreatePermitResult() { } + /** + * List of new permits. + * + * @param permitResultList + * @return the current {@code CreatePermitResult} instance, allowing for method chaining + */ public CreatePermitResult permitResultList(List permitResultList) { this.permitResultList = permitResultList; return this; @@ -61,61 +67,61 @@ public CreatePermitResult addPermitResultListItem(PermitResult permitResultListI return this; } - /** + /** * List of new permits. * @return permitResultList - **/ + */ @ApiModelProperty(value = "List of new permits.") @JsonProperty(JSON_PROPERTY_PERMIT_RESULT_LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPermitResultList() { return permitResultList; } - - /** - * List of new permits. - * - * @param permitResultList - */ + /** + * List of new permits. + * + * @param permitResultList + */ @JsonProperty(JSON_PROPERTY_PERMIT_RESULT_LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPermitResultList(List permitResultList) { this.permitResultList = permitResultList; } - + /** + * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code CreatePermitResult} instance, allowing for method chaining + */ public CreatePermitResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - /** * Return true if this CreatePermitResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/DisablePermitRequest.java b/src/main/java/com/adyen/model/recurring/DisablePermitRequest.java index 012b7c6b1..f737416c0 100644 --- a/src/main/java/com/adyen/model/recurring/DisablePermitRequest.java +++ b/src/main/java/com/adyen/model/recurring/DisablePermitRequest.java @@ -45,66 +45,72 @@ public class DisablePermitRequest { public DisablePermitRequest() { } + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code DisablePermitRequest} instance, allowing for method chaining + */ public DisablePermitRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The permit token to disable. + * + * @param token + * @return the current {@code DisablePermitRequest} instance, allowing for method chaining + */ public DisablePermitRequest token(String token) { this.token = token; return this; } - /** + /** * The permit token to disable. * @return token - **/ + */ @ApiModelProperty(required = true, value = "The permit token to disable.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * The permit token to disable. - * - * @param token - */ + /** + * The permit token to disable. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - /** * Return true if this DisablePermitRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/DisablePermitResult.java b/src/main/java/com/adyen/model/recurring/DisablePermitResult.java index b13e9651b..51ff561f9 100644 --- a/src/main/java/com/adyen/model/recurring/DisablePermitResult.java +++ b/src/main/java/com/adyen/model/recurring/DisablePermitResult.java @@ -45,66 +45,72 @@ public class DisablePermitResult { public DisablePermitResult() { } + /** + * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code DisablePermitResult} instance, allowing for method chaining + */ public DisablePermitResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Status of the disable request. + * + * @param status + * @return the current {@code DisablePermitResult} instance, allowing for method chaining + */ public DisablePermitResult status(String status) { this.status = status; return this; } - /** + /** * Status of the disable request. * @return status - **/ + */ @ApiModelProperty(value = "Status of the disable request.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStatus() { return status; } - - /** - * Status of the disable request. - * - * @param status - */ + /** + * Status of the disable request. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(String status) { this.status = status; } - /** * Return true if this DisablePermitResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/DisableRequest.java b/src/main/java/com/adyen/model/recurring/DisableRequest.java index d03bcde3c..5eb13156c 100644 --- a/src/main/java/com/adyen/model/recurring/DisableRequest.java +++ b/src/main/java/com/adyen/model/recurring/DisableRequest.java @@ -53,126 +53,138 @@ public class DisableRequest { public DisableRequest() { } + /** + * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT + * + * @param contract + * @return the current {@code DisableRequest} instance, allowing for method chaining + */ public DisableRequest contract(String contract) { this.contract = contract; return this; } - /** + /** * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT * @return contract - **/ + */ @ApiModelProperty(value = "Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getContract() { return contract; } - - /** - * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT - * - * @param contract - */ + /** + * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(String contract) { this.contract = contract; } - + /** + * The merchant account identifier with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code DisableRequest} instance, allowing for method chaining + */ public DisableRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. + * + * @param recurringDetailReference + * @return the current {@code DisableRequest} instance, allowing for method chaining + */ public DisableRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. + /** + * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. - * - * @param recurringDetailReference - */ + /** + * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + * + * @param shopperReference + * @return the current {@code DisableRequest} instance, allowing for method chaining + */ public DisableRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. - * - * @param shopperReference - */ + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this DisableRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/DisableResult.java b/src/main/java/com/adyen/model/recurring/DisableResult.java index dc581c580..5ee40d97b 100644 --- a/src/main/java/com/adyen/model/recurring/DisableResult.java +++ b/src/main/java/com/adyen/model/recurring/DisableResult.java @@ -41,36 +41,39 @@ public class DisableResult { public DisableResult() { } + /** + * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. + * + * @param response + * @return the current {@code DisableResult} instance, allowing for method chaining + */ public DisableResult response(String response) { this.response = response; return this; } - /** + /** * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. * @return response - **/ + */ @ApiModelProperty(value = "Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled].") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResponse() { return response; } - - /** - * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. - * - * @param response - */ + /** + * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(String response) { this.response = response; } - /** * Return true if this DisableResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Name.java b/src/main/java/com/adyen/model/recurring/Name.java index e54749d1e..ca13d23d9 100644 --- a/src/main/java/com/adyen/model/recurring/Name.java +++ b/src/main/java/com/adyen/model/recurring/Name.java @@ -45,66 +45,72 @@ public class Name { public Name() { } + /** + * The first name. + * + * @param firstName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name firstName(String firstName) { this.firstName = firstName; return this; } - /** + /** * The first name. * @return firstName - **/ + */ @ApiModelProperty(required = true, value = "The first name.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name. - * - * @param firstName - */ + /** + * The first name. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The last name. + * + * @param lastName + * @return the current {@code Name} instance, allowing for method chaining + */ public Name lastName(String lastName) { this.lastName = lastName; return this; } - /** + /** * The last name. * @return lastName - **/ + */ @ApiModelProperty(required = true, value = "The last name.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name. - * - * @param lastName - */ + /** + * The last name. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - /** * Return true if this Name object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/NotifyShopperRequest.java b/src/main/java/com/adyen/model/recurring/NotifyShopperRequest.java index 28989f2ef..e76f081b3 100644 --- a/src/main/java/com/adyen/model/recurring/NotifyShopperRequest.java +++ b/src/main/java/com/adyen/model/recurring/NotifyShopperRequest.java @@ -74,276 +74,303 @@ public class NotifyShopperRequest { public NotifyShopperRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format + * + * @param billingDate + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest billingDate(String billingDate) { this.billingDate = billingDate; return this; } - /** + /** * Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format * @return billingDate - **/ + */ @ApiModelProperty(value = "Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format") @JsonProperty(JSON_PROPERTY_BILLING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingDate() { return billingDate; } - - /** - * Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format - * - * @param billingDate - */ + /** + * Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format + * + * @param billingDate + */ @JsonProperty(JSON_PROPERTY_BILLING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingDate(String billingDate) { this.billingDate = billingDate; } - + /** + * Sequence of the debit. Depends on Frequency and Billing Attempts Rule. + * + * @param billingSequenceNumber + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest billingSequenceNumber(String billingSequenceNumber) { this.billingSequenceNumber = billingSequenceNumber; return this; } - /** + /** * Sequence of the debit. Depends on Frequency and Billing Attempts Rule. * @return billingSequenceNumber - **/ + */ @ApiModelProperty(value = "Sequence of the debit. Depends on Frequency and Billing Attempts Rule.") @JsonProperty(JSON_PROPERTY_BILLING_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBillingSequenceNumber() { return billingSequenceNumber; } - - /** - * Sequence of the debit. Depends on Frequency and Billing Attempts Rule. - * - * @param billingSequenceNumber - */ + /** + * Sequence of the debit. Depends on Frequency and Billing Attempts Rule. + * + * @param billingSequenceNumber + */ @JsonProperty(JSON_PROPERTY_BILLING_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingSequenceNumber(String billingSequenceNumber) { this.billingSequenceNumber = billingSequenceNumber; } - + /** + * Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing + * + * @param displayedReference + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest displayedReference(String displayedReference) { this.displayedReference = displayedReference; return this; } - /** + /** * Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing * @return displayedReference - **/ + */ @ApiModelProperty(value = "Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing") @JsonProperty(JSON_PROPERTY_DISPLAYED_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisplayedReference() { return displayedReference; } - - /** - * Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing - * - * @param displayedReference - */ + /** + * Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing + * + * @param displayedReference + */ @JsonProperty(JSON_PROPERTY_DISPLAYED_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayedReference(String displayedReference) { this.displayedReference = displayedReference; } - + /** + * The merchant account identifier with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param recurringDetailReference - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * Pre-debit notification reference sent by the merchant. This is a mandatory field + * + * @param reference + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Pre-debit notification reference sent by the merchant. This is a mandatory field * @return reference - **/ + */ @ApiModelProperty(required = true, value = "Pre-debit notification reference sent by the merchant. This is a mandatory field") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Pre-debit notification reference sent by the merchant. This is a mandatory field - * - * @param reference - */ + /** + * Pre-debit notification reference sent by the merchant. This is a mandatory field + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + * + * @param shopperReference + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. - * - * @param shopperReference - */ + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + * @return the current {@code NotifyShopperRequest} instance, allowing for method chaining + */ public NotifyShopperRequest storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** - * This is the `recurringDetailReference` returned in the response when you created the token. + /** + * This is the `recurringDetailReference` returned in the response when you created the token. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the `recurringDetailReference` returned in the response when you created the token.") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - * - * @param storedPaymentMethodId - */ + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - /** * Return true if this NotifyShopperRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/NotifyShopperResult.java b/src/main/java/com/adyen/model/recurring/NotifyShopperResult.java index cf4fac35c..e63587cd9 100644 --- a/src/main/java/com/adyen/model/recurring/NotifyShopperResult.java +++ b/src/main/java/com/adyen/model/recurring/NotifyShopperResult.java @@ -65,216 +65,237 @@ public class NotifyShopperResult { public NotifyShopperResult() { } + /** + * Reference of Pre-debit notification that is displayed to the shopper + * + * @param displayedReference + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult displayedReference(String displayedReference) { this.displayedReference = displayedReference; return this; } - /** + /** * Reference of Pre-debit notification that is displayed to the shopper * @return displayedReference - **/ + */ @ApiModelProperty(value = "Reference of Pre-debit notification that is displayed to the shopper") @JsonProperty(JSON_PROPERTY_DISPLAYED_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDisplayedReference() { return displayedReference; } - - /** - * Reference of Pre-debit notification that is displayed to the shopper - * - * @param displayedReference - */ + /** + * Reference of Pre-debit notification that is displayed to the shopper + * + * @param displayedReference + */ @JsonProperty(JSON_PROPERTY_DISPLAYED_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisplayedReference(String displayedReference) { this.displayedReference = displayedReference; } - + /** + * A simple description of the `resultCode`. + * + * @param message + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult message(String message) { this.message = message; return this; } - /** - * A simple description of the `resultCode`. + /** + * A simple description of the `resultCode`. * @return message - **/ + */ @ApiModelProperty(value = "A simple description of the `resultCode`.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A simple description of the `resultCode`. - * - * @param message - */ + /** + * A simple description of the `resultCode`. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The unique reference that is associated with the request. + * + * @param pspReference + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The unique reference that is associated with the request. * @return pspReference - **/ + */ @ApiModelProperty(value = "The unique reference that is associated with the request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The unique reference that is associated with the request. - * - * @param pspReference - */ + /** + * The unique reference that is associated with the request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * Reference of Pre-debit notification sent in my the merchant + * + * @param reference + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult reference(String reference) { this.reference = reference; return this; } - /** + /** * Reference of Pre-debit notification sent in my the merchant * @return reference - **/ + */ @ApiModelProperty(value = "Reference of Pre-debit notification sent in my the merchant") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Reference of Pre-debit notification sent in my the merchant - * - * @param reference - */ + /** + * Reference of Pre-debit notification sent in my the merchant + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The code indicating the status of notification. + * + * @param resultCode + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult resultCode(String resultCode) { this.resultCode = resultCode; return this; } - /** + /** * The code indicating the status of notification. * @return resultCode - **/ + */ @ApiModelProperty(value = "The code indicating the status of notification.") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultCode() { return resultCode; } - - /** - * The code indicating the status of notification. - * - * @param resultCode - */ + /** + * The code indicating the status of notification. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(String resultCode) { this.resultCode = resultCode; } - + /** + * The unique reference for the request sent downstream. + * + * @param shopperNotificationReference + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult shopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; return this; } - /** + /** * The unique reference for the request sent downstream. * @return shopperNotificationReference - **/ + */ @ApiModelProperty(value = "The unique reference for the request sent downstream.") @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperNotificationReference() { return shopperNotificationReference; } - - /** - * The unique reference for the request sent downstream. - * - * @param shopperNotificationReference - */ + /** + * The unique reference for the request sent downstream. + * + * @param shopperNotificationReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperNotificationReference(String shopperNotificationReference) { this.shopperNotificationReference = shopperNotificationReference; } - + /** + * This is the recurringDetailReference returned in the response when token was created + * + * @param storedPaymentMethodId + * @return the current {@code NotifyShopperResult} instance, allowing for method chaining + */ public NotifyShopperResult storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** + /** * This is the recurringDetailReference returned in the response when token was created * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "This is the recurringDetailReference returned in the response when token was created") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * This is the recurringDetailReference returned in the response when token was created - * - * @param storedPaymentMethodId - */ + /** + * This is the recurringDetailReference returned in the response when token was created + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - /** * Return true if this NotifyShopperResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Permit.java b/src/main/java/com/adyen/model/recurring/Permit.java index 07c6d476c..94a9e0a5a 100644 --- a/src/main/java/com/adyen/model/recurring/Permit.java +++ b/src/main/java/com/adyen/model/recurring/Permit.java @@ -59,156 +59,171 @@ public class Permit { public Permit() { } + /** + * Partner ID (when using the permit-per-partner token sharing model). + * + * @param partnerId + * @return the current {@code Permit} instance, allowing for method chaining + */ public Permit partnerId(String partnerId) { this.partnerId = partnerId; return this; } - /** + /** * Partner ID (when using the permit-per-partner token sharing model). * @return partnerId - **/ + */ @ApiModelProperty(value = "Partner ID (when using the permit-per-partner token sharing model).") @JsonProperty(JSON_PROPERTY_PARTNER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPartnerId() { return partnerId; } - - /** - * Partner ID (when using the permit-per-partner token sharing model). - * - * @param partnerId - */ + /** + * Partner ID (when using the permit-per-partner token sharing model). + * + * @param partnerId + */ @JsonProperty(JSON_PROPERTY_PARTNER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPartnerId(String partnerId) { this.partnerId = partnerId; } - + /** + * The profile to apply to this permit (when using the shared permits model). + * + * @param profileReference + * @return the current {@code Permit} instance, allowing for method chaining + */ public Permit profileReference(String profileReference) { this.profileReference = profileReference; return this; } - /** + /** * The profile to apply to this permit (when using the shared permits model). * @return profileReference - **/ + */ @ApiModelProperty(value = "The profile to apply to this permit (when using the shared permits model).") @JsonProperty(JSON_PROPERTY_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProfileReference() { return profileReference; } - - /** - * The profile to apply to this permit (when using the shared permits model). - * - * @param profileReference - */ + /** + * The profile to apply to this permit (when using the shared permits model). + * + * @param profileReference + */ @JsonProperty(JSON_PROPERTY_PROFILE_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProfileReference(String profileReference) { this.profileReference = profileReference; } - + /** + * restriction + * + * @param restriction + * @return the current {@code Permit} instance, allowing for method chaining + */ public Permit restriction(PermitRestriction restriction) { this.restriction = restriction; return this; } - /** - * Get restriction + /** + * restriction * @return restriction - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PermitRestriction getRestriction() { return restriction; } - - /** - * restriction - * - * @param restriction - */ + /** + * restriction + * + * @param restriction + */ @JsonProperty(JSON_PROPERTY_RESTRICTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRestriction(PermitRestriction restriction) { this.restriction = restriction; } - + /** + * The key to link permit requests to permit results. + * + * @param resultKey + * @return the current {@code Permit} instance, allowing for method chaining + */ public Permit resultKey(String resultKey) { this.resultKey = resultKey; return this; } - /** + /** * The key to link permit requests to permit results. * @return resultKey - **/ + */ @ApiModelProperty(value = "The key to link permit requests to permit results.") @JsonProperty(JSON_PROPERTY_RESULT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultKey() { return resultKey; } - - /** - * The key to link permit requests to permit results. - * - * @param resultKey - */ + /** + * The key to link permit requests to permit results. + * + * @param resultKey + */ @JsonProperty(JSON_PROPERTY_RESULT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultKey(String resultKey) { this.resultKey = resultKey; } - + /** + * The expiry date for this permit. + * + * @param validTillDate + * @return the current {@code Permit} instance, allowing for method chaining + */ public Permit validTillDate(OffsetDateTime validTillDate) { this.validTillDate = validTillDate; return this; } - /** + /** * The expiry date for this permit. * @return validTillDate - **/ + */ @ApiModelProperty(value = "The expiry date for this permit.") @JsonProperty(JSON_PROPERTY_VALID_TILL_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValidTillDate() { return validTillDate; } - - /** - * The expiry date for this permit. - * - * @param validTillDate - */ + /** + * The expiry date for this permit. + * + * @param validTillDate + */ @JsonProperty(JSON_PROPERTY_VALID_TILL_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidTillDate(OffsetDateTime validTillDate) { this.validTillDate = validTillDate; } - /** * Return true if this Permit object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/PermitRestriction.java b/src/main/java/com/adyen/model/recurring/PermitRestriction.java index df0798659..cc35f9e04 100644 --- a/src/main/java/com/adyen/model/recurring/PermitRestriction.java +++ b/src/main/java/com/adyen/model/recurring/PermitRestriction.java @@ -50,96 +50,105 @@ public class PermitRestriction { public PermitRestriction() { } + /** + * maxAmount + * + * @param maxAmount + * @return the current {@code PermitRestriction} instance, allowing for method chaining + */ public PermitRestriction maxAmount(Amount maxAmount) { this.maxAmount = maxAmount; return this; } - /** - * Get maxAmount + /** + * maxAmount * @return maxAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getMaxAmount() { return maxAmount; } - - /** - * maxAmount - * - * @param maxAmount - */ + /** + * maxAmount + * + * @param maxAmount + */ @JsonProperty(JSON_PROPERTY_MAX_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxAmount(Amount maxAmount) { this.maxAmount = maxAmount; } - + /** + * singleTransactionLimit + * + * @param singleTransactionLimit + * @return the current {@code PermitRestriction} instance, allowing for method chaining + */ public PermitRestriction singleTransactionLimit(Amount singleTransactionLimit) { this.singleTransactionLimit = singleTransactionLimit; return this; } - /** - * Get singleTransactionLimit + /** + * singleTransactionLimit * @return singleTransactionLimit - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SINGLE_TRANSACTION_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getSingleTransactionLimit() { return singleTransactionLimit; } - - /** - * singleTransactionLimit - * - * @param singleTransactionLimit - */ + /** + * singleTransactionLimit + * + * @param singleTransactionLimit + */ @JsonProperty(JSON_PROPERTY_SINGLE_TRANSACTION_LIMIT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSingleTransactionLimit(Amount singleTransactionLimit) { this.singleTransactionLimit = singleTransactionLimit; } - + /** + * Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed. + * + * @param singleUse + * @return the current {@code PermitRestriction} instance, allowing for method chaining + */ public PermitRestriction singleUse(Boolean singleUse) { this.singleUse = singleUse; return this; } - /** + /** * Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed. * @return singleUse - **/ + */ @ApiModelProperty(value = "Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed.") @JsonProperty(JSON_PROPERTY_SINGLE_USE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSingleUse() { return singleUse; } - - /** - * Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed. - * - * @param singleUse - */ + /** + * Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed. + * + * @param singleUse + */ @JsonProperty(JSON_PROPERTY_SINGLE_USE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSingleUse(Boolean singleUse) { this.singleUse = singleUse; } - /** * Return true if this PermitRestriction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/PermitResult.java b/src/main/java/com/adyen/model/recurring/PermitResult.java index fb37df902..ef84b5587 100644 --- a/src/main/java/com/adyen/model/recurring/PermitResult.java +++ b/src/main/java/com/adyen/model/recurring/PermitResult.java @@ -45,66 +45,72 @@ public class PermitResult { public PermitResult() { } + /** + * The key to link permit requests to permit results. + * + * @param resultKey + * @return the current {@code PermitResult} instance, allowing for method chaining + */ public PermitResult resultKey(String resultKey) { this.resultKey = resultKey; return this; } - /** + /** * The key to link permit requests to permit results. * @return resultKey - **/ + */ @ApiModelProperty(value = "The key to link permit requests to permit results.") @JsonProperty(JSON_PROPERTY_RESULT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResultKey() { return resultKey; } - - /** - * The key to link permit requests to permit results. - * - * @param resultKey - */ + /** + * The key to link permit requests to permit results. + * + * @param resultKey + */ @JsonProperty(JSON_PROPERTY_RESULT_KEY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultKey(String resultKey) { this.resultKey = resultKey; } - + /** + * The permit token which is used to make payments by the partner company. + * + * @param token + * @return the current {@code PermitResult} instance, allowing for method chaining + */ public PermitResult token(String token) { this.token = token; return this; } - /** + /** * The permit token which is used to make payments by the partner company. * @return token - **/ + */ @ApiModelProperty(value = "The permit token which is used to make payments by the partner company.") @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getToken() { return token; } - - /** - * The permit token which is used to make payments by the partner company. - * - * @param token - */ + /** + * The permit token which is used to make payments by the partner company. + * + * @param token + */ @JsonProperty(JSON_PROPERTY_TOKEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setToken(String token) { this.token = token; } - /** * Return true if this PermitResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/Recurring.java b/src/main/java/com/adyen/model/recurring/Recurring.java index cf836b210..f694cf31b 100644 --- a/src/main/java/com/adyen/model/recurring/Recurring.java +++ b/src/main/java/com/adyen/model/recurring/Recurring.java @@ -134,156 +134,171 @@ public static TokenServiceEnum fromValue(String value) { public Recurring() { } + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring contract(ContractEnum contract) { this.contract = contract; return this; } - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * @return contract - **/ + */ @ApiModelProperty(value = "The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).") @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ContractEnum getContract() { return contract; } - - /** - * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). - * - * @param contract - */ + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). + * + * @param contract + */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContract(ContractEnum contract) { this.contract = contract; } - + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; return this; } - /** + /** * A descriptive name for this detail. * @return recurringDetailName - **/ + */ @ApiModelProperty(value = "A descriptive name for this detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailName() { return recurringDetailName; } - - /** - * A descriptive name for this detail. - * - * @param recurringDetailName - */ + /** + * A descriptive name for this detail. + * + * @param recurringDetailName + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailName(String recurringDetailName) { this.recurringDetailName = recurringDetailName; } - + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; return this; } - /** + /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. * @return recurringExpiry - **/ + */ @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getRecurringExpiry() { return recurringExpiry; } - - /** - * Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @param recurringExpiry - */ + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + * + * @param recurringExpiry + */ @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringExpiry(OffsetDateTime recurringExpiry) { this.recurringExpiry = recurringExpiry; } - + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring recurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; return this; } - /** + /** * Minimum number of days between authorisations. Only for 3D Secure 2. * @return recurringFrequency - **/ + */ @ApiModelProperty(value = "Minimum number of days between authorisations. Only for 3D Secure 2.") @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringFrequency() { return recurringFrequency; } - - /** - * Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @param recurringFrequency - */ + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + * + * @param recurringFrequency + */ @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringFrequency(String recurringFrequency) { this.recurringFrequency = recurringFrequency; } - + /** + * The name of the token service. + * + * @param tokenService + * @return the current {@code Recurring} instance, allowing for method chaining + */ public Recurring tokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; return this; } - /** + /** * The name of the token service. * @return tokenService - **/ + */ @ApiModelProperty(value = "The name of the token service.") @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenServiceEnum getTokenService() { return tokenService; } - - /** - * The name of the token service. - * - * @param tokenService - */ + /** + * The name of the token service. + * + * @param tokenService + */ @JsonProperty(JSON_PROPERTY_TOKEN_SERVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenService(TokenServiceEnum tokenService) { this.tokenService = tokenService; } - /** * Return true if this Recurring object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/RecurringDetail.java b/src/main/java/com/adyen/model/recurring/RecurringDetail.java index b590ab192..e2f882bb4 100644 --- a/src/main/java/com/adyen/model/recurring/RecurringDetail.java +++ b/src/main/java/com/adyen/model/recurring/RecurringDetail.java @@ -115,6 +115,12 @@ public class RecurringDetail { public RecurringDetail() { } + /** + * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -128,181 +134,199 @@ public RecurringDetail putAdditionalDataItem(String key, String additionalDataIt return this; } - /** + /** * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The alias of the credit card number. Applies only to recurring contracts storing credit card details + * + * @param alias + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail alias(String alias) { this.alias = alias; return this; } - /** + /** * The alias of the credit card number. Applies only to recurring contracts storing credit card details * @return alias - **/ + */ @ApiModelProperty(value = "The alias of the credit card number. Applies only to recurring contracts storing credit card details") @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAlias() { return alias; } - - /** - * The alias of the credit card number. Applies only to recurring contracts storing credit card details - * - * @param alias - */ + /** + * The alias of the credit card number. Applies only to recurring contracts storing credit card details + * + * @param alias + */ @JsonProperty(JSON_PROPERTY_ALIAS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAlias(String alias) { this.alias = alias; } - + /** + * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. + * + * @param aliasType + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail aliasType(String aliasType) { this.aliasType = aliasType; return this; } - /** + /** * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. * @return aliasType - **/ + */ @ApiModelProperty(value = "The alias type of the credit card number. Applies only to recurring contracts storing credit card details.") @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAliasType() { return aliasType; } - - /** - * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. - * - * @param aliasType - */ + /** + * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. + * + * @param aliasType + */ @JsonProperty(JSON_PROPERTY_ALIAS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAliasType(String aliasType) { this.aliasType = aliasType; } - + /** + * bank + * + * @param bank + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail bank(BankAccount bank) { this.bank = bank; return this; } - /** - * Get bank + /** + * bank * @return bank - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccount getBank() { return bank; } - - /** - * bank - * - * @param bank - */ + /** + * bank + * + * @param bank + */ @JsonProperty(JSON_PROPERTY_BANK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBank(BankAccount bank) { this.bank = bank; } - + /** + * billingAddress + * + * @param billingAddress + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail billingAddress(Address billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * billingAddress * @return billingAddress - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getBillingAddress() { return billingAddress; } - - /** - * billingAddress - * - * @param billingAddress - */ + /** + * billingAddress + * + * @param billingAddress + */ @JsonProperty(JSON_PROPERTY_BILLING_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } - + /** + * card + * + * @param card + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * Types of recurring contracts. + * + * @param contractTypes + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail contractTypes(List contractTypes) { this.contractTypes = contractTypes; return this; @@ -316,331 +340,358 @@ public RecurringDetail addContractTypesItem(String contractTypesItem) { return this; } - /** + /** * Types of recurring contracts. * @return contractTypes - **/ + */ @ApiModelProperty(value = "Types of recurring contracts.") @JsonProperty(JSON_PROPERTY_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getContractTypes() { return contractTypes; } - - /** - * Types of recurring contracts. - * - * @param contractTypes - */ + /** + * Types of recurring contracts. + * + * @param contractTypes + */ @JsonProperty(JSON_PROPERTY_CONTRACT_TYPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContractTypes(List contractTypes) { this.contractTypes = contractTypes; } - + /** + * The date when the recurring details were created. + * + * @param creationDate + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date when the recurring details were created. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date when the recurring details were created.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date when the recurring details were created. - * - * @param creationDate - */ + /** + * The date when the recurring details were created. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The `pspReference` of the first recurring payment that created the recurring detail. + * + * @param firstPspReference + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail firstPspReference(String firstPspReference) { this.firstPspReference = firstPspReference; return this; } - /** - * The `pspReference` of the first recurring payment that created the recurring detail. + /** + * The `pspReference` of the first recurring payment that created the recurring detail. * @return firstPspReference - **/ + */ @ApiModelProperty(value = "The `pspReference` of the first recurring payment that created the recurring detail.") @JsonProperty(JSON_PROPERTY_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstPspReference() { return firstPspReference; } - - /** - * The `pspReference` of the first recurring payment that created the recurring detail. - * - * @param firstPspReference - */ + /** + * The `pspReference` of the first recurring payment that created the recurring detail. + * + * @param firstPspReference + */ @JsonProperty(JSON_PROPERTY_FIRST_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstPspReference(String firstPspReference) { this.firstPspReference = firstPspReference; } - + /** + * An optional descriptive name for this recurring detail. + * + * @param name + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail name(String name) { this.name = name; return this; } - /** + /** * An optional descriptive name for this recurring detail. * @return name - **/ + */ @ApiModelProperty(value = "An optional descriptive name for this recurring detail.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * An optional descriptive name for this recurring detail. - * - * @param name - */ + /** + * An optional descriptive name for this recurring detail. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail networkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; return this; } - /** + /** * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. * @return networkTxReference - **/ + */ @ApiModelProperty(value = "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.") @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkTxReference() { return networkTxReference; } - - /** - * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. - * - * @param networkTxReference - */ + /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + * + * @param networkTxReference + */ @JsonProperty(JSON_PROPERTY_NETWORK_TX_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNetworkTxReference(String networkTxReference) { this.networkTxReference = networkTxReference; } - + /** + * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). + * + * @param paymentMethodVariant + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail paymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; return this; } - /** + /** * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). * @return paymentMethodVariant - **/ + */ @ApiModelProperty(value = "The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant).") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMethodVariant() { return paymentMethodVariant; } - - /** - * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). - * - * @param paymentMethodVariant - */ + /** + * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). + * + * @param paymentMethodVariant + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethodVariant(String paymentMethodVariant) { this.paymentMethodVariant = paymentMethodVariant; } - + /** + * The reference that uniquely identifies the recurring detail. + * + * @param recurringDetailReference + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** + /** * The reference that uniquely identifies the recurring detail. * @return recurringDetailReference - **/ + */ @ApiModelProperty(required = true, value = "The reference that uniquely identifies the recurring detail.") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * The reference that uniquely identifies the recurring detail. - * - * @param recurringDetailReference - */ + /** + * The reference that uniquely identifies the recurring detail. + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * shopperName + * + * @param shopperName + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail shopperName(Name shopperName) { this.shopperName = shopperName; return this; } - /** - * Get shopperName + /** + * shopperName * @return shopperName - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Name getShopperName() { return shopperName; } - - /** - * shopperName - * - * @param shopperName - */ + /** + * shopperName + * + * @param shopperName + */ @JsonProperty(JSON_PROPERTY_SHOPPER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperName(Name shopperName) { this.shopperName = shopperName; } - + /** + * A shopper's social security number (only in countries where it is legal to collect). + * + * @param socialSecurityNumber + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail socialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; return this; } - /** - * A shopper's social security number (only in countries where it is legal to collect). + /** + * A shopper's social security number (only in countries where it is legal to collect). * @return socialSecurityNumber - **/ + */ @ApiModelProperty(value = "A shopper's social security number (only in countries where it is legal to collect).") @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSocialSecurityNumber() { return socialSecurityNumber; } - - /** - * A shopper's social security number (only in countries where it is legal to collect). - * - * @param socialSecurityNumber - */ + /** + * A shopper's social security number (only in countries where it is legal to collect). + * + * @param socialSecurityNumber + */ @JsonProperty(JSON_PROPERTY_SOCIAL_SECURITY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSocialSecurityNumber(String socialSecurityNumber) { this.socialSecurityNumber = socialSecurityNumber; } - + /** + * tokenDetails + * + * @param tokenDetails + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail tokenDetails(TokenDetails tokenDetails) { this.tokenDetails = tokenDetails; return this; } - /** - * Get tokenDetails + /** + * tokenDetails * @return tokenDetails - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOKEN_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TokenDetails getTokenDetails() { return tokenDetails; } - - /** - * tokenDetails - * - * @param tokenDetails - */ + /** + * tokenDetails + * + * @param tokenDetails + */ @JsonProperty(JSON_PROPERTY_TOKEN_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenDetails(TokenDetails tokenDetails) { this.tokenDetails = tokenDetails; } - + /** + * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". + * + * @param variant + * @return the current {@code RecurringDetail} instance, allowing for method chaining + */ public RecurringDetail variant(String variant) { this.variant = variant; return this; } - /** - * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". + /** + * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". * @return variant - **/ + */ @ApiModelProperty(required = true, value = "The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\".") @JsonProperty(JSON_PROPERTY_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVariant() { return variant; } - - /** - * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". - * - * @param variant - */ + /** + * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". + * + * @param variant + */ @JsonProperty(JSON_PROPERTY_VARIANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVariant(String variant) { this.variant = variant; } - /** * Return true if this RecurringDetail object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/RecurringDetailWrapper.java b/src/main/java/com/adyen/model/recurring/RecurringDetailWrapper.java index 91485603d..9bf41dc70 100644 --- a/src/main/java/com/adyen/model/recurring/RecurringDetailWrapper.java +++ b/src/main/java/com/adyen/model/recurring/RecurringDetailWrapper.java @@ -42,36 +42,39 @@ public class RecurringDetailWrapper { public RecurringDetailWrapper() { } + /** + * recurringDetail + * + * @param recurringDetail + * @return the current {@code RecurringDetailWrapper} instance, allowing for method chaining + */ public RecurringDetailWrapper recurringDetail(RecurringDetail recurringDetail) { this.recurringDetail = recurringDetail; return this; } - /** - * Get recurringDetail + /** + * recurringDetail * @return recurringDetail - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RecurringDetail getRecurringDetail() { return recurringDetail; } - - /** - * recurringDetail - * - * @param recurringDetail - */ + /** + * recurringDetail + * + * @param recurringDetail + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetail(RecurringDetail recurringDetail) { this.recurringDetail = recurringDetail; } - /** * Return true if this RecurringDetailWrapper object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/RecurringDetailsRequest.java b/src/main/java/com/adyen/model/recurring/RecurringDetailsRequest.java index fd97e96e0..521ba22ed 100644 --- a/src/main/java/com/adyen/model/recurring/RecurringDetailsRequest.java +++ b/src/main/java/com/adyen/model/recurring/RecurringDetailsRequest.java @@ -50,96 +50,105 @@ public class RecurringDetailsRequest { public RecurringDetailsRequest() { } + /** + * The merchant account identifier you want to process the (transaction) request with. + * + * @param merchantAccount + * @return the current {@code RecurringDetailsRequest} instance, allowing for method chaining + */ public RecurringDetailsRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier you want to process the (transaction) request with. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier you want to process the (transaction) request with.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier you want to process the (transaction) request with. - * - * @param merchantAccount - */ + /** + * The merchant account identifier you want to process the (transaction) request with. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * recurring + * + * @param recurring + * @return the current {@code RecurringDetailsRequest} instance, allowing for method chaining + */ public RecurringDetailsRequest recurring(Recurring recurring) { this.recurring = recurring; return this; } - /** - * Get recurring + /** + * recurring * @return recurring - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Recurring getRecurring() { return recurring; } - - /** - * recurring - * - * @param recurring - */ + /** + * recurring + * + * @param recurring + */ @JsonProperty(JSON_PROPERTY_RECURRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurring(Recurring recurring) { this.recurring = recurring; } - + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + * + * @param shopperReference + * @return the current {@code RecurringDetailsRequest} instance, allowing for method chaining + */ public RecurringDetailsRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). * @return shopperReference - **/ + */ @ApiModelProperty(required = true, value = "The reference you use to uniquely identify the shopper (e.g. user ID or account ID).") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). - * - * @param shopperReference - */ + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this RecurringDetailsRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/RecurringDetailsResult.java b/src/main/java/com/adyen/model/recurring/RecurringDetailsResult.java index 06877e998..42f0780d5 100644 --- a/src/main/java/com/adyen/model/recurring/RecurringDetailsResult.java +++ b/src/main/java/com/adyen/model/recurring/RecurringDetailsResult.java @@ -57,36 +57,45 @@ public class RecurringDetailsResult { public RecurringDetailsResult() { } + /** + * The date when the recurring details were created. + * + * @param creationDate + * @return the current {@code RecurringDetailsResult} instance, allowing for method chaining + */ public RecurringDetailsResult creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date when the recurring details were created. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date when the recurring details were created.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date when the recurring details were created. - * - * @param creationDate - */ + /** + * The date when the recurring details were created. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * Payment details stored for recurring payments. + * + * @param details + * @return the current {@code RecurringDetailsResult} instance, allowing for method chaining + */ public RecurringDetailsResult details(List details) { this.details = details; return this; @@ -100,91 +109,94 @@ public RecurringDetailsResult addDetailsItem(RecurringDetailWrapper detailsItem) return this; } - /** + /** * Payment details stored for recurring payments. * @return details - **/ + */ @ApiModelProperty(value = "Payment details stored for recurring payments.") @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getDetails() { return details; } - - /** - * Payment details stored for recurring payments. - * - * @param details - */ + /** + * Payment details stored for recurring payments. + * + * @param details + */ @JsonProperty(JSON_PROPERTY_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetails(List details) { this.details = details; } - + /** + * The most recent email for this shopper (if available). + * + * @param lastKnownShopperEmail + * @return the current {@code RecurringDetailsResult} instance, allowing for method chaining + */ public RecurringDetailsResult lastKnownShopperEmail(String lastKnownShopperEmail) { this.lastKnownShopperEmail = lastKnownShopperEmail; return this; } - /** + /** * The most recent email for this shopper (if available). * @return lastKnownShopperEmail - **/ + */ @ApiModelProperty(value = "The most recent email for this shopper (if available).") @JsonProperty(JSON_PROPERTY_LAST_KNOWN_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastKnownShopperEmail() { return lastKnownShopperEmail; } - - /** - * The most recent email for this shopper (if available). - * - * @param lastKnownShopperEmail - */ + /** + * The most recent email for this shopper (if available). + * + * @param lastKnownShopperEmail + */ @JsonProperty(JSON_PROPERTY_LAST_KNOWN_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastKnownShopperEmail(String lastKnownShopperEmail) { this.lastKnownShopperEmail = lastKnownShopperEmail; } - + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + * + * @param shopperReference + * @return the current {@code RecurringDetailsResult} instance, allowing for method chaining + */ public RecurringDetailsResult shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** + /** * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). * @return shopperReference - **/ + */ @ApiModelProperty(value = "The reference you use to uniquely identify the shopper (e.g. user ID or account ID).") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). - * - * @param shopperReference - */ + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this RecurringDetailsResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterRequest.java b/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterRequest.java index 3297f9618..2967c07a0 100644 --- a/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterRequest.java +++ b/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterRequest.java @@ -65,6 +65,12 @@ public class ScheduleAccountUpdaterRequest { public ScheduleAccountUpdaterRequest() { } + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -78,181 +84,193 @@ public ScheduleAccountUpdaterRequest putAdditionalDataItem(String key, String ad return this; } - /** + /** * This field contains additional data, which may be required for a particular request. * @return additionalData - **/ + */ @ApiModelProperty(value = "This field contains additional data, which may be required for a particular request.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * This field contains additional data, which may be required for a particular request. - * - * @param additionalData - */ + /** + * This field contains additional data, which may be required for a particular request. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * card + * + * @param card + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * Account of the merchant. + * + * @param merchantAccount + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * Account of the merchant. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "Account of the merchant.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * Account of the merchant. - * - * @param merchantAccount - */ + /** + * Account of the merchant. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * A reference that merchants can apply for the call. + * + * @param reference + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * A reference that merchants can apply for the call. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "A reference that merchants can apply for the call.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A reference that merchants can apply for the call. - * - * @param reference - */ + /** + * A reference that merchants can apply for the call. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The selected detail recurring reference. Optional if `card` is provided. + * + * @param selectedRecurringDetailReference + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest selectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; return this; } - /** - * The selected detail recurring reference. Optional if `card` is provided. + /** + * The selected detail recurring reference. Optional if `card` is provided. * @return selectedRecurringDetailReference - **/ + */ @ApiModelProperty(value = "The selected detail recurring reference. Optional if `card` is provided.") @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSelectedRecurringDetailReference() { return selectedRecurringDetailReference; } - - /** - * The selected detail recurring reference. Optional if `card` is provided. - * - * @param selectedRecurringDetailReference - */ + /** + * The selected detail recurring reference. Optional if `card` is provided. + * + * @param selectedRecurringDetailReference + */ @JsonProperty(JSON_PROPERTY_SELECTED_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSelectedRecurringDetailReference(String selectedRecurringDetailReference) { this.selectedRecurringDetailReference = selectedRecurringDetailReference; } - + /** + * The reference of the shopper that owns the recurring contract. Optional if `card` is provided. + * + * @param shopperReference + * @return the current {@code ScheduleAccountUpdaterRequest} instance, allowing for method chaining + */ public ScheduleAccountUpdaterRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * The reference of the shopper that owns the recurring contract. Optional if `card` is provided. + /** + * The reference of the shopper that owns the recurring contract. Optional if `card` is provided. * @return shopperReference - **/ + */ @ApiModelProperty(value = "The reference of the shopper that owns the recurring contract. Optional if `card` is provided.") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * The reference of the shopper that owns the recurring contract. Optional if `card` is provided. - * - * @param shopperReference - */ + /** + * The reference of the shopper that owns the recurring contract. Optional if `card` is provided. + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - /** * Return true if this ScheduleAccountUpdaterRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterResult.java b/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterResult.java index 07db1a5a2..17fff68c2 100644 --- a/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterResult.java +++ b/src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterResult.java @@ -45,66 +45,72 @@ public class ScheduleAccountUpdaterResult { public ScheduleAccountUpdaterResult() { } + /** + * Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code ScheduleAccountUpdaterResult} instance, allowing for method chaining + */ public ScheduleAccountUpdaterResult pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(required = true, value = "Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message. + * + * @param result + * @return the current {@code ScheduleAccountUpdaterResult} instance, allowing for method chaining + */ public ScheduleAccountUpdaterResult result(String result) { this.result = result; return this; } - /** + /** * The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message. * @return result - **/ + */ @ApiModelProperty(required = true, value = "The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message.") @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResult() { return result; } - - /** - * The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message. - * - * @param result - */ + /** + * The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message. + * + * @param result + */ @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResult(String result) { this.result = result; } - /** * Return true if this ScheduleAccountUpdaterResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/ServiceError.java b/src/main/java/com/adyen/model/recurring/ServiceError.java index a05fab7d8..1b61c68f3 100644 --- a/src/main/java/com/adyen/model/recurring/ServiceError.java +++ b/src/main/java/com/adyen/model/recurring/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/recurring/TokenDetails.java b/src/main/java/com/adyen/model/recurring/TokenDetails.java index 27c042b70..e83fb3bfc 100644 --- a/src/main/java/com/adyen/model/recurring/TokenDetails.java +++ b/src/main/java/com/adyen/model/recurring/TokenDetails.java @@ -48,6 +48,12 @@ public class TokenDetails { public TokenDetails() { } + /** + * tokenData + * + * @param tokenData + * @return the current {@code TokenDetails} instance, allowing for method chaining + */ public TokenDetails tokenData(Map tokenData) { this.tokenData = tokenData; return this; @@ -61,61 +67,61 @@ public TokenDetails putTokenDataItem(String key, String tokenDataItem) { return this; } - /** - * Get tokenData + /** + * tokenData * @return tokenData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOKEN_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getTokenData() { return tokenData; } - - /** - * tokenData - * - * @param tokenData - */ + /** + * tokenData + * + * @param tokenData + */ @JsonProperty(JSON_PROPERTY_TOKEN_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenData(Map tokenData) { this.tokenData = tokenData; } - + /** + * tokenDataType + * + * @param tokenDataType + * @return the current {@code TokenDetails} instance, allowing for method chaining + */ public TokenDetails tokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; return this; } - /** - * Get tokenDataType + /** + * tokenDataType * @return tokenDataType - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenDataType() { return tokenDataType; } - - /** - * tokenDataType - * - * @param tokenDataType - */ + /** + * tokenDataType + * + * @param tokenDataType + */ @JsonProperty(JSON_PROPERTY_TOKEN_DATA_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenDataType(String tokenDataType) { this.tokenDataType = tokenDataType; } - /** * Return true if this TokenDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/reportwebhooks/BalancePlatformNotificationResponse.java b/src/main/java/com/adyen/model/reportwebhooks/BalancePlatformNotificationResponse.java index 888406600..53a87bf24 100644 --- a/src/main/java/com/adyen/model/reportwebhooks/BalancePlatformNotificationResponse.java +++ b/src/main/java/com/adyen/model/reportwebhooks/BalancePlatformNotificationResponse.java @@ -41,36 +41,39 @@ public class BalancePlatformNotificationResponse { public BalancePlatformNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code BalancePlatformNotificationResponse} instance, allowing for method chaining + */ public BalancePlatformNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this BalancePlatformNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationData.java b/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationData.java index db9d1cb8d..8f609f2a3 100644 --- a/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationData.java +++ b/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationData.java @@ -67,216 +67,237 @@ public class ReportNotificationData { public ReportNotificationData() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). + * + * @param downloadUrl + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } - /** + /** * The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). * @return downloadUrl - **/ + */ @ApiModelProperty(required = true, value = "The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview).") @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDownloadUrl() { return downloadUrl; } - - /** - * The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). - * - * @param downloadUrl - */ + /** + * The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). + * + * @param downloadUrl + */ @JsonProperty(JSON_PROPERTY_DOWNLOAD_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; } - + /** + * The filename of the report. + * + * @param fileName + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData fileName(String fileName) { this.fileName = fileName; return this; } - /** + /** * The filename of the report. * @return fileName - **/ + */ @ApiModelProperty(required = true, value = "The filename of the report.") @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFileName() { return fileName; } - - /** - * The filename of the report. - * - * @param fileName - */ + /** + * The filename of the report. + * + * @param fileName + */ @JsonProperty(JSON_PROPERTY_FILE_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFileName(String fileName) { this.fileName = fileName; } - + /** + * The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` + * + * @param reportType + * @return the current {@code ReportNotificationData} instance, allowing for method chaining + */ public ReportNotificationData reportType(String reportType) { this.reportType = reportType; return this; } - /** - * Type of report. + /** + * The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` * @return reportType - **/ - @ApiModelProperty(required = true, value = "Type of report.") + */ + @ApiModelProperty(required = true, value = "The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` ") @JsonProperty(JSON_PROPERTY_REPORT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReportType() { return reportType; } - - /** - * Type of report. - * - * @param reportType - */ + /** + * The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` + * + * @param reportType + */ @JsonProperty(JSON_PROPERTY_REPORT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReportType(String reportType) { this.reportType = reportType; } - /** * Return true if this ReportNotificationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationRequest.java b/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationRequest.java index 7d7da9874..5a110e63c 100644 --- a/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationRequest.java +++ b/src/main/java/com/adyen/model/reportwebhooks/ReportNotificationRequest.java @@ -83,96 +83,105 @@ public static TypeEnum fromValue(String value) { public ReportNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code ReportNotificationRequest} instance, allowing for method chaining + */ public ReportNotificationRequest data(ReportNotificationData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReportNotificationData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(ReportNotificationData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code ReportNotificationRequest} instance, allowing for method chaining + */ public ReportNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of webhook. + * + * @param type + * @return the current {@code ReportNotificationRequest} instance, allowing for method chaining + */ public ReportNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of webhook. * @return type - **/ + */ @ApiModelProperty(required = true, value = "Type of webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of webhook. - * - * @param type - */ + /** + * Type of webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ReportNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/reportwebhooks/Resource.java b/src/main/java/com/adyen/model/reportwebhooks/Resource.java index 8a58f1934..416d968ab 100644 --- a/src/main/java/com/adyen/model/reportwebhooks/Resource.java +++ b/src/main/java/com/adyen/model/reportwebhooks/Resource.java @@ -50,96 +50,105 @@ public class Resource { public Resource() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this Resource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/reportwebhooks/ResourceReference.java b/src/main/java/com/adyen/model/reportwebhooks/ResourceReference.java index fa7f57b21..98a7ffac3 100644 --- a/src/main/java/com/adyen/model/reportwebhooks/ResourceReference.java +++ b/src/main/java/com/adyen/model/reportwebhooks/ResourceReference.java @@ -49,96 +49,105 @@ public class ResourceReference { public ResourceReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this ResourceReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/Amount.java b/src/main/java/com/adyen/model/storedvalue/Amount.java index ce485ff72..554ec3476 100644 --- a/src/main/java/com/adyen/model/storedvalue/Amount.java +++ b/src/main/java/com/adyen/model/storedvalue/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/ServiceError.java b/src/main/java/com/adyen/model/storedvalue/ServiceError.java index 391460948..6102c7170 100644 --- a/src/main/java/com/adyen/model/storedvalue/ServiceError.java +++ b/src/main/java/com/adyen/model/storedvalue/ServiceError.java @@ -64,6 +64,12 @@ public class ServiceError { public ServiceError() { } + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError additionalData(Map additionalData) { this.additionalData = additionalData; return this; @@ -77,181 +83,193 @@ public ServiceError putAdditionalDataItem(String key, String additionalDataItem) return this; } - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. * @return additionalData - **/ + */ @ApiModelProperty(value = "Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.") @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getAdditionalData() { return additionalData; } - - /** - * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. - * - * @param additionalData - */ + /** + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. + * + * @param additionalData + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalData(Map additionalData) { this.additionalData = additionalData; } - + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckRequest.java index 461691575..babe6d80d 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckRequest.java @@ -112,66 +112,78 @@ public static ShopperInteractionEnum fromValue(String value) { public StoredValueBalanceCheckRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -182,181 +194,193 @@ public StoredValueBalanceCheckRequest putPaymentMethodItem(String key, String pa return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurringDetailReference + * + * @param recurringDetailReference + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * Get recurringDetailReference + /** + * recurringDetailReference * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * recurringDetailReference - * - * @param recurringDetailReference - */ + /** + * recurringDetailReference + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperReference + * + * @param shopperReference + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Get shopperReference + /** + * shopperReference * @return shopperReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * shopperReference - * - * @param shopperReference - */ + /** + * shopperReference + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueBalanceCheckRequest} instance, allowing for method chaining + */ public StoredValueBalanceCheckRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this StoredValueBalanceCheckRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckResponse.java index fdc9f55de..5370f13d5 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceCheckResponse.java @@ -97,156 +97,171 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueBalanceCheckResponse() { } + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueBalanceCheckResponse} instance, allowing for method chaining + */ public StoredValueBalanceCheckResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueBalanceCheckResponse} instance, allowing for method chaining + */ public StoredValueBalanceCheckResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueBalanceCheckResponse} instance, allowing for method chaining + */ public StoredValueBalanceCheckResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueBalanceCheckResponse} instance, allowing for method chaining + */ public StoredValueBalanceCheckResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueBalanceCheckResponse} instance, allowing for method chaining + */ public StoredValueBalanceCheckResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueBalanceCheckResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeRequest.java index 72b72486f..309475351 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeRequest.java @@ -116,66 +116,78 @@ public static ShopperInteractionEnum fromValue(String value) { public StoredValueBalanceMergeRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -186,151 +198,166 @@ public StoredValueBalanceMergeRequest putPaymentMethodItem(String key, String pa return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurringDetailReference + * + * @param recurringDetailReference + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * Get recurringDetailReference + /** + * recurringDetailReference * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * recurringDetailReference - * - * @param recurringDetailReference - */ + /** + * recurringDetailReference + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperReference + * + * @param shopperReference + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Get shopperReference + /** + * shopperReference * @return shopperReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * shopperReference - * - * @param shopperReference - */ + /** + * shopperReference + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method + * + * @param sourcePaymentMethod + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest sourcePaymentMethod(Map sourcePaymentMethod) { this.sourcePaymentMethod = sourcePaymentMethod; return this; @@ -341,61 +368,61 @@ public StoredValueBalanceMergeRequest putSourcePaymentMethodItem(String key, Str return this; } - /** + /** * The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method * @return sourcePaymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method") @JsonProperty(JSON_PROPERTY_SOURCE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getSourcePaymentMethod() { return sourcePaymentMethod; } - - /** - * The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method - * - * @param sourcePaymentMethod - */ + /** + * The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method + * + * @param sourcePaymentMethod + */ @JsonProperty(JSON_PROPERTY_SOURCE_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSourcePaymentMethod(Map sourcePaymentMethod) { this.sourcePaymentMethod = sourcePaymentMethod; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueBalanceMergeRequest} instance, allowing for method chaining + */ public StoredValueBalanceMergeRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this StoredValueBalanceMergeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeResponse.java index eae68ba92..b5fc3d5ab 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueBalanceMergeResponse.java @@ -101,186 +101,204 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueBalanceMergeResponse() { } + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueBalanceMergeResponse} instance, allowing for method chaining + */ public StoredValueBalanceMergeResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueBalanceMergeResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueIssueRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueIssueRequest.java index 8251ad17d..854701faf 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueIssueRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueIssueRequest.java @@ -112,66 +112,78 @@ public static ShopperInteractionEnum fromValue(String value) { public StoredValueIssueRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -182,181 +194,193 @@ public StoredValueIssueRequest putPaymentMethodItem(String key, String paymentMe return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurringDetailReference + * + * @param recurringDetailReference + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * Get recurringDetailReference + /** + * recurringDetailReference * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * recurringDetailReference - * - * @param recurringDetailReference - */ + /** + * recurringDetailReference + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperReference + * + * @param shopperReference + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Get shopperReference + /** + * shopperReference * @return shopperReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * shopperReference - * - * @param shopperReference - */ + /** + * shopperReference + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueIssueRequest} instance, allowing for method chaining + */ public StoredValueIssueRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this StoredValueIssueRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueIssueResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueIssueResponse.java index 30d4f334a..220095a65 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueIssueResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueIssueResponse.java @@ -108,66 +108,78 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueIssueResponse() { } + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -181,151 +193,160 @@ public StoredValueIssueResponse putPaymentMethodItem(String key, String paymentM return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueIssueResponse} instance, allowing for method chaining + */ public StoredValueIssueResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueIssueResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueLoadRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueLoadRequest.java index a1a9ecea8..6d52aa11b 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueLoadRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueLoadRequest.java @@ -151,96 +151,111 @@ public static ShopperInteractionEnum fromValue(String value) { public StoredValueLoadRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The type of load you are trying to do, when absent we default to 'Load' + * + * @param loadType + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest loadType(LoadTypeEnum loadType) { this.loadType = loadType; return this; } - /** - * The type of load you are trying to do, when absent we default to 'Load' + /** + * The type of load you are trying to do, when absent we default to 'Load' * @return loadType - **/ + */ @ApiModelProperty(value = "The type of load you are trying to do, when absent we default to 'Load'") @JsonProperty(JSON_PROPERTY_LOAD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LoadTypeEnum getLoadType() { return loadType; } - - /** - * The type of load you are trying to do, when absent we default to 'Load' - * - * @param loadType - */ + /** + * The type of load you are trying to do, when absent we default to 'Load' + * + * @param loadType + */ @JsonProperty(JSON_PROPERTY_LOAD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLoadType(LoadTypeEnum loadType) { this.loadType = loadType; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -251,181 +266,193 @@ public StoredValueLoadRequest putPaymentMethodItem(String key, String paymentMet return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurringDetailReference + * + * @param recurringDetailReference + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * Get recurringDetailReference + /** + * recurringDetailReference * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * recurringDetailReference - * - * @param recurringDetailReference - */ + /** + * recurringDetailReference + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperReference + * + * @param shopperReference + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Get shopperReference + /** + * shopperReference * @return shopperReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * shopperReference - * - * @param shopperReference - */ + /** + * shopperReference + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueLoadRequest} instance, allowing for method chaining + */ public StoredValueLoadRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this StoredValueLoadRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueLoadResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueLoadResponse.java index 1cce1a1a7..660062e31 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueLoadResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueLoadResponse.java @@ -101,186 +101,204 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueLoadResponse() { } + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueLoadResponse} instance, allowing for method chaining + */ public StoredValueLoadResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueLoadResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeRequest.java index e8c9d5968..fa4952dac 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeRequest.java @@ -151,66 +151,78 @@ public static StatusEnum fromValue(String value) { public StoredValueStatusChangeRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest paymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; return this; @@ -221,211 +233,226 @@ public StoredValueStatusChangeRequest putPaymentMethodItem(String key, String pa return this; } - /** + /** * The collection that contains the type of the payment method and its specific information if available * @return paymentMethod - **/ + */ @ApiModelProperty(required = true, value = "The collection that contains the type of the payment method and its specific information if available") @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getPaymentMethod() { return paymentMethod; } - - /** - * The collection that contains the type of the payment method and its specific information if available - * - * @param paymentMethod - */ + /** + * The collection that contains the type of the payment method and its specific information if available + * + * @param paymentMethod + */ @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMethod(Map paymentMethod) { this.paymentMethod = paymentMethod; } - + /** + * recurringDetailReference + * + * @param recurringDetailReference + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest recurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; return this; } - /** - * Get recurringDetailReference + /** + * recurringDetailReference * @return recurringDetailReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRecurringDetailReference() { return recurringDetailReference; } - - /** - * recurringDetailReference - * - * @param recurringDetailReference - */ + /** + * recurringDetailReference + * + * @param recurringDetailReference + */ @JsonProperty(JSON_PROPERTY_RECURRING_DETAIL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRecurringDetailReference(String recurringDetailReference) { this.recurringDetailReference = recurringDetailReference; } - + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest reference(String reference) { this.reference = reference; return this; } - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. - * - * @param reference - */ + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest shopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; return this; } - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * @return shopperInteraction - **/ + */ @ApiModelProperty(value = "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.") @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ShopperInteractionEnum getShopperInteraction() { return shopperInteraction; } - - /** - * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. - * - * @param shopperInteraction - */ + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * + * @param shopperInteraction + */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) { this.shopperInteraction = shopperInteraction; } - + /** + * shopperReference + * + * @param shopperReference + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest shopperReference(String shopperReference) { this.shopperReference = shopperReference; return this; } - /** - * Get shopperReference + /** + * shopperReference * @return shopperReference - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getShopperReference() { return shopperReference; } - - /** - * shopperReference - * - * @param shopperReference - */ + /** + * shopperReference + * + * @param shopperReference + */ @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setShopperReference(String shopperReference) { this.shopperReference = shopperReference; } - + /** + * The status you want to change to + * + * @param status + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status you want to change to * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status you want to change to") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status you want to change to - * - * @param status - */ + /** + * The status you want to change to + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueStatusChangeRequest} instance, allowing for method chaining + */ public StoredValueStatusChangeRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - /** * Return true if this StoredValueStatusChangeRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeResponse.java index 0a05e6977..49b9f4110 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueStatusChangeResponse.java @@ -101,186 +101,204 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueStatusChangeResponse() { } + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse authCode(String authCode) { this.authCode = authCode; return this; } - /** + /** * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. * @return authCode - **/ + */ @ApiModelProperty(value = "Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.") @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthCode() { return authCode; } - - /** - * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. - * - * @param authCode - */ + /** + * Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + * + * @param authCode + */ @JsonProperty(JSON_PROPERTY_AUTH_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthCode(String authCode) { this.authCode = authCode; } - + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueStatusChangeResponse} instance, allowing for method chaining + */ public StoredValueStatusChangeResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueStatusChangeResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueVoidRequest.java b/src/main/java/com/adyen/model/storedvalue/StoredValueVoidRequest.java index b097e984b..fdc8aeb15 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueVoidRequest.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueVoidRequest.java @@ -61,186 +61,204 @@ public class StoredValueVoidRequest { public StoredValueVoidRequest() { } + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest merchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; return this; } - /** + /** * The merchant account identifier, with which you want to process the transaction. * @return merchantAccount - **/ + */ @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantAccount() { return merchantAccount; } - - /** - * The merchant account identifier, with which you want to process the transaction. - * - * @param merchantAccount - */ + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantAccount(String merchantAccount) { this.merchantAccount = merchantAccount; } - + /** + * The original pspReference of the payment to modify. + * + * @param originalReference + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest originalReference(String originalReference) { this.originalReference = originalReference; return this; } - /** + /** * The original pspReference of the payment to modify. * @return originalReference - **/ + */ @ApiModelProperty(required = true, value = "The original pspReference of the payment to modify.") @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOriginalReference() { return originalReference; } - - /** - * The original pspReference of the payment to modify. - * - * @param originalReference - */ + /** + * The original pspReference of the payment to modify. + * + * @param originalReference + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalReference(String originalReference) { this.originalReference = originalReference; } - + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. - * - * @param reference - */ + /** + * Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The physical store, for which this payment is processed. + * + * @param store + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest store(String store) { this.store = store; return this; } - /** + /** * The physical store, for which this payment is processed. * @return store - **/ + */ @ApiModelProperty(value = "The physical store, for which this payment is processed.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStore() { return store; } - - /** - * The physical store, for which this payment is processed. - * - * @param store - */ + /** + * The physical store, for which this payment is processed. + * + * @param store + */ @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStore(String store) { this.store = store; } - + /** + * The reference of the tender. + * + * @param tenderReference + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest tenderReference(String tenderReference) { this.tenderReference = tenderReference; return this; } - /** + /** * The reference of the tender. * @return tenderReference - **/ + */ @ApiModelProperty(value = "The reference of the tender.") @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenderReference() { return tenderReference; } - - /** - * The reference of the tender. - * - * @param tenderReference - */ + /** + * The reference of the tender. + * + * @param tenderReference + */ @JsonProperty(JSON_PROPERTY_TENDER_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTenderReference(String tenderReference) { this.tenderReference = tenderReference; } - + /** + * The unique ID of a POS terminal. + * + * @param uniqueTerminalId + * @return the current {@code StoredValueVoidRequest} instance, allowing for method chaining + */ public StoredValueVoidRequest uniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; return this; } - /** + /** * The unique ID of a POS terminal. * @return uniqueTerminalId - **/ + */ @ApiModelProperty(value = "The unique ID of a POS terminal.") @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUniqueTerminalId() { return uniqueTerminalId; } - - /** - * The unique ID of a POS terminal. - * - * @param uniqueTerminalId - */ + /** + * The unique ID of a POS terminal. + * + * @param uniqueTerminalId + */ @JsonProperty(JSON_PROPERTY_UNIQUE_TERMINAL_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUniqueTerminalId(String uniqueTerminalId) { this.uniqueTerminalId = uniqueTerminalId; } - /** * Return true if this StoredValueVoidRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/storedvalue/StoredValueVoidResponse.java b/src/main/java/com/adyen/model/storedvalue/StoredValueVoidResponse.java index 278ff799f..99bcf6876 100644 --- a/src/main/java/com/adyen/model/storedvalue/StoredValueVoidResponse.java +++ b/src/main/java/com/adyen/model/storedvalue/StoredValueVoidResponse.java @@ -97,156 +97,171 @@ public static ResultCodeEnum fromValue(String value) { public StoredValueVoidResponse() { } + /** + * currentBalance + * + * @param currentBalance + * @return the current {@code StoredValueVoidResponse} instance, allowing for method chaining + */ public StoredValueVoidResponse currentBalance(Amount currentBalance) { this.currentBalance = currentBalance; return this; } - /** - * Get currentBalance + /** + * currentBalance * @return currentBalance - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getCurrentBalance() { return currentBalance; } - - /** - * currentBalance - * - * @param currentBalance - */ + /** + * currentBalance + * + * @param currentBalance + */ @JsonProperty(JSON_PROPERTY_CURRENT_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrentBalance(Amount currentBalance) { this.currentBalance = currentBalance; } - + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + * @return the current {@code StoredValueVoidResponse} instance, allowing for method chaining + */ public StoredValueVoidResponse pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. * @return pspReference - **/ + */ @ApiModelProperty(value = "Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. - * - * @param pspReference - */ + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + * @return the current {@code StoredValueVoidResponse} instance, allowing for method chaining + */ public StoredValueVoidResponse refusalReason(String refusalReason) { this.refusalReason = refusalReason; return this; } - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. * @return refusalReason - **/ + */ @ApiModelProperty(value = "If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.") @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRefusalReason() { return refusalReason; } - - /** - * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. - * - * @param refusalReason - */ + /** + * If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + * + * @param refusalReason + */ @JsonProperty(JSON_PROPERTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRefusalReason(String refusalReason) { this.refusalReason = refusalReason; } - + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + * @return the current {@code StoredValueVoidResponse} instance, allowing for method chaining + */ public StoredValueVoidResponse resultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; return this; } - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. * @return resultCode - **/ + */ @ApiModelProperty(value = "The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. ") @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResultCodeEnum getResultCode() { return resultCode; } - - /** - * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - * - * @param resultCode - */ + /** + * The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. + * + * @param resultCode + */ @JsonProperty(JSON_PROPERTY_RESULT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResultCode(ResultCodeEnum resultCode) { this.resultCode = resultCode; } - + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + * @return the current {@code StoredValueVoidResponse} instance, allowing for method chaining + */ public StoredValueVoidResponse thirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; return this; } - /** + /** * Raw refusal reason received from the third party, where available * @return thirdPartyRefusalReason - **/ + */ @ApiModelProperty(value = "Raw refusal reason received from the third party, where available") @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getThirdPartyRefusalReason() { return thirdPartyRefusalReason; } - - /** - * Raw refusal reason received from the third party, where available - * - * @param thirdPartyRefusalReason - */ + /** + * Raw refusal reason received from the third party, where available + * + * @param thirdPartyRefusalReason + */ @JsonProperty(JSON_PROPERTY_THIRD_PARTY_REFUSAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThirdPartyRefusalReason(String thirdPartyRefusalReason) { this.thirdPartyRefusalReason = thirdPartyRefusalReason; } - /** * Return true if this StoredValueVoidResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/Amount.java b/src/main/java/com/adyen/model/transactionwebhooks/Amount.java index 3f79b8400..81644e01c 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/Amount.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/BalancePlatformNotificationResponse.java b/src/main/java/com/adyen/model/transactionwebhooks/BalancePlatformNotificationResponse.java index ceafe1f28..893266afd 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/BalancePlatformNotificationResponse.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/BalancePlatformNotificationResponse.java @@ -41,36 +41,39 @@ public class BalancePlatformNotificationResponse { public BalancePlatformNotificationResponse() { } + /** + * Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code BalancePlatformNotificationResponse} instance, allowing for method chaining + */ public BalancePlatformNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** - * Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + /** + * Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this BalancePlatformNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/Resource.java b/src/main/java/com/adyen/model/transactionwebhooks/Resource.java index 025c913b8..55c9c2dd2 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/Resource.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/Resource.java @@ -50,96 +50,105 @@ public class Resource { public Resource() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this Resource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/ResourceReference.java b/src/main/java/com/adyen/model/transactionwebhooks/ResourceReference.java index ae90346ba..e5b139226 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/ResourceReference.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/ResourceReference.java @@ -49,96 +49,105 @@ public class ResourceReference { public ResourceReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this ResourceReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/Transaction.java b/src/main/java/com/adyen/model/transactionwebhooks/Transaction.java index b5a4b0b6a..1dc0510fe 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/Transaction.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/Transaction.java @@ -116,306 +116,336 @@ public static StatusEnum fromValue(String value) { public Transaction() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * amount + * + * @param amount + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date the transaction was booked into the balance account. + * + * @param bookingDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction bookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; return this; } - /** + /** * The date the transaction was booked into the balance account. * @return bookingDate - **/ + */ @ApiModelProperty(required = true, value = "The date the transaction was booked into the balance account.") @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getBookingDate() { return bookingDate; } - - /** - * The date the transaction was booked into the balance account. - * - * @param bookingDate - */ + /** + * The date the transaction was booked into the balance account. + * + * @param bookingDate + */ @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The unique identifier of the transaction. + * + * @param id + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transaction. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the transaction.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transaction. - * - * @param id - */ + /** + * The unique identifier of the transaction. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. + * + * @param status + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. - * - * @param status - */ + /** + * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * transfer + * + * @param transfer + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction transfer(TransferData transfer) { this.transfer = transfer; return this; } - /** - * Get transfer + /** + * transfer * @return transfer - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSFER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferData getTransfer() { return transfer; } - - /** - * transfer - * - * @param transfer - */ + /** + * transfer + * + * @param transfer + */ @JsonProperty(JSON_PROPERTY_TRANSFER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransfer(TransferData transfer) { this.transfer = transfer; } - + /** + * The date the transfer amount becomes available in the balance account. + * + * @param valueDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction valueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; return this; } - /** + /** * The date the transfer amount becomes available in the balance account. * @return valueDate - **/ + */ @ApiModelProperty(required = true, value = "The date the transfer amount becomes available in the balance account.") @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValueDate() { return valueDate; } - - /** - * The date the transfer amount becomes available in the balance account. - * - * @param valueDate - */ + /** + * The date the transfer amount becomes available in the balance account. + * + * @param valueDate + */ @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; } - /** * Return true if this Transaction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/TransactionNotificationRequestV4.java b/src/main/java/com/adyen/model/transactionwebhooks/TransactionNotificationRequestV4.java index 4a686f818..9b9cf6824 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/TransactionNotificationRequestV4.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/TransactionNotificationRequestV4.java @@ -83,96 +83,105 @@ public static TypeEnum fromValue(String value) { public TransactionNotificationRequestV4() { } + /** + * data + * + * @param data + * @return the current {@code TransactionNotificationRequestV4} instance, allowing for method chaining + */ public TransactionNotificationRequestV4 data(Transaction data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Transaction getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(Transaction data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code TransactionNotificationRequestV4} instance, allowing for method chaining + */ public TransactionNotificationRequestV4 environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * Type of the webhook. + * + * @param type + * @return the current {@code TransactionNotificationRequestV4} instance, allowing for method chaining + */ public TransactionNotificationRequestV4 type(TypeEnum type) { this.type = type; return this; } - /** + /** * Type of the webhook. * @return type - **/ + */ @ApiModelProperty(value = "Type of the webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * Type of the webhook. - * - * @param type - */ + /** + * Type of the webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransactionNotificationRequestV4 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transactionwebhooks/TransferData.java b/src/main/java/com/adyen/model/transactionwebhooks/TransferData.java index 265e6e80d..d67fae62d 100644 --- a/src/main/java/com/adyen/model/transactionwebhooks/TransferData.java +++ b/src/main/java/com/adyen/model/transactionwebhooks/TransferData.java @@ -45,66 +45,72 @@ public class TransferData { public TransferData() { } + /** + * The ID of the resource. + * + * @param id + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData reference(String reference) { this.reference = reference; return this; } - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. - * - * @param reference - */ + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this TransferData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java index fab1952df..2e7cac6f6 100644 --- a/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public AULocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification bsbCode(String bsbCode) { this.bsbCode = bsbCode; return this; } - /** + /** * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. * @return bsbCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBsbCode() { return bsbCode; } - - /** - * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. - * - * @param bsbCode - */ + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + */ @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBsbCode(String bsbCode) { this.bsbCode = bsbCode; } - + /** + * **auLocal** + * + * @param type + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **auLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**auLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **auLocal** - * - * @param type - */ + /** + * **auLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/AdditionalBankIdentification.java b/src/main/java/com/adyen/model/transfers/AdditionalBankIdentification.java index 27a6742ee..7538a7487 100644 --- a/src/main/java/com/adyen/model/transfers/AdditionalBankIdentification.java +++ b/src/main/java/com/adyen/model/transfers/AdditionalBankIdentification.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public AdditionalBankIdentification() { } + /** + * The value of the additional bank identification. + * + * @param code + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification code(String code) { this.code = code; return this; } - /** + /** * The value of the additional bank identification. * @return code - **/ + */ @ApiModelProperty(value = "The value of the additional bank identification.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The value of the additional bank identification. - * - * @param code - */ + /** + * The value of the additional bank identification. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. * @return type - **/ + */ @ApiModelProperty(value = "The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. - * - * @param type - */ + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AdditionalBankIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Address.java b/src/main/java/com/adyen/model/transfers/Address.java index c78fdc24e..57e46cc0e 100644 --- a/src/main/java/com/adyen/model/transfers/Address.java +++ b/src/main/java/com/adyen/model/transfers/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** - * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param city - */ + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** + /** * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. - * - * @param country - */ + /** + * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line1 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address line1(String line1) { this.line1 = line1; return this; } - /** - * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return line1 - **/ + */ @ApiModelProperty(value = "First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param line1 - */ + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line2 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address line2(String line2) { this.line2 = line2; return this; } - /** - * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return line2 - **/ + */ @ApiModelProperty(value = "Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param line2 - */ + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. ") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = " The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. ") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Amount.java b/src/main/java/com/adyen/model/transfers/Amount.java index 6f2845826..e2fa1e42b 100644 --- a/src/main/java/com/adyen/model/transfers/Amount.java +++ b/src/main/java/com/adyen/model/transfers/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/AmountAdjustment.java b/src/main/java/com/adyen/model/transfers/AmountAdjustment.java index 72108f7ee..a51a19c5f 100644 --- a/src/main/java/com/adyen/model/transfers/AmountAdjustment.java +++ b/src/main/java/com/adyen/model/transfers/AmountAdjustment.java @@ -89,96 +89,105 @@ public static AmountAdjustmentTypeEnum fromValue(String value) { public AmountAdjustment() { } + /** + * amount + * + * @param amount + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. + * + * @param amountAdjustmentType + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment amountAdjustmentType(AmountAdjustmentTypeEnum amountAdjustmentType) { this.amountAdjustmentType = amountAdjustmentType; return this; } - /** + /** * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. * @return amountAdjustmentType - **/ + */ @ApiModelProperty(value = "The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**.") @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmountAdjustmentTypeEnum getAmountAdjustmentType() { return amountAdjustmentType; } - - /** - * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. - * - * @param amountAdjustmentType - */ + /** + * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. + * + * @param amountAdjustmentType + */ @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountAdjustmentType(AmountAdjustmentTypeEnum amountAdjustmentType) { this.amountAdjustmentType = amountAdjustmentType; } - + /** + * The basepoints associated with the applied markup. + * + * @param basepoints + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment basepoints(Integer basepoints) { this.basepoints = basepoints; return this; } - /** + /** * The basepoints associated with the applied markup. * @return basepoints - **/ + */ @ApiModelProperty(value = "The basepoints associated with the applied markup.") @JsonProperty(JSON_PROPERTY_BASEPOINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasepoints() { return basepoints; } - - /** - * The basepoints associated with the applied markup. - * - * @param basepoints - */ + /** + * The basepoints associated with the applied markup. + * + * @param basepoints + */ @JsonProperty(JSON_PROPERTY_BASEPOINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasepoints(Integer basepoints) { this.basepoints = basepoints; } - /** * Return true if this AmountAdjustment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ApproveTransfersRequest.java b/src/main/java/com/adyen/model/transfers/ApproveTransfersRequest.java new file mode 100644 index 000000000..a48f5b688 --- /dev/null +++ b/src/main/java/com/adyen/model/transfers/ApproveTransfersRequest.java @@ -0,0 +1,146 @@ +/* + * Transfers API + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transfers; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * ApproveTransfersRequest + */ +@JsonPropertyOrder({ + ApproveTransfersRequest.JSON_PROPERTY_TRANSFER_IDS +}) + +public class ApproveTransfersRequest { + public static final String JSON_PROPERTY_TRANSFER_IDS = "transferIds"; + private List transferIds = null; + + public ApproveTransfersRequest() { + } + + /** + * Contains the unique identifiers of the transfers that you want to approve. + * + * @param transferIds + * @return the current {@code ApproveTransfersRequest} instance, allowing for method chaining + */ + public ApproveTransfersRequest transferIds(List transferIds) { + this.transferIds = transferIds; + return this; + } + + public ApproveTransfersRequest addTransferIdsItem(String transferIdsItem) { + if (this.transferIds == null) { + this.transferIds = new ArrayList<>(); + } + this.transferIds.add(transferIdsItem); + return this; + } + + /** + * Contains the unique identifiers of the transfers that you want to approve. + * @return transferIds + */ + @ApiModelProperty(value = "Contains the unique identifiers of the transfers that you want to approve.") + @JsonProperty(JSON_PROPERTY_TRANSFER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getTransferIds() { + return transferIds; + } + + /** + * Contains the unique identifiers of the transfers that you want to approve. + * + * @param transferIds + */ + @JsonProperty(JSON_PROPERTY_TRANSFER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTransferIds(List transferIds) { + this.transferIds = transferIds; + } + + /** + * Return true if this ApproveTransfersRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ApproveTransfersRequest approveTransfersRequest = (ApproveTransfersRequest) o; + return Objects.equals(this.transferIds, approveTransfersRequest.transferIds); + } + + @Override + public int hashCode() { + return Objects.hash(transferIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ApproveTransfersRequest {\n"); + sb.append(" transferIds: ").append(toIndentedString(transferIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of ApproveTransfersRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApproveTransfersRequest + * @throws JsonProcessingException if the JSON string is invalid with respect to ApproveTransfersRequest + */ + public static ApproveTransfersRequest fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, ApproveTransfersRequest.class); + } +/** + * Convert an instance of ApproveTransfersRequest to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java index 6952946f3..4cb076732 100644 --- a/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java @@ -90,156 +90,171 @@ public static TypeEnum fromValue(String value) { public BRLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 3-digit bank code, with leading zeros. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit bank code, with leading zeros.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 3-digit bank code, with leading zeros. - * - * @param bankCode - */ + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification branchNumber(String branchNumber) { this.branchNumber = branchNumber; return this; } - /** + /** * The bank account branch number, without separators or whitespace. * @return branchNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account branch number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBranchNumber() { return branchNumber; } - - /** - * The bank account branch number, without separators or whitespace. - * - * @param branchNumber - */ + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + */ @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBranchNumber(String branchNumber) { this.branchNumber = branchNumber; } - + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification ispb(String ispb) { this.ispb = ispb; return this; } - /** + /** * The 8-digit ISPB, with leading zeros. * @return ispb - **/ + */ @ApiModelProperty(value = "The 8-digit ISPB, with leading zeros.") @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIspb() { return ispb; } - - /** - * The 8-digit ISPB, with leading zeros. - * - * @param ispb - */ + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + */ @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIspb(String ispb) { this.ispb = ispb; } - + /** + * **brLocal** + * + * @param type + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **brLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**brLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **brLocal** - * - * @param type - */ + /** + * **brLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BRLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/BalanceMutation.java b/src/main/java/com/adyen/model/transfers/BalanceMutation.java index ab3fe85bf..eb5652836 100644 --- a/src/main/java/com/adyen/model/transfers/BalanceMutation.java +++ b/src/main/java/com/adyen/model/transfers/BalanceMutation.java @@ -53,126 +53,138 @@ public class BalanceMutation { public BalanceMutation() { } + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. + * + * @param balance + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation balance(Long balance) { this.balance = balance; return this; } - /** - * The amount in the payment's currency that is debited or credited on the balance accounting register. + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. * @return balance - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the balance accounting register.") @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getBalance() { return balance; } - - /** - * The amount in the payment's currency that is debited or credited on the balance accounting register. - * - * @param balance - */ + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. + * + * @param balance + */ @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalance(Long balance) { this.balance = balance; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. + * + * @param received + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation received(Long received) { this.received = received; return this; } - /** - * The amount in the payment's currency that is debited or credited on the received accounting register. + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. * @return received - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the received accounting register.") @JsonProperty(JSON_PROPERTY_RECEIVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReceived() { return received; } - - /** - * The amount in the payment's currency that is debited or credited on the received accounting register. - * - * @param received - */ + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. + * + * @param received + */ @JsonProperty(JSON_PROPERTY_RECEIVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceived(Long received) { this.received = received; } - + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. + * + * @param reserved + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation reserved(Long reserved) { this.reserved = reserved; return this; } - /** - * The amount in the payment's currency that is debited or credited on the reserved accounting register. + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. * @return reserved - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the reserved accounting register.") @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReserved() { return reserved; } - - /** - * The amount in the payment's currency that is debited or credited on the reserved accounting register. - * - * @param reserved - */ + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. + * + * @param reserved + */ @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReserved(Long reserved) { this.reserved = reserved; } - /** * Return true if this BalanceMutation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/BankAccountV3.java b/src/main/java/com/adyen/model/transfers/BankAccountV3.java index bd50e49b0..db3cae54d 100644 --- a/src/main/java/com/adyen/model/transfers/BankAccountV3.java +++ b/src/main/java/com/adyen/model/transfers/BankAccountV3.java @@ -47,66 +47,72 @@ public class BankAccountV3 { public BankAccountV3() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code BankAccountV3} instance, allowing for method chaining + */ public BankAccountV3 accountHolder(PartyIdentification accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PartyIdentification getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(PartyIdentification accountHolder) { this.accountHolder = accountHolder; } - + /** + * accountIdentification + * + * @param accountIdentification + * @return the current {@code BankAccountV3} instance, allowing for method chaining + */ public BankAccountV3 accountIdentification(BankAccountV3AccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; return this; } - /** - * Get accountIdentification + /** + * accountIdentification * @return accountIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3AccountIdentification getAccountIdentification() { return accountIdentification; } - - /** - * accountIdentification - * - * @param accountIdentification - */ + /** + * accountIdentification + * + * @param accountIdentification + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentification(BankAccountV3AccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; } - /** * Return true if this BankAccountV3 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/BankCategoryData.java b/src/main/java/com/adyen/model/transfers/BankCategoryData.java index b73bc2ae9..50be0e4c2 100644 --- a/src/main/java/com/adyen/model/transfers/BankCategoryData.java +++ b/src/main/java/com/adyen/model/transfers/BankCategoryData.java @@ -121,66 +121,72 @@ public static TypeEnum fromValue(String value) { public BankCategoryData() { } + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + * @return the current {@code BankCategoryData} instance, allowing for method chaining + */ public BankCategoryData priority(PriorityEnum priority) { this.priority = priority; return this; } - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priority - **/ + */ @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priority - */ + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * **bank** + * + * @param type + * @return the current {@code BankCategoryData} instance, allowing for method chaining + */ public BankCategoryData type(TypeEnum type) { this.type = type; return this; } - /** + /** * **bank** * @return type - **/ + */ @ApiModelProperty(value = "**bank**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **bank** - * - * @param type - */ + /** + * **bank** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BankCategoryData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java index a88f4034d..7e884d3f9 100644 --- a/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java @@ -125,156 +125,171 @@ public static TypeEnum fromValue(String value) { public CALocalAccountIdentification() { } + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 5- to 12-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5- to 12-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 5- to 12-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification institutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; return this; } - /** + /** * The 3-digit institution number, without separators or whitespace. * @return institutionNumber - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit institution number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstitutionNumber() { return institutionNumber; } - - /** - * The 3-digit institution number, without separators or whitespace. - * - * @param institutionNumber - */ + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + */ @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstitutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; } - + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification transitNumber(String transitNumber) { this.transitNumber = transitNumber; return this; } - /** + /** * The 5-digit transit number, without separators or whitespace. * @return transitNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5-digit transit number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransitNumber() { return transitNumber; } - - /** - * The 5-digit transit number, without separators or whitespace. - * - * @param transitNumber - */ + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + */ @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransitNumber(String transitNumber) { this.transitNumber = transitNumber; } - + /** + * **caLocal** + * + * @param type + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **caLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**caLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **caLocal** - * - * @param type - */ + /** + * **caLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CALocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java index 44a5af34c..53726debf 100644 --- a/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public CZLocalAccountIdentification() { } + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) - * - * @param accountNumber - */ + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Kód banky), without separators or whitespace. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Kód banky), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Kód banky), without separators or whitespace. - * - * @param bankCode - */ + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **czLocal** + * + * @param type + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **czLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**czLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **czLocal** - * - * @param type - */ + /** + * **czLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CancelTransfersRequest.java b/src/main/java/com/adyen/model/transfers/CancelTransfersRequest.java new file mode 100644 index 000000000..83a2b7c19 --- /dev/null +++ b/src/main/java/com/adyen/model/transfers/CancelTransfersRequest.java @@ -0,0 +1,146 @@ +/* + * Transfers API + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transfers; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * CancelTransfersRequest + */ +@JsonPropertyOrder({ + CancelTransfersRequest.JSON_PROPERTY_TRANSFER_IDS +}) + +public class CancelTransfersRequest { + public static final String JSON_PROPERTY_TRANSFER_IDS = "transferIds"; + private List transferIds = null; + + public CancelTransfersRequest() { + } + + /** + * Contains the unique identifiers of the transfers that you want to cancel. + * + * @param transferIds + * @return the current {@code CancelTransfersRequest} instance, allowing for method chaining + */ + public CancelTransfersRequest transferIds(List transferIds) { + this.transferIds = transferIds; + return this; + } + + public CancelTransfersRequest addTransferIdsItem(String transferIdsItem) { + if (this.transferIds == null) { + this.transferIds = new ArrayList<>(); + } + this.transferIds.add(transferIdsItem); + return this; + } + + /** + * Contains the unique identifiers of the transfers that you want to cancel. + * @return transferIds + */ + @ApiModelProperty(value = "Contains the unique identifiers of the transfers that you want to cancel.") + @JsonProperty(JSON_PROPERTY_TRANSFER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getTransferIds() { + return transferIds; + } + + /** + * Contains the unique identifiers of the transfers that you want to cancel. + * + * @param transferIds + */ + @JsonProperty(JSON_PROPERTY_TRANSFER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTransferIds(List transferIds) { + this.transferIds = transferIds; + } + + /** + * Return true if this CancelTransfersRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CancelTransfersRequest cancelTransfersRequest = (CancelTransfersRequest) o; + return Objects.equals(this.transferIds, cancelTransfersRequest.transferIds); + } + + @Override + public int hashCode() { + return Objects.hash(transferIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CancelTransfersRequest {\n"); + sb.append(" transferIds: ").append(toIndentedString(transferIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of CancelTransfersRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of CancelTransfersRequest + * @throws JsonProcessingException if the JSON string is invalid with respect to CancelTransfersRequest + */ + public static CancelTransfersRequest fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, CancelTransfersRequest.class); + } +/** + * Convert an instance of CancelTransfersRequest to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transfers/CapitalBalance.java b/src/main/java/com/adyen/model/transfers/CapitalBalance.java index 3f1f35eb0..ed187b22f 100644 --- a/src/main/java/com/adyen/model/transfers/CapitalBalance.java +++ b/src/main/java/com/adyen/model/transfers/CapitalBalance.java @@ -53,126 +53,138 @@ public class CapitalBalance { public CapitalBalance() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * Fee amount. + * + * @param fee + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance fee(Long fee) { this.fee = fee; return this; } - /** + /** * Fee amount. * @return fee - **/ + */ @ApiModelProperty(required = true, value = "Fee amount.") @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getFee() { return fee; } - - /** - * Fee amount. - * - * @param fee - */ + /** + * Fee amount. + * + * @param fee + */ @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFee(Long fee) { this.fee = fee; } - + /** + * Principal amount. + * + * @param principal + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance principal(Long principal) { this.principal = principal; return this; } - /** + /** * Principal amount. * @return principal - **/ + */ @ApiModelProperty(required = true, value = "Principal amount.") @JsonProperty(JSON_PROPERTY_PRINCIPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getPrincipal() { return principal; } - - /** - * Principal amount. - * - * @param principal - */ + /** + * Principal amount. + * + * @param principal + */ @JsonProperty(JSON_PROPERTY_PRINCIPAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrincipal(Long principal) { this.principal = principal; } - + /** + * Total amount. A sum of principal amount and fee amount. + * + * @param total + * @return the current {@code CapitalBalance} instance, allowing for method chaining + */ public CapitalBalance total(Long total) { this.total = total; return this; } - /** + /** * Total amount. A sum of principal amount and fee amount. * @return total - **/ + */ @ApiModelProperty(required = true, value = "Total amount. A sum of principal amount and fee amount.") @JsonProperty(JSON_PROPERTY_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getTotal() { return total; } - - /** - * Total amount. A sum of principal amount and fee amount. - * - * @param total - */ + /** + * Total amount. A sum of principal amount and fee amount. + * + * @param total + */ @JsonProperty(JSON_PROPERTY_TOTAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTotal(Long total) { this.total = total; } - /** * Return true if this CapitalBalance object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CapitalGrant.java b/src/main/java/com/adyen/model/transfers/CapitalGrant.java index 14f5994c2..738d23991 100644 --- a/src/main/java/com/adyen/model/transfers/CapitalGrant.java +++ b/src/main/java/com/adyen/model/transfers/CapitalGrant.java @@ -115,276 +115,303 @@ public static StatusEnum fromValue(String value) { public CapitalGrant() { } + /** + * amount + * + * @param amount + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balances + * + * @param balances + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant balances(CapitalBalance balances) { this.balances = balances; return this; } - /** - * Get balances + /** + * balances * @return balances - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CapitalBalance getBalances() { return balances; } - - /** - * balances - * - * @param balances - */ + /** + * balances + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(CapitalBalance balances) { this.balances = balances; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant counterparty(Counterparty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Counterparty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(Counterparty counterparty) { this.counterparty = counterparty; } - + /** + * fee + * + * @param fee + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant fee(Fee fee) { this.fee = fee; return this; } - /** - * Get fee + /** + * fee * @return fee - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Fee getFee() { return fee; } - - /** - * fee - * - * @param fee - */ + /** + * fee + * + * @param fee + */ @JsonProperty(JSON_PROPERTY_FEE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFee(Fee fee) { this.fee = fee; } - + /** + * The identifier of the grant account used for the grant. + * + * @param grantAccountId + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant grantAccountId(String grantAccountId) { this.grantAccountId = grantAccountId; return this; } - /** + /** * The identifier of the grant account used for the grant. * @return grantAccountId - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the grant account used for the grant.") @JsonProperty(JSON_PROPERTY_GRANT_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGrantAccountId() { return grantAccountId; } - - /** - * The identifier of the grant account used for the grant. - * - * @param grantAccountId - */ + /** + * The identifier of the grant account used for the grant. + * + * @param grantAccountId + */ @JsonProperty(JSON_PROPERTY_GRANT_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantAccountId(String grantAccountId) { this.grantAccountId = grantAccountId; } - + /** + * The identifier of the grant offer that has been selected and from which the grant details will be used. + * + * @param grantOfferId + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant grantOfferId(String grantOfferId) { this.grantOfferId = grantOfferId; return this; } - /** + /** * The identifier of the grant offer that has been selected and from which the grant details will be used. * @return grantOfferId - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the grant offer that has been selected and from which the grant details will be used.") @JsonProperty(JSON_PROPERTY_GRANT_OFFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGrantOfferId() { return grantOfferId; } - - /** - * The identifier of the grant offer that has been selected and from which the grant details will be used. - * - * @param grantOfferId - */ + /** + * The identifier of the grant offer that has been selected and from which the grant details will be used. + * + * @param grantOfferId + */ @JsonProperty(JSON_PROPERTY_GRANT_OFFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantOfferId(String grantOfferId) { this.grantOfferId = grantOfferId; } - + /** + * The identifier of the grant reference. + * + * @param id + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant id(String id) { this.id = id; return this; } - /** + /** * The identifier of the grant reference. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the grant reference.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The identifier of the grant reference. - * - * @param id - */ + /** + * The identifier of the grant reference. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * repayment + * + * @param repayment + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant repayment(Repayment repayment) { this.repayment = repayment; return this; } - /** - * Get repayment + /** + * repayment * @return repayment - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_REPAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Repayment getRepayment() { return repayment; } - - /** - * repayment - * - * @param repayment - */ + /** + * repayment + * + * @param repayment + */ @JsonProperty(JSON_PROPERTY_REPAYMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRepayment(Repayment repayment) { this.repayment = repayment; } - + /** + * The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**. + * + * @param status + * @return the current {@code CapitalGrant} instance, allowing for method chaining + */ public CapitalGrant status(StatusEnum status) { this.status = status; return this; } - /** + /** * The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**. - * - * @param status - */ + /** + * The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this CapitalGrant object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CapitalGrantInfo.java b/src/main/java/com/adyen/model/transfers/CapitalGrantInfo.java index a032c5bf1..a52f50d9e 100644 --- a/src/main/java/com/adyen/model/transfers/CapitalGrantInfo.java +++ b/src/main/java/com/adyen/model/transfers/CapitalGrantInfo.java @@ -50,96 +50,105 @@ public class CapitalGrantInfo { public CapitalGrantInfo() { } + /** + * counterparty + * + * @param counterparty + * @return the current {@code CapitalGrantInfo} instance, allowing for method chaining + */ public CapitalGrantInfo counterparty(Counterparty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Counterparty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(Counterparty counterparty) { this.counterparty = counterparty; } - + /** + * The identifier of the grant account used for the grant. + * + * @param grantAccountId + * @return the current {@code CapitalGrantInfo} instance, allowing for method chaining + */ public CapitalGrantInfo grantAccountId(String grantAccountId) { this.grantAccountId = grantAccountId; return this; } - /** + /** * The identifier of the grant account used for the grant. * @return grantAccountId - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the grant account used for the grant.") @JsonProperty(JSON_PROPERTY_GRANT_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGrantAccountId() { return grantAccountId; } - - /** - * The identifier of the grant account used for the grant. - * - * @param grantAccountId - */ + /** + * The identifier of the grant account used for the grant. + * + * @param grantAccountId + */ @JsonProperty(JSON_PROPERTY_GRANT_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantAccountId(String grantAccountId) { this.grantAccountId = grantAccountId; } - + /** + * The identifier of the grant offer that has been selected and from which the grant details will be used. + * + * @param grantOfferId + * @return the current {@code CapitalGrantInfo} instance, allowing for method chaining + */ public CapitalGrantInfo grantOfferId(String grantOfferId) { this.grantOfferId = grantOfferId; return this; } - /** + /** * The identifier of the grant offer that has been selected and from which the grant details will be used. * @return grantOfferId - **/ + */ @ApiModelProperty(required = true, value = "The identifier of the grant offer that has been selected and from which the grant details will be used.") @JsonProperty(JSON_PROPERTY_GRANT_OFFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getGrantOfferId() { return grantOfferId; } - - /** - * The identifier of the grant offer that has been selected and from which the grant details will be used. - * - * @param grantOfferId - */ + /** + * The identifier of the grant offer that has been selected and from which the grant details will be used. + * + * @param grantOfferId + */ @JsonProperty(JSON_PROPERTY_GRANT_OFFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrantOfferId(String grantOfferId) { this.grantOfferId = grantOfferId; } - /** * Return true if this CapitalGrantInfo object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CapitalGrants.java b/src/main/java/com/adyen/model/transfers/CapitalGrants.java index 0e13b9c95..018f94015 100644 --- a/src/main/java/com/adyen/model/transfers/CapitalGrants.java +++ b/src/main/java/com/adyen/model/transfers/CapitalGrants.java @@ -44,6 +44,12 @@ public class CapitalGrants { public CapitalGrants() { } + /** + * The unique identifier of the grant. + * + * @param grants + * @return the current {@code CapitalGrants} instance, allowing for method chaining + */ public CapitalGrants grants(List grants) { this.grants = grants; return this; @@ -54,31 +60,28 @@ public CapitalGrants addGrantsItem(CapitalGrant grantsItem) { return this; } - /** + /** * The unique identifier of the grant. * @return grants - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the grant.") @JsonProperty(JSON_PROPERTY_GRANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGrants() { return grants; } - - /** - * The unique identifier of the grant. - * - * @param grants - */ + /** + * The unique identifier of the grant. + * + * @param grants + */ @JsonProperty(JSON_PROPERTY_GRANTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGrants(List grants) { this.grants = grants; } - /** * Return true if this CapitalGrants object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Card.java b/src/main/java/com/adyen/model/transfers/Card.java index eb26283d0..774d6475f 100644 --- a/src/main/java/com/adyen/model/transfers/Card.java +++ b/src/main/java/com/adyen/model/transfers/Card.java @@ -47,66 +47,72 @@ public class Card { public Card() { } + /** + * cardHolder + * + * @param cardHolder + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardHolder(PartyIdentification cardHolder) { this.cardHolder = cardHolder; return this; } - /** - * Get cardHolder + /** + * cardHolder * @return cardHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CARD_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PartyIdentification getCardHolder() { return cardHolder; } - - /** - * cardHolder - * - * @param cardHolder - */ + /** + * cardHolder + * + * @param cardHolder + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolder(PartyIdentification cardHolder) { this.cardHolder = cardHolder; } - + /** + * cardIdentification + * + * @param cardIdentification + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardIdentification(CardIdentification cardIdentification) { this.cardIdentification = cardIdentification; return this; } - /** - * Get cardIdentification + /** + * cardIdentification * @return cardIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CARD_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardIdentification getCardIdentification() { return cardIdentification; } - - /** - * cardIdentification - * - * @param cardIdentification - */ + /** + * cardIdentification + * + * @param cardIdentification + */ @JsonProperty(JSON_PROPERTY_CARD_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIdentification(CardIdentification cardIdentification) { this.cardIdentification = cardIdentification; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CardIdentification.java b/src/main/java/com/adyen/model/transfers/CardIdentification.java index 0426ec614..dd268510a 100644 --- a/src/main/java/com/adyen/model/transfers/CardIdentification.java +++ b/src/main/java/com/adyen/model/transfers/CardIdentification.java @@ -65,216 +65,237 @@ public class CardIdentification { public CardIdentification() { } + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The expiry year of the card. Format: four digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The expiry year of the card. Format: four digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The expiry year of the card. Format: four digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The expiry year of the card. Format: four digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The expiry year of the card. Format: four digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The issue number of the card. Applies only to some UK debit cards. + * + * @param issueNumber + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card. Applies only to some UK debit cards. * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card. Applies only to some UK debit cards.") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card. Applies only to some UK debit cards. - * - * @param issueNumber - */ + /** + * The issue number of the card. Applies only to some UK debit cards. + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number without any separators. For security, the response only includes the last four digits of the card number. + * + * @param number + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification number(String number) { this.number = number; return this; } - /** + /** * The card number without any separators. For security, the response only includes the last four digits of the card number. * @return number - **/ + */ @ApiModelProperty(value = "The card number without any separators. For security, the response only includes the last four digits of the card number.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number without any separators. For security, the response only includes the last four digits of the card number. - * - * @param number - */ + /** + * The card number without any separators. For security, the response only includes the last four digits of the card number. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param startMonth + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** - * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November * @return startMonth - **/ + */ @ApiModelProperty(value = "The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November - * - * @param startMonth - */ + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 + * + * @param startYear + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 * @return startYear - **/ + */ @ApiModelProperty(value = "The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 - * - * @param startYear - */ + /** + * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - + /** + * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. + * + * @param storedPaymentMethodId + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** + /** * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. ") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. - * - * @param storedPaymentMethodId - */ + /** + * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - /** * Return true if this CardIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ConfirmationTrackingData.java b/src/main/java/com/adyen/model/transfers/ConfirmationTrackingData.java index c724718bf..4e165cc59 100644 --- a/src/main/java/com/adyen/model/transfers/ConfirmationTrackingData.java +++ b/src/main/java/com/adyen/model/transfers/ConfirmationTrackingData.java @@ -111,66 +111,72 @@ public static TypeEnum fromValue(String value) { public ConfirmationTrackingData() { } + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + * + * @param status + * @return the current {@code ConfirmationTrackingData} instance, allowing for method chaining + */ public ConfirmationTrackingData status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. - * - * @param status - */ + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + * + * @param type + * @return the current {@code ConfirmationTrackingData} instance, allowing for method chaining + */ public ConfirmationTrackingData type(TypeEnum type) { this.type = type; return this; } - /** - * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. - * - * @param type - */ + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ConfirmationTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Counterparty.java b/src/main/java/com/adyen/model/transfers/Counterparty.java index b1b520224..82be8a344 100644 --- a/src/main/java/com/adyen/model/transfers/Counterparty.java +++ b/src/main/java/com/adyen/model/transfers/Counterparty.java @@ -49,96 +49,105 @@ public class Counterparty { public Counterparty() { } + /** + * The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided. + * + * @param accountHolderId + * @return the current {@code Counterparty} instance, allowing for method chaining + */ public Counterparty accountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; return this; } - /** - * The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided. + /** + * The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided. * @return accountHolderId - **/ + */ @ApiModelProperty(value = "The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided.") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountHolderId() { return accountHolderId; } - - /** - * The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided. - * - * @param accountHolderId - */ + /** + * The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided. + * + * @param accountHolderId + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolderId(String accountHolderId) { this.accountHolderId = accountHolderId; } - + /** + * The identifier of the balance account that belongs to the receiving account holder. + * + * @param balanceAccountId + * @return the current {@code Counterparty} instance, allowing for method chaining + */ public Counterparty balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The identifier of the balance account that belongs to the receiving account holder. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The identifier of the balance account that belongs to the receiving account holder.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The identifier of the balance account that belongs to the receiving account holder. - * - * @param balanceAccountId - */ + /** + * The identifier of the balance account that belongs to the receiving account holder. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The identifier of the transfer instrument that belongs to the legal entity of the account holder. + * + * @param transferInstrumentId + * @return the current {@code Counterparty} instance, allowing for method chaining + */ public Counterparty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The identifier of the transfer instrument that belongs to the legal entity of the account holder. * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The identifier of the transfer instrument that belongs to the legal entity of the account holder.") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The identifier of the transfer instrument that belongs to the legal entity of the account holder. - * - * @param transferInstrumentId - */ + /** + * The identifier of the transfer instrument that belongs to the legal entity of the account holder. + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this Counterparty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CounterpartyInfoV3.java b/src/main/java/com/adyen/model/transfers/CounterpartyInfoV3.java index ce2ba4cfb..b065514aa 100644 --- a/src/main/java/com/adyen/model/transfers/CounterpartyInfoV3.java +++ b/src/main/java/com/adyen/model/transfers/CounterpartyInfoV3.java @@ -55,126 +55,138 @@ public class CounterpartyInfoV3 { public CounterpartyInfoV3() { } + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + * @return the current {@code CounterpartyInfoV3} instance, allowing for method chaining + */ public CounterpartyInfoV3 balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). - * - * @param balanceAccountId - */ + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code CounterpartyInfoV3} instance, allowing for method chaining + */ public CounterpartyInfoV3 bankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3 getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code CounterpartyInfoV3} instance, allowing for method chaining + */ public CounterpartyInfoV3 card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + * @return the current {@code CounterpartyInfoV3} instance, allowing for method chaining + */ public CounterpartyInfoV3 transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this CounterpartyInfoV3 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/CounterpartyV3.java b/src/main/java/com/adyen/model/transfers/CounterpartyV3.java index 1253ee200..a402b9deb 100644 --- a/src/main/java/com/adyen/model/transfers/CounterpartyV3.java +++ b/src/main/java/com/adyen/model/transfers/CounterpartyV3.java @@ -60,156 +60,171 @@ public class CounterpartyV3 { public CounterpartyV3() { } + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). - * - * @param balanceAccountId - */ + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 bankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3 getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * merchant + * + * @param merchant + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 merchant(MerchantData merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantData getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(MerchantData merchant) { this.merchant = merchant; } - + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this CounterpartyV3 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java index b990a8278..b85ee0341 100644 --- a/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public DKLocalAccountIdentification() { } + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). - * - * @param accountNumber - */ + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Registreringsnummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). - * - * @param bankCode - */ + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **dkLocal** + * + * @param type + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**dkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dkLocal** - * - * @param type - */ + /** + * **dkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/DirectDebitInformation.java b/src/main/java/com/adyen/model/transfers/DirectDebitInformation.java new file mode 100644 index 000000000..05f874b66 --- /dev/null +++ b/src/main/java/com/adyen/model/transfers/DirectDebitInformation.java @@ -0,0 +1,254 @@ +/* + * Transfers API + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transfers; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * DirectDebitInformation + */ +@JsonPropertyOrder({ + DirectDebitInformation.JSON_PROPERTY_DATE_OF_SIGNATURE, + DirectDebitInformation.JSON_PROPERTY_DUE_DATE, + DirectDebitInformation.JSON_PROPERTY_MANDATE_ID, + DirectDebitInformation.JSON_PROPERTY_SEQUENCE_TYPE +}) + +public class DirectDebitInformation { + public static final String JSON_PROPERTY_DATE_OF_SIGNATURE = "dateOfSignature"; + private OffsetDateTime dateOfSignature; + + public static final String JSON_PROPERTY_DUE_DATE = "dueDate"; + private OffsetDateTime dueDate; + + public static final String JSON_PROPERTY_MANDATE_ID = "mandateId"; + private String mandateId; + + public static final String JSON_PROPERTY_SEQUENCE_TYPE = "sequenceType"; + private String sequenceType; + + public DirectDebitInformation() { + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * + * @param dateOfSignature + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation dateOfSignature(OffsetDateTime dateOfSignature) { + this.dateOfSignature = dateOfSignature; + return this; + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * @return dateOfSignature + */ + @ApiModelProperty(value = "The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.") + @JsonProperty(JSON_PROPERTY_DATE_OF_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getDateOfSignature() { + return dateOfSignature; + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * + * @param dateOfSignature + */ + @JsonProperty(JSON_PROPERTY_DATE_OF_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDateOfSignature(OffsetDateTime dateOfSignature) { + this.dateOfSignature = dateOfSignature; + } + + /** + * The date when the funds are deducted from your user's balance account. + * + * @param dueDate + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation dueDate(OffsetDateTime dueDate) { + this.dueDate = dueDate; + return this; + } + + /** + * The date when the funds are deducted from your user's balance account. + * @return dueDate + */ + @ApiModelProperty(value = "The date when the funds are deducted from your user's balance account.") + @JsonProperty(JSON_PROPERTY_DUE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getDueDate() { + return dueDate; + } + + /** + * The date when the funds are deducted from your user's balance account. + * + * @param dueDate + */ + @JsonProperty(JSON_PROPERTY_DUE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDueDate(OffsetDateTime dueDate) { + this.dueDate = dueDate; + } + + /** + * Your unique identifier for the direct debit mandate. + * + * @param mandateId + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation mandateId(String mandateId) { + this.mandateId = mandateId; + return this; + } + + /** + * Your unique identifier for the direct debit mandate. + * @return mandateId + */ + @ApiModelProperty(value = "Your unique identifier for the direct debit mandate.") + @JsonProperty(JSON_PROPERTY_MANDATE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getMandateId() { + return mandateId; + } + + /** + * Your unique identifier for the direct debit mandate. + * + * @param mandateId + */ + @JsonProperty(JSON_PROPERTY_MANDATE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMandateId(String mandateId) { + this.mandateId = mandateId; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * + * @param sequenceType + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation sequenceType(String sequenceType) { + this.sequenceType = sequenceType; + return this; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * @return sequenceType + */ + @ApiModelProperty(value = "Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.") + @JsonProperty(JSON_PROPERTY_SEQUENCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSequenceType() { + return sequenceType; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * + * @param sequenceType + */ + @JsonProperty(JSON_PROPERTY_SEQUENCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSequenceType(String sequenceType) { + this.sequenceType = sequenceType; + } + + /** + * Return true if this DirectDebitInformation object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DirectDebitInformation directDebitInformation = (DirectDebitInformation) o; + return Objects.equals(this.dateOfSignature, directDebitInformation.dateOfSignature) && + Objects.equals(this.dueDate, directDebitInformation.dueDate) && + Objects.equals(this.mandateId, directDebitInformation.mandateId) && + Objects.equals(this.sequenceType, directDebitInformation.sequenceType); + } + + @Override + public int hashCode() { + return Objects.hash(dateOfSignature, dueDate, mandateId, sequenceType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DirectDebitInformation {\n"); + sb.append(" dateOfSignature: ").append(toIndentedString(dateOfSignature)).append("\n"); + sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + sb.append(" mandateId: ").append(toIndentedString(mandateId)).append("\n"); + sb.append(" sequenceType: ").append(toIndentedString(sequenceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of DirectDebitInformation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DirectDebitInformation + * @throws JsonProcessingException if the JSON string is invalid with respect to DirectDebitInformation + */ + public static DirectDebitInformation fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, DirectDebitInformation.class); + } +/** + * Convert an instance of DirectDebitInformation to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transfers/EstimationTrackingData.java b/src/main/java/com/adyen/model/transfers/EstimationTrackingData.java index 706e94633..458a65347 100644 --- a/src/main/java/com/adyen/model/transfers/EstimationTrackingData.java +++ b/src/main/java/com/adyen/model/transfers/EstimationTrackingData.java @@ -79,66 +79,72 @@ public static TypeEnum fromValue(String value) { public EstimationTrackingData() { } + /** + * The estimated time the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + * @return the current {@code EstimationTrackingData} instance, allowing for method chaining + */ public EstimationTrackingData estimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; return this; } - /** + /** * The estimated time the beneficiary should have access to the funds. * @return estimatedArrivalTime - **/ + */ @ApiModelProperty(required = true, value = "The estimated time the beneficiary should have access to the funds.") @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEstimatedArrivalTime() { return estimatedArrivalTime; } - - /** - * The estimated time the beneficiary should have access to the funds. - * - * @param estimatedArrivalTime - */ + /** + * The estimated time the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; } - + /** + * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. + * + * @param type + * @return the current {@code EstimationTrackingData} instance, allowing for method chaining + */ public EstimationTrackingData type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. - * - * @param type - */ + /** + * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this EstimationTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ExternalReason.java b/src/main/java/com/adyen/model/transfers/ExternalReason.java index eacaa7944..bb8f1fd5f 100644 --- a/src/main/java/com/adyen/model/transfers/ExternalReason.java +++ b/src/main/java/com/adyen/model/transfers/ExternalReason.java @@ -49,96 +49,105 @@ public class ExternalReason { public ExternalReason() { } + /** + * The reason code. + * + * @param code + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason code(String code) { this.code = code; return this; } - /** + /** * The reason code. * @return code - **/ + */ @ApiModelProperty(value = "The reason code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The reason code. - * - * @param code - */ + /** + * The reason code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The description of the reason code. + * + * @param description + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason description(String description) { this.description = description; return this; } - /** + /** * The description of the reason code. * @return description - **/ + */ @ApiModelProperty(value = "The description of the reason code.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the reason code. - * - * @param description - */ + /** + * The description of the reason code. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The namespace for the reason code. + * + * @param namespace + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason namespace(String namespace) { this.namespace = namespace; return this; } - /** + /** * The namespace for the reason code. * @return namespace - **/ + */ @ApiModelProperty(value = "The namespace for the reason code.") @JsonProperty(JSON_PROPERTY_NAMESPACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNamespace() { return namespace; } - - /** - * The namespace for the reason code. - * - * @param namespace - */ + /** + * The namespace for the reason code. + * + * @param namespace + */ @JsonProperty(JSON_PROPERTY_NAMESPACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNamespace(String namespace) { this.namespace = namespace; } - /** * Return true if this ExternalReason object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Fee.java b/src/main/java/com/adyen/model/transfers/Fee.java index a4ba4f1bd..6a8a768ae 100644 --- a/src/main/java/com/adyen/model/transfers/Fee.java +++ b/src/main/java/com/adyen/model/transfers/Fee.java @@ -42,36 +42,39 @@ public class Fee { public Fee() { } + /** + * amount + * + * @param amount + * @return the current {@code Fee} instance, allowing for method chaining + */ public Fee amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this Fee object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/FindTransfersResponse.java b/src/main/java/com/adyen/model/transfers/FindTransfersResponse.java index b3a6e4db7..1a38b54ee 100644 --- a/src/main/java/com/adyen/model/transfers/FindTransfersResponse.java +++ b/src/main/java/com/adyen/model/transfers/FindTransfersResponse.java @@ -49,36 +49,45 @@ public class FindTransfersResponse { public FindTransfersResponse() { } + /** + * links + * + * @param links + * @return the current {@code FindTransfersResponse} instance, allowing for method chaining + */ public FindTransfersResponse links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * Contains the transfers that match the query parameters. + * + * @param data + * @return the current {@code FindTransfersResponse} instance, allowing for method chaining + */ public FindTransfersResponse data(List data) { this.data = data; return this; @@ -92,31 +101,28 @@ public FindTransfersResponse addDataItem(TransferData dataItem) { return this; } - /** + /** * Contains the transfers that match the query parameters. * @return data - **/ + */ @ApiModelProperty(value = "Contains the transfers that match the query parameters.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Contains the transfers that match the query parameters. - * - * @param data - */ + /** + * Contains the transfers that match the query parameters. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this FindTransfersResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java index 60213ec77..81c431282 100644 --- a/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public HKLocalAccountIdentification() { } + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. - * - * @param accountNumber - */ + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification clearingCode(String clearingCode) { this.clearingCode = clearingCode; return this; } - /** + /** * The 3-digit clearing code, without separators or whitespace. * @return clearingCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit clearing code, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingCode() { return clearingCode; } - - /** - * The 3-digit clearing code, without separators or whitespace. - * - * @param clearingCode - */ + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + */ @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingCode(String clearingCode) { this.clearingCode = clearingCode; } - + /** + * **hkLocal** + * + * @param type + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **hkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**hkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **hkLocal** - * - * @param type - */ + /** + * **hkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java index 1e06d3417..b8acf5368 100644 --- a/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public HULocalAccountIdentification() { } + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 24-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 24-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 24-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **huLocal** + * + * @param type + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **huLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**huLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **huLocal** - * - * @param type - */ + /** + * **huLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java b/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java index 9f7e6eb05..809da0b32 100644 --- a/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * **iban** + * + * @param type + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **iban** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **iban** - * - * @param type - */ + /** + * **iban** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IbanAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/InternalCategoryData.java b/src/main/java/com/adyen/model/transfers/InternalCategoryData.java index 528799226..1ce58f80a 100644 --- a/src/main/java/com/adyen/model/transfers/InternalCategoryData.java +++ b/src/main/java/com/adyen/model/transfers/InternalCategoryData.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public InternalCategoryData() { } + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData modificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; return this; } - /** - * The capture's merchant reference included in the transfer. + /** + * The capture's merchant reference included in the transfer. * @return modificationMerchantReference - **/ + */ @ApiModelProperty(value = "The capture's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationMerchantReference() { return modificationMerchantReference; } - - /** - * The capture's merchant reference included in the transfer. - * - * @param modificationMerchantReference - */ + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; } - + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData modificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; return this; } - /** + /** * The capture reference included in the transfer. * @return modificationPspReference - **/ + */ @ApiModelProperty(value = "The capture reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationPspReference() { return modificationPspReference; } - - /** - * The capture reference included in the transfer. - * - * @param modificationPspReference - */ + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; } - + /** + * **internal** + * + * @param type + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData type(TypeEnum type) { this.type = type; return this; } - /** + /** * **internal** * @return type - **/ + */ @ApiModelProperty(value = "**internal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **internal** - * - * @param type - */ + /** + * **internal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InternalCategoryData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/InternalReviewTrackingData.java b/src/main/java/com/adyen/model/transfers/InternalReviewTrackingData.java index a134ef37e..efba77fd4 100644 --- a/src/main/java/com/adyen/model/transfers/InternalReviewTrackingData.java +++ b/src/main/java/com/adyen/model/transfers/InternalReviewTrackingData.java @@ -150,96 +150,105 @@ public static TypeEnum fromValue(String value) { public InternalReviewTrackingData() { } + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + * + * @param reason + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData reason(ReasonEnum reason) { this.reason = reason; return this; } - /** - * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). * @return reason - **/ + */ @ApiModelProperty(value = "The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). ") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). - * - * @param reason - */ + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + * + * @param status + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. - * - * @param status - */ + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + * + * @param type + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData type(TypeEnum type) { this.type = type; return this; } - /** - * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. - * - * @param type - */ + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InternalReviewTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/InvalidField.java b/src/main/java/com/adyen/model/transfers/InvalidField.java index 320c3adc4..63136250b 100644 --- a/src/main/java/com/adyen/model/transfers/InvalidField.java +++ b/src/main/java/com/adyen/model/transfers/InvalidField.java @@ -49,96 +49,105 @@ public class InvalidField { public InvalidField() { } + /** + * Description of the validation error. + * + * @param message + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField message(String message) { this.message = message; return this; } - /** + /** * Description of the validation error. * @return message - **/ + */ @ApiModelProperty(required = true, value = "Description of the validation error.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * Description of the validation error. - * - * @param message - */ + /** + * Description of the validation error. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The field that has an invalid value. + * + * @param name + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField name(String name) { this.name = name; return this; } - /** + /** * The field that has an invalid value. * @return name - **/ + */ @ApiModelProperty(required = true, value = "The field that has an invalid value.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The field that has an invalid value. - * - * @param name - */ + /** + * The field that has an invalid value. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The invalid value. + * + * @param value + * @return the current {@code InvalidField} instance, allowing for method chaining + */ public InvalidField value(String value) { this.value = value; return this; } - /** + /** * The invalid value. * @return value - **/ + */ @ApiModelProperty(required = true, value = "The invalid value.") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getValue() { return value; } - - /** - * The invalid value. - * - * @param value - */ + /** + * The invalid value. + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } - /** * Return true if this InvalidField object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/IssuedCard.java b/src/main/java/com/adyen/model/transfers/IssuedCard.java index 6d5e9e507..1f548dd2a 100644 --- a/src/main/java/com/adyen/model/transfers/IssuedCard.java +++ b/src/main/java/com/adyen/model/transfers/IssuedCard.java @@ -198,216 +198,243 @@ public static TypeEnum fromValue(String value) { public IssuedCard() { } + /** + * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** + * + * @param authorisationType + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard authorisationType(String authorisationType) { this.authorisationType = authorisationType; return this; } - /** + /** * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** * @return authorisationType - **/ + */ @ApiModelProperty(value = "The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation**") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationType() { return authorisationType; } - - /** - * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** - * - * @param authorisationType - */ + /** + * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** + * + * @param authorisationType + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationType(String authorisationType) { this.authorisationType = authorisationType; } - + /** + * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. + * + * @param panEntryMode + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard panEntryMode(PanEntryModeEnum panEntryMode) { this.panEntryMode = panEntryMode; return this; } - /** + /** * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. * @return panEntryMode - **/ + */ @ApiModelProperty(value = "Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.") @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PanEntryModeEnum getPanEntryMode() { return panEntryMode; } - - /** - * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. - * - * @param panEntryMode - */ + /** + * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. + * + * @param panEntryMode + */ @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPanEntryMode(PanEntryModeEnum panEntryMode) { this.panEntryMode = panEntryMode; } - + /** + * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. + * + * @param processingType + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** + /** * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. * @return processingType - **/ + */ @ApiModelProperty(value = "Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. - * - * @param processingType - */ + /** + * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * relayedAuthorisationData + * + * @param relayedAuthorisationData + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard relayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) { this.relayedAuthorisationData = relayedAuthorisationData; return this; } - /** - * Get relayedAuthorisationData + /** + * relayedAuthorisationData * @return relayedAuthorisationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RelayedAuthorisationData getRelayedAuthorisationData() { return relayedAuthorisationData; } - - /** - * relayedAuthorisationData - * - * @param relayedAuthorisationData - */ + /** + * relayedAuthorisationData + * + * @param relayedAuthorisationData + */ @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRelayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) { this.relayedAuthorisationData = relayedAuthorisationData; } - + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + * + * @param schemeTraceId + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard schemeTraceId(String schemeTraceId) { this.schemeTraceId = schemeTraceId; return this; } - /** - * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. * @return schemeTraceId - **/ + */ @ApiModelProperty(value = "The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments.") @JsonProperty(JSON_PROPERTY_SCHEME_TRACE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSchemeTraceId() { return schemeTraceId; } - - /** - * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. - * - * @param schemeTraceId - */ + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + * + * @param schemeTraceId + */ @JsonProperty(JSON_PROPERTY_SCHEME_TRACE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeTraceId(String schemeTraceId) { this.schemeTraceId = schemeTraceId; } - + /** + * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. + * + * @param schemeUniqueTransactionId + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard schemeUniqueTransactionId(String schemeUniqueTransactionId) { this.schemeUniqueTransactionId = schemeUniqueTransactionId; return this; } - /** + /** * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. * @return schemeUniqueTransactionId - **/ + */ @ApiModelProperty(value = "The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.") @JsonProperty(JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSchemeUniqueTransactionId() { return schemeUniqueTransactionId; } - - /** - * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. - * - * @param schemeUniqueTransactionId - */ + /** + * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. + * + * @param schemeUniqueTransactionId + */ @JsonProperty(JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeUniqueTransactionId(String schemeUniqueTransactionId) { this.schemeUniqueTransactionId = schemeUniqueTransactionId; } - + /** + * **issuedCard** + * + * @param type + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard type(TypeEnum type) { this.type = type; return this; } - /** + /** * **issuedCard** * @return type - **/ + */ @ApiModelProperty(value = "**issuedCard**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **issuedCard** - * - * @param type - */ + /** + * **issuedCard** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. + * + * @param validationFacts + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard validationFacts(List validationFacts) { this.validationFacts = validationFacts; return this; @@ -421,31 +448,28 @@ public IssuedCard addValidationFactsItem(TransferNotificationValidationFact vali return this; } - /** + /** * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. * @return validationFacts - **/ + */ @ApiModelProperty(value = "The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information.") @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValidationFacts() { return validationFacts; } - - /** - * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. - * - * @param validationFacts - */ + /** + * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. + * + * @param validationFacts + */ @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidationFacts(List validationFacts) { this.validationFacts = validationFacts; } - /** * Return true if this IssuedCard object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Link.java b/src/main/java/com/adyen/model/transfers/Link.java index 619e7d0e4..011fd6a84 100644 --- a/src/main/java/com/adyen/model/transfers/Link.java +++ b/src/main/java/com/adyen/model/transfers/Link.java @@ -41,36 +41,39 @@ public class Link { public Link() { } + /** + * The link to the resource. + * + * @param href + * @return the current {@code Link} instance, allowing for method chaining + */ public Link href(String href) { this.href = href; return this; } - /** + /** * The link to the resource. * @return href - **/ + */ @ApiModelProperty(value = "The link to the resource.") @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getHref() { return href; } - - /** - * The link to the resource. - * - * @param href - */ + /** + * The link to the resource. + * + * @param href + */ @JsonProperty(JSON_PROPERTY_HREF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHref(String href) { this.href = href; } - /** * Return true if this Link object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Links.java b/src/main/java/com/adyen/model/transfers/Links.java index 8716ea05f..206482b10 100644 --- a/src/main/java/com/adyen/model/transfers/Links.java +++ b/src/main/java/com/adyen/model/transfers/Links.java @@ -46,66 +46,72 @@ public class Links { public Links() { } + /** + * next + * + * @param next + * @return the current {@code Links} instance, allowing for method chaining + */ public Links next(Link next) { this.next = next; return this; } - /** - * Get next + /** + * next * @return next - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Link getNext() { return next; } - - /** - * next - * - * @param next - */ + /** + * next + * + * @param next + */ @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNext(Link next) { this.next = next; } - + /** + * prev + * + * @param prev + * @return the current {@code Links} instance, allowing for method chaining + */ public Links prev(Link prev) { this.prev = prev; return this; } - /** - * Get prev + /** + * prev * @return prev - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PREV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Link getPrev() { return prev; } - - /** - * prev - * - * @param prev - */ + /** + * prev + * + * @param prev + */ @JsonProperty(JSON_PROPERTY_PREV) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPrev(Link prev) { this.prev = prev; } - /** * Return true if this Links object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/MerchantData.java b/src/main/java/com/adyen/model/transfers/MerchantData.java index fa91b7ad3..a5aaf644a 100644 --- a/src/main/java/com/adyen/model/transfers/MerchantData.java +++ b/src/main/java/com/adyen/model/transfers/MerchantData.java @@ -58,156 +58,171 @@ public class MerchantData { public MerchantData() { } + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData acquirerId(String acquirerId) { this.acquirerId = acquirerId; return this; } - /** - * The unique identifier of the merchant's acquirer. + /** + * The unique identifier of the merchant's acquirer. * @return acquirerId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant's acquirer.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerId() { return acquirerId; } - - /** - * The unique identifier of the merchant's acquirer. - * - * @param acquirerId - */ + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerId(String acquirerId) { this.acquirerId = acquirerId; } - + /** + * The merchant category code. + * + * @param mcc + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The merchant category code. * @return mcc - **/ + */ @ApiModelProperty(value = "The merchant category code.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The merchant category code. - * - * @param mcc - */ + /** + * The merchant category code. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant identifier. + * + * @param merchantId + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The merchant identifier. * @return merchantId - **/ + */ @ApiModelProperty(value = "The merchant identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The merchant identifier. - * - * @param merchantId - */ + /** + * The merchant identifier. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * nameLocation + * + * @param nameLocation + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData nameLocation(NameLocation nameLocation) { this.nameLocation = nameLocation; return this; } - /** - * Get nameLocation + /** + * nameLocation * @return nameLocation - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NameLocation getNameLocation() { return nameLocation; } - - /** - * nameLocation - * - * @param nameLocation - */ + /** + * nameLocation + * + * @param nameLocation + */ @JsonProperty(JSON_PROPERTY_NAME_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNameLocation(NameLocation nameLocation) { this.nameLocation = nameLocation; } - + /** + * The merchant postal code. + * + * @param postalCode + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The merchant postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The merchant postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The merchant postal code. - * - * @param postalCode - */ + /** + * The merchant postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - /** * Return true if this MerchantData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Modification.java b/src/main/java/com/adyen/model/transfers/Modification.java index 886d23a5f..a23b4d7ef 100644 --- a/src/main/java/com/adyen/model/transfers/Modification.java +++ b/src/main/java/com/adyen/model/transfers/Modification.java @@ -156,6 +156,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -220,156 +222,171 @@ public static StatusEnum fromValue(String value) { public Modification() { } + /** + * The direction of the money movement. + * + * @param direction + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification direction(String direction) { this.direction = direction; return this; } - /** + /** * The direction of the money movement. * @return direction - **/ + */ @ApiModelProperty(value = "The direction of the money movement.") @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDirection() { return direction; } - - /** - * The direction of the money movement. - * - * @param direction - */ + /** + * The direction of the money movement. + * + * @param direction + */ @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirection(String direction) { this.direction = direction; } - + /** + * Our reference for the modification. + * + * @param id + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification id(String id) { this.id = id; return this; } - /** + /** * Our reference for the modification. * @return id - **/ + */ @ApiModelProperty(value = "Our reference for the modification.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Our reference for the modification. - * - * @param id - */ + /** + * Our reference for the modification. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Your reference for the modification, used internally within your platform. + * + * @param reference + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the modification, used internally within your platform. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the modification, used internally within your platform.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the modification, used internally within your platform. - * - * @param reference - */ + /** + * Your reference for the modification, used internally within your platform. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the transfer event. + * + * @param status + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transfer event. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transfer event.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer event. - * - * @param status - */ + /** + * The status of the transfer event. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of transfer modification. + * + * @param type + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification type(String type) { this.type = type; return this; } - /** + /** * The type of transfer modification. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer modification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of transfer modification. - * - * @param type - */ + /** + * The type of transfer modification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this Modification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java index 4ce0f9589..7b0bf9e01 100644 --- a/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NOLocalAccountIdentification() { } + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 11-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 11-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 11-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **noLocal** + * + * @param type + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **noLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**noLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **noLocal** - * - * @param type - */ + /** + * **noLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NOLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java index d8d85156d..d4c3ce836 100644 --- a/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NZLocalAccountIdentification() { } + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. - * - * @param accountNumber - */ + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **nzLocal** + * + * @param type + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **nzLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**nzLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **nzLocal** - * - * @param type - */ + /** + * **nzLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/NameLocation.java b/src/main/java/com/adyen/model/transfers/NameLocation.java index e71656d5b..cc29ec3be 100644 --- a/src/main/java/com/adyen/model/transfers/NameLocation.java +++ b/src/main/java/com/adyen/model/transfers/NameLocation.java @@ -61,186 +61,204 @@ public class NameLocation { public NameLocation() { } + /** + * The city where the merchant is located. + * + * @param city + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation city(String city) { this.city = city; return this; } - /** + /** * The city where the merchant is located. * @return city - **/ + */ @ApiModelProperty(value = "The city where the merchant is located.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city where the merchant is located. - * - * @param city - */ + /** + * The city where the merchant is located. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. + * + * @param country + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation country(String country) { this.country = country; return this; } - /** + /** * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. * @return country - **/ + */ @ApiModelProperty(value = "The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. - * - * @param country - */ + /** + * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. + * + * @param countryOfOrigin + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation countryOfOrigin(String countryOfOrigin) { this.countryOfOrigin = countryOfOrigin; return this; } - /** + /** * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. * @return countryOfOrigin - **/ + */ @ApiModelProperty(value = "The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies.") @JsonProperty(JSON_PROPERTY_COUNTRY_OF_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryOfOrigin() { return countryOfOrigin; } - - /** - * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. - * - * @param countryOfOrigin - */ + /** + * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. + * + * @param countryOfOrigin + */ @JsonProperty(JSON_PROPERTY_COUNTRY_OF_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryOfOrigin(String countryOfOrigin) { this.countryOfOrigin = countryOfOrigin; } - + /** + * The name of the merchant's shop or service. + * + * @param name + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation name(String name) { this.name = name; return this; } - /** - * The name of the merchant's shop or service. + /** + * The name of the merchant's shop or service. * @return name - **/ + */ @ApiModelProperty(value = "The name of the merchant's shop or service.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the merchant's shop or service. - * - * @param name - */ + /** + * The name of the merchant's shop or service. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The raw data. + * + * @param rawData + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation rawData(String rawData) { this.rawData = rawData; return this; } - /** + /** * The raw data. * @return rawData - **/ + */ @ApiModelProperty(value = "The raw data.") @JsonProperty(JSON_PROPERTY_RAW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRawData() { return rawData; } - - /** - * The raw data. - * - * @param rawData - */ + /** + * The raw data. + * + * @param rawData + */ @JsonProperty(JSON_PROPERTY_RAW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRawData(String rawData) { this.rawData = rawData; } - + /** + * The state where the merchant is located. + * + * @param state + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation state(String state) { this.state = state; return this; } - /** + /** * The state where the merchant is located. * @return state - **/ + */ @ApiModelProperty(value = "The state where the merchant is located.") @JsonProperty(JSON_PROPERTY_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getState() { return state; } - - /** - * The state where the merchant is located. - * - * @param state - */ + /** + * The state where the merchant is located. + * + * @param state + */ @JsonProperty(JSON_PROPERTY_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setState(String state) { this.state = state; } - /** * Return true if this NameLocation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java index ad601c857..b84fb047d 100644 --- a/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java @@ -87,126 +87,138 @@ public static TypeEnum fromValue(String value) { public NumberAndBicAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. The length and format depends on the bank or country. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace. The length and format depends on the bank or country.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. The length and format depends on the bank or country. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; return this; } - /** - * Get additionalBankIdentification + /** + * additionalBankIdentification * @return additionalBankIdentification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalBankIdentification getAdditionalBankIdentification() { return additionalBankIdentification; } - - /** - * additionalBankIdentification - * - * @param additionalBankIdentification - */ + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **numberAndBic** + * + * @param type + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **numberAndBic** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**numberAndBic**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **numberAndBic** - * - * @param type - */ + /** + * **numberAndBic** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NumberAndBicAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java index ce26746c0..bcecf1a7d 100644 --- a/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public PLLocalAccountIdentification() { } + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **plLocal** + * + * @param type + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **plLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**plLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **plLocal** - * - * @param type - */ + /** + * **plLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PLLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/PartyIdentification.java b/src/main/java/com/adyen/model/transfers/PartyIdentification.java index 96a35fbbf..366717deb 100644 --- a/src/main/java/com/adyen/model/transfers/PartyIdentification.java +++ b/src/main/java/com/adyen/model/transfers/PartyIdentification.java @@ -104,216 +104,237 @@ public static TypeEnum fromValue(String value) { public PartyIdentification() { } + /** + * address + * + * @param address + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. - * - * @param dateOfBirth - */ + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return firstName - **/ + */ @ApiModelProperty(value = "The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param firstName - */ + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification fullName(String fullName) { this.fullName = fullName; return this; } - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. * @return fullName - **/ + */ @ApiModelProperty(value = "The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**.") @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFullName() { return fullName; } - - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. - * - * @param fullName - */ + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + */ @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullName(String fullName) { this.fullName = fullName; } - + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return lastName - **/ + */ @ApiModelProperty(value = "The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param lastName - */ + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification reference(String reference) { this.reference = reference; return this; } - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. * @return reference - **/ + */ @ApiModelProperty(value = "A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. - * - * @param reference - */ + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification type(TypeEnum type) { this.type = type; return this; } - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. * @return type - **/ + */ @ApiModelProperty(value = "The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. - * - * @param type - */ + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PartyIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/PaymentInstrument.java b/src/main/java/com/adyen/model/transfers/PaymentInstrument.java index a759b9556..d6b85e0a0 100644 --- a/src/main/java/com/adyen/model/transfers/PaymentInstrument.java +++ b/src/main/java/com/adyen/model/transfers/PaymentInstrument.java @@ -53,126 +53,138 @@ public class PaymentInstrument { public PaymentInstrument() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The type of wallet that the network token is associated with. + * + * @param tokenType + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument tokenType(String tokenType) { this.tokenType = tokenType; return this; } - /** + /** * The type of wallet that the network token is associated with. * @return tokenType - **/ + */ @ApiModelProperty(value = "The type of wallet that the network token is associated with.") @JsonProperty(JSON_PROPERTY_TOKEN_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenType() { return tokenType; } - - /** - * The type of wallet that the network token is associated with. - * - * @param tokenType - */ + /** + * The type of wallet that the network token is associated with. + * + * @param tokenType + */ @JsonProperty(JSON_PROPERTY_TOKEN_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenType(String tokenType) { this.tokenType = tokenType; } - /** * Return true if this PaymentInstrument object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/PlatformPayment.java b/src/main/java/com/adyen/model/transfers/PlatformPayment.java index 075e5b390..f1df4a8ee 100644 --- a/src/main/java/com/adyen/model/transfers/PlatformPayment.java +++ b/src/main/java/com/adyen/model/transfers/PlatformPayment.java @@ -155,186 +155,204 @@ public static TypeEnum fromValue(String value) { public PlatformPayment() { } + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment modificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; return this; } - /** - * The capture's merchant reference included in the transfer. + /** + * The capture's merchant reference included in the transfer. * @return modificationMerchantReference - **/ + */ @ApiModelProperty(value = "The capture's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationMerchantReference() { return modificationMerchantReference; } - - /** - * The capture's merchant reference included in the transfer. - * - * @param modificationMerchantReference - */ + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; } - + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment modificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; return this; } - /** + /** * The capture reference included in the transfer. * @return modificationPspReference - **/ + */ @ApiModelProperty(value = "The capture reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationPspReference() { return modificationPspReference; } - - /** - * The capture reference included in the transfer. - * - * @param modificationPspReference - */ + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; } - + /** + * The payment's merchant reference included in the transfer. + * + * @param paymentMerchantReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment paymentMerchantReference(String paymentMerchantReference) { this.paymentMerchantReference = paymentMerchantReference; return this; } - /** - * The payment's merchant reference included in the transfer. + /** + * The payment's merchant reference included in the transfer. * @return paymentMerchantReference - **/ + */ @ApiModelProperty(value = "The payment's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMerchantReference() { return paymentMerchantReference; } - - /** - * The payment's merchant reference included in the transfer. - * - * @param paymentMerchantReference - */ + /** + * The payment's merchant reference included in the transfer. + * + * @param paymentMerchantReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMerchantReference(String paymentMerchantReference) { this.paymentMerchantReference = paymentMerchantReference; } - + /** + * The type of the related split. + * + * @param platformPaymentType + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment platformPaymentType(PlatformPaymentTypeEnum platformPaymentType) { this.platformPaymentType = platformPaymentType; return this; } - /** + /** * The type of the related split. * @return platformPaymentType - **/ + */ @ApiModelProperty(value = "The type of the related split.") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentTypeEnum getPlatformPaymentType() { return platformPaymentType; } - - /** - * The type of the related split. - * - * @param platformPaymentType - */ + /** + * The type of the related split. + * + * @param platformPaymentType + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentType(PlatformPaymentTypeEnum platformPaymentType) { this.platformPaymentType = platformPaymentType; } - + /** + * The payment reference included in the transfer. + * + * @param pspPaymentReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment pspPaymentReference(String pspPaymentReference) { this.pspPaymentReference = pspPaymentReference; return this; } - /** + /** * The payment reference included in the transfer. * @return pspPaymentReference - **/ + */ @ApiModelProperty(value = "The payment reference included in the transfer.") @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspPaymentReference() { return pspPaymentReference; } - - /** - * The payment reference included in the transfer. - * - * @param pspPaymentReference - */ + /** + * The payment reference included in the transfer. + * + * @param pspPaymentReference + */ @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspPaymentReference(String pspPaymentReference) { this.pspPaymentReference = pspPaymentReference; } - + /** + * **platformPayment** + * + * @param type + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment type(TypeEnum type) { this.type = type; return this; } - /** + /** * **platformPayment** * @return type - **/ + */ @ApiModelProperty(value = "**platformPayment**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **platformPayment** - * - * @param type - */ + /** + * **platformPayment** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PlatformPayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/RelayedAuthorisationData.java b/src/main/java/com/adyen/model/transfers/RelayedAuthorisationData.java index a1839f7b4..3665d1998 100644 --- a/src/main/java/com/adyen/model/transfers/RelayedAuthorisationData.java +++ b/src/main/java/com/adyen/model/transfers/RelayedAuthorisationData.java @@ -48,6 +48,12 @@ public class RelayedAuthorisationData { public RelayedAuthorisationData() { } + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + * + * @param metadata + * @return the current {@code RelayedAuthorisationData} instance, allowing for method chaining + */ public RelayedAuthorisationData metadata(Map metadata) { this.metadata = metadata; return this; @@ -61,61 +67,61 @@ public RelayedAuthorisationData putMetadataItem(String key, String metadataItem) return this; } - /** - * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. * @return metadata - **/ + */ @ApiModelProperty(value = "Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. - * - * @param metadata - */ + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * Your reference for the relayed authorisation data. + * + * @param reference + * @return the current {@code RelayedAuthorisationData} instance, allowing for method chaining + */ public RelayedAuthorisationData reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the relayed authorisation data. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the relayed authorisation data.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the relayed authorisation data. - * - * @param reference - */ + /** + * Your reference for the relayed authorisation data. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this RelayedAuthorisationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Repayment.java b/src/main/java/com/adyen/model/transfers/Repayment.java index 8431db3cc..471ab7c53 100644 --- a/src/main/java/com/adyen/model/transfers/Repayment.java +++ b/src/main/java/com/adyen/model/transfers/Repayment.java @@ -51,96 +51,105 @@ public class Repayment { public Repayment() { } + /** + * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). + * + * @param basisPoints + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment basisPoints(Integer basisPoints) { this.basisPoints = basisPoints; return this; } - /** + /** * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). * @return basisPoints - **/ + */ @ApiModelProperty(required = true, value = "The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).") @JsonProperty(JSON_PROPERTY_BASIS_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasisPoints() { return basisPoints; } - - /** - * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). - * - * @param basisPoints - */ + /** + * The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). + * + * @param basisPoints + */ @JsonProperty(JSON_PROPERTY_BASIS_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasisPoints(Integer basisPoints) { this.basisPoints = basisPoints; } - + /** + * term + * + * @param term + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment term(RepaymentTerm term) { this.term = term; return this; } - /** - * Get term + /** + * term * @return term - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TERM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RepaymentTerm getTerm() { return term; } - - /** - * term - * - * @param term - */ + /** + * term + * + * @param term + */ @JsonProperty(JSON_PROPERTY_TERM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTerm(RepaymentTerm term) { this.term = term; } - + /** + * threshold + * + * @param threshold + * @return the current {@code Repayment} instance, allowing for method chaining + */ public Repayment threshold(ThresholdRepayment threshold) { this.threshold = threshold; return this; } - /** - * Get threshold + /** + * threshold * @return threshold - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_THRESHOLD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ThresholdRepayment getThreshold() { return threshold; } - - /** - * threshold - * - * @param threshold - */ + /** + * threshold + * + * @param threshold + */ @JsonProperty(JSON_PROPERTY_THRESHOLD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThreshold(ThresholdRepayment threshold) { this.threshold = threshold; } - /** * Return true if this Repayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/RepaymentTerm.java b/src/main/java/com/adyen/model/transfers/RepaymentTerm.java index d14b93921..2937caa97 100644 --- a/src/main/java/com/adyen/model/transfers/RepaymentTerm.java +++ b/src/main/java/com/adyen/model/transfers/RepaymentTerm.java @@ -45,66 +45,72 @@ public class RepaymentTerm { public RepaymentTerm() { } + /** + * The estimated term for repaying the grant, in days. + * + * @param estimatedDays + * @return the current {@code RepaymentTerm} instance, allowing for method chaining + */ public RepaymentTerm estimatedDays(Integer estimatedDays) { this.estimatedDays = estimatedDays; return this; } - /** + /** * The estimated term for repaying the grant, in days. * @return estimatedDays - **/ + */ @ApiModelProperty(required = true, value = "The estimated term for repaying the grant, in days.") @JsonProperty(JSON_PROPERTY_ESTIMATED_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getEstimatedDays() { return estimatedDays; } - - /** - * The estimated term for repaying the grant, in days. - * - * @param estimatedDays - */ + /** + * The estimated term for repaying the grant, in days. + * + * @param estimatedDays + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedDays(Integer estimatedDays) { this.estimatedDays = estimatedDays; } - + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + * + * @param maximumDays + * @return the current {@code RepaymentTerm} instance, allowing for method chaining + */ public RepaymentTerm maximumDays(Integer maximumDays) { this.maximumDays = maximumDays; return this; } - /** - * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. * @return maximumDays - **/ + */ @ApiModelProperty(value = "The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**.") @JsonProperty(JSON_PROPERTY_MAXIMUM_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMaximumDays() { return maximumDays; } - - /** - * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. - * - * @param maximumDays - */ + /** + * The maximum term for repaying the grant, in days. Only applies when `contractType` is **loan**. + * + * @param maximumDays + */ @JsonProperty(JSON_PROPERTY_MAXIMUM_DAYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaximumDays(Integer maximumDays) { this.maximumDays = maximumDays; } - /** * Return true if this RepaymentTerm object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ResourceReference.java b/src/main/java/com/adyen/model/transfers/ResourceReference.java index b7fac8687..1f80072d6 100644 --- a/src/main/java/com/adyen/model/transfers/ResourceReference.java +++ b/src/main/java/com/adyen/model/transfers/ResourceReference.java @@ -49,96 +49,105 @@ public class ResourceReference { public ResourceReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this ResourceReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/RestServiceError.java b/src/main/java/com/adyen/model/transfers/RestServiceError.java index 1272773f0..9143971e0 100644 --- a/src/main/java/com/adyen/model/transfers/RestServiceError.java +++ b/src/main/java/com/adyen/model/transfers/RestServiceError.java @@ -76,96 +76,111 @@ public class RestServiceError { public RestServiceError() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(required = true, value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * A code that identifies the problem type. + * + * @param errorCode + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * A code that identifies the problem type. * @return errorCode - **/ + */ @ApiModelProperty(required = true, value = "A code that identifies the problem type.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * A code that identifies the problem type. - * - * @param errorCode - */ + /** + * A code that identifies the problem type. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError instance(String instance) { this.instance = instance; return this; } - /** + /** * A unique URI that identifies the specific occurrence of the problem. * @return instance - **/ + */ @ApiModelProperty(value = "A unique URI that identifies the specific occurrence of the problem.") @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstance() { return instance; } - - /** - * A unique URI that identifies the specific occurrence of the problem. - * - * @param instance - */ + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + */ @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstance(String instance) { this.instance = instance; } - + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError invalidFields(List invalidFields) { this.invalidFields = invalidFields; return this; @@ -179,181 +194,193 @@ public RestServiceError addInvalidFieldsItem(InvalidField invalidFieldsItem) { return this; } - /** + /** * Detailed explanation of each validation error, when applicable. * @return invalidFields - **/ + */ @ApiModelProperty(value = "Detailed explanation of each validation error, when applicable.") @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInvalidFields() { return invalidFields; } - - /** - * Detailed explanation of each validation error, when applicable. - * - * @param invalidFields - */ + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + */ @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvalidFields(List invalidFields) { this.invalidFields = invalidFields; } - + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError requestId(String requestId) { this.requestId = requestId; return this; } - /** - * A unique reference for the request, essentially the same as `pspReference`. + /** + * A unique reference for the request, essentially the same as `pspReference`. * @return requestId - **/ + */ @ApiModelProperty(value = "A unique reference for the request, essentially the same as `pspReference`.") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * A unique reference for the request, essentially the same as `pspReference`. - * - * @param requestId - */ + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * response + * + * @param response + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError response(Object response) { this.response = response; return this; } - /** - * Get response + /** + * response * @return response - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getResponse() { return response; } - - /** - * response - * - * @param response - */ + /** + * response + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(Object response) { this.response = response; } - + /** + * The HTTP status code. + * + * @param status + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP status code. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The HTTP status code.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP status code. - * - * @param status - */ + /** + * The HTTP status code. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(required = true, value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + * @return the current {@code RestServiceError} instance, allowing for method chaining + */ public RestServiceError type(String type) { this.type = type; return this; } - /** + /** * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. * @return type - **/ + */ @ApiModelProperty(required = true, value = "A URI that identifies the problem type, pointing to human-readable documentation on this problem type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. - * - * @param type - */ + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this RestServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ReturnTransferRequest.java b/src/main/java/com/adyen/model/transfers/ReturnTransferRequest.java index 04137768f..c5003ce54 100644 --- a/src/main/java/com/adyen/model/transfers/ReturnTransferRequest.java +++ b/src/main/java/com/adyen/model/transfers/ReturnTransferRequest.java @@ -46,66 +46,72 @@ public class ReturnTransferRequest { public ReturnTransferRequest() { } + /** + * amount + * + * @param amount + * @return the current {@code ReturnTransferRequest} instance, allowing for method chaining + */ public ReturnTransferRequest amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). + * + * @param reference + * @return the current {@code ReturnTransferRequest} instance, allowing for method chaining + */ public ReturnTransferRequest reference(String reference) { this.reference = reference; return this; } - /** - * Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). + /** + * Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). * @return reference - **/ + */ @ApiModelProperty(value = "Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). ") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). - * - * @param reference - */ + /** + * Your internal reference for the return. If you don't provide this in the request, Adyen generates a unique reference. This reference is used in all communication with you about the instruction status. We recommend using a unique value per instruction. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this ReturnTransferRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ReturnTransferResponse.java b/src/main/java/com/adyen/model/transfers/ReturnTransferResponse.java index b4bbfdb2e..4f40a38c2 100644 --- a/src/main/java/com/adyen/model/transfers/ReturnTransferResponse.java +++ b/src/main/java/com/adyen/model/transfers/ReturnTransferResponse.java @@ -88,126 +88,138 @@ public static StatusEnum fromValue(String value) { public ReturnTransferResponse() { } + /** + * The unique identifier of the return. + * + * @param id + * @return the current {@code ReturnTransferResponse} instance, allowing for method chaining + */ public ReturnTransferResponse id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the return. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the return.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the return. - * - * @param id - */ + /** + * The unique identifier of the return. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Your internal reference for the return. + * + * @param reference + * @return the current {@code ReturnTransferResponse} instance, allowing for method chaining + */ public ReturnTransferResponse reference(String reference) { this.reference = reference; return this; } - /** + /** * Your internal reference for the return. * @return reference - **/ + */ @ApiModelProperty(value = "Your internal reference for the return.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your internal reference for the return. - * - * @param reference - */ + /** + * Your internal reference for the return. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The resulting status of the return. Possible values: **Authorised**, **Declined**. + * + * @param status + * @return the current {@code ReturnTransferResponse} instance, allowing for method chaining + */ public ReturnTransferResponse status(StatusEnum status) { this.status = status; return this; } - /** + /** * The resulting status of the return. Possible values: **Authorised**, **Declined**. * @return status - **/ + */ @ApiModelProperty(value = "The resulting status of the return. Possible values: **Authorised**, **Declined**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The resulting status of the return. Possible values: **Authorised**, **Declined**. - * - * @param status - */ + /** + * The resulting status of the return. Possible values: **Authorised**, **Declined**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The unique identifier of the original transfer. + * + * @param transferId + * @return the current {@code ReturnTransferResponse} instance, allowing for method chaining + */ public ReturnTransferResponse transferId(String transferId) { this.transferId = transferId; return this; } - /** + /** * The unique identifier of the original transfer. * @return transferId - **/ + */ @ApiModelProperty(value = "The unique identifier of the original transfer.") @JsonProperty(JSON_PROPERTY_TRANSFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferId() { return transferId; } - - /** - * The unique identifier of the original transfer. - * - * @param transferId - */ + /** + * The unique identifier of the original transfer. + * + * @param transferId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferId(String transferId) { this.transferId = transferId; } - /** * Return true if this ReturnTransferResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/RoutingDetails.java b/src/main/java/com/adyen/model/transfers/RoutingDetails.java index c9923a03e..9c6d6ef79 100644 --- a/src/main/java/com/adyen/model/transfers/RoutingDetails.java +++ b/src/main/java/com/adyen/model/transfers/RoutingDetails.java @@ -96,126 +96,138 @@ public static PriorityEnum fromValue(String value) { public RoutingDetails() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code RoutingDetails} instance, allowing for method chaining + */ public RoutingDetails detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * A code that identifies the problem type. + * + * @param errorCode + * @return the current {@code RoutingDetails} instance, allowing for method chaining + */ public RoutingDetails errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * A code that identifies the problem type. * @return errorCode - **/ + */ @ApiModelProperty(value = "A code that identifies the problem type.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * A code that identifies the problem type. - * - * @param errorCode - */ + /** + * A code that identifies the problem type. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + * @return the current {@code RoutingDetails} instance, allowing for method chaining + */ public RoutingDetails priority(PriorityEnum priority) { this.priority = priority; return this; } - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priority - **/ + */ @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priority - */ + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code RoutingDetails} instance, allowing for method chaining + */ public RoutingDetails title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - /** * Return true if this RoutingDetails object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java index a8594a9b0..fc6ebedfc 100644 --- a/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SELocalAccountIdentification() { } + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. - * - * @param accountNumber - */ + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification clearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; return this; } - /** + /** * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. * @return clearingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingNumber() { return clearingNumber; } - - /** - * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. - * - * @param clearingNumber - */ + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + */ @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; } - + /** + * **seLocal** + * + * @param type + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **seLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**seLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **seLocal** - * - * @param type - */ + /** + * **seLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SELocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java index e166cdfea..4688175d8 100644 --- a/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SGLocalAccountIdentification() { } + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4- to 19-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 19-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4- to 19-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **sgLocal** + * + * @param type + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **sgLocal** * @return type - **/ + */ @ApiModelProperty(value = "**sgLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **sgLocal** - * - * @param type - */ + /** + * **sgLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SGLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ServiceError.java b/src/main/java/com/adyen/model/transfers/ServiceError.java index e69f22424..531bab08d 100644 --- a/src/main/java/com/adyen/model/transfers/ServiceError.java +++ b/src/main/java/com/adyen/model/transfers/ServiceError.java @@ -57,156 +57,171 @@ public class ServiceError { public ServiceError() { } + /** + * The error code mapped to the error message. + * + * @param errorCode + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * The error code mapped to the error message. * @return errorCode - **/ + */ @ApiModelProperty(value = "The error code mapped to the error message.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * The error code mapped to the error message. - * - * @param errorCode - */ + /** + * The error code mapped to the error message. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * The category of the error. + * + * @param errorType + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError errorType(String errorType) { this.errorType = errorType; return this; } - /** + /** * The category of the error. * @return errorType - **/ + */ @ApiModelProperty(value = "The category of the error.") @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorType() { return errorType; } - - /** - * The category of the error. - * - * @param errorType - */ + /** + * The category of the error. + * + * @param errorType + */ @JsonProperty(JSON_PROPERTY_ERROR_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorType(String errorType) { this.errorType = errorType; } - + /** + * A short explanation of the issue. + * + * @param message + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError message(String message) { this.message = message; return this; } - /** + /** * A short explanation of the issue. * @return message - **/ + */ @ApiModelProperty(value = "A short explanation of the issue.") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } - - /** - * A short explanation of the issue. - * - * @param message - */ + /** + * A short explanation of the issue. + * + * @param message + */ @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMessage(String message) { this.message = message; } - + /** + * The PSP reference of the payment. + * + * @param pspReference + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError pspReference(String pspReference) { this.pspReference = pspReference; return this; } - /** + /** * The PSP reference of the payment. * @return pspReference - **/ + */ @ApiModelProperty(value = "The PSP reference of the payment.") @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspReference() { return pspReference; } - - /** - * The PSP reference of the payment. - * - * @param pspReference - */ + /** + * The PSP reference of the payment. + * + * @param pspReference + */ @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspReference(String pspReference) { this.pspReference = pspReference; } - + /** + * The HTTP response status. + * + * @param status + * @return the current {@code ServiceError} instance, allowing for method chaining + */ public ServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP response status. * @return status - **/ + */ @ApiModelProperty(value = "The HTTP response status.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP response status. - * - * @param status - */ + /** + * The HTTP response status. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - /** * Return true if this ServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/ThresholdRepayment.java b/src/main/java/com/adyen/model/transfers/ThresholdRepayment.java index 2eaa83971..5b9d01d57 100644 --- a/src/main/java/com/adyen/model/transfers/ThresholdRepayment.java +++ b/src/main/java/com/adyen/model/transfers/ThresholdRepayment.java @@ -42,36 +42,39 @@ public class ThresholdRepayment { public ThresholdRepayment() { } + /** + * amount + * + * @param amount + * @return the current {@code ThresholdRepayment} instance, allowing for method chaining + */ public ThresholdRepayment amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - /** * Return true if this ThresholdRepayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Transaction.java b/src/main/java/com/adyen/model/transfers/Transaction.java index 6dcc0a844..a6c6c09f3 100644 --- a/src/main/java/com/adyen/model/transfers/Transaction.java +++ b/src/main/java/com/adyen/model/transfers/Transaction.java @@ -129,396 +129,435 @@ public static StatusEnum fromValue(String value) { public Transaction() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * amount + * + * @param amount + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date the transaction was booked into the balance account. + * + * @param bookingDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction bookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; return this; } - /** + /** * The date the transaction was booked into the balance account. * @return bookingDate - **/ + */ @ApiModelProperty(required = true, value = "The date the transaction was booked into the balance account.") @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getBookingDate() { return bookingDate; } - - /** - * The date the transaction was booked into the balance account. - * - * @param bookingDate - */ + /** + * The date the transaction was booked into the balance account. + * + * @param bookingDate + */ @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The `description` from the `/transfers` request. + * + * @param description + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction description(String description) { this.description = description; return this; } - /** - * The `description` from the `/transfers` request. + /** + * The `description` from the `/transfers` request. * @return description - **/ + */ @ApiModelProperty(value = "The `description` from the `/transfers` request.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The `description` from the `/transfers` request. - * - * @param description - */ + /** + * The `description` from the `/transfers` request. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the transaction. + * + * @param id + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transaction. * @return id - **/ + */ @ApiModelProperty(required = true, value = "The unique identifier of the transaction.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transaction. - * - * @param id - */ + /** + * The unique identifier of the transaction. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * paymentInstrument + * + * @param paymentInstrument + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction paymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; return this; } - /** - * Get paymentInstrument + /** + * paymentInstrument * @return paymentInstrument - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrument getPaymentInstrument() { return paymentInstrument; } - - /** - * paymentInstrument - * - * @param paymentInstrument - */ + /** + * paymentInstrument + * + * @param paymentInstrument + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; } - + /** + * The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender. + * + * @param referenceForBeneficiary + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** - * The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender. + /** + * The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = "The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender. - * - * @param referenceForBeneficiary - */ + /** + * The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } - + /** + * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. + * + * @param status + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. - * - * @param status - */ + /** + * The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * transfer + * + * @param transfer + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction transfer(TransferView transfer) { this.transfer = transfer; return this; } - /** - * Get transfer + /** + * transfer * @return transfer - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSFER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferView getTransfer() { return transfer; } - - /** - * transfer - * - * @param transfer - */ + /** + * transfer + * + * @param transfer + */ @JsonProperty(JSON_PROPERTY_TRANSFER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransfer(TransferView transfer) { this.transfer = transfer; } - + /** + * The date the transfer amount becomes available in the balance account. + * + * @param valueDate + * @return the current {@code Transaction} instance, allowing for method chaining + */ public Transaction valueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; return this; } - /** + /** * The date the transfer amount becomes available in the balance account. * @return valueDate - **/ + */ @ApiModelProperty(required = true, value = "The date the transfer amount becomes available in the balance account.") @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValueDate() { return valueDate; } - - /** - * The date the transfer amount becomes available in the balance account. - * - * @param valueDate - */ + /** + * The date the transfer amount becomes available in the balance account. + * + * @param valueDate + */ @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; } - /** * Return true if this Transaction object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransactionEventViolation.java b/src/main/java/com/adyen/model/transfers/TransactionEventViolation.java index 294cc7fdc..489f999fb 100644 --- a/src/main/java/com/adyen/model/transfers/TransactionEventViolation.java +++ b/src/main/java/com/adyen/model/transfers/TransactionEventViolation.java @@ -51,96 +51,105 @@ public class TransactionEventViolation { public TransactionEventViolation() { } + /** + * An explanation about why the transaction rule failed. + * + * @param reason + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation reason(String reason) { this.reason = reason; return this; } - /** + /** * An explanation about why the transaction rule failed. * @return reason - **/ + */ @ApiModelProperty(value = "An explanation about why the transaction rule failed.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReason() { return reason; } - - /** - * An explanation about why the transaction rule failed. - * - * @param reason - */ + /** + * An explanation about why the transaction rule failed. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(String reason) { this.reason = reason; } - + /** + * transactionRule + * + * @param transactionRule + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation transactionRule(TransactionRuleReference transactionRule) { this.transactionRule = transactionRule; return this; } - /** - * Get transactionRule + /** + * transactionRule * @return transactionRule - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleReference getTransactionRule() { return transactionRule; } - - /** - * transactionRule - * - * @param transactionRule - */ + /** + * transactionRule + * + * @param transactionRule + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRule(TransactionRuleReference transactionRule) { this.transactionRule = transactionRule; } - + /** + * transactionRuleSource + * + * @param transactionRuleSource + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation transactionRuleSource(TransactionRuleSource transactionRuleSource) { this.transactionRuleSource = transactionRuleSource; return this; } - /** - * Get transactionRuleSource + /** + * transactionRuleSource * @return transactionRuleSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleSource getTransactionRuleSource() { return transactionRuleSource; } - - /** - * transactionRuleSource - * - * @param transactionRuleSource - */ + /** + * transactionRuleSource + * + * @param transactionRuleSource + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRuleSource(TransactionRuleSource transactionRuleSource) { this.transactionRuleSource = transactionRuleSource; } - /** * Return true if this TransactionEventViolation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransactionRuleReference.java b/src/main/java/com/adyen/model/transfers/TransactionRuleReference.java index 7bae69859..6ea7a66b9 100644 --- a/src/main/java/com/adyen/model/transfers/TransactionRuleReference.java +++ b/src/main/java/com/adyen/model/transfers/TransactionRuleReference.java @@ -57,156 +57,171 @@ public class TransactionRuleReference { public TransactionRuleReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The outcome type of the rule. + * + * @param outcomeType + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference outcomeType(String outcomeType) { this.outcomeType = outcomeType; return this; } - /** + /** * The outcome type of the rule. * @return outcomeType - **/ + */ @ApiModelProperty(value = "The outcome type of the rule.") @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOutcomeType() { return outcomeType; } - - /** - * The outcome type of the rule. - * - * @param outcomeType - */ + /** + * The outcome type of the rule. + * + * @param outcomeType + */ @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOutcomeType(String outcomeType) { this.outcomeType = outcomeType; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The score of the rule in case it's a scoreBased rule. + * + * @param score + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference score(Integer score) { this.score = score; return this; } - /** - * The score of the rule in case it's a scoreBased rule. + /** + * The score of the rule in case it's a scoreBased rule. * @return score - **/ + */ @ApiModelProperty(value = "The score of the rule in case it's a scoreBased rule.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * The score of the rule in case it's a scoreBased rule. - * - * @param score - */ + /** + * The score of the rule in case it's a scoreBased rule. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - /** * Return true if this TransactionRuleReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransactionRuleSource.java b/src/main/java/com/adyen/model/transfers/TransactionRuleSource.java index 02c5c09d0..f0824d6a0 100644 --- a/src/main/java/com/adyen/model/transfers/TransactionRuleSource.java +++ b/src/main/java/com/adyen/model/transfers/TransactionRuleSource.java @@ -45,66 +45,72 @@ public class TransactionRuleSource { public TransactionRuleSource() { } + /** + * ID of the resource, when applicable. + * + * @param id + * @return the current {@code TransactionRuleSource} instance, allowing for method chaining + */ public TransactionRuleSource id(String id) { this.id = id; return this; } - /** + /** * ID of the resource, when applicable. * @return id - **/ + */ @ApiModelProperty(value = "ID of the resource, when applicable.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * ID of the resource, when applicable. - * - * @param id - */ + /** + * ID of the resource, when applicable. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + * + * @param type + * @return the current {@code TransactionRuleSource} instance, allowing for method chaining + */ public TransactionRuleSource type(String type) { this.type = type; return this; } - /** + /** * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. * @return type - **/ + */ @ApiModelProperty(value = "Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. - * - * @param type - */ + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TransactionRuleSource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransactionRulesResult.java b/src/main/java/com/adyen/model/transfers/TransactionRulesResult.java index 55af09404..a35b23453 100644 --- a/src/main/java/com/adyen/model/transfers/TransactionRulesResult.java +++ b/src/main/java/com/adyen/model/transfers/TransactionRulesResult.java @@ -56,96 +56,111 @@ public class TransactionRulesResult { public TransactionRulesResult() { } + /** + * The advice given by the Risk analysis. + * + * @param advice + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult advice(String advice) { this.advice = advice; return this; } - /** + /** * The advice given by the Risk analysis. * @return advice - **/ + */ @ApiModelProperty(value = "The advice given by the Risk analysis.") @JsonProperty(JSON_PROPERTY_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAdvice() { return advice; } - - /** - * The advice given by the Risk analysis. - * - * @param advice - */ + /** + * The advice given by the Risk analysis. + * + * @param advice + */ @JsonProperty(JSON_PROPERTY_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdvice(String advice) { this.advice = advice; } - + /** + * Indicates whether the transaction passed the evaluation for all hardblock rules + * + * @param allHardBlockRulesPassed + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult allHardBlockRulesPassed(Boolean allHardBlockRulesPassed) { this.allHardBlockRulesPassed = allHardBlockRulesPassed; return this; } - /** + /** * Indicates whether the transaction passed the evaluation for all hardblock rules * @return allHardBlockRulesPassed - **/ + */ @ApiModelProperty(value = "Indicates whether the transaction passed the evaluation for all hardblock rules") @JsonProperty(JSON_PROPERTY_ALL_HARD_BLOCK_RULES_PASSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllHardBlockRulesPassed() { return allHardBlockRulesPassed; } - - /** - * Indicates whether the transaction passed the evaluation for all hardblock rules - * - * @param allHardBlockRulesPassed - */ + /** + * Indicates whether the transaction passed the evaluation for all hardblock rules + * + * @param allHardBlockRulesPassed + */ @JsonProperty(JSON_PROPERTY_ALL_HARD_BLOCK_RULES_PASSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllHardBlockRulesPassed(Boolean allHardBlockRulesPassed) { this.allHardBlockRulesPassed = allHardBlockRulesPassed; } - + /** + * The score of the Risk analysis. + * + * @param score + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult score(Integer score) { this.score = score; return this; } - /** + /** * The score of the Risk analysis. * @return score - **/ + */ @ApiModelProperty(value = "The score of the Risk analysis.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * The score of the Risk analysis. - * - * @param score - */ + /** + * The score of the Risk analysis. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - + /** + * Array containing all the transaction rules that the transaction triggered. + * + * @param triggeredTransactionRules + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult triggeredTransactionRules(List triggeredTransactionRules) { this.triggeredTransactionRules = triggeredTransactionRules; return this; @@ -159,31 +174,28 @@ public TransactionRulesResult addTriggeredTransactionRulesItem(TransactionEventV return this; } - /** + /** * Array containing all the transaction rules that the transaction triggered. * @return triggeredTransactionRules - **/ + */ @ApiModelProperty(value = "Array containing all the transaction rules that the transaction triggered.") @JsonProperty(JSON_PROPERTY_TRIGGERED_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTriggeredTransactionRules() { return triggeredTransactionRules; } - - /** - * Array containing all the transaction rules that the transaction triggered. - * - * @param triggeredTransactionRules - */ + /** + * Array containing all the transaction rules that the transaction triggered. + * + * @param triggeredTransactionRules + */ @JsonProperty(JSON_PROPERTY_TRIGGERED_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggeredTransactionRules(List triggeredTransactionRules) { this.triggeredTransactionRules = triggeredTransactionRules; } - /** * Return true if this TransactionRulesResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransactionSearchResponse.java b/src/main/java/com/adyen/model/transfers/TransactionSearchResponse.java index b48c0d041..a307678c1 100644 --- a/src/main/java/com/adyen/model/transfers/TransactionSearchResponse.java +++ b/src/main/java/com/adyen/model/transfers/TransactionSearchResponse.java @@ -49,36 +49,45 @@ public class TransactionSearchResponse { public TransactionSearchResponse() { } + /** + * links + * + * @param links + * @return the current {@code TransactionSearchResponse} instance, allowing for method chaining + */ public TransactionSearchResponse links(Links links) { this.links = links; return this; } - /** - * Get links + /** + * links * @return links - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Links getLinks() { return links; } - - /** - * links - * - * @param links - */ + /** + * links + * + * @param links + */ @JsonProperty(JSON_PROPERTY_LINKS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLinks(Links links) { this.links = links; } - + /** + * Contains the transactions that match the query parameters. + * + * @param data + * @return the current {@code TransactionSearchResponse} instance, allowing for method chaining + */ public TransactionSearchResponse data(List data) { this.data = data; return this; @@ -92,31 +101,28 @@ public TransactionSearchResponse addDataItem(Transaction dataItem) { return this; } - /** + /** * Contains the transactions that match the query parameters. * @return data - **/ + */ @ApiModelProperty(value = "Contains the transactions that match the query parameters.") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { return data; } - - /** - * Contains the transactions that match the query parameters. - * - * @param data - */ + /** + * Contains the transactions that match the query parameters. + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(List data) { this.data = data; } - /** * Return true if this TransactionSearchResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/Transfer.java b/src/main/java/com/adyen/model/transfers/Transfer.java index b693be310..d20a5feb0 100644 --- a/src/main/java/com/adyen/model/transfers/Transfer.java +++ b/src/main/java/com/adyen/model/transfers/Transfer.java @@ -18,9 +18,11 @@ import java.util.HashMap; import com.adyen.model.transfers.Amount; import com.adyen.model.transfers.CounterpartyV3; +import com.adyen.model.transfers.DirectDebitInformation; import com.adyen.model.transfers.PaymentInstrument; import com.adyen.model.transfers.ResourceReference; import com.adyen.model.transfers.TransferCategoryData; +import com.adyen.model.transfers.TransferReview; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -45,12 +47,14 @@ Transfer.JSON_PROPERTY_COUNTERPARTY, Transfer.JSON_PROPERTY_CREATION_DATE, Transfer.JSON_PROPERTY_DESCRIPTION, + Transfer.JSON_PROPERTY_DIRECT_DEBIT_INFORMATION, Transfer.JSON_PROPERTY_DIRECTION, Transfer.JSON_PROPERTY_ID, Transfer.JSON_PROPERTY_PAYMENT_INSTRUMENT, Transfer.JSON_PROPERTY_REASON, Transfer.JSON_PROPERTY_REFERENCE, Transfer.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY, + Transfer.JSON_PROPERTY_REVIEW, Transfer.JSON_PROPERTY_STATUS, Transfer.JSON_PROPERTY_TYPE }) @@ -121,6 +125,9 @@ public static CategoryEnum fromValue(String value) { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; + public static final String JSON_PROPERTY_DIRECT_DEBIT_INFORMATION = "directDebitInformation"; + private DirectDebitInformation directDebitInformation; + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. */ @@ -169,6 +176,8 @@ public static DirectionEnum fromValue(String value) { * Additional information about the status of the transfer. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -191,18 +200,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -241,6 +256,9 @@ public static ReasonEnum fromValue(String value) { public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY = "referenceForBeneficiary"; private String referenceForBeneficiary; + public static final String JSON_PROPERTY_REVIEW = "review"; + private TransferReview review; + /** * The result of the transfer. For example, **authorised**, **refused**, or **error**. */ @@ -349,6 +367,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -520,486 +540,600 @@ public static TypeEnum fromValue(String value) { public Transfer() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * amount + * + * @param amount + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. * @return category - **/ + */ @ApiModelProperty(required = true, value = "The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - * - * @param category - */ + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * categoryData + * + * @param categoryData + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer categoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; return this; } - /** - * Get categoryData + /** + * categoryData * @return categoryData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferCategoryData getCategoryData() { return categoryData; } - - /** - * categoryData - * - * @param categoryData - */ + /** + * categoryData + * + * @param categoryData + */ @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer counterparty(CounterpartyV3 counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CounterpartyV3 getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(CounterpartyV3 counterparty) { this.counterparty = counterparty; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer description(String description) { this.description = description; return this; } - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** * @return description - **/ + */ @ApiModelProperty(value = "Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** - * - * @param description - */ + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } + /** + * directDebitInformation + * + * @param directDebitInformation + * @return the current {@code Transfer} instance, allowing for method chaining + */ + public Transfer directDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + return this; + } + + /** + * directDebitInformation + * @return directDebitInformation + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public DirectDebitInformation getDirectDebitInformation() { + return directDebitInformation; + } + + /** + * directDebitInformation + * + * @param directDebitInformation + */ + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirectDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + } + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer direction(DirectionEnum direction) { this.direction = direction; return this; } - /** + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. * @return direction - **/ + */ @ApiModelProperty(value = "The direction of the transfer. Possible values: **incoming**, **outgoing**.") @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DirectionEnum getDirection() { return direction; } - - /** - * The direction of the transfer. Possible values: **incoming**, **outgoing**. - * - * @param direction - */ + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + */ @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirection(DirectionEnum direction) { this.direction = direction; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * paymentInstrument + * + * @param paymentInstrument + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer paymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; return this; } - /** - * Get paymentInstrument + /** + * paymentInstrument * @return paymentInstrument - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrument getPaymentInstrument() { return paymentInstrument; } - - /** - * paymentInstrument - * - * @param paymentInstrument - */ + /** + * paymentInstrument + * + * @param paymentInstrument + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; } - + /** + * Additional information about the status of the transfer. + * + * @param reason + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * Additional information about the status of the transfer. * @return reason - **/ + */ @ApiModelProperty(value = "Additional information about the status of the transfer.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * Additional information about the status of the transfer. - * - * @param reason - */ + /** + * Additional information about the status of the transfer. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer reference(String reference) { this.reference = reference; return this; } - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. - * - * @param reference - */ + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = " A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. - * - * @param referenceForBeneficiary - */ + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } + /** + * review + * + * @param review + * @return the current {@code Transfer} instance, allowing for method chaining + */ + public Transfer review(TransferReview review) { + this.review = review; + return this; + } + + /** + * review + * @return review + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TransferReview getReview() { + return review; + } + + /** + * review + * + * @param review + */ + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReview(TransferReview review) { + this.review = review; + } + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer status(StatusEnum status) { this.status = status; return this; } - /** + /** * The result of the transfer. For example, **authorised**, **refused**, or **error**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The result of the transfer. For example, **authorised**, **refused**, or **error**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The result of the transfer. For example, **authorised**, **refused**, or **error**. - * - * @param status - */ + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + * @return the current {@code Transfer} instance, allowing for method chaining + */ public Transfer type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. - * - * @param type - */ + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this Transfer object is equal to o. */ @@ -1020,19 +1154,21 @@ public boolean equals(Object o) { Objects.equals(this.counterparty, transfer.counterparty) && Objects.equals(this.creationDate, transfer.creationDate) && Objects.equals(this.description, transfer.description) && + Objects.equals(this.directDebitInformation, transfer.directDebitInformation) && Objects.equals(this.direction, transfer.direction) && Objects.equals(this.id, transfer.id) && Objects.equals(this.paymentInstrument, transfer.paymentInstrument) && Objects.equals(this.reason, transfer.reason) && Objects.equals(this.reference, transfer.reference) && Objects.equals(this.referenceForBeneficiary, transfer.referenceForBeneficiary) && + Objects.equals(this.review, transfer.review) && Objects.equals(this.status, transfer.status) && Objects.equals(this.type, transfer.type); } @Override public int hashCode() { - return Objects.hash(accountHolder, amount, balanceAccount, category, categoryData, counterparty, creationDate, description, direction, id, paymentInstrument, reason, reference, referenceForBeneficiary, status, type); + return Objects.hash(accountHolder, amount, balanceAccount, category, categoryData, counterparty, creationDate, description, directDebitInformation, direction, id, paymentInstrument, reason, reference, referenceForBeneficiary, review, status, type); } @Override @@ -1047,12 +1183,14 @@ public String toString() { sb.append(" counterparty: ").append(toIndentedString(counterparty)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" directDebitInformation: ").append(toIndentedString(directDebitInformation)).append("\n"); sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n"); sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n"); + sb.append(" review: ").append(toIndentedString(review)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/transfers/TransferData.java b/src/main/java/com/adyen/model/transfers/TransferData.java index 92d10281f..406796987 100644 --- a/src/main/java/com/adyen/model/transfers/TransferData.java +++ b/src/main/java/com/adyen/model/transfers/TransferData.java @@ -18,6 +18,7 @@ import java.util.HashMap; import com.adyen.model.transfers.Amount; import com.adyen.model.transfers.BalanceMutation; +import com.adyen.model.transfers.DirectDebitInformation; import com.adyen.model.transfers.PaymentInstrument; import com.adyen.model.transfers.ResourceReference; import com.adyen.model.transfers.TransactionRulesResult; @@ -25,6 +26,7 @@ import com.adyen.model.transfers.TransferDataTracking; import com.adyen.model.transfers.TransferEvent; import com.adyen.model.transfers.TransferNotificationCounterParty; +import com.adyen.model.transfers.TransferReview; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -53,6 +55,7 @@ TransferData.JSON_PROPERTY_COUNTERPARTY, TransferData.JSON_PROPERTY_CREATION_DATE, TransferData.JSON_PROPERTY_DESCRIPTION, + TransferData.JSON_PROPERTY_DIRECT_DEBIT_INFORMATION, TransferData.JSON_PROPERTY_DIRECTION, TransferData.JSON_PROPERTY_EVENTS, TransferData.JSON_PROPERTY_ID, @@ -60,6 +63,7 @@ TransferData.JSON_PROPERTY_REASON, TransferData.JSON_PROPERTY_REFERENCE, TransferData.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY, + TransferData.JSON_PROPERTY_REVIEW, TransferData.JSON_PROPERTY_SEQUENCE_NUMBER, TransferData.JSON_PROPERTY_STATUS, TransferData.JSON_PROPERTY_TRACKING, @@ -139,6 +143,9 @@ public static CategoryEnum fromValue(String value) { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; + public static final String JSON_PROPERTY_DIRECT_DEBIT_INFORMATION = "directDebitInformation"; + private DirectDebitInformation directDebitInformation; + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. */ @@ -190,6 +197,8 @@ public static DirectionEnum fromValue(String value) { * Additional information about the status of the transfer. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -212,18 +221,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -262,6 +277,9 @@ public static ReasonEnum fromValue(String value) { public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY = "referenceForBeneficiary"; private String referenceForBeneficiary; + public static final String JSON_PROPERTY_REVIEW = "review"; + private TransferReview review; + public static final String JSON_PROPERTY_SEQUENCE_NUMBER = "sequenceNumber"; private Integer sequenceNumber; @@ -373,6 +391,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -550,126 +570,144 @@ public static TypeEnum fromValue(String value) { public TransferData() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * amount + * + * @param amount + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The list of the latest balance statuses in the transfer. + * + * @param balances + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balances(List balances) { this.balances = balances; return this; @@ -683,211 +721,265 @@ public TransferData addBalancesItem(BalanceMutation balancesItem) { return this; } - /** + /** * The list of the latest balance statuses in the transfer. * @return balances - **/ + */ @ApiModelProperty(value = "The list of the latest balance statuses in the transfer.") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalances() { return balances; } - - /** - * The list of the latest balance statuses in the transfer. - * - * @param balances - */ + /** + * The list of the latest balance statuses in the transfer. + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(List balances) { this.balances = balances; } - + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. * @return category - **/ + */ @ApiModelProperty(required = true, value = "The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - * - * @param category - */ + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * categoryData + * + * @param categoryData + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData categoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; return this; } - /** - * Get categoryData + /** + * categoryData * @return categoryData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferCategoryData getCategoryData() { return categoryData; } - - /** - * categoryData - * - * @param categoryData - */ + /** + * categoryData + * + * @param categoryData + */ @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData counterparty(TransferNotificationCounterParty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferNotificationCounterParty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(TransferNotificationCounterParty counterparty) { this.counterparty = counterparty; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData description(String description) { this.description = description; return this; } - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** * @return description - **/ + */ @ApiModelProperty(value = "Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** - * - * @param description - */ + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } + /** + * directDebitInformation + * + * @param directDebitInformation + * @return the current {@code TransferData} instance, allowing for method chaining + */ + public TransferData directDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + return this; + } + /** + * directDebitInformation + * @return directDebitInformation + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public DirectDebitInformation getDirectDebitInformation() { + return directDebitInformation; + } + + /** + * directDebitInformation + * + * @param directDebitInformation + */ + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirectDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + } + + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData direction(DirectionEnum direction) { this.direction = direction; return this; } - /** + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. * @return direction - **/ + */ @ApiModelProperty(value = "The direction of the transfer. Possible values: **incoming**, **outgoing**.") @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DirectionEnum getDirection() { return direction; } - - /** - * The direction of the transfer. Possible values: **incoming**, **outgoing**. - * - * @param direction - */ + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + */ @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirection(DirectionEnum direction) { this.direction = direction; } - + /** + * The list of events leading up to the current status of the transfer. + * + * @param events + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData events(List events) { this.events = events; return this; @@ -901,331 +993,391 @@ public TransferData addEventsItem(TransferEvent eventsItem) { return this; } - /** + /** * The list of events leading up to the current status of the transfer. * @return events - **/ + */ @ApiModelProperty(value = "The list of events leading up to the current status of the transfer.") @JsonProperty(JSON_PROPERTY_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEvents() { return events; } - - /** - * The list of events leading up to the current status of the transfer. - * - * @param events - */ + /** + * The list of events leading up to the current status of the transfer. + * + * @param events + */ @JsonProperty(JSON_PROPERTY_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEvents(List events) { this.events = events; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * paymentInstrument + * + * @param paymentInstrument + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData paymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; return this; } - /** - * Get paymentInstrument + /** + * paymentInstrument * @return paymentInstrument - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrument getPaymentInstrument() { return paymentInstrument; } - - /** - * paymentInstrument - * - * @param paymentInstrument - */ + /** + * paymentInstrument + * + * @param paymentInstrument + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; } - + /** + * Additional information about the status of the transfer. + * + * @param reason + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * Additional information about the status of the transfer. * @return reason - **/ + */ @ApiModelProperty(value = "Additional information about the status of the transfer.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * Additional information about the status of the transfer. - * - * @param reason - */ + /** + * Additional information about the status of the transfer. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData reference(String reference) { this.reference = reference; return this; } - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. - * - * @param reference - */ + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = " A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. - * - * @param referenceForBeneficiary - */ + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } + /** + * review + * + * @param review + * @return the current {@code TransferData} instance, allowing for method chaining + */ + public TransferData review(TransferReview review) { + this.review = review; + return this; + } + + /** + * review + * @return review + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TransferReview getReview() { + return review; + } + /** + * review + * + * @param review + */ + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReview(TransferReview review) { + this.review = review; + } + + /** + * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. + * + * @param sequenceNumber + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData sequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; return this; } - /** + /** * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. * @return sequenceNumber - **/ + */ @ApiModelProperty(value = "The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order.") @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSequenceNumber() { return sequenceNumber; } - - /** - * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. - * - * @param sequenceNumber - */ + /** + * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. + * + * @param sequenceNumber + */ @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; } - + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData status(StatusEnum status) { this.status = status; return this; } - /** + /** * The result of the transfer. For example, **authorised**, **refused**, or **error**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The result of the transfer. For example, **authorised**, **refused**, or **error**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The result of the transfer. For example, **authorised**, **refused**, or **error**. - * - * @param status - */ + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * tracking + * + * @param tracking + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData tracking(TransferDataTracking tracking) { this.tracking = tracking; return this; } - /** - * Get tracking + /** + * tracking * @return tracking - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRACKING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferDataTracking getTracking() { return tracking; } - - /** - * tracking - * - * @param tracking - */ + /** + * tracking + * + * @param tracking + */ @JsonProperty(JSON_PROPERTY_TRACKING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTracking(TransferDataTracking tracking) { this.tracking = tracking; } - + /** + * transactionRulesResult + * + * @param transactionRulesResult + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData transactionRulesResult(TransactionRulesResult transactionRulesResult) { this.transactionRulesResult = transactionRulesResult; return this; } - /** - * Get transactionRulesResult + /** + * transactionRulesResult * @return transactionRulesResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRulesResult getTransactionRulesResult() { return transactionRulesResult; } - - /** - * transactionRulesResult - * - * @param transactionRulesResult - */ + /** + * transactionRulesResult + * + * @param transactionRulesResult + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRulesResult(TransactionRulesResult transactionRulesResult) { this.transactionRulesResult = transactionRulesResult; } - + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. - * - * @param type - */ + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransferData object is equal to o. */ @@ -1248,6 +1400,7 @@ public boolean equals(Object o) { Objects.equals(this.counterparty, transferData.counterparty) && Objects.equals(this.creationDate, transferData.creationDate) && Objects.equals(this.description, transferData.description) && + Objects.equals(this.directDebitInformation, transferData.directDebitInformation) && Objects.equals(this.direction, transferData.direction) && Objects.equals(this.events, transferData.events) && Objects.equals(this.id, transferData.id) && @@ -1255,6 +1408,7 @@ public boolean equals(Object o) { Objects.equals(this.reason, transferData.reason) && Objects.equals(this.reference, transferData.reference) && Objects.equals(this.referenceForBeneficiary, transferData.referenceForBeneficiary) && + Objects.equals(this.review, transferData.review) && Objects.equals(this.sequenceNumber, transferData.sequenceNumber) && Objects.equals(this.status, transferData.status) && Objects.equals(this.tracking, transferData.tracking) && @@ -1264,7 +1418,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountHolder, amount, balanceAccount, balancePlatform, balances, category, categoryData, counterparty, creationDate, description, direction, events, id, paymentInstrument, reason, reference, referenceForBeneficiary, sequenceNumber, status, tracking, transactionRulesResult, type); + return Objects.hash(accountHolder, amount, balanceAccount, balancePlatform, balances, category, categoryData, counterparty, creationDate, description, directDebitInformation, direction, events, id, paymentInstrument, reason, reference, referenceForBeneficiary, review, sequenceNumber, status, tracking, transactionRulesResult, type); } @Override @@ -1281,6 +1435,7 @@ public String toString() { sb.append(" counterparty: ").append(toIndentedString(counterparty)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" directDebitInformation: ").append(toIndentedString(directDebitInformation)).append("\n"); sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); sb.append(" events: ").append(toIndentedString(events)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); @@ -1288,6 +1443,7 @@ public String toString() { sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n"); + sb.append(" review: ").append(toIndentedString(review)).append("\n"); sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" tracking: ").append(toIndentedString(tracking)).append("\n"); diff --git a/src/main/java/com/adyen/model/transfers/TransferEvent.java b/src/main/java/com/adyen/model/transfers/TransferEvent.java index d02ed56cb..da4d911e0 100644 --- a/src/main/java/com/adyen/model/transfers/TransferEvent.java +++ b/src/main/java/com/adyen/model/transfers/TransferEvent.java @@ -94,6 +94,8 @@ public class TransferEvent { * The reason for the transfer status. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -116,18 +118,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -268,6 +276,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -379,36 +389,45 @@ public static TypeEnum fromValue(String value) { public TransferEvent() { } + /** + * amount + * + * @param amount + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The amount adjustments in this transfer. + * + * @param amountAdjustments + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent amountAdjustments(List amountAdjustments) { this.amountAdjustments = amountAdjustments; return this; @@ -422,211 +441,232 @@ public TransferEvent addAmountAdjustmentsItem(AmountAdjustment amountAdjustments return this; } - /** + /** * The amount adjustments in this transfer. * @return amountAdjustments - **/ + */ @ApiModelProperty(value = "The amount adjustments in this transfer.") @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAmountAdjustments() { return amountAdjustments; } - - /** - * The amount adjustments in this transfer. - * - * @param amountAdjustments - */ + /** + * The amount adjustments in this transfer. + * + * @param amountAdjustments + */ @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountAdjustments(List amountAdjustments) { this.amountAdjustments = amountAdjustments; } - + /** + * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. + * + * @param arn + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent arn(String arn) { this.arn = arn; return this; } - /** + /** * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. * @return arn - **/ + */ @ApiModelProperty(value = "Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc.") @JsonProperty(JSON_PROPERTY_ARN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getArn() { return arn; } - - /** - * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. - * - * @param arn - */ + /** + * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. + * + * @param arn + */ @JsonProperty(JSON_PROPERTY_ARN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setArn(String arn) { this.arn = arn; } - + /** + * The date when the transfer request was sent. + * + * @param bookingDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent bookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; return this; } - /** + /** * The date when the transfer request was sent. * @return bookingDate - **/ + */ @ApiModelProperty(value = "The date when the transfer request was sent.") @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getBookingDate() { return bookingDate; } - - /** - * The date when the transfer request was sent. - * - * @param bookingDate - */ + /** + * The date when the transfer request was sent. + * + * @param bookingDate + */ @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; } - + /** + * The estimated time when the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent estimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; return this; } - /** + /** * The estimated time when the beneficiary should have access to the funds. * @return estimatedArrivalTime - **/ + */ @ApiModelProperty(value = "The estimated time when the beneficiary should have access to the funds.") @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEstimatedArrivalTime() { return estimatedArrivalTime; } - - /** - * The estimated time when the beneficiary should have access to the funds. - * - * @param estimatedArrivalTime - */ + /** + * The estimated time when the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; } - + /** + * externalReason + * + * @param externalReason + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent externalReason(ExternalReason externalReason) { this.externalReason = externalReason; return this; } - /** - * Get externalReason + /** + * externalReason * @return externalReason - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXTERNAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExternalReason getExternalReason() { return externalReason; } - - /** - * externalReason - * - * @param externalReason - */ + /** + * externalReason + * + * @param externalReason + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReason(ExternalReason externalReason) { this.externalReason = externalReason; } - + /** + * The unique identifier of the transfer event. + * + * @param id + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transfer event. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the transfer event.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transfer event. - * - * @param id - */ + /** + * The unique identifier of the transfer event. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * modification + * + * @param modification + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent modification(Modification modification) { this.modification = modification; return this; } - /** - * Get modification + /** + * modification * @return modification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Modification getModification() { return modification; } - - /** - * modification - * - * @param modification - */ + /** + * modification + * + * @param modification + */ @JsonProperty(JSON_PROPERTY_MODIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModification(Modification modification) { this.modification = modification; } - + /** + * The list of balance mutations per event. + * + * @param mutations + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent mutations(List mutations) { this.mutations = mutations; return this; @@ -640,271 +680,292 @@ public TransferEvent addMutationsItem(BalanceMutation mutationsItem) { return this; } - /** + /** * The list of balance mutations per event. * @return mutations - **/ + */ @ApiModelProperty(value = "The list of balance mutations per event.") @JsonProperty(JSON_PROPERTY_MUTATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMutations() { return mutations; } - - /** - * The list of balance mutations per event. - * - * @param mutations - */ + /** + * The list of balance mutations per event. + * + * @param mutations + */ @JsonProperty(JSON_PROPERTY_MUTATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMutations(List mutations) { this.mutations = mutations; } - + /** + * originalAmount + * + * @param originalAmount + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent originalAmount(Amount originalAmount) { this.originalAmount = originalAmount; return this; } - /** - * Get originalAmount + /** + * originalAmount * @return originalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getOriginalAmount() { return originalAmount; } - - /** - * originalAmount - * - * @param originalAmount - */ + /** + * originalAmount + * + * @param originalAmount + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalAmount(Amount originalAmount) { this.originalAmount = originalAmount; } - + /** + * The reason for the transfer status. + * + * @param reason + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for the transfer status. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for the transfer status.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for the transfer status. - * - * @param reason - */ + /** + * The reason for the transfer status. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * The status of the transfer event. + * + * @param status + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transfer event. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transfer event.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer event. - * - * @param status - */ + /** + * The status of the transfer event. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * trackingData + * + * @param trackingData + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent trackingData(TransferEventTrackingData trackingData) { this.trackingData = trackingData; return this; } - /** - * Get trackingData + /** + * trackingData * @return trackingData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRACKING_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferEventTrackingData getTrackingData() { return trackingData; } - - /** - * trackingData - * - * @param trackingData - */ + /** + * trackingData + * + * @param trackingData + */ @JsonProperty(JSON_PROPERTY_TRACKING_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingData(TransferEventTrackingData trackingData) { this.trackingData = trackingData; } - + /** + * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. + * + * @param transactionId + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** + /** * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. * @return transactionId - **/ + */ @ApiModelProperty(value = "The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes.") @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransactionId() { return transactionId; } - - /** - * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. - * - * @param transactionId - */ + /** + * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. + * + * @param transactionId + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionId(String transactionId) { this.transactionId = transactionId; } - + /** + * The type of the transfer event. Possible values: **accounting**, **tracking**. + * + * @param type + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the transfer event. Possible values: **accounting**, **tracking**. * @return type - **/ + */ @ApiModelProperty(value = "The type of the transfer event. Possible values: **accounting**, **tracking**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the transfer event. Possible values: **accounting**, **tracking**. - * - * @param type - */ + /** + * The type of the transfer event. Possible values: **accounting**, **tracking**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The date when the tracking status was updated. + * + * @param updateDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent updateDate(OffsetDateTime updateDate) { this.updateDate = updateDate; return this; } - /** + /** * The date when the tracking status was updated. * @return updateDate - **/ + */ @ApiModelProperty(value = "The date when the tracking status was updated.") @JsonProperty(JSON_PROPERTY_UPDATE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getUpdateDate() { return updateDate; } - - /** - * The date when the tracking status was updated. - * - * @param updateDate - */ + /** + * The date when the tracking status was updated. + * + * @param updateDate + */ @JsonProperty(JSON_PROPERTY_UPDATE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdateDate(OffsetDateTime updateDate) { this.updateDate = updateDate; } - + /** + * A future date, when the funds are expected to be deducted from or credited to the balance account. + * + * @param valueDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent valueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; return this; } - /** + /** * A future date, when the funds are expected to be deducted from or credited to the balance account. * @return valueDate - **/ + */ @ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.") @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValueDate() { return valueDate; } - - /** - * A future date, when the funds are expected to be deducted from or credited to the balance account. - * - * @param valueDate - */ + /** + * A future date, when the funds are expected to be deducted from or credited to the balance account. + * + * @param valueDate + */ @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; } - /** * Return true if this TransferEvent object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransferInfo.java b/src/main/java/com/adyen/model/transfers/TransferInfo.java index e17838a6f..aa8308385 100644 --- a/src/main/java/com/adyen/model/transfers/TransferInfo.java +++ b/src/main/java/com/adyen/model/transfers/TransferInfo.java @@ -18,6 +18,7 @@ import java.util.HashMap; import com.adyen.model.transfers.Amount; import com.adyen.model.transfers.CounterpartyInfoV3; +import com.adyen.model.transfers.TransferRequestReview; import com.adyen.model.transfers.UltimatePartyIdentification; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; @@ -46,6 +47,7 @@ TransferInfo.JSON_PROPERTY_PRIORITY, TransferInfo.JSON_PROPERTY_REFERENCE, TransferInfo.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY, + TransferInfo.JSON_PROPERTY_REVIEW, TransferInfo.JSON_PROPERTY_TYPE, TransferInfo.JSON_PROPERTY_ULTIMATE_PARTY }) @@ -208,6 +210,9 @@ public static PriorityEnum fromValue(String value) { public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY = "referenceForBeneficiary"; private String referenceForBeneficiary; + public static final String JSON_PROPERTY_REVIEW = "review"; + private TransferRequestReview review; + /** * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. */ @@ -254,186 +259,210 @@ public static TypeEnum fromValue(String value) { public TransferInfo() { } + /** + * amount + * + * @param amount + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. + * + * @param balanceAccountId + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. - * - * @param balanceAccountId - */ + /** + * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. * @return category - **/ + */ @ApiModelProperty(required = true, value = "The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - * - * @param category - */ + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo counterparty(CounterpartyInfoV3 counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CounterpartyInfoV3 getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(CounterpartyInfoV3 counterparty) { this.counterparty = counterparty; } - + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo description(String description) { this.description = description; return this; } - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** * @return description - **/ + */ @ApiModelProperty(value = "Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** - * - * @param description - */ + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. + * + * @param paymentInstrumentId + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } - /** + /** * The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. * @return paymentInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentInstrumentId() { return paymentInstrumentId; } - - /** - * The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. - * - * @param paymentInstrumentId - */ + /** + * The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account. + * + * @param paymentInstrumentId + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities). + * + * @param priorities + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo priorities(List priorities) { this.priorities = priorities; return this; @@ -447,181 +476,226 @@ public TransferInfo addPrioritiesItem(PrioritiesEnum prioritiesItem) { return this; } - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities). + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities). * @return priorities - **/ + */ @ApiModelProperty(value = " The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities).") @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getPriorities() { return priorities; } - - /** - * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities). - * - * @param priorities - */ + /** + * The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities). + * + * @param priorities + */ @JsonProperty(JSON_PROPERTY_PRIORITIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriorities(List priorities) { this.priorities = priorities; } - + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo priority(PriorityEnum priority) { this.priority = priority; return this; } - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priority - **/ + */ @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priority - */ + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo reference(String reference) { this.reference = reference; return this; } - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. - * - * @param reference - */ + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = " A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. - * - * @param referenceForBeneficiary - */ + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } + /** + * review + * + * @param review + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ + public TransferInfo review(TransferRequestReview review) { + this.review = review; + return this; + } + + /** + * review + * @return review + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TransferRequestReview getReview() { + return review; + } + + /** + * review + * + * @param review + */ + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReview(TransferRequestReview review) { + this.review = review; + } + /** + * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. + * + * @param type + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo type(TypeEnum type) { this.type = type; return this; } - /** - * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. + /** + * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. ") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. - * - * @param type - */ + /** + * The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * ultimateParty + * + * @param ultimateParty + * @return the current {@code TransferInfo} instance, allowing for method chaining + */ public TransferInfo ultimateParty(UltimatePartyIdentification ultimateParty) { this.ultimateParty = ultimateParty; return this; } - /** - * Get ultimateParty + /** + * ultimateParty * @return ultimateParty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ULTIMATE_PARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UltimatePartyIdentification getUltimateParty() { return ultimateParty; } - - /** - * ultimateParty - * - * @param ultimateParty - */ + /** + * ultimateParty + * + * @param ultimateParty + */ @JsonProperty(JSON_PROPERTY_ULTIMATE_PARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUltimateParty(UltimatePartyIdentification ultimateParty) { this.ultimateParty = ultimateParty; } - /** * Return true if this TransferInfo object is equal to o. */ @@ -644,13 +718,14 @@ public boolean equals(Object o) { Objects.equals(this.priority, transferInfo.priority) && Objects.equals(this.reference, transferInfo.reference) && Objects.equals(this.referenceForBeneficiary, transferInfo.referenceForBeneficiary) && + Objects.equals(this.review, transferInfo.review) && Objects.equals(this.type, transferInfo.type) && Objects.equals(this.ultimateParty, transferInfo.ultimateParty); } @Override public int hashCode() { - return Objects.hash(amount, balanceAccountId, category, counterparty, description, paymentInstrumentId, priorities, priority, reference, referenceForBeneficiary, type, ultimateParty); + return Objects.hash(amount, balanceAccountId, category, counterparty, description, paymentInstrumentId, priorities, priority, reference, referenceForBeneficiary, review, type, ultimateParty); } @Override @@ -667,6 +742,7 @@ public String toString() { sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n"); + sb.append(" review: ").append(toIndentedString(review)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" ultimateParty: ").append(toIndentedString(ultimateParty)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/transfers/TransferNotificationCounterParty.java b/src/main/java/com/adyen/model/transfers/TransferNotificationCounterParty.java index 51dfe7be7..b55bd664b 100644 --- a/src/main/java/com/adyen/model/transfers/TransferNotificationCounterParty.java +++ b/src/main/java/com/adyen/model/transfers/TransferNotificationCounterParty.java @@ -60,156 +60,171 @@ public class TransferNotificationCounterParty { public TransferNotificationCounterParty() { } + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). - * - * @param balanceAccountId - */ + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty bankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3 getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * merchant + * + * @param merchant + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty merchant(TransferNotificationMerchantData merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferNotificationMerchantData getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(TransferNotificationMerchantData merchant) { this.merchant = merchant; } - + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this TransferNotificationCounterParty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransferNotificationMerchantData.java b/src/main/java/com/adyen/model/transfers/TransferNotificationMerchantData.java index 67c34dcd0..6c91b1101 100644 --- a/src/main/java/com/adyen/model/transfers/TransferNotificationMerchantData.java +++ b/src/main/java/com/adyen/model/transfers/TransferNotificationMerchantData.java @@ -65,216 +65,237 @@ public class TransferNotificationMerchantData { public TransferNotificationMerchantData() { } + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData acquirerId(String acquirerId) { this.acquirerId = acquirerId; return this; } - /** - * The unique identifier of the merchant's acquirer. + /** + * The unique identifier of the merchant's acquirer. * @return acquirerId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant's acquirer.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerId() { return acquirerId; } - - /** - * The unique identifier of the merchant's acquirer. - * - * @param acquirerId - */ + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerId(String acquirerId) { this.acquirerId = acquirerId; } - + /** + * The city where the merchant is located. + * + * @param city + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData city(String city) { this.city = city; return this; } - /** + /** * The city where the merchant is located. * @return city - **/ + */ @ApiModelProperty(value = "The city where the merchant is located.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city where the merchant is located. - * - * @param city - */ + /** + * The city where the merchant is located. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The country where the merchant is located. + * + * @param country + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData country(String country) { this.country = country; return this; } - /** + /** * The country where the merchant is located. * @return country - **/ + */ @ApiModelProperty(value = "The country where the merchant is located.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The country where the merchant is located. - * - * @param country - */ + /** + * The country where the merchant is located. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The merchant category code. + * + * @param mcc + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The merchant category code. * @return mcc - **/ + */ @ApiModelProperty(value = "The merchant category code.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The merchant category code. - * - * @param mcc - */ + /** + * The merchant category code. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant identifier. + * + * @param merchantId + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The merchant identifier. * @return merchantId - **/ + */ @ApiModelProperty(value = "The merchant identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The merchant identifier. - * - * @param merchantId - */ + /** + * The merchant identifier. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The name of the merchant's shop or service. + * + * @param name + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData name(String name) { this.name = name; return this; } - /** - * The name of the merchant's shop or service. + /** + * The name of the merchant's shop or service. * @return name - **/ + */ @ApiModelProperty(value = "The name of the merchant's shop or service.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the merchant's shop or service. - * - * @param name - */ + /** + * The name of the merchant's shop or service. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The merchant postal code. + * + * @param postalCode + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The merchant postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The merchant postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The merchant postal code. - * - * @param postalCode - */ + /** + * The merchant postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - /** * Return true if this TransferNotificationMerchantData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransferNotificationValidationFact.java b/src/main/java/com/adyen/model/transfers/TransferNotificationValidationFact.java index b34555d3e..be572189d 100644 --- a/src/main/java/com/adyen/model/transfers/TransferNotificationValidationFact.java +++ b/src/main/java/com/adyen/model/transfers/TransferNotificationValidationFact.java @@ -45,66 +45,72 @@ public class TransferNotificationValidationFact { public TransferNotificationValidationFact() { } + /** + * The evaluation result of the validation fact. + * + * @param result + * @return the current {@code TransferNotificationValidationFact} instance, allowing for method chaining + */ public TransferNotificationValidationFact result(String result) { this.result = result; return this; } - /** + /** * The evaluation result of the validation fact. * @return result - **/ + */ @ApiModelProperty(value = "The evaluation result of the validation fact.") @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResult() { return result; } - - /** - * The evaluation result of the validation fact. - * - * @param result - */ + /** + * The evaluation result of the validation fact. + * + * @param result + */ @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResult(String result) { this.result = result; } - + /** + * The type of the validation fact. + * + * @param type + * @return the current {@code TransferNotificationValidationFact} instance, allowing for method chaining + */ public TransferNotificationValidationFact type(String type) { this.type = type; return this; } - /** + /** * The type of the validation fact. * @return type - **/ + */ @ApiModelProperty(value = "The type of the validation fact.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of the validation fact. - * - * @param type - */ + /** + * The type of the validation fact. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TransferNotificationValidationFact object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransferRequestReview.java b/src/main/java/com/adyen/model/transfers/TransferRequestReview.java new file mode 100644 index 000000000..38d923c35 --- /dev/null +++ b/src/main/java/com/adyen/model/transfers/TransferRequestReview.java @@ -0,0 +1,175 @@ +/* + * Transfers API + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transfers; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * TransferRequestReview + */ +@JsonPropertyOrder({ + TransferRequestReview.JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED, + TransferRequestReview.JSON_PROPERTY_SCA_ON_APPROVAL +}) + +public class TransferRequestReview { + public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED = "numberOfApprovalsRequired"; + private Integer numberOfApprovalsRequired; + + public static final String JSON_PROPERTY_SCA_ON_APPROVAL = "scaOnApproval"; + private Boolean scaOnApproval; + + public TransferRequestReview() { + } + + /** + * Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + * @return the current {@code TransferRequestReview} instance, allowing for method chaining + */ + public TransferRequestReview numberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + return this; + } + + /** + * Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * @return numberOfApprovalsRequired + */ + @ApiModelProperty(value = "Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.") + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getNumberOfApprovalsRequired() { + return numberOfApprovalsRequired; + } + + /** + * Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + */ + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + } + + /** + * Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts). + * + * @param scaOnApproval + * @return the current {@code TransferRequestReview} instance, allowing for method chaining + */ + public TransferRequestReview scaOnApproval(Boolean scaOnApproval) { + this.scaOnApproval = scaOnApproval; + return this; + } + + /** + * Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts). + * @return scaOnApproval + */ + @ApiModelProperty(value = "Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts).") + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getScaOnApproval() { + return scaOnApproval; + } + + /** + * Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts). + * + * @param scaOnApproval + */ + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setScaOnApproval(Boolean scaOnApproval) { + this.scaOnApproval = scaOnApproval; + } + + /** + * Return true if this TransferRequestReview object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TransferRequestReview transferRequestReview = (TransferRequestReview) o; + return Objects.equals(this.numberOfApprovalsRequired, transferRequestReview.numberOfApprovalsRequired) && + Objects.equals(this.scaOnApproval, transferRequestReview.scaOnApproval); + } + + @Override + public int hashCode() { + return Objects.hash(numberOfApprovalsRequired, scaOnApproval); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TransferRequestReview {\n"); + sb.append(" numberOfApprovalsRequired: ").append(toIndentedString(numberOfApprovalsRequired)).append("\n"); + sb.append(" scaOnApproval: ").append(toIndentedString(scaOnApproval)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of TransferRequestReview given an JSON string + * + * @param jsonString JSON string + * @return An instance of TransferRequestReview + * @throws JsonProcessingException if the JSON string is invalid with respect to TransferRequestReview + */ + public static TransferRequestReview fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, TransferRequestReview.class); + } +/** + * Convert an instance of TransferRequestReview to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transfers/TransferReview.java b/src/main/java/com/adyen/model/transfers/TransferReview.java new file mode 100644 index 000000000..973112d69 --- /dev/null +++ b/src/main/java/com/adyen/model/transfers/TransferReview.java @@ -0,0 +1,251 @@ +/* + * Transfers API + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transfers; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * TransferReview + */ +@JsonPropertyOrder({ + TransferReview.JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED, + TransferReview.JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED, + TransferReview.JSON_PROPERTY_SCA_ON_APPROVAL +}) + +public class TransferReview { + public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED = "numberOfApprovalsCompleted"; + private Integer numberOfApprovalsCompleted; + + public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED = "numberOfApprovalsRequired"; + private Integer numberOfApprovalsRequired; + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + */ + public enum ScaOnApprovalEnum { + COMPLETED("completed"), + + NOTAPPLICABLE("notApplicable"), + + REQUIRED("required"); + + private String value; + + ScaOnApprovalEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ScaOnApprovalEnum fromValue(String value) { + for (ScaOnApprovalEnum b : ScaOnApprovalEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_SCA_ON_APPROVAL = "scaOnApproval"; + private ScaOnApprovalEnum scaOnApproval; + + public TransferReview() { + } + + /** + * Shows the number of approvals completed for the transfer. + * + * @param numberOfApprovalsCompleted + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview numberOfApprovalsCompleted(Integer numberOfApprovalsCompleted) { + this.numberOfApprovalsCompleted = numberOfApprovalsCompleted; + return this; + } + + /** + * Shows the number of approvals completed for the transfer. + * @return numberOfApprovalsCompleted + */ + @ApiModelProperty(value = "Shows the number of approvals completed for the transfer.") + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getNumberOfApprovalsCompleted() { + return numberOfApprovalsCompleted; + } + + /** + * Shows the number of approvals completed for the transfer. + * + * @param numberOfApprovalsCompleted + */ + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumberOfApprovalsCompleted(Integer numberOfApprovalsCompleted) { + this.numberOfApprovalsCompleted = numberOfApprovalsCompleted; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview numberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + return this; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * @return numberOfApprovalsRequired + */ + @ApiModelProperty(value = "Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.") + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getNumberOfApprovalsRequired() { + return numberOfApprovalsRequired; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + */ + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * + * @param scaOnApproval + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview scaOnApproval(ScaOnApprovalEnum scaOnApproval) { + this.scaOnApproval = scaOnApproval; + return this; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * @return scaOnApproval + */ + @ApiModelProperty(value = "Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**.") + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ScaOnApprovalEnum getScaOnApproval() { + return scaOnApproval; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * + * @param scaOnApproval + */ + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setScaOnApproval(ScaOnApprovalEnum scaOnApproval) { + this.scaOnApproval = scaOnApproval; + } + + /** + * Return true if this TransferReview object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TransferReview transferReview = (TransferReview) o; + return Objects.equals(this.numberOfApprovalsCompleted, transferReview.numberOfApprovalsCompleted) && + Objects.equals(this.numberOfApprovalsRequired, transferReview.numberOfApprovalsRequired) && + Objects.equals(this.scaOnApproval, transferReview.scaOnApproval); + } + + @Override + public int hashCode() { + return Objects.hash(numberOfApprovalsCompleted, numberOfApprovalsRequired, scaOnApproval); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TransferReview {\n"); + sb.append(" numberOfApprovalsCompleted: ").append(toIndentedString(numberOfApprovalsCompleted)).append("\n"); + sb.append(" numberOfApprovalsRequired: ").append(toIndentedString(numberOfApprovalsRequired)).append("\n"); + sb.append(" scaOnApproval: ").append(toIndentedString(scaOnApproval)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of TransferReview given an JSON string + * + * @param jsonString JSON string + * @return An instance of TransferReview + * @throws JsonProcessingException if the JSON string is invalid with respect to TransferReview + */ + public static TransferReview fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, TransferReview.class); + } +/** + * Convert an instance of TransferReview to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transfers/TransferServiceRestServiceError.java b/src/main/java/com/adyen/model/transfers/TransferServiceRestServiceError.java index 044bfaf61..e941624b4 100644 --- a/src/main/java/com/adyen/model/transfers/TransferServiceRestServiceError.java +++ b/src/main/java/com/adyen/model/transfers/TransferServiceRestServiceError.java @@ -81,96 +81,111 @@ public class TransferServiceRestServiceError { public TransferServiceRestServiceError() { } + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError detail(String detail) { this.detail = detail; return this; } - /** + /** * A human-readable explanation specific to this occurrence of the problem. * @return detail - **/ + */ @ApiModelProperty(required = true, value = "A human-readable explanation specific to this occurrence of the problem.") @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDetail() { return detail; } - - /** - * A human-readable explanation specific to this occurrence of the problem. - * - * @param detail - */ + /** + * A human-readable explanation specific to this occurrence of the problem. + * + * @param detail + */ @JsonProperty(JSON_PROPERTY_DETAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDetail(String detail) { this.detail = detail; } - + /** + * A code that identifies the problem type. + * + * @param errorCode + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** + /** * A code that identifies the problem type. * @return errorCode - **/ + */ @ApiModelProperty(required = true, value = "A code that identifies the problem type.") @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getErrorCode() { return errorCode; } - - /** - * A code that identifies the problem type. - * - * @param errorCode - */ + /** + * A code that identifies the problem type. + * + * @param errorCode + */ @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { this.errorCode = errorCode; } - + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError instance(String instance) { this.instance = instance; return this; } - /** + /** * A unique URI that identifies the specific occurrence of the problem. * @return instance - **/ + */ @ApiModelProperty(value = "A unique URI that identifies the specific occurrence of the problem.") @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstance() { return instance; } - - /** - * A unique URI that identifies the specific occurrence of the problem. - * - * @param instance - */ + /** + * A unique URI that identifies the specific occurrence of the problem. + * + * @param instance + */ @JsonProperty(JSON_PROPERTY_INSTANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstance(String instance) { this.instance = instance; } - + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError invalidFields(List invalidFields) { this.invalidFields = invalidFields; return this; @@ -184,91 +199,100 @@ public TransferServiceRestServiceError addInvalidFieldsItem(InvalidField invalid return this; } - /** + /** * Detailed explanation of each validation error, when applicable. * @return invalidFields - **/ + */ @ApiModelProperty(value = "Detailed explanation of each validation error, when applicable.") @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getInvalidFields() { return invalidFields; } - - /** - * Detailed explanation of each validation error, when applicable. - * - * @param invalidFields - */ + /** + * Detailed explanation of each validation error, when applicable. + * + * @param invalidFields + */ @JsonProperty(JSON_PROPERTY_INVALID_FIELDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvalidFields(List invalidFields) { this.invalidFields = invalidFields; } - + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError requestId(String requestId) { this.requestId = requestId; return this; } - /** - * A unique reference for the request, essentially the same as `pspReference`. + /** + * A unique reference for the request, essentially the same as `pspReference`. * @return requestId - **/ + */ @ApiModelProperty(value = "A unique reference for the request, essentially the same as `pspReference`.") @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRequestId() { return requestId; } - - /** - * A unique reference for the request, essentially the same as `pspReference`. - * - * @param requestId - */ + /** + * A unique reference for the request, essentially the same as `pspReference`. + * + * @param requestId + */ @JsonProperty(JSON_PROPERTY_REQUEST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRequestId(String requestId) { this.requestId = requestId; } - + /** + * response + * + * @param response + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError response(Object response) { this.response = response; return this; } - /** - * Get response + /** + * response * @return response - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getResponse() { return response; } - - /** - * response - * - * @param response - */ + /** + * response + * + * @param response + */ @JsonProperty(JSON_PROPERTY_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResponse(Object response) { this.response = response; } - + /** + * Detailed explanation of each attempt to route the transfer with the priorities from the request. + * + * @param routingDetails + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError routingDetails(List routingDetails) { this.routingDetails = routingDetails; return this; @@ -282,121 +306,127 @@ public TransferServiceRestServiceError addRoutingDetailsItem(RoutingDetails rout return this; } - /** + /** * Detailed explanation of each attempt to route the transfer with the priorities from the request. * @return routingDetails - **/ + */ @ApiModelProperty(value = "Detailed explanation of each attempt to route the transfer with the priorities from the request.") @JsonProperty(JSON_PROPERTY_ROUTING_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getRoutingDetails() { return routingDetails; } - - /** - * Detailed explanation of each attempt to route the transfer with the priorities from the request. - * - * @param routingDetails - */ + /** + * Detailed explanation of each attempt to route the transfer with the priorities from the request. + * + * @param routingDetails + */ @JsonProperty(JSON_PROPERTY_ROUTING_DETAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingDetails(List routingDetails) { this.routingDetails = routingDetails; } - + /** + * The HTTP status code. + * + * @param status + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError status(Integer status) { this.status = status; return this; } - /** + /** * The HTTP status code. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The HTTP status code.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getStatus() { return status; } - - /** - * The HTTP status code. - * - * @param status - */ + /** + * The HTTP status code. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(Integer status) { this.status = status; } - + /** + * A short, human-readable summary of the problem type. + * + * @param title + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError title(String title) { this.title = title; return this; } - /** + /** * A short, human-readable summary of the problem type. * @return title - **/ + */ @ApiModelProperty(required = true, value = "A short, human-readable summary of the problem type.") @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTitle() { return title; } - - /** - * A short, human-readable summary of the problem type. - * - * @param title - */ + /** + * A short, human-readable summary of the problem type. + * + * @param title + */ @JsonProperty(JSON_PROPERTY_TITLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTitle(String title) { this.title = title; } - + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + * @return the current {@code TransferServiceRestServiceError} instance, allowing for method chaining + */ public TransferServiceRestServiceError type(String type) { this.type = type; return this; } - /** + /** * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. * @return type - **/ + */ @ApiModelProperty(required = true, value = "A URI that identifies the problem type, pointing to human-readable documentation on this problem type.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. - * - * @param type - */ + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TransferServiceRestServiceError object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/TransferView.java b/src/main/java/com/adyen/model/transfers/TransferView.java index 1c225d44b..97da693b6 100644 --- a/src/main/java/com/adyen/model/transfers/TransferView.java +++ b/src/main/java/com/adyen/model/transfers/TransferView.java @@ -50,96 +50,105 @@ public class TransferView { public TransferView() { } + /** + * categoryData + * + * @param categoryData + * @return the current {@code TransferView} instance, allowing for method chaining + */ public TransferView categoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; return this; } - /** - * Get categoryData + /** + * categoryData * @return categoryData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferCategoryData getCategoryData() { return categoryData; } - - /** - * categoryData - * - * @param categoryData - */ + /** + * categoryData + * + * @param categoryData + */ @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategoryData(TransferCategoryData categoryData) { this.categoryData = categoryData; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code TransferView} instance, allowing for method chaining + */ public TransferView id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code TransferView} instance, allowing for method chaining + */ public TransferView reference(String reference) { this.reference = reference; return this; } - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(required = true, value = "The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. - * - * @param reference - */ + /** + * The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this TransferView object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java index 2a0443752..d8f142ee6 100644 --- a/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public UKLocalAccountIdentification() { } + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 8-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 8-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 8-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **ukLocal** + * + * @param type + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ukLocal** - * - * @param type - */ + /** + * **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java index 8a8827074..ad06f2224 100644 --- a/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public USLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * **usLocal** + * + * @param type + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **usLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**usLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **usLocal** - * - * @param type - */ + /** + * **usLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this USLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java b/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java index 83aa2c59a..febae7af1 100644 --- a/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java +++ b/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java @@ -104,216 +104,237 @@ public static TypeEnum fromValue(String value) { public UltimatePartyIdentification() { } + /** + * address + * + * @param address + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. - * - * @param dateOfBirth - */ + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return firstName - **/ + */ @ApiModelProperty(value = "The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param firstName - */ + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification fullName(String fullName) { this.fullName = fullName; return this; } - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. * @return fullName - **/ + */ @ApiModelProperty(value = "The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**.") @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFullName() { return fullName; } - - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. - * - * @param fullName - */ + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + */ @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullName(String fullName) { this.fullName = fullName; } - + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return lastName - **/ + */ @ApiModelProperty(value = "The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param lastName - */ + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification reference(String reference) { this.reference = reference; return this; } - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. * @return reference - **/ + */ @ApiModelProperty(value = "A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. - * - * @param reference - */ + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + * @return the current {@code UltimatePartyIdentification} instance, allowing for method chaining + */ public UltimatePartyIdentification type(TypeEnum type) { this.type = type; return this; } - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. * @return type - **/ + */ @ApiModelProperty(value = "The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. - * - * @param type - */ + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UltimatePartyIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java index 7bb423581..f17cd355f 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public AULocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification bsbCode(String bsbCode) { this.bsbCode = bsbCode; return this; } - /** + /** * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. * @return bsbCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBsbCode() { return bsbCode; } - - /** - * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. - * - * @param bsbCode - */ + /** + * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @param bsbCode + */ @JsonProperty(JSON_PROPERTY_BSB_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBsbCode(String bsbCode) { this.bsbCode = bsbCode; } - + /** + * **auLocal** + * + * @param type + * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining + */ public AULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **auLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**auLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **auLocal** - * - * @param type - */ + /** + * **auLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/AdditionalBankIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/AdditionalBankIdentification.java index 9896aa983..e50bf7d5e 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/AdditionalBankIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/AdditionalBankIdentification.java @@ -80,66 +80,72 @@ public static TypeEnum fromValue(String value) { public AdditionalBankIdentification() { } + /** + * The value of the additional bank identification. + * + * @param code + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification code(String code) { this.code = code; return this; } - /** + /** * The value of the additional bank identification. * @return code - **/ + */ @ApiModelProperty(value = "The value of the additional bank identification.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The value of the additional bank identification. - * - * @param code - */ + /** + * The value of the additional bank identification. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + * @return the current {@code AdditionalBankIdentification} instance, allowing for method chaining + */ public AdditionalBankIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. * @return type - **/ + */ @ApiModelProperty(value = "The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. - * - * @param type - */ + /** + * The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this AdditionalBankIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/Address.java b/src/main/java/com/adyen/model/transferwebhooks/Address.java index fa153c7d8..0c75c1fb8 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/Address.java +++ b/src/main/java/com/adyen/model/transferwebhooks/Address.java @@ -61,186 +61,204 @@ public class Address { public Address() { } + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param city + * @return the current {@code Address} instance, allowing for method chaining + */ public Address city(String city) { this.city = city; return this; } - /** - * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return city - **/ + */ @ApiModelProperty(value = "The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param city - */ + /** + * The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. + * + * @param country + * @return the current {@code Address} instance, allowing for method chaining + */ public Address country(String country) { this.country = country; return this; } - /** + /** * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. * @return country - **/ + */ @ApiModelProperty(required = true, value = "The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. - * - * @param country - */ + /** + * The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line1 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address line1(String line1) { this.line1 = line1; return this; } - /** - * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return line1 - **/ + */ @ApiModelProperty(value = "First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine1() { return line1; } - - /** - * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param line1 - */ + /** + * First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line1 + */ @JsonProperty(JSON_PROPERTY_LINE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine1(String line1) { this.line1 = line1; } - + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line2 + * @return the current {@code Address} instance, allowing for method chaining + */ public Address line2(String line2) { this.line2 = line2; return this; } - /** - * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. * @return line2 - **/ + */ @ApiModelProperty(value = "Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.") @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLine2() { return line2; } - - /** - * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. - * - * @param line2 - */ + /** + * Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space. + * + * @param line2 + */ @JsonProperty(JSON_PROPERTY_LINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLine2(String line2) { this.line2 = line2; } - + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. + * + * @param postalCode + * @return the current {@code Address} instance, allowing for method chaining + */ public Address postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. * @return postalCode - **/ + */ @ApiModelProperty(value = "The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. ") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. - * - * @param postalCode - */ + /** + * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + * @return the current {@code Address} instance, allowing for method chaining + */ public Address stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. * @return stateOrProvince - **/ + */ @ApiModelProperty(value = " The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. ") @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStateOrProvince() { return stateOrProvince; } - - /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. - * - * @param stateOrProvince - */ + /** + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * + * @param stateOrProvince + */ @JsonProperty(JSON_PROPERTY_STATE_OR_PROVINCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } - /** * Return true if this Address object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/Amount.java b/src/main/java/com/adyen/model/transferwebhooks/Amount.java index 23dc6c44d..2286f59ae 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/Amount.java +++ b/src/main/java/com/adyen/model/transferwebhooks/Amount.java @@ -45,66 +45,72 @@ public class Amount { public Amount() { } + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + * @return the current {@code Amount} instance, allowing for method chaining + */ public Amount value(Long value) { this.value = value; return this; } - /** + /** * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * @return value - **/ + */ @ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getValue() { return value; } - - /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). - * - * @param value - */ + /** + * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + * + * @param value + */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(Long value) { this.value = value; } - /** * Return true if this Amount object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/AmountAdjustment.java b/src/main/java/com/adyen/model/transferwebhooks/AmountAdjustment.java index 2aa65f46b..c03e6ee27 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/AmountAdjustment.java +++ b/src/main/java/com/adyen/model/transferwebhooks/AmountAdjustment.java @@ -89,96 +89,105 @@ public static AmountAdjustmentTypeEnum fromValue(String value) { public AmountAdjustment() { } + /** + * amount + * + * @param amount + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. + * + * @param amountAdjustmentType + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment amountAdjustmentType(AmountAdjustmentTypeEnum amountAdjustmentType) { this.amountAdjustmentType = amountAdjustmentType; return this; } - /** + /** * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. * @return amountAdjustmentType - **/ + */ @ApiModelProperty(value = "The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**.") @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AmountAdjustmentTypeEnum getAmountAdjustmentType() { return amountAdjustmentType; } - - /** - * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. - * - * @param amountAdjustmentType - */ + /** + * The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**. + * + * @param amountAdjustmentType + */ @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountAdjustmentType(AmountAdjustmentTypeEnum amountAdjustmentType) { this.amountAdjustmentType = amountAdjustmentType; } - + /** + * The basepoints associated with the applied markup. + * + * @param basepoints + * @return the current {@code AmountAdjustment} instance, allowing for method chaining + */ public AmountAdjustment basepoints(Integer basepoints) { this.basepoints = basepoints; return this; } - /** + /** * The basepoints associated with the applied markup. * @return basepoints - **/ + */ @ApiModelProperty(value = "The basepoints associated with the applied markup.") @JsonProperty(JSON_PROPERTY_BASEPOINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getBasepoints() { return basepoints; } - - /** - * The basepoints associated with the applied markup. - * - * @param basepoints - */ + /** + * The basepoints associated with the applied markup. + * + * @param basepoints + */ @JsonProperty(JSON_PROPERTY_BASEPOINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBasepoints(Integer basepoints) { this.basepoints = basepoints; } - /** * Return true if this AmountAdjustment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java index 2ded1c378..de61c20f2 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java @@ -90,156 +90,171 @@ public static TypeEnum fromValue(String value) { public BRLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 3-digit bank code, with leading zeros. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit bank code, with leading zeros.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 3-digit bank code, with leading zeros. - * - * @param bankCode - */ + /** + * The 3-digit bank code, with leading zeros. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification branchNumber(String branchNumber) { this.branchNumber = branchNumber; return this; } - /** + /** * The bank account branch number, without separators or whitespace. * @return branchNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account branch number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBranchNumber() { return branchNumber; } - - /** - * The bank account branch number, without separators or whitespace. - * - * @param branchNumber - */ + /** + * The bank account branch number, without separators or whitespace. + * + * @param branchNumber + */ @JsonProperty(JSON_PROPERTY_BRANCH_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBranchNumber(String branchNumber) { this.branchNumber = branchNumber; } - + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification ispb(String ispb) { this.ispb = ispb; return this; } - /** + /** * The 8-digit ISPB, with leading zeros. * @return ispb - **/ + */ @ApiModelProperty(value = "The 8-digit ISPB, with leading zeros.") @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIspb() { return ispb; } - - /** - * The 8-digit ISPB, with leading zeros. - * - * @param ispb - */ + /** + * The 8-digit ISPB, with leading zeros. + * + * @param ispb + */ @JsonProperty(JSON_PROPERTY_ISPB) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIspb(String ispb) { this.ispb = ispb; } - + /** + * **brLocal** + * + * @param type + * @return the current {@code BRLocalAccountIdentification} instance, allowing for method chaining + */ public BRLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **brLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**brLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **brLocal** - * - * @param type - */ + /** + * **brLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BRLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/BalanceMutation.java b/src/main/java/com/adyen/model/transferwebhooks/BalanceMutation.java index 61b2b422b..a09c9aed8 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BalanceMutation.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BalanceMutation.java @@ -53,126 +53,138 @@ public class BalanceMutation { public BalanceMutation() { } + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. + * + * @param balance + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation balance(Long balance) { this.balance = balance; return this; } - /** - * The amount in the payment's currency that is debited or credited on the balance accounting register. + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. * @return balance - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the balance accounting register.") @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getBalance() { return balance; } - - /** - * The amount in the payment's currency that is debited or credited on the balance accounting register. - * - * @param balance - */ + /** + * The amount in the payment's currency that is debited or credited on the balance accounting register. + * + * @param balance + */ @JsonProperty(JSON_PROPERTY_BALANCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalance(Long balance) { this.balance = balance; } - + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation currency(String currency) { this.currency = currency; return this; } - /** + /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). * @return currency - **/ + */ @ApiModelProperty(value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).") @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCurrency() { return currency; } - - /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). - * - * @param currency - */ + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * + * @param currency + */ @JsonProperty(JSON_PROPERTY_CURRENCY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCurrency(String currency) { this.currency = currency; } - + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. + * + * @param received + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation received(Long received) { this.received = received; return this; } - /** - * The amount in the payment's currency that is debited or credited on the received accounting register. + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. * @return received - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the received accounting register.") @JsonProperty(JSON_PROPERTY_RECEIVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReceived() { return received; } - - /** - * The amount in the payment's currency that is debited or credited on the received accounting register. - * - * @param received - */ + /** + * The amount in the payment's currency that is debited or credited on the received accounting register. + * + * @param received + */ @JsonProperty(JSON_PROPERTY_RECEIVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReceived(Long received) { this.received = received; } - + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. + * + * @param reserved + * @return the current {@code BalanceMutation} instance, allowing for method chaining + */ public BalanceMutation reserved(Long reserved) { this.reserved = reserved; return this; } - /** - * The amount in the payment's currency that is debited or credited on the reserved accounting register. + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. * @return reserved - **/ + */ @ApiModelProperty(value = "The amount in the payment's currency that is debited or credited on the reserved accounting register.") @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getReserved() { return reserved; } - - /** - * The amount in the payment's currency that is debited or credited on the reserved accounting register. - * - * @param reserved - */ + /** + * The amount in the payment's currency that is debited or credited on the reserved accounting register. + * + * @param reserved + */ @JsonProperty(JSON_PROPERTY_RESERVED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReserved(Long reserved) { this.reserved = reserved; } - /** * Return true if this BalanceMutation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/BalancePlatformNotificationResponse.java b/src/main/java/com/adyen/model/transferwebhooks/BalancePlatformNotificationResponse.java index ad5699c35..64ce3efbe 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BalancePlatformNotificationResponse.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BalancePlatformNotificationResponse.java @@ -41,36 +41,39 @@ public class BalancePlatformNotificationResponse { public BalancePlatformNotificationResponse() { } + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + * @return the current {@code BalancePlatformNotificationResponse} instance, allowing for method chaining + */ public BalancePlatformNotificationResponse notificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; return this; } - /** + /** * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). * @return notificationResponse - **/ + */ @ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).") @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNotificationResponse() { return notificationResponse; } - - /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). - * - * @param notificationResponse - */ + /** + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * + * @param notificationResponse + */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNotificationResponse(String notificationResponse) { this.notificationResponse = notificationResponse; } - /** * Return true if this BalancePlatformNotificationResponse object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/BankAccountV3.java b/src/main/java/com/adyen/model/transferwebhooks/BankAccountV3.java index c5025d5cb..dcf04ec92 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BankAccountV3.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BankAccountV3.java @@ -47,66 +47,72 @@ public class BankAccountV3 { public BankAccountV3() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code BankAccountV3} instance, allowing for method chaining + */ public BankAccountV3 accountHolder(PartyIdentification accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PartyIdentification getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(PartyIdentification accountHolder) { this.accountHolder = accountHolder; } - + /** + * accountIdentification + * + * @param accountIdentification + * @return the current {@code BankAccountV3} instance, allowing for method chaining + */ public BankAccountV3 accountIdentification(BankAccountV3AccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; return this; } - /** - * Get accountIdentification + /** + * accountIdentification * @return accountIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3AccountIdentification getAccountIdentification() { return accountIdentification; } - - /** - * accountIdentification - * - * @param accountIdentification - */ + /** + * accountIdentification + * + * @param accountIdentification + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountIdentification(BankAccountV3AccountIdentification accountIdentification) { this.accountIdentification = accountIdentification; } - /** * Return true if this BankAccountV3 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java b/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java index 583a6cd4e..1b90e2374 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java @@ -121,66 +121,72 @@ public static TypeEnum fromValue(String value) { public BankCategoryData() { } + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + * @return the current {@code BankCategoryData} instance, allowing for method chaining + */ public BankCategoryData priority(PriorityEnum priority) { this.priority = priority; return this; } - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). * @return priority - **/ + */ @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).") @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PriorityEnum getPriority() { return priority; } - - /** - * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). - * - * @param priority - */ + /** + * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). + * + * @param priority + */ @JsonProperty(JSON_PROPERTY_PRIORITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPriority(PriorityEnum priority) { this.priority = priority; } - + /** + * **bank** + * + * @param type + * @return the current {@code BankCategoryData} instance, allowing for method chaining + */ public BankCategoryData type(TypeEnum type) { this.type = type; return this; } - /** + /** * **bank** * @return type - **/ + */ @ApiModelProperty(value = "**bank**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **bank** - * - * @param type - */ + /** + * **bank** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this BankCategoryData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java index e29c91e69..24b0ee6e8 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java @@ -125,156 +125,171 @@ public static TypeEnum fromValue(String value) { public CALocalAccountIdentification() { } + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 5- to 12-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5- to 12-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 5- to 12-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 5- to 12-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification institutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; return this; } - /** + /** * The 3-digit institution number, without separators or whitespace. * @return institutionNumber - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit institution number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInstitutionNumber() { return institutionNumber; } - - /** - * The 3-digit institution number, without separators or whitespace. - * - * @param institutionNumber - */ + /** + * The 3-digit institution number, without separators or whitespace. + * + * @param institutionNumber + */ @JsonProperty(JSON_PROPERTY_INSTITUTION_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInstitutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; } - + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification transitNumber(String transitNumber) { this.transitNumber = transitNumber; return this; } - /** + /** * The 5-digit transit number, without separators or whitespace. * @return transitNumber - **/ + */ @ApiModelProperty(required = true, value = "The 5-digit transit number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransitNumber() { return transitNumber; } - - /** - * The 5-digit transit number, without separators or whitespace. - * - * @param transitNumber - */ + /** + * The 5-digit transit number, without separators or whitespace. + * + * @param transitNumber + */ @JsonProperty(JSON_PROPERTY_TRANSIT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransitNumber(String transitNumber) { this.transitNumber = transitNumber; } - + /** + * **caLocal** + * + * @param type + * @return the current {@code CALocalAccountIdentification} instance, allowing for method chaining + */ public CALocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **caLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**caLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **caLocal** - * - * @param type - */ + /** + * **caLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CALocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java index 533930eab..e11f40a94 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public CZLocalAccountIdentification() { } + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) - * - * @param accountNumber - */ + /** + * The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Kód banky), without separators or whitespace. * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Kód banky), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Kód banky), without separators or whitespace. - * - * @param bankCode - */ + /** + * The 4-digit bank code (Kód banky), without separators or whitespace. + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **czLocal** + * + * @param type + * @return the current {@code CZLocalAccountIdentification} instance, allowing for method chaining + */ public CZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **czLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**czLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **czLocal** - * - * @param type - */ + /** + * **czLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this CZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/Card.java b/src/main/java/com/adyen/model/transferwebhooks/Card.java index fbf04ee7d..641b49bf7 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/Card.java +++ b/src/main/java/com/adyen/model/transferwebhooks/Card.java @@ -47,66 +47,72 @@ public class Card { public Card() { } + /** + * cardHolder + * + * @param cardHolder + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardHolder(PartyIdentification cardHolder) { this.cardHolder = cardHolder; return this; } - /** - * Get cardHolder + /** + * cardHolder * @return cardHolder - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CARD_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PartyIdentification getCardHolder() { return cardHolder; } - - /** - * cardHolder - * - * @param cardHolder - */ + /** + * cardHolder + * + * @param cardHolder + */ @JsonProperty(JSON_PROPERTY_CARD_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardHolder(PartyIdentification cardHolder) { this.cardHolder = cardHolder; } - + /** + * cardIdentification + * + * @param cardIdentification + * @return the current {@code Card} instance, allowing for method chaining + */ public Card cardIdentification(CardIdentification cardIdentification) { this.cardIdentification = cardIdentification; return this; } - /** - * Get cardIdentification + /** + * cardIdentification * @return cardIdentification - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CARD_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CardIdentification getCardIdentification() { return cardIdentification; } - - /** - * cardIdentification - * - * @param cardIdentification - */ + /** + * cardIdentification + * + * @param cardIdentification + */ @JsonProperty(JSON_PROPERTY_CARD_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCardIdentification(CardIdentification cardIdentification) { this.cardIdentification = cardIdentification; } - /** * Return true if this Card object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/CardIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/CardIdentification.java index 09b1adc4a..07e2827c0 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CardIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CardIdentification.java @@ -65,216 +65,237 @@ public class CardIdentification { public CardIdentification() { } + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param expiryMonth + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification expiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; return this; } - /** - * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November * @return expiryMonth - **/ + */ @ApiModelProperty(value = "The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryMonth() { return expiryMonth; } - - /** - * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November - * - * @param expiryMonth - */ + /** + * The expiry month of the card. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param expiryMonth + */ @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryMonth(String expiryMonth) { this.expiryMonth = expiryMonth; } - + /** + * The expiry year of the card. Format: four digits. For example: 2020 + * + * @param expiryYear + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification expiryYear(String expiryYear) { this.expiryYear = expiryYear; return this; } - /** + /** * The expiry year of the card. Format: four digits. For example: 2020 * @return expiryYear - **/ + */ @ApiModelProperty(value = "The expiry year of the card. Format: four digits. For example: 2020") @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getExpiryYear() { return expiryYear; } - - /** - * The expiry year of the card. Format: four digits. For example: 2020 - * - * @param expiryYear - */ + /** + * The expiry year of the card. Format: four digits. For example: 2020 + * + * @param expiryYear + */ @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExpiryYear(String expiryYear) { this.expiryYear = expiryYear; } - + /** + * The issue number of the card. Applies only to some UK debit cards. + * + * @param issueNumber + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification issueNumber(String issueNumber) { this.issueNumber = issueNumber; return this; } - /** + /** * The issue number of the card. Applies only to some UK debit cards. * @return issueNumber - **/ + */ @ApiModelProperty(value = "The issue number of the card. Applies only to some UK debit cards.") @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIssueNumber() { return issueNumber; } - - /** - * The issue number of the card. Applies only to some UK debit cards. - * - * @param issueNumber - */ + /** + * The issue number of the card. Applies only to some UK debit cards. + * + * @param issueNumber + */ @JsonProperty(JSON_PROPERTY_ISSUE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIssueNumber(String issueNumber) { this.issueNumber = issueNumber; } - + /** + * The card number without any separators. For security, the response only includes the last four digits of the card number. + * + * @param number + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification number(String number) { this.number = number; return this; } - /** + /** * The card number without any separators. For security, the response only includes the last four digits of the card number. * @return number - **/ + */ @ApiModelProperty(value = "The card number without any separators. For security, the response only includes the last four digits of the card number.") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNumber() { return number; } - - /** - * The card number without any separators. For security, the response only includes the last four digits of the card number. - * - * @param number - */ + /** + * The card number without any separators. For security, the response only includes the last four digits of the card number. + * + * @param number + */ @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNumber(String number) { this.number = number; } - + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param startMonth + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification startMonth(String startMonth) { this.startMonth = startMonth; return this; } - /** - * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November * @return startMonth - **/ + */ @ApiModelProperty(value = "The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November") @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartMonth() { return startMonth; } - - /** - * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November - * - * @param startMonth - */ + /** + * The month when the card was issued. Applies only to some UK debit cards. Format: two digits. Add a leading zero for single-digit months. For example: * 03 = March * 11 = November + * + * @param startMonth + */ @JsonProperty(JSON_PROPERTY_START_MONTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMonth(String startMonth) { this.startMonth = startMonth; } - + /** + * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 + * + * @param startYear + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification startYear(String startYear) { this.startYear = startYear; return this; } - /** + /** * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 * @return startYear - **/ + */ @ApiModelProperty(value = "The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020") @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStartYear() { return startYear; } - - /** - * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 - * - * @param startYear - */ + /** + * The year when the card was issued. Applies only to some UK debit cards. Format: four digits. For example: 2020 + * + * @param startYear + */ @JsonProperty(JSON_PROPERTY_START_YEAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartYear(String startYear) { this.startYear = startYear; } - + /** + * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. + * + * @param storedPaymentMethodId + * @return the current {@code CardIdentification} instance, allowing for method chaining + */ public CardIdentification storedPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; return this; } - /** + /** * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. * @return storedPaymentMethodId - **/ + */ @ApiModelProperty(value = "The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. ") @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getStoredPaymentMethodId() { return storedPaymentMethodId; } - - /** - * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. - * - * @param storedPaymentMethodId - */ + /** + * The unique [token](/payouts/payout-service/pay-out-to-cards/manage-card-information#save-card-details) created to identify the counterparty. + * + * @param storedPaymentMethodId + */ @JsonProperty(JSON_PROPERTY_STORED_PAYMENT_METHOD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoredPaymentMethodId(String storedPaymentMethodId) { this.storedPaymentMethodId = storedPaymentMethodId; } - /** * Return true if this CardIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/ConfirmationTrackingData.java b/src/main/java/com/adyen/model/transferwebhooks/ConfirmationTrackingData.java index 832f06e0e..cc8ce2095 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/ConfirmationTrackingData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/ConfirmationTrackingData.java @@ -111,66 +111,72 @@ public static TypeEnum fromValue(String value) { public ConfirmationTrackingData() { } + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + * + * @param status + * @return the current {@code ConfirmationTrackingData} instance, allowing for method chaining + */ public ConfirmationTrackingData status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. - * - * @param status - */ + /** + * The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + * + * @param type + * @return the current {@code ConfirmationTrackingData} instance, allowing for method chaining + */ public ConfirmationTrackingData type(TypeEnum type) { this.type = type; return this; } - /** - * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. - * - * @param type - */ + /** + * The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this ConfirmationTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/CounterpartyV3.java b/src/main/java/com/adyen/model/transferwebhooks/CounterpartyV3.java index 3dc2fe9fa..0f6820a33 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CounterpartyV3.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CounterpartyV3.java @@ -60,156 +60,171 @@ public class CounterpartyV3 { public CounterpartyV3() { } + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). - * - * @param balanceAccountId - */ + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 bankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3 getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * merchant + * + * @param merchant + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 merchant(MerchantData merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public MerchantData getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(MerchantData merchant) { this.merchant = merchant; } - + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + * @return the current {@code CounterpartyV3} instance, allowing for method chaining + */ public CounterpartyV3 transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this CounterpartyV3 object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java index 4dc93af6f..44f30d8b4 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public DKLocalAccountIdentification() { } + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). - * - * @param accountNumber - */ + /** + * The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification bankCode(String bankCode) { this.bankCode = bankCode; return this; } - /** + /** * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). * @return bankCode - **/ + */ @ApiModelProperty(required = true, value = "The 4-digit bank code (Registreringsnummer) (without separators or whitespace).") @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankCode() { return bankCode; } - - /** - * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). - * - * @param bankCode - */ + /** + * The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @param bankCode + */ @JsonProperty(JSON_PROPERTY_BANK_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankCode(String bankCode) { this.bankCode = bankCode; } - + /** + * **dkLocal** + * + * @param type + * @return the current {@code DKLocalAccountIdentification} instance, allowing for method chaining + */ public DKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **dkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**dkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **dkLocal** - * - * @param type - */ + /** + * **dkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this DKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/DirectDebitInformation.java b/src/main/java/com/adyen/model/transferwebhooks/DirectDebitInformation.java new file mode 100644 index 000000000..c78d5b4f2 --- /dev/null +++ b/src/main/java/com/adyen/model/transferwebhooks/DirectDebitInformation.java @@ -0,0 +1,254 @@ +/* + * Transfer webhooks + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transferwebhooks; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * DirectDebitInformation + */ +@JsonPropertyOrder({ + DirectDebitInformation.JSON_PROPERTY_DATE_OF_SIGNATURE, + DirectDebitInformation.JSON_PROPERTY_DUE_DATE, + DirectDebitInformation.JSON_PROPERTY_MANDATE_ID, + DirectDebitInformation.JSON_PROPERTY_SEQUENCE_TYPE +}) + +public class DirectDebitInformation { + public static final String JSON_PROPERTY_DATE_OF_SIGNATURE = "dateOfSignature"; + private OffsetDateTime dateOfSignature; + + public static final String JSON_PROPERTY_DUE_DATE = "dueDate"; + private OffsetDateTime dueDate; + + public static final String JSON_PROPERTY_MANDATE_ID = "mandateId"; + private String mandateId; + + public static final String JSON_PROPERTY_SEQUENCE_TYPE = "sequenceType"; + private String sequenceType; + + public DirectDebitInformation() { + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * + * @param dateOfSignature + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation dateOfSignature(OffsetDateTime dateOfSignature) { + this.dateOfSignature = dateOfSignature; + return this; + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * @return dateOfSignature + */ + @ApiModelProperty(value = "The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.") + @JsonProperty(JSON_PROPERTY_DATE_OF_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getDateOfSignature() { + return dateOfSignature; + } + + /** + * The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. + * + * @param dateOfSignature + */ + @JsonProperty(JSON_PROPERTY_DATE_OF_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDateOfSignature(OffsetDateTime dateOfSignature) { + this.dateOfSignature = dateOfSignature; + } + + /** + * The date when the funds are deducted from your user's balance account. + * + * @param dueDate + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation dueDate(OffsetDateTime dueDate) { + this.dueDate = dueDate; + return this; + } + + /** + * The date when the funds are deducted from your user's balance account. + * @return dueDate + */ + @ApiModelProperty(value = "The date when the funds are deducted from your user's balance account.") + @JsonProperty(JSON_PROPERTY_DUE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getDueDate() { + return dueDate; + } + + /** + * The date when the funds are deducted from your user's balance account. + * + * @param dueDate + */ + @JsonProperty(JSON_PROPERTY_DUE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDueDate(OffsetDateTime dueDate) { + this.dueDate = dueDate; + } + + /** + * Your unique identifier for the direct debit mandate. + * + * @param mandateId + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation mandateId(String mandateId) { + this.mandateId = mandateId; + return this; + } + + /** + * Your unique identifier for the direct debit mandate. + * @return mandateId + */ + @ApiModelProperty(value = "Your unique identifier for the direct debit mandate.") + @JsonProperty(JSON_PROPERTY_MANDATE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getMandateId() { + return mandateId; + } + + /** + * Your unique identifier for the direct debit mandate. + * + * @param mandateId + */ + @JsonProperty(JSON_PROPERTY_MANDATE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMandateId(String mandateId) { + this.mandateId = mandateId; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * + * @param sequenceType + * @return the current {@code DirectDebitInformation} instance, allowing for method chaining + */ + public DirectDebitInformation sequenceType(String sequenceType) { + this.sequenceType = sequenceType; + return this; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * @return sequenceType + */ + @ApiModelProperty(value = "Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.") + @JsonProperty(JSON_PROPERTY_SEQUENCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSequenceType() { + return sequenceType; + } + + /** + * Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**. + * + * @param sequenceType + */ + @JsonProperty(JSON_PROPERTY_SEQUENCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSequenceType(String sequenceType) { + this.sequenceType = sequenceType; + } + + /** + * Return true if this DirectDebitInformation object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DirectDebitInformation directDebitInformation = (DirectDebitInformation) o; + return Objects.equals(this.dateOfSignature, directDebitInformation.dateOfSignature) && + Objects.equals(this.dueDate, directDebitInformation.dueDate) && + Objects.equals(this.mandateId, directDebitInformation.mandateId) && + Objects.equals(this.sequenceType, directDebitInformation.sequenceType); + } + + @Override + public int hashCode() { + return Objects.hash(dateOfSignature, dueDate, mandateId, sequenceType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DirectDebitInformation {\n"); + sb.append(" dateOfSignature: ").append(toIndentedString(dateOfSignature)).append("\n"); + sb.append(" dueDate: ").append(toIndentedString(dueDate)).append("\n"); + sb.append(" mandateId: ").append(toIndentedString(mandateId)).append("\n"); + sb.append(" sequenceType: ").append(toIndentedString(sequenceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of DirectDebitInformation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DirectDebitInformation + * @throws JsonProcessingException if the JSON string is invalid with respect to DirectDebitInformation + */ + public static DirectDebitInformation fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, DirectDebitInformation.class); + } +/** + * Convert an instance of DirectDebitInformation to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transferwebhooks/EstimationTrackingData.java b/src/main/java/com/adyen/model/transferwebhooks/EstimationTrackingData.java index 1dd76cd37..56a9cb033 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/EstimationTrackingData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/EstimationTrackingData.java @@ -79,66 +79,72 @@ public static TypeEnum fromValue(String value) { public EstimationTrackingData() { } + /** + * The estimated time the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + * @return the current {@code EstimationTrackingData} instance, allowing for method chaining + */ public EstimationTrackingData estimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; return this; } - /** + /** * The estimated time the beneficiary should have access to the funds. * @return estimatedArrivalTime - **/ + */ @ApiModelProperty(required = true, value = "The estimated time the beneficiary should have access to the funds.") @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEstimatedArrivalTime() { return estimatedArrivalTime; } - - /** - * The estimated time the beneficiary should have access to the funds. - * - * @param estimatedArrivalTime - */ + /** + * The estimated time the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; } - + /** + * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. + * + * @param type + * @return the current {@code EstimationTrackingData} instance, allowing for method chaining + */ public EstimationTrackingData type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. - * - * @param type - */ + /** + * The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this EstimationTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/ExternalReason.java b/src/main/java/com/adyen/model/transferwebhooks/ExternalReason.java index 8648d5b31..fef8311b9 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/ExternalReason.java +++ b/src/main/java/com/adyen/model/transferwebhooks/ExternalReason.java @@ -49,96 +49,105 @@ public class ExternalReason { public ExternalReason() { } + /** + * The reason code. + * + * @param code + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason code(String code) { this.code = code; return this; } - /** + /** * The reason code. * @return code - **/ + */ @ApiModelProperty(value = "The reason code.") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCode() { return code; } - - /** - * The reason code. - * - * @param code - */ + /** + * The reason code. + * + * @param code + */ @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } - + /** + * The description of the reason code. + * + * @param description + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason description(String description) { this.description = description; return this; } - /** + /** * The description of the reason code. * @return description - **/ + */ @ApiModelProperty(value = "The description of the reason code.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the reason code. - * - * @param description - */ + /** + * The description of the reason code. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The namespace for the reason code. + * + * @param namespace + * @return the current {@code ExternalReason} instance, allowing for method chaining + */ public ExternalReason namespace(String namespace) { this.namespace = namespace; return this; } - /** + /** * The namespace for the reason code. * @return namespace - **/ + */ @ApiModelProperty(value = "The namespace for the reason code.") @JsonProperty(JSON_PROPERTY_NAMESPACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNamespace() { return namespace; } - - /** - * The namespace for the reason code. - * - * @param namespace - */ + /** + * The namespace for the reason code. + * + * @param namespace + */ @JsonProperty(JSON_PROPERTY_NAMESPACE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNamespace(String namespace) { this.namespace = namespace; } - /** * Return true if this ExternalReason object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java index 5c7bccad6..9432847fc 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public HKLocalAccountIdentification() { } + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. - * - * @param accountNumber - */ + /** + * The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification clearingCode(String clearingCode) { this.clearingCode = clearingCode; return this; } - /** + /** * The 3-digit clearing code, without separators or whitespace. * @return clearingCode - **/ + */ @ApiModelProperty(required = true, value = "The 3-digit clearing code, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingCode() { return clearingCode; } - - /** - * The 3-digit clearing code, without separators or whitespace. - * - * @param clearingCode - */ + /** + * The 3-digit clearing code, without separators or whitespace. + * + * @param clearingCode + */ @JsonProperty(JSON_PROPERTY_CLEARING_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingCode(String clearingCode) { this.clearingCode = clearingCode; } - + /** + * **hkLocal** + * + * @param type + * @return the current {@code HKLocalAccountIdentification} instance, allowing for method chaining + */ public HKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **hkLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**hkLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **hkLocal** - * - * @param type - */ + /** + * **hkLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java index 7c11e19ed..3f8ed4559 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public HULocalAccountIdentification() { } + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 24-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 24-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 24-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 24-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **huLocal** + * + * @param type + * @return the current {@code HULocalAccountIdentification} instance, allowing for method chaining + */ public HULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **huLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**huLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **huLocal** - * - * @param type - */ + /** + * **huLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this HULocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java index 210448591..4374d0711 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; } - /** + /** * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * @return iban - **/ + */ @ApiModelProperty(required = true, value = "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.") @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getIban() { return iban; } - - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - * - * @param iban - */ + /** + * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @param iban + */ @JsonProperty(JSON_PROPERTY_IBAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIban(String iban) { this.iban = iban; } - + /** + * **iban** + * + * @param type + * @return the current {@code IbanAccountIdentification} instance, allowing for method chaining + */ public IbanAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **iban** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**iban**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **iban** - * - * @param type - */ + /** + * **iban** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this IbanAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java b/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java index 8f030ae96..dcabca4a6 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public InternalCategoryData() { } + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData modificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; return this; } - /** - * The capture's merchant reference included in the transfer. + /** + * The capture's merchant reference included in the transfer. * @return modificationMerchantReference - **/ + */ @ApiModelProperty(value = "The capture's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationMerchantReference() { return modificationMerchantReference; } - - /** - * The capture's merchant reference included in the transfer. - * - * @param modificationMerchantReference - */ + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; } - + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData modificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; return this; } - /** + /** * The capture reference included in the transfer. * @return modificationPspReference - **/ + */ @ApiModelProperty(value = "The capture reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationPspReference() { return modificationPspReference; } - - /** - * The capture reference included in the transfer. - * - * @param modificationPspReference - */ + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; } - + /** + * **internal** + * + * @param type + * @return the current {@code InternalCategoryData} instance, allowing for method chaining + */ public InternalCategoryData type(TypeEnum type) { this.type = type; return this; } - /** + /** * **internal** * @return type - **/ + */ @ApiModelProperty(value = "**internal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **internal** - * - * @param type - */ + /** + * **internal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InternalCategoryData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/InternalReviewTrackingData.java b/src/main/java/com/adyen/model/transferwebhooks/InternalReviewTrackingData.java index 6ab0c915a..c8b997e5c 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/InternalReviewTrackingData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/InternalReviewTrackingData.java @@ -150,96 +150,105 @@ public static TypeEnum fromValue(String value) { public InternalReviewTrackingData() { } + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + * + * @param reason + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData reason(ReasonEnum reason) { this.reason = reason; return this; } - /** - * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). * @return reason - **/ + */ @ApiModelProperty(value = "The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). ") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). - * - * @param reason - */ + /** + * The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + * + * @param status + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData status(StatusEnum status) { this.status = status; return this; } - /** - * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. ") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. - * - * @param status - */ + /** + * The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + * + * @param type + * @return the current {@code InternalReviewTrackingData} instance, allowing for method chaining + */ public InternalReviewTrackingData type(TypeEnum type) { this.type = type; return this; } - /** - * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. * @return type - **/ + */ @ApiModelProperty(required = true, value = "The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. - * - * @param type - */ + /** + * The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this InternalReviewTrackingData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java b/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java index 8e61e5c03..98174f276 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java +++ b/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java @@ -198,216 +198,243 @@ public static TypeEnum fromValue(String value) { public IssuedCard() { } + /** + * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** + * + * @param authorisationType + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard authorisationType(String authorisationType) { this.authorisationType = authorisationType; return this; } - /** + /** * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** * @return authorisationType - **/ + */ @ApiModelProperty(value = "The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation**") @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAuthorisationType() { return authorisationType; } - - /** - * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** - * - * @param authorisationType - */ + /** + * The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation** + * + * @param authorisationType + */ @JsonProperty(JSON_PROPERTY_AUTHORISATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAuthorisationType(String authorisationType) { this.authorisationType = authorisationType; } - + /** + * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. + * + * @param panEntryMode + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard panEntryMode(PanEntryModeEnum panEntryMode) { this.panEntryMode = panEntryMode; return this; } - /** + /** * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. * @return panEntryMode - **/ + */ @ApiModelProperty(value = "Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.") @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PanEntryModeEnum getPanEntryMode() { return panEntryMode; } - - /** - * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. - * - * @param panEntryMode - */ + /** + * Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**. + * + * @param panEntryMode + */ @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPanEntryMode(PanEntryModeEnum panEntryMode) { this.panEntryMode = panEntryMode; } - + /** + * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. + * + * @param processingType + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard processingType(ProcessingTypeEnum processingType) { this.processingType = processingType; return this; } - /** + /** * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. * @return processingType - **/ + */ @ApiModelProperty(value = "Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.") @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ProcessingTypeEnum getProcessingType() { return processingType; } - - /** - * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. - * - * @param processingType - */ + /** + * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments. + * + * @param processingType + */ @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setProcessingType(ProcessingTypeEnum processingType) { this.processingType = processingType; } - + /** + * relayedAuthorisationData + * + * @param relayedAuthorisationData + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard relayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) { this.relayedAuthorisationData = relayedAuthorisationData; return this; } - /** - * Get relayedAuthorisationData + /** + * relayedAuthorisationData * @return relayedAuthorisationData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RelayedAuthorisationData getRelayedAuthorisationData() { return relayedAuthorisationData; } - - /** - * relayedAuthorisationData - * - * @param relayedAuthorisationData - */ + /** + * relayedAuthorisationData + * + * @param relayedAuthorisationData + */ @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRelayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) { this.relayedAuthorisationData = relayedAuthorisationData; } - + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + * + * @param schemeTraceId + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard schemeTraceId(String schemeTraceId) { this.schemeTraceId = schemeTraceId; return this; } - /** - * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. * @return schemeTraceId - **/ + */ @ApiModelProperty(value = "The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments.") @JsonProperty(JSON_PROPERTY_SCHEME_TRACE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSchemeTraceId() { return schemeTraceId; } - - /** - * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. - * - * @param schemeTraceId - */ + /** + * The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments. + * + * @param schemeTraceId + */ @JsonProperty(JSON_PROPERTY_SCHEME_TRACE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeTraceId(String schemeTraceId) { this.schemeTraceId = schemeTraceId; } - + /** + * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. + * + * @param schemeUniqueTransactionId + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard schemeUniqueTransactionId(String schemeUniqueTransactionId) { this.schemeUniqueTransactionId = schemeUniqueTransactionId; return this; } - /** + /** * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. * @return schemeUniqueTransactionId - **/ + */ @ApiModelProperty(value = "The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.") @JsonProperty(JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSchemeUniqueTransactionId() { return schemeUniqueTransactionId; } - - /** - * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. - * - * @param schemeUniqueTransactionId - */ + /** + * The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme. + * + * @param schemeUniqueTransactionId + */ @JsonProperty(JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchemeUniqueTransactionId(String schemeUniqueTransactionId) { this.schemeUniqueTransactionId = schemeUniqueTransactionId; } - + /** + * **issuedCard** + * + * @param type + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard type(TypeEnum type) { this.type = type; return this; } - /** + /** * **issuedCard** * @return type - **/ + */ @ApiModelProperty(value = "**issuedCard**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **issuedCard** - * - * @param type - */ + /** + * **issuedCard** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. + * + * @param validationFacts + * @return the current {@code IssuedCard} instance, allowing for method chaining + */ public IssuedCard validationFacts(List validationFacts) { this.validationFacts = validationFacts; return this; @@ -421,31 +448,28 @@ public IssuedCard addValidationFactsItem(TransferNotificationValidationFact vali return this; } - /** + /** * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. * @return validationFacts - **/ + */ @ApiModelProperty(value = "The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information.") @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getValidationFacts() { return validationFacts; } - - /** - * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. - * - * @param validationFacts - */ + /** + * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information. + * + * @param validationFacts + */ @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValidationFacts(List validationFacts) { this.validationFacts = validationFacts; } - /** * Return true if this IssuedCard object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/MerchantData.java b/src/main/java/com/adyen/model/transferwebhooks/MerchantData.java index c1ed627ba..dcccf7bcb 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/MerchantData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/MerchantData.java @@ -58,156 +58,171 @@ public class MerchantData { public MerchantData() { } + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData acquirerId(String acquirerId) { this.acquirerId = acquirerId; return this; } - /** - * The unique identifier of the merchant's acquirer. + /** + * The unique identifier of the merchant's acquirer. * @return acquirerId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant's acquirer.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerId() { return acquirerId; } - - /** - * The unique identifier of the merchant's acquirer. - * - * @param acquirerId - */ + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerId(String acquirerId) { this.acquirerId = acquirerId; } - + /** + * The merchant category code. + * + * @param mcc + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The merchant category code. * @return mcc - **/ + */ @ApiModelProperty(value = "The merchant category code.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The merchant category code. - * - * @param mcc - */ + /** + * The merchant category code. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant identifier. + * + * @param merchantId + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The merchant identifier. * @return merchantId - **/ + */ @ApiModelProperty(value = "The merchant identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The merchant identifier. - * - * @param merchantId - */ + /** + * The merchant identifier. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * nameLocation + * + * @param nameLocation + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData nameLocation(NameLocation nameLocation) { this.nameLocation = nameLocation; return this; } - /** - * Get nameLocation + /** + * nameLocation * @return nameLocation - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public NameLocation getNameLocation() { return nameLocation; } - - /** - * nameLocation - * - * @param nameLocation - */ + /** + * nameLocation + * + * @param nameLocation + */ @JsonProperty(JSON_PROPERTY_NAME_LOCATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNameLocation(NameLocation nameLocation) { this.nameLocation = nameLocation; } - + /** + * The merchant postal code. + * + * @param postalCode + * @return the current {@code MerchantData} instance, allowing for method chaining + */ public MerchantData postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The merchant postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The merchant postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The merchant postal code. - * - * @param postalCode - */ + /** + * The merchant postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - /** * Return true if this MerchantData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/Modification.java b/src/main/java/com/adyen/model/transferwebhooks/Modification.java index b0fea136f..f396c25aa 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/Modification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/Modification.java @@ -156,6 +156,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -220,156 +222,171 @@ public static StatusEnum fromValue(String value) { public Modification() { } + /** + * The direction of the money movement. + * + * @param direction + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification direction(String direction) { this.direction = direction; return this; } - /** + /** * The direction of the money movement. * @return direction - **/ + */ @ApiModelProperty(value = "The direction of the money movement.") @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDirection() { return direction; } - - /** - * The direction of the money movement. - * - * @param direction - */ + /** + * The direction of the money movement. + * + * @param direction + */ @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirection(String direction) { this.direction = direction; } - + /** + * Our reference for the modification. + * + * @param id + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification id(String id) { this.id = id; return this; } - /** + /** * Our reference for the modification. * @return id - **/ + */ @ApiModelProperty(value = "Our reference for the modification.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * Our reference for the modification. - * - * @param id - */ + /** + * Our reference for the modification. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Your reference for the modification, used internally within your platform. + * + * @param reference + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the modification, used internally within your platform. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the modification, used internally within your platform.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the modification, used internally within your platform. - * - * @param reference - */ + /** + * Your reference for the modification, used internally within your platform. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The status of the transfer event. + * + * @param status + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transfer event. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transfer event.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer event. - * - * @param status - */ + /** + * The status of the transfer event. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * The type of transfer modification. + * + * @param type + * @return the current {@code Modification} instance, allowing for method chaining + */ public Modification type(String type) { this.type = type; return this; } - /** + /** * The type of transfer modification. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer modification.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of transfer modification. - * - * @param type - */ + /** + * The type of transfer modification. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this Modification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java index 727f93a83..83db8ebb6 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NOLocalAccountIdentification() { } + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 11-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 11-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 11-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 11-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **noLocal** + * + * @param type + * @return the current {@code NOLocalAccountIdentification} instance, allowing for method chaining + */ public NOLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **noLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**noLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **noLocal** - * - * @param type - */ + /** + * **noLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NOLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java index 6877e7b9d..907c38bce 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public NZLocalAccountIdentification() { } + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. - * - * @param accountNumber - */ + /** + * The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **nzLocal** + * + * @param type + * @return the current {@code NZLocalAccountIdentification} instance, allowing for method chaining + */ public NZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **nzLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**nzLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **nzLocal** - * - * @param type - */ + /** + * **nzLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NZLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/NameLocation.java b/src/main/java/com/adyen/model/transferwebhooks/NameLocation.java index e02bd6d4c..a14975ce4 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NameLocation.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NameLocation.java @@ -61,186 +61,204 @@ public class NameLocation { public NameLocation() { } + /** + * The city where the merchant is located. + * + * @param city + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation city(String city) { this.city = city; return this; } - /** + /** * The city where the merchant is located. * @return city - **/ + */ @ApiModelProperty(value = "The city where the merchant is located.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city where the merchant is located. - * - * @param city - */ + /** + * The city where the merchant is located. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. + * + * @param country + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation country(String country) { this.country = country; return this; } - /** + /** * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. * @return country - **/ + */ @ApiModelProperty(value = "The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. - * - * @param country - */ + /** + * The country where the merchant is located in [three-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) format. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. + * + * @param countryOfOrigin + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation countryOfOrigin(String countryOfOrigin) { this.countryOfOrigin = countryOfOrigin; return this; } - /** + /** * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. * @return countryOfOrigin - **/ + */ @ApiModelProperty(value = "The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies.") @JsonProperty(JSON_PROPERTY_COUNTRY_OF_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountryOfOrigin() { return countryOfOrigin; } - - /** - * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. - * - * @param countryOfOrigin - */ + /** + * The home country in [three-digit country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) format, used for government-controlled merchants such as embassies. + * + * @param countryOfOrigin + */ @JsonProperty(JSON_PROPERTY_COUNTRY_OF_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountryOfOrigin(String countryOfOrigin) { this.countryOfOrigin = countryOfOrigin; } - + /** + * The name of the merchant's shop or service. + * + * @param name + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation name(String name) { this.name = name; return this; } - /** - * The name of the merchant's shop or service. + /** + * The name of the merchant's shop or service. * @return name - **/ + */ @ApiModelProperty(value = "The name of the merchant's shop or service.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the merchant's shop or service. - * - * @param name - */ + /** + * The name of the merchant's shop or service. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The raw data. + * + * @param rawData + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation rawData(String rawData) { this.rawData = rawData; return this; } - /** + /** * The raw data. * @return rawData - **/ + */ @ApiModelProperty(value = "The raw data.") @JsonProperty(JSON_PROPERTY_RAW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRawData() { return rawData; } - - /** - * The raw data. - * - * @param rawData - */ + /** + * The raw data. + * + * @param rawData + */ @JsonProperty(JSON_PROPERTY_RAW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRawData(String rawData) { this.rawData = rawData; } - + /** + * The state where the merchant is located. + * + * @param state + * @return the current {@code NameLocation} instance, allowing for method chaining + */ public NameLocation state(String state) { this.state = state; return this; } - /** + /** * The state where the merchant is located. * @return state - **/ + */ @ApiModelProperty(value = "The state where the merchant is located.") @JsonProperty(JSON_PROPERTY_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getState() { return state; } - - /** - * The state where the merchant is located. - * - * @param state - */ + /** + * The state where the merchant is located. + * + * @param state + */ @JsonProperty(JSON_PROPERTY_STATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setState(String state) { this.state = state; } - /** * Return true if this NameLocation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java index d584c7e8a..49a8f8dae 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java @@ -87,126 +87,138 @@ public static TypeEnum fromValue(String value) { public NumberAndBicAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. The length and format depends on the bank or country. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace. The length and format depends on the bank or country.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. The length and format depends on the bank or country. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. The length and format depends on the bank or country. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; return this; } - /** - * Get additionalBankIdentification + /** + * additionalBankIdentification * @return additionalBankIdentification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AdditionalBankIdentification getAdditionalBankIdentification() { return additionalBankIdentification; } - - /** - * additionalBankIdentification - * - * @param additionalBankIdentification - */ + /** + * additionalBankIdentification + * + * @param additionalBankIdentification + */ @JsonProperty(JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification) { this.additionalBankIdentification = additionalBankIdentification; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **numberAndBic** + * + * @param type + * @return the current {@code NumberAndBicAccountIdentification} instance, allowing for method chaining + */ public NumberAndBicAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **numberAndBic** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**numberAndBic**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **numberAndBic** - * - * @param type - */ + /** + * **numberAndBic** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this NumberAndBicAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java index 391388f38..572bfb4fa 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java @@ -78,66 +78,72 @@ public static TypeEnum fromValue(String value) { public PLLocalAccountIdentification() { } + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * **plLocal** + * + * @param type + * @return the current {@code PLLocalAccountIdentification} instance, allowing for method chaining + */ public PLLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **plLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**plLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **plLocal** - * - * @param type - */ + /** + * **plLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PLLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java index 889dae4fa..2b65a2f35 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java @@ -104,216 +104,237 @@ public static TypeEnum fromValue(String value) { public PartyIdentification() { } + /** + * address + * + * @param address + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification address(Address address) { this.address = address; return this; } - /** - * Get address + /** + * address * @return address - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Address getAddress() { return address; } - - /** - * address - * - * @param address - */ + /** + * address + * + * @param address + */ @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAddress(Address address) { this.address = address; } - + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification dateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. * @return dateOfBirth - **/ + */ @ApiModelProperty(value = "The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**.") @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public LocalDate getDateOfBirth() { return dateOfBirth; } - - /** - * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. - * - * @param dateOfBirth - */ + /** + * The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**. + * + * @param dateOfBirth + */ @JsonProperty(JSON_PROPERTY_DATE_OF_BIRTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return firstName - **/ + */ @ApiModelProperty(value = "The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } - - /** - * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param firstName - */ + /** + * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param firstName + */ @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFirstName(String firstName) { this.firstName = firstName; } - + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification fullName(String fullName) { this.fullName = fullName; return this; } - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. * @return fullName - **/ + */ @ApiModelProperty(value = "The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**.") @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFullName() { return fullName; } - - /** - * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. - * - * @param fullName - */ + /** + * The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space. Required when `category` is **bank**. + * + * @param fullName + */ @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullName(String fullName) { this.fullName = fullName; } - + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. * @return lastName - **/ + */ @ApiModelProperty(value = "The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } - - /** - * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. - * - * @param lastName - */ + /** + * The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. + * + * @param lastName + */ @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastName(String lastName) { this.lastName = lastName; } - + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification reference(String reference) { this.reference = reference; return this; } - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. * @return reference - **/ + */ @ApiModelProperty(value = "A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. - * - * @param reference - */ + /** + * A unique reference to identify the party or counterparty involved in the transfer. For example, your client's unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + * @return the current {@code PartyIdentification} instance, allowing for method chaining + */ public PartyIdentification type(TypeEnum type) { this.type = type; return this; } - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. * @return type - **/ + */ @ApiModelProperty(value = "The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. - * - * @param type - */ + /** + * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PartyIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/PaymentInstrument.java b/src/main/java/com/adyen/model/transferwebhooks/PaymentInstrument.java index 53de0e883..4261c3a5f 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PaymentInstrument.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PaymentInstrument.java @@ -53,126 +53,138 @@ public class PaymentInstrument { public PaymentInstrument() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The type of wallet that the network token is associated with. + * + * @param tokenType + * @return the current {@code PaymentInstrument} instance, allowing for method chaining + */ public PaymentInstrument tokenType(String tokenType) { this.tokenType = tokenType; return this; } - /** + /** * The type of wallet that the network token is associated with. * @return tokenType - **/ + */ @ApiModelProperty(value = "The type of wallet that the network token is associated with.") @JsonProperty(JSON_PROPERTY_TOKEN_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTokenType() { return tokenType; } - - /** - * The type of wallet that the network token is associated with. - * - * @param tokenType - */ + /** + * The type of wallet that the network token is associated with. + * + * @param tokenType + */ @JsonProperty(JSON_PROPERTY_TOKEN_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTokenType(String tokenType) { this.tokenType = tokenType; } - /** * Return true if this PaymentInstrument object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java index 4b55e2e0b..e4112be78 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java @@ -155,186 +155,204 @@ public static TypeEnum fromValue(String value) { public PlatformPayment() { } + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment modificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; return this; } - /** - * The capture's merchant reference included in the transfer. + /** + * The capture's merchant reference included in the transfer. * @return modificationMerchantReference - **/ + */ @ApiModelProperty(value = "The capture's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationMerchantReference() { return modificationMerchantReference; } - - /** - * The capture's merchant reference included in the transfer. - * - * @param modificationMerchantReference - */ + /** + * The capture's merchant reference included in the transfer. + * + * @param modificationMerchantReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationMerchantReference(String modificationMerchantReference) { this.modificationMerchantReference = modificationMerchantReference; } - + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment modificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; return this; } - /** + /** * The capture reference included in the transfer. * @return modificationPspReference - **/ + */ @ApiModelProperty(value = "The capture reference included in the transfer.") @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getModificationPspReference() { return modificationPspReference; } - - /** - * The capture reference included in the transfer. - * - * @param modificationPspReference - */ + /** + * The capture reference included in the transfer. + * + * @param modificationPspReference + */ @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModificationPspReference(String modificationPspReference) { this.modificationPspReference = modificationPspReference; } - + /** + * The payment's merchant reference included in the transfer. + * + * @param paymentMerchantReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment paymentMerchantReference(String paymentMerchantReference) { this.paymentMerchantReference = paymentMerchantReference; return this; } - /** - * The payment's merchant reference included in the transfer. + /** + * The payment's merchant reference included in the transfer. * @return paymentMerchantReference - **/ + */ @ApiModelProperty(value = "The payment's merchant reference included in the transfer.") @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPaymentMerchantReference() { return paymentMerchantReference; } - - /** - * The payment's merchant reference included in the transfer. - * - * @param paymentMerchantReference - */ + /** + * The payment's merchant reference included in the transfer. + * + * @param paymentMerchantReference + */ @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentMerchantReference(String paymentMerchantReference) { this.paymentMerchantReference = paymentMerchantReference; } - + /** + * The type of the related split. + * + * @param platformPaymentType + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment platformPaymentType(PlatformPaymentTypeEnum platformPaymentType) { this.platformPaymentType = platformPaymentType; return this; } - /** + /** * The type of the related split. * @return platformPaymentType - **/ + */ @ApiModelProperty(value = "The type of the related split.") @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PlatformPaymentTypeEnum getPlatformPaymentType() { return platformPaymentType; } - - /** - * The type of the related split. - * - * @param platformPaymentType - */ + /** + * The type of the related split. + * + * @param platformPaymentType + */ @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformPaymentType(PlatformPaymentTypeEnum platformPaymentType) { this.platformPaymentType = platformPaymentType; } - + /** + * The payment reference included in the transfer. + * + * @param pspPaymentReference + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment pspPaymentReference(String pspPaymentReference) { this.pspPaymentReference = pspPaymentReference; return this; } - /** + /** * The payment reference included in the transfer. * @return pspPaymentReference - **/ + */ @ApiModelProperty(value = "The payment reference included in the transfer.") @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPspPaymentReference() { return pspPaymentReference; } - - /** - * The payment reference included in the transfer. - * - * @param pspPaymentReference - */ + /** + * The payment reference included in the transfer. + * + * @param pspPaymentReference + */ @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPspPaymentReference(String pspPaymentReference) { this.pspPaymentReference = pspPaymentReference; } - + /** + * **platformPayment** + * + * @param type + * @return the current {@code PlatformPayment} instance, allowing for method chaining + */ public PlatformPayment type(TypeEnum type) { this.type = type; return this; } - /** + /** * **platformPayment** * @return type - **/ + */ @ApiModelProperty(value = "**platformPayment**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **platformPayment** - * - * @param type - */ + /** + * **platformPayment** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this PlatformPayment object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/RelayedAuthorisationData.java b/src/main/java/com/adyen/model/transferwebhooks/RelayedAuthorisationData.java index 267471b01..35203497d 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/RelayedAuthorisationData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/RelayedAuthorisationData.java @@ -48,6 +48,12 @@ public class RelayedAuthorisationData { public RelayedAuthorisationData() { } + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + * + * @param metadata + * @return the current {@code RelayedAuthorisationData} instance, allowing for method chaining + */ public RelayedAuthorisationData metadata(Map metadata) { this.metadata = metadata; return this; @@ -61,61 +67,61 @@ public RelayedAuthorisationData putMetadataItem(String key, String metadataItem) return this; } - /** - * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. * @return metadata - **/ + */ @ApiModelProperty(value = "Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMetadata() { return metadata; } - - /** - * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. - * - * @param metadata - */ + /** + * Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`. + * + * @param metadata + */ @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMetadata(Map metadata) { this.metadata = metadata; } - + /** + * Your reference for the relayed authorisation data. + * + * @param reference + * @return the current {@code RelayedAuthorisationData} instance, allowing for method chaining + */ public RelayedAuthorisationData reference(String reference) { this.reference = reference; return this; } - /** + /** * Your reference for the relayed authorisation data. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the relayed authorisation data.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the relayed authorisation data. - * - * @param reference - */ + /** + * Your reference for the relayed authorisation data. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this RelayedAuthorisationData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/Resource.java b/src/main/java/com/adyen/model/transferwebhooks/Resource.java index ea62a0d26..37dacff34 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/Resource.java +++ b/src/main/java/com/adyen/model/transferwebhooks/Resource.java @@ -50,96 +50,105 @@ public class Resource { public Resource() { } + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code Resource} instance, allowing for method chaining + */ public Resource id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - /** * Return true if this Resource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/ResourceReference.java b/src/main/java/com/adyen/model/transferwebhooks/ResourceReference.java index c5ea13885..f1bb9fa51 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/ResourceReference.java +++ b/src/main/java/com/adyen/model/transferwebhooks/ResourceReference.java @@ -49,96 +49,105 @@ public class ResourceReference { public ResourceReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code ResourceReference} instance, allowing for method chaining + */ public ResourceReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - /** * Return true if this ResourceReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java index e318cbcc5..7d8ec4b97 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SELocalAccountIdentification() { } + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. - * - * @param accountNumber - */ + /** + * The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification clearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; return this; } - /** + /** * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. * @return clearingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClearingNumber() { return clearingNumber; } - - /** - * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. - * - * @param clearingNumber - */ + /** + * The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @param clearingNumber + */ @JsonProperty(JSON_PROPERTY_CLEARING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setClearingNumber(String clearingNumber) { this.clearingNumber = clearingNumber; } - + /** + * **seLocal** + * + * @param type + * @return the current {@code SELocalAccountIdentification} instance, allowing for method chaining + */ public SELocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **seLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**seLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **seLocal** - * - * @param type - */ + /** + * **seLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SELocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java index 2eff76f72..281188fc1 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public SGLocalAccountIdentification() { } + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 4- to 19-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 4- to 19-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 4- to 19-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 4- to 19-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification bic(String bic) { this.bic = bic; return this; } - /** - * The bank's 8- or 11-character BIC or SWIFT code. + /** + * The bank's 8- or 11-character BIC or SWIFT code. * @return bic - **/ + */ @ApiModelProperty(required = true, value = "The bank's 8- or 11-character BIC or SWIFT code.") @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBic() { return bic; } - - /** - * The bank's 8- or 11-character BIC or SWIFT code. - * - * @param bic - */ + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ @JsonProperty(JSON_PROPERTY_BIC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBic(String bic) { this.bic = bic; } - + /** + * **sgLocal** + * + * @param type + * @return the current {@code SGLocalAccountIdentification} instance, allowing for method chaining + */ public SGLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **sgLocal** * @return type - **/ + */ @ApiModelProperty(value = "**sgLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **sgLocal** - * - * @param type - */ + /** + * **sgLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this SGLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransactionEventViolation.java b/src/main/java/com/adyen/model/transferwebhooks/TransactionEventViolation.java index b8846196f..7343bdb9f 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransactionEventViolation.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransactionEventViolation.java @@ -51,96 +51,105 @@ public class TransactionEventViolation { public TransactionEventViolation() { } + /** + * An explanation about why the transaction rule failed. + * + * @param reason + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation reason(String reason) { this.reason = reason; return this; } - /** + /** * An explanation about why the transaction rule failed. * @return reason - **/ + */ @ApiModelProperty(value = "An explanation about why the transaction rule failed.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReason() { return reason; } - - /** - * An explanation about why the transaction rule failed. - * - * @param reason - */ + /** + * An explanation about why the transaction rule failed. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(String reason) { this.reason = reason; } - + /** + * transactionRule + * + * @param transactionRule + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation transactionRule(TransactionRuleReference transactionRule) { this.transactionRule = transactionRule; return this; } - /** - * Get transactionRule + /** + * transactionRule * @return transactionRule - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleReference getTransactionRule() { return transactionRule; } - - /** - * transactionRule - * - * @param transactionRule - */ + /** + * transactionRule + * + * @param transactionRule + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRule(TransactionRuleReference transactionRule) { this.transactionRule = transactionRule; } - + /** + * transactionRuleSource + * + * @param transactionRuleSource + * @return the current {@code TransactionEventViolation} instance, allowing for method chaining + */ public TransactionEventViolation transactionRuleSource(TransactionRuleSource transactionRuleSource) { this.transactionRuleSource = transactionRuleSource; return this; } - /** - * Get transactionRuleSource + /** + * transactionRuleSource * @return transactionRuleSource - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRuleSource getTransactionRuleSource() { return transactionRuleSource; } - - /** - * transactionRuleSource - * - * @param transactionRuleSource - */ + /** + * transactionRuleSource + * + * @param transactionRuleSource + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULE_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRuleSource(TransactionRuleSource transactionRuleSource) { this.transactionRuleSource = transactionRuleSource; } - /** * Return true if this TransactionEventViolation object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleReference.java b/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleReference.java index b132d7c25..c5fb7af51 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleReference.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleReference.java @@ -57,156 +57,171 @@ public class TransactionRuleReference { public TransactionRuleReference() { } + /** + * The description of the resource. + * + * @param description + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference description(String description) { this.description = description; return this; } - /** + /** * The description of the resource. * @return description - **/ + */ @ApiModelProperty(value = "The description of the resource.") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * The description of the resource. - * - * @param description - */ + /** + * The description of the resource. + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } - + /** + * The unique identifier of the resource. + * + * @param id + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the resource. - * - * @param id - */ + /** + * The unique identifier of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * The outcome type of the rule. + * + * @param outcomeType + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference outcomeType(String outcomeType) { this.outcomeType = outcomeType; return this; } - /** + /** * The outcome type of the rule. * @return outcomeType - **/ + */ @ApiModelProperty(value = "The outcome type of the rule.") @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOutcomeType() { return outcomeType; } - - /** - * The outcome type of the rule. - * - * @param outcomeType - */ + /** + * The outcome type of the rule. + * + * @param outcomeType + */ @JsonProperty(JSON_PROPERTY_OUTCOME_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOutcomeType(String outcomeType) { this.outcomeType = outcomeType; } - + /** + * The reference for the resource. + * + * @param reference + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference reference(String reference) { this.reference = reference; return this; } - /** + /** * The reference for the resource. * @return reference - **/ + */ @ApiModelProperty(value = "The reference for the resource.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * The reference for the resource. - * - * @param reference - */ + /** + * The reference for the resource. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * The score of the rule in case it's a scoreBased rule. + * + * @param score + * @return the current {@code TransactionRuleReference} instance, allowing for method chaining + */ public TransactionRuleReference score(Integer score) { this.score = score; return this; } - /** - * The score of the rule in case it's a scoreBased rule. + /** + * The score of the rule in case it's a scoreBased rule. * @return score - **/ + */ @ApiModelProperty(value = "The score of the rule in case it's a scoreBased rule.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * The score of the rule in case it's a scoreBased rule. - * - * @param score - */ + /** + * The score of the rule in case it's a scoreBased rule. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - /** * Return true if this TransactionRuleReference object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleSource.java b/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleSource.java index 40650f198..135524ecd 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleSource.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransactionRuleSource.java @@ -45,66 +45,72 @@ public class TransactionRuleSource { public TransactionRuleSource() { } + /** + * ID of the resource, when applicable. + * + * @param id + * @return the current {@code TransactionRuleSource} instance, allowing for method chaining + */ public TransactionRuleSource id(String id) { this.id = id; return this; } - /** + /** * ID of the resource, when applicable. * @return id - **/ + */ @ApiModelProperty(value = "ID of the resource, when applicable.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * ID of the resource, when applicable. - * - * @param id - */ + /** + * ID of the resource, when applicable. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + * + * @param type + * @return the current {@code TransactionRuleSource} instance, allowing for method chaining + */ public TransactionRuleSource type(String type) { this.type = type; return this; } - /** + /** * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. * @return type - **/ + */ @ApiModelProperty(value = "Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. - * - * @param type - */ + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TransactionRuleSource object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransactionRulesResult.java b/src/main/java/com/adyen/model/transferwebhooks/TransactionRulesResult.java index 24286ede6..d7b98c92a 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransactionRulesResult.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransactionRulesResult.java @@ -56,96 +56,111 @@ public class TransactionRulesResult { public TransactionRulesResult() { } + /** + * The advice given by the Risk analysis. + * + * @param advice + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult advice(String advice) { this.advice = advice; return this; } - /** + /** * The advice given by the Risk analysis. * @return advice - **/ + */ @ApiModelProperty(value = "The advice given by the Risk analysis.") @JsonProperty(JSON_PROPERTY_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAdvice() { return advice; } - - /** - * The advice given by the Risk analysis. - * - * @param advice - */ + /** + * The advice given by the Risk analysis. + * + * @param advice + */ @JsonProperty(JSON_PROPERTY_ADVICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdvice(String advice) { this.advice = advice; } - + /** + * Indicates whether the transaction passed the evaluation for all hardblock rules + * + * @param allHardBlockRulesPassed + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult allHardBlockRulesPassed(Boolean allHardBlockRulesPassed) { this.allHardBlockRulesPassed = allHardBlockRulesPassed; return this; } - /** + /** * Indicates whether the transaction passed the evaluation for all hardblock rules * @return allHardBlockRulesPassed - **/ + */ @ApiModelProperty(value = "Indicates whether the transaction passed the evaluation for all hardblock rules") @JsonProperty(JSON_PROPERTY_ALL_HARD_BLOCK_RULES_PASSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getAllHardBlockRulesPassed() { return allHardBlockRulesPassed; } - - /** - * Indicates whether the transaction passed the evaluation for all hardblock rules - * - * @param allHardBlockRulesPassed - */ + /** + * Indicates whether the transaction passed the evaluation for all hardblock rules + * + * @param allHardBlockRulesPassed + */ @JsonProperty(JSON_PROPERTY_ALL_HARD_BLOCK_RULES_PASSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAllHardBlockRulesPassed(Boolean allHardBlockRulesPassed) { this.allHardBlockRulesPassed = allHardBlockRulesPassed; } - + /** + * The score of the Risk analysis. + * + * @param score + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult score(Integer score) { this.score = score; return this; } - /** + /** * The score of the Risk analysis. * @return score - **/ + */ @ApiModelProperty(value = "The score of the Risk analysis.") @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getScore() { return score; } - - /** - * The score of the Risk analysis. - * - * @param score - */ + /** + * The score of the Risk analysis. + * + * @param score + */ @JsonProperty(JSON_PROPERTY_SCORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setScore(Integer score) { this.score = score; } - + /** + * Array containing all the transaction rules that the transaction triggered. + * + * @param triggeredTransactionRules + * @return the current {@code TransactionRulesResult} instance, allowing for method chaining + */ public TransactionRulesResult triggeredTransactionRules(List triggeredTransactionRules) { this.triggeredTransactionRules = triggeredTransactionRules; return this; @@ -159,31 +174,28 @@ public TransactionRulesResult addTriggeredTransactionRulesItem(TransactionEventV return this; } - /** + /** * Array containing all the transaction rules that the transaction triggered. * @return triggeredTransactionRules - **/ + */ @ApiModelProperty(value = "Array containing all the transaction rules that the transaction triggered.") @JsonProperty(JSON_PROPERTY_TRIGGERED_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTriggeredTransactionRules() { return triggeredTransactionRules; } - - /** - * Array containing all the transaction rules that the transaction triggered. - * - * @param triggeredTransactionRules - */ + /** + * Array containing all the transaction rules that the transaction triggered. + * + * @param triggeredTransactionRules + */ @JsonProperty(JSON_PROPERTY_TRIGGERED_TRANSACTION_RULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTriggeredTransactionRules(List triggeredTransactionRules) { this.triggeredTransactionRules = triggeredTransactionRules; } - /** * Return true if this TransactionRulesResult object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferData.java b/src/main/java/com/adyen/model/transferwebhooks/TransferData.java index 384fcf713..04f10f8d2 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferData.java @@ -18,6 +18,7 @@ import java.util.HashMap; import com.adyen.model.transferwebhooks.Amount; import com.adyen.model.transferwebhooks.BalanceMutation; +import com.adyen.model.transferwebhooks.DirectDebitInformation; import com.adyen.model.transferwebhooks.PaymentInstrument; import com.adyen.model.transferwebhooks.ResourceReference; import com.adyen.model.transferwebhooks.TransactionRulesResult; @@ -25,6 +26,7 @@ import com.adyen.model.transferwebhooks.TransferDataTracking; import com.adyen.model.transferwebhooks.TransferEvent; import com.adyen.model.transferwebhooks.TransferNotificationCounterParty; +import com.adyen.model.transferwebhooks.TransferReview; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -53,6 +55,7 @@ TransferData.JSON_PROPERTY_COUNTERPARTY, TransferData.JSON_PROPERTY_CREATION_DATE, TransferData.JSON_PROPERTY_DESCRIPTION, + TransferData.JSON_PROPERTY_DIRECT_DEBIT_INFORMATION, TransferData.JSON_PROPERTY_DIRECTION, TransferData.JSON_PROPERTY_EVENTS, TransferData.JSON_PROPERTY_ID, @@ -60,6 +63,7 @@ TransferData.JSON_PROPERTY_REASON, TransferData.JSON_PROPERTY_REFERENCE, TransferData.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY, + TransferData.JSON_PROPERTY_REVIEW, TransferData.JSON_PROPERTY_SEQUENCE_NUMBER, TransferData.JSON_PROPERTY_STATUS, TransferData.JSON_PROPERTY_TRACKING, @@ -139,6 +143,9 @@ public static CategoryEnum fromValue(String value) { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; + public static final String JSON_PROPERTY_DIRECT_DEBIT_INFORMATION = "directDebitInformation"; + private DirectDebitInformation directDebitInformation; + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. */ @@ -190,6 +197,8 @@ public static DirectionEnum fromValue(String value) { * Additional information about the status of the transfer. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -212,18 +221,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -262,6 +277,9 @@ public static ReasonEnum fromValue(String value) { public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY = "referenceForBeneficiary"; private String referenceForBeneficiary; + public static final String JSON_PROPERTY_REVIEW = "review"; + private TransferReview review; + public static final String JSON_PROPERTY_SEQUENCE_NUMBER = "sequenceNumber"; private Integer sequenceNumber; @@ -373,6 +391,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -550,126 +570,144 @@ public static TypeEnum fromValue(String value) { public TransferData() { } + /** + * accountHolder + * + * @param accountHolder + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData accountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; return this; } - /** - * Get accountHolder + /** + * accountHolder * @return accountHolder - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getAccountHolder() { return accountHolder; } - - /** - * accountHolder - * - * @param accountHolder - */ + /** + * accountHolder + * + * @param accountHolder + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountHolder(ResourceReference accountHolder) { this.accountHolder = accountHolder; } - + /** + * amount + * + * @param amount + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * balanceAccount + * + * @param balanceAccount + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; return this; } - /** - * Get balanceAccount + /** + * balanceAccount * @return balanceAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ResourceReference getBalanceAccount() { return balanceAccount; } - - /** - * balanceAccount - * - * @param balanceAccount - */ + /** + * balanceAccount + * + * @param balanceAccount + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccount(ResourceReference balanceAccount) { this.balanceAccount = balanceAccount; } - + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; return this; } - /** + /** * The unique identifier of the balance platform. * @return balancePlatform - **/ + */ @ApiModelProperty(value = "The unique identifier of the balance platform.") @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalancePlatform() { return balancePlatform; } - - /** - * The unique identifier of the balance platform. - * - * @param balancePlatform - */ + /** + * The unique identifier of the balance platform. + * + * @param balancePlatform + */ @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalancePlatform(String balancePlatform) { this.balancePlatform = balancePlatform; } - + /** + * The list of the latest balance statuses in the transfer. + * + * @param balances + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData balances(List balances) { this.balances = balances; return this; @@ -683,211 +721,265 @@ public TransferData addBalancesItem(BalanceMutation balancesItem) { return this; } - /** + /** * The list of the latest balance statuses in the transfer. * @return balances - **/ + */ @ApiModelProperty(value = "The list of the latest balance statuses in the transfer.") @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBalances() { return balances; } - - /** - * The list of the latest balance statuses in the transfer. - * - * @param balances - */ + /** + * The list of the latest balance statuses in the transfer. + * + * @param balances + */ @JsonProperty(JSON_PROPERTY_BALANCES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalances(List balances) { this.balances = balances; } - + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData category(CategoryEnum category) { this.category = category; return this; } - /** + /** * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. * @return category - **/ + */ @ApiModelProperty(required = true, value = "The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users.") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CategoryEnum getCategory() { return category; } - - /** - * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - * - * @param category - */ + /** + * The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by an Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. + * + * @param category + */ @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategory(CategoryEnum category) { this.category = category; } - + /** + * categoryData + * + * @param categoryData + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData categoryData(TransferDataCategoryData categoryData) { this.categoryData = categoryData; return this; } - /** - * Get categoryData + /** + * categoryData * @return categoryData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferDataCategoryData getCategoryData() { return categoryData; } - - /** - * categoryData - * - * @param categoryData - */ + /** + * categoryData + * + * @param categoryData + */ @JsonProperty(JSON_PROPERTY_CATEGORY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCategoryData(TransferDataCategoryData categoryData) { this.categoryData = categoryData; } - + /** + * counterparty + * + * @param counterparty + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData counterparty(TransferNotificationCounterParty counterparty) { this.counterparty = counterparty; return this; } - /** - * Get counterparty + /** + * counterparty * @return counterparty - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferNotificationCounterParty getCounterparty() { return counterparty; } - - /** - * counterparty - * - * @param counterparty - */ + /** + * counterparty + * + * @param counterparty + */ @JsonProperty(JSON_PROPERTY_COUNTERPARTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCounterparty(TransferNotificationCounterParty counterparty) { this.counterparty = counterparty; } - + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData creationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; return this; } - /** + /** * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. * @return creationDate - **/ + */ @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.") @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreationDate() { return creationDate; } - - /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. - * - * @param creationDate - */ + /** + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * + * @param creationDate + */ @JsonProperty(JSON_PROPERTY_CREATION_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreationDate(OffsetDateTime creationDate) { this.creationDate = creationDate; } - + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData description(String description) { this.description = description; return this; } - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** * @return description - **/ + */ @ApiModelProperty(value = "Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getDescription() { return description; } - - /** - * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** - * - * @param description - */ + /** + * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?** + * + * @param description + */ @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } + /** + * directDebitInformation + * + * @param directDebitInformation + * @return the current {@code TransferData} instance, allowing for method chaining + */ + public TransferData directDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + return this; + } + /** + * directDebitInformation + * @return directDebitInformation + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public DirectDebitInformation getDirectDebitInformation() { + return directDebitInformation; + } + + /** + * directDebitInformation + * + * @param directDebitInformation + */ + @JsonProperty(JSON_PROPERTY_DIRECT_DEBIT_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirectDebitInformation(DirectDebitInformation directDebitInformation) { + this.directDebitInformation = directDebitInformation; + } + + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData direction(DirectionEnum direction) { this.direction = direction; return this; } - /** + /** * The direction of the transfer. Possible values: **incoming**, **outgoing**. * @return direction - **/ + */ @ApiModelProperty(value = "The direction of the transfer. Possible values: **incoming**, **outgoing**.") @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DirectionEnum getDirection() { return direction; } - - /** - * The direction of the transfer. Possible values: **incoming**, **outgoing**. - * - * @param direction - */ + /** + * The direction of the transfer. Possible values: **incoming**, **outgoing**. + * + * @param direction + */ @JsonProperty(JSON_PROPERTY_DIRECTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDirection(DirectionEnum direction) { this.direction = direction; } - + /** + * The list of events leading up to the current status of the transfer. + * + * @param events + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData events(List events) { this.events = events; return this; @@ -901,331 +993,391 @@ public TransferData addEventsItem(TransferEvent eventsItem) { return this; } - /** + /** * The list of events leading up to the current status of the transfer. * @return events - **/ + */ @ApiModelProperty(value = "The list of events leading up to the current status of the transfer.") @JsonProperty(JSON_PROPERTY_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEvents() { return events; } - - /** - * The list of events leading up to the current status of the transfer. - * - * @param events - */ + /** + * The list of events leading up to the current status of the transfer. + * + * @param events + */ @JsonProperty(JSON_PROPERTY_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEvents(List events) { this.events = events; } - + /** + * The ID of the resource. + * + * @param id + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData id(String id) { this.id = id; return this; } - /** + /** * The ID of the resource. * @return id - **/ + */ @ApiModelProperty(value = "The ID of the resource.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The ID of the resource. - * - * @param id - */ + /** + * The ID of the resource. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * paymentInstrument + * + * @param paymentInstrument + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData paymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; return this; } - /** - * Get paymentInstrument + /** + * paymentInstrument * @return paymentInstrument - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public PaymentInstrument getPaymentInstrument() { return paymentInstrument; } - - /** - * paymentInstrument - * - * @param paymentInstrument - */ + /** + * paymentInstrument + * + * @param paymentInstrument + */ @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentInstrument(PaymentInstrument paymentInstrument) { this.paymentInstrument = paymentInstrument; } - + /** + * Additional information about the status of the transfer. + * + * @param reason + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * Additional information about the status of the transfer. * @return reason - **/ + */ @ApiModelProperty(value = "Additional information about the status of the transfer.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * Additional information about the status of the transfer. - * - * @param reason - */ + /** + * Additional information about the status of the transfer. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData reference(String reference) { this.reference = reference; return this; } - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. * @return reference - **/ + */ @ApiModelProperty(value = "Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReference() { return reference; } - - /** - * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. - * - * @param reference - */ + /** + * Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference. + * + * @param reference + */ @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReference(String reference) { this.reference = reference; } - + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData referenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; return this; } - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. * @return referenceForBeneficiary - **/ + */ @ApiModelProperty(value = " A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.") @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceForBeneficiary() { return referenceForBeneficiary; } - - /** - * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. - * - * @param referenceForBeneficiary - */ + /** + * A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds. Supported characters: **a-z**, **A-Z**, **0-9**.The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others. + * + * @param referenceForBeneficiary + */ @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceForBeneficiary(String referenceForBeneficiary) { this.referenceForBeneficiary = referenceForBeneficiary; } + /** + * review + * + * @param review + * @return the current {@code TransferData} instance, allowing for method chaining + */ + public TransferData review(TransferReview review) { + this.review = review; + return this; + } + + /** + * review + * @return review + */ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TransferReview getReview() { + return review; + } + /** + * review + * + * @param review + */ + @JsonProperty(JSON_PROPERTY_REVIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReview(TransferReview review) { + this.review = review; + } + + /** + * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. + * + * @param sequenceNumber + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData sequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; return this; } - /** + /** * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. * @return sequenceNumber - **/ + */ @ApiModelProperty(value = "The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order.") @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSequenceNumber() { return sequenceNumber; } - - /** - * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. - * - * @param sequenceNumber - */ + /** + * The sequence number of the transfer webhook. The numbers start from 1 and increase with each new webhook for a specific transfer. The sequence number can help you restore the correct sequence of events even if they arrive out of order. + * + * @param sequenceNumber + */ @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; } - + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData status(StatusEnum status) { this.status = status; return this; } - /** + /** * The result of the transfer. For example, **authorised**, **refused**, or **error**. * @return status - **/ + */ @ApiModelProperty(required = true, value = "The result of the transfer. For example, **authorised**, **refused**, or **error**.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The result of the transfer. For example, **authorised**, **refused**, or **error**. - * - * @param status - */ + /** + * The result of the transfer. For example, **authorised**, **refused**, or **error**. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * tracking + * + * @param tracking + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData tracking(TransferDataTracking tracking) { this.tracking = tracking; return this; } - /** - * Get tracking + /** + * tracking * @return tracking - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRACKING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferDataTracking getTracking() { return tracking; } - - /** - * tracking - * - * @param tracking - */ + /** + * tracking + * + * @param tracking + */ @JsonProperty(JSON_PROPERTY_TRACKING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTracking(TransferDataTracking tracking) { this.tracking = tracking; } - + /** + * transactionRulesResult + * + * @param transactionRulesResult + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData transactionRulesResult(TransactionRulesResult transactionRulesResult) { this.transactionRulesResult = transactionRulesResult; return this; } - /** - * Get transactionRulesResult + /** + * transactionRulesResult * @return transactionRulesResult - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransactionRulesResult getTransactionRulesResult() { return transactionRulesResult; } - - /** - * transactionRulesResult - * - * @param transactionRulesResult - */ + /** + * transactionRulesResult + * + * @param transactionRulesResult + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionRulesResult(TransactionRulesResult transactionRulesResult) { this.transactionRulesResult = transactionRulesResult; } - + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + * @return the current {@code TransferData} instance, allowing for method chaining + */ public TransferData type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. * @return type - **/ + */ @ApiModelProperty(value = "The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. - * - * @param type - */ + /** + * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransferData object is equal to o. */ @@ -1248,6 +1400,7 @@ public boolean equals(Object o) { Objects.equals(this.counterparty, transferData.counterparty) && Objects.equals(this.creationDate, transferData.creationDate) && Objects.equals(this.description, transferData.description) && + Objects.equals(this.directDebitInformation, transferData.directDebitInformation) && Objects.equals(this.direction, transferData.direction) && Objects.equals(this.events, transferData.events) && Objects.equals(this.id, transferData.id) && @@ -1255,6 +1408,7 @@ public boolean equals(Object o) { Objects.equals(this.reason, transferData.reason) && Objects.equals(this.reference, transferData.reference) && Objects.equals(this.referenceForBeneficiary, transferData.referenceForBeneficiary) && + Objects.equals(this.review, transferData.review) && Objects.equals(this.sequenceNumber, transferData.sequenceNumber) && Objects.equals(this.status, transferData.status) && Objects.equals(this.tracking, transferData.tracking) && @@ -1264,7 +1418,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountHolder, amount, balanceAccount, balancePlatform, balances, category, categoryData, counterparty, creationDate, description, direction, events, id, paymentInstrument, reason, reference, referenceForBeneficiary, sequenceNumber, status, tracking, transactionRulesResult, type); + return Objects.hash(accountHolder, amount, balanceAccount, balancePlatform, balances, category, categoryData, counterparty, creationDate, description, directDebitInformation, direction, events, id, paymentInstrument, reason, reference, referenceForBeneficiary, review, sequenceNumber, status, tracking, transactionRulesResult, type); } @Override @@ -1281,6 +1435,7 @@ public String toString() { sb.append(" counterparty: ").append(toIndentedString(counterparty)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" directDebitInformation: ").append(toIndentedString(directDebitInformation)).append("\n"); sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); sb.append(" events: ").append(toIndentedString(events)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); @@ -1288,6 +1443,7 @@ public String toString() { sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n"); + sb.append(" review: ").append(toIndentedString(review)).append("\n"); sb.append(" sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" tracking: ").append(toIndentedString(tracking)).append("\n"); diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java b/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java index 2b85c8ca6..0df458e44 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java @@ -94,6 +94,8 @@ public class TransferEvent { * The reason for the transfer status. */ public enum ReasonEnum { + ACCOUNTHIERARCHYNOTACTIVE("accountHierarchyNotActive"), + AMOUNTLIMITEXCEEDED("amountLimitExceeded"), APPROVED("approved"), @@ -116,18 +118,24 @@ public enum ReasonEnum { DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"), + DIRECTDEBITNOTSUPPORTED("directDebitNotSupported"), + ERROR("error"), NOTENOUGHBALANCE("notEnoughBalance"), PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"), ROUTENOTFOUND("routeNotFound"), SCAFAILED("scaFailed"), + TRANSFERINSTRUMENTDOESNOTEXIST("transferInstrumentDoesNotExist"), + UNKNOWN("unknown"); private String value; @@ -268,6 +276,8 @@ public enum StatusEnum { PENDINGAPPROVAL("pendingApproval"), + PENDINGEXECUTION("pendingExecution"), + RECEIVED("received"), REFUNDPENDING("refundPending"), @@ -379,36 +389,45 @@ public static TypeEnum fromValue(String value) { public TransferEvent() { } + /** + * amount + * + * @param amount + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent amount(Amount amount) { this.amount = amount; return this; } - /** - * Get amount + /** + * amount * @return amount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getAmount() { return amount; } - - /** - * amount - * - * @param amount - */ + /** + * amount + * + * @param amount + */ @JsonProperty(JSON_PROPERTY_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmount(Amount amount) { this.amount = amount; } - + /** + * The amount adjustments in this transfer. + * + * @param amountAdjustments + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent amountAdjustments(List amountAdjustments) { this.amountAdjustments = amountAdjustments; return this; @@ -422,211 +441,232 @@ public TransferEvent addAmountAdjustmentsItem(AmountAdjustment amountAdjustments return this; } - /** + /** * The amount adjustments in this transfer. * @return amountAdjustments - **/ + */ @ApiModelProperty(value = "The amount adjustments in this transfer.") @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAmountAdjustments() { return amountAdjustments; } - - /** - * The amount adjustments in this transfer. - * - * @param amountAdjustments - */ + /** + * The amount adjustments in this transfer. + * + * @param amountAdjustments + */ @JsonProperty(JSON_PROPERTY_AMOUNT_ADJUSTMENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAmountAdjustments(List amountAdjustments) { this.amountAdjustments = amountAdjustments; } - + /** + * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. + * + * @param arn + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent arn(String arn) { this.arn = arn; return this; } - /** + /** * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. * @return arn - **/ + */ @ApiModelProperty(value = "Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc.") @JsonProperty(JSON_PROPERTY_ARN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getArn() { return arn; } - - /** - * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. - * - * @param arn - */ + /** + * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. + * + * @param arn + */ @JsonProperty(JSON_PROPERTY_ARN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setArn(String arn) { this.arn = arn; } - + /** + * The date when the transfer request was sent. + * + * @param bookingDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent bookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; return this; } - /** + /** * The date when the transfer request was sent. * @return bookingDate - **/ + */ @ApiModelProperty(value = "The date when the transfer request was sent.") @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getBookingDate() { return bookingDate; } - - /** - * The date when the transfer request was sent. - * - * @param bookingDate - */ + /** + * The date when the transfer request was sent. + * + * @param bookingDate + */ @JsonProperty(JSON_PROPERTY_BOOKING_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBookingDate(OffsetDateTime bookingDate) { this.bookingDate = bookingDate; } - + /** + * The estimated time when the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent estimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; return this; } - /** + /** * The estimated time when the beneficiary should have access to the funds. * @return estimatedArrivalTime - **/ + */ @ApiModelProperty(value = "The estimated time when the beneficiary should have access to the funds.") @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getEstimatedArrivalTime() { return estimatedArrivalTime; } - - /** - * The estimated time when the beneficiary should have access to the funds. - * - * @param estimatedArrivalTime - */ + /** + * The estimated time when the beneficiary should have access to the funds. + * + * @param estimatedArrivalTime + */ @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime) { this.estimatedArrivalTime = estimatedArrivalTime; } - + /** + * externalReason + * + * @param externalReason + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent externalReason(ExternalReason externalReason) { this.externalReason = externalReason; return this; } - /** - * Get externalReason + /** + * externalReason * @return externalReason - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EXTERNAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ExternalReason getExternalReason() { return externalReason; } - - /** - * externalReason - * - * @param externalReason - */ + /** + * externalReason + * + * @param externalReason + */ @JsonProperty(JSON_PROPERTY_EXTERNAL_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExternalReason(ExternalReason externalReason) { this.externalReason = externalReason; } - + /** + * The unique identifier of the transfer event. + * + * @param id + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent id(String id) { this.id = id; return this; } - /** + /** * The unique identifier of the transfer event. * @return id - **/ + */ @ApiModelProperty(value = "The unique identifier of the transfer event.") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { return id; } - - /** - * The unique identifier of the transfer event. - * - * @param id - */ + /** + * The unique identifier of the transfer event. + * + * @param id + */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setId(String id) { this.id = id; } - + /** + * modification + * + * @param modification + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent modification(Modification modification) { this.modification = modification; return this; } - /** - * Get modification + /** + * modification * @return modification - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MODIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Modification getModification() { return modification; } - - /** - * modification - * - * @param modification - */ + /** + * modification + * + * @param modification + */ @JsonProperty(JSON_PROPERTY_MODIFICATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setModification(Modification modification) { this.modification = modification; } - + /** + * The list of balance mutations per event. + * + * @param mutations + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent mutations(List mutations) { this.mutations = mutations; return this; @@ -640,271 +680,292 @@ public TransferEvent addMutationsItem(BalanceMutation mutationsItem) { return this; } - /** + /** * The list of balance mutations per event. * @return mutations - **/ + */ @ApiModelProperty(value = "The list of balance mutations per event.") @JsonProperty(JSON_PROPERTY_MUTATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMutations() { return mutations; } - - /** - * The list of balance mutations per event. - * - * @param mutations - */ + /** + * The list of balance mutations per event. + * + * @param mutations + */ @JsonProperty(JSON_PROPERTY_MUTATIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMutations(List mutations) { this.mutations = mutations; } - + /** + * originalAmount + * + * @param originalAmount + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent originalAmount(Amount originalAmount) { this.originalAmount = originalAmount; return this; } - /** - * Get originalAmount + /** + * originalAmount * @return originalAmount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Amount getOriginalAmount() { return originalAmount; } - - /** - * originalAmount - * - * @param originalAmount - */ + /** + * originalAmount + * + * @param originalAmount + */ @JsonProperty(JSON_PROPERTY_ORIGINAL_AMOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOriginalAmount(Amount originalAmount) { this.originalAmount = originalAmount; } - + /** + * The reason for the transfer status. + * + * @param reason + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent reason(ReasonEnum reason) { this.reason = reason; return this; } - /** + /** * The reason for the transfer status. * @return reason - **/ + */ @ApiModelProperty(value = "The reason for the transfer status.") @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ReasonEnum getReason() { return reason; } - - /** - * The reason for the transfer status. - * - * @param reason - */ + /** + * The reason for the transfer status. + * + * @param reason + */ @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReason(ReasonEnum reason) { this.reason = reason; } - + /** + * The status of the transfer event. + * + * @param status + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent status(StatusEnum status) { this.status = status; return this; } - /** + /** * The status of the transfer event. * @return status - **/ + */ @ApiModelProperty(value = "The status of the transfer event.") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } - - /** - * The status of the transfer event. - * - * @param status - */ + /** + * The status of the transfer event. + * + * @param status + */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStatus(StatusEnum status) { this.status = status; } - + /** + * trackingData + * + * @param trackingData + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent trackingData(TransferEventTrackingData trackingData) { this.trackingData = trackingData; return this; } - /** - * Get trackingData + /** + * trackingData * @return trackingData - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TRACKING_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferEventTrackingData getTrackingData() { return trackingData; } - - /** - * trackingData - * - * @param trackingData - */ + /** + * trackingData + * + * @param trackingData + */ @JsonProperty(JSON_PROPERTY_TRACKING_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingData(TransferEventTrackingData trackingData) { this.trackingData = trackingData; } - + /** + * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. + * + * @param transactionId + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** + /** * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. * @return transactionId - **/ + */ @ApiModelProperty(value = "The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes.") @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransactionId() { return transactionId; } - - /** - * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. - * - * @param transactionId - */ + /** + * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. + * + * @param transactionId + */ @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransactionId(String transactionId) { this.transactionId = transactionId; } - + /** + * The type of the transfer event. Possible values: **accounting**, **tracking**. + * + * @param type + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of the transfer event. Possible values: **accounting**, **tracking**. * @return type - **/ + */ @ApiModelProperty(value = "The type of the transfer event. Possible values: **accounting**, **tracking**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of the transfer event. Possible values: **accounting**, **tracking**. - * - * @param type - */ + /** + * The type of the transfer event. Possible values: **accounting**, **tracking**. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - + /** + * The date when the tracking status was updated. + * + * @param updateDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent updateDate(OffsetDateTime updateDate) { this.updateDate = updateDate; return this; } - /** + /** * The date when the tracking status was updated. * @return updateDate - **/ + */ @ApiModelProperty(value = "The date when the tracking status was updated.") @JsonProperty(JSON_PROPERTY_UPDATE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getUpdateDate() { return updateDate; } - - /** - * The date when the tracking status was updated. - * - * @param updateDate - */ + /** + * The date when the tracking status was updated. + * + * @param updateDate + */ @JsonProperty(JSON_PROPERTY_UPDATE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUpdateDate(OffsetDateTime updateDate) { this.updateDate = updateDate; } - + /** + * A future date, when the funds are expected to be deducted from or credited to the balance account. + * + * @param valueDate + * @return the current {@code TransferEvent} instance, allowing for method chaining + */ public TransferEvent valueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; return this; } - /** + /** * A future date, when the funds are expected to be deducted from or credited to the balance account. * @return valueDate - **/ + */ @ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.") @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getValueDate() { return valueDate; } - - /** - * A future date, when the funds are expected to be deducted from or credited to the balance account. - * - * @param valueDate - */ + /** + * A future date, when the funds are expected to be deducted from or credited to the balance account. + * + * @param valueDate + */ @JsonProperty(JSON_PROPERTY_VALUE_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValueDate(OffsetDateTime valueDate) { this.valueDate = valueDate; } - /** * Return true if this TransferEvent object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationCounterParty.java b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationCounterParty.java index d3794e19f..16d3bbd26 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationCounterParty.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationCounterParty.java @@ -60,156 +60,171 @@ public class TransferNotificationCounterParty { public TransferNotificationCounterParty() { } + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty balanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; return this; } - /** + /** * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). * @return balanceAccountId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).") @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBalanceAccountId() { return balanceAccountId; } - - /** - * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). - * - * @param balanceAccountId - */ + /** + * The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). + * + * @param balanceAccountId + */ @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBalanceAccountId(String balanceAccountId) { this.balanceAccountId = balanceAccountId; } - + /** + * bankAccount + * + * @param bankAccount + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty bankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; return this; } - /** - * Get bankAccount + /** + * bankAccount * @return bankAccount - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BankAccountV3 getBankAccount() { return bankAccount; } - - /** - * bankAccount - * - * @param bankAccount - */ + /** + * bankAccount + * + * @param bankAccount + */ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBankAccount(BankAccountV3 bankAccount) { this.bankAccount = bankAccount; } - + /** + * card + * + * @param card + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty card(Card card) { this.card = card; return this; } - /** - * Get card + /** + * card * @return card - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Card getCard() { return card; } - - /** - * card - * - * @param card - */ + /** + * card + * + * @param card + */ @JsonProperty(JSON_PROPERTY_CARD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCard(Card card) { this.card = card; } - + /** + * merchant + * + * @param merchant + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty merchant(TransferNotificationMerchantData merchant) { this.merchant = merchant; return this; } - /** - * Get merchant + /** + * merchant * @return merchant - **/ + */ @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferNotificationMerchantData getMerchant() { return merchant; } - - /** - * merchant - * - * @param merchant - */ + /** + * merchant + * + * @param merchant + */ @JsonProperty(JSON_PROPERTY_MERCHANT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchant(TransferNotificationMerchantData merchant) { this.merchant = merchant; } - + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + * @return the current {@code TransferNotificationCounterParty} instance, allowing for method chaining + */ public TransferNotificationCounterParty transferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; return this; } - /** + /** * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). * @return transferInstrumentId - **/ + */ @ApiModelProperty(value = "The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).") @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTransferInstrumentId() { return transferInstrumentId; } - - /** - * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). - * - * @param transferInstrumentId - */ + /** + * The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id). + * + * @param transferInstrumentId + */ @JsonProperty(JSON_PROPERTY_TRANSFER_INSTRUMENT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransferInstrumentId(String transferInstrumentId) { this.transferInstrumentId = transferInstrumentId; } - /** * Return true if this TransferNotificationCounterParty object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationMerchantData.java b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationMerchantData.java index aeef34ee5..018907d90 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationMerchantData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationMerchantData.java @@ -65,216 +65,237 @@ public class TransferNotificationMerchantData { public TransferNotificationMerchantData() { } + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData acquirerId(String acquirerId) { this.acquirerId = acquirerId; return this; } - /** - * The unique identifier of the merchant's acquirer. + /** + * The unique identifier of the merchant's acquirer. * @return acquirerId - **/ + */ @ApiModelProperty(value = "The unique identifier of the merchant's acquirer.") @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAcquirerId() { return acquirerId; } - - /** - * The unique identifier of the merchant's acquirer. - * - * @param acquirerId - */ + /** + * The unique identifier of the merchant's acquirer. + * + * @param acquirerId + */ @JsonProperty(JSON_PROPERTY_ACQUIRER_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAcquirerId(String acquirerId) { this.acquirerId = acquirerId; } - + /** + * The city where the merchant is located. + * + * @param city + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData city(String city) { this.city = city; return this; } - /** + /** * The city where the merchant is located. * @return city - **/ + */ @ApiModelProperty(value = "The city where the merchant is located.") @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCity() { return city; } - - /** - * The city where the merchant is located. - * - * @param city - */ + /** + * The city where the merchant is located. + * + * @param city + */ @JsonProperty(JSON_PROPERTY_CITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCity(String city) { this.city = city; } - + /** + * The country where the merchant is located. + * + * @param country + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData country(String country) { this.country = country; return this; } - /** + /** * The country where the merchant is located. * @return country - **/ + */ @ApiModelProperty(value = "The country where the merchant is located.") @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCountry() { return country; } - - /** - * The country where the merchant is located. - * - * @param country - */ + /** + * The country where the merchant is located. + * + * @param country + */ @JsonProperty(JSON_PROPERTY_COUNTRY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCountry(String country) { this.country = country; } - + /** + * The merchant category code. + * + * @param mcc + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData mcc(String mcc) { this.mcc = mcc; return this; } - /** + /** * The merchant category code. * @return mcc - **/ + */ @ApiModelProperty(value = "The merchant category code.") @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMcc() { return mcc; } - - /** - * The merchant category code. - * - * @param mcc - */ + /** + * The merchant category code. + * + * @param mcc + */ @JsonProperty(JSON_PROPERTY_MCC) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMcc(String mcc) { this.mcc = mcc; } - + /** + * The merchant identifier. + * + * @param merchantId + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData merchantId(String merchantId) { this.merchantId = merchantId; return this; } - /** + /** * The merchant identifier. * @return merchantId - **/ + */ @ApiModelProperty(value = "The merchant identifier.") @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMerchantId() { return merchantId; } - - /** - * The merchant identifier. - * - * @param merchantId - */ + /** + * The merchant identifier. + * + * @param merchantId + */ @JsonProperty(JSON_PROPERTY_MERCHANT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - + /** + * The name of the merchant's shop or service. + * + * @param name + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData name(String name) { this.name = name; return this; } - /** - * The name of the merchant's shop or service. + /** + * The name of the merchant's shop or service. * @return name - **/ + */ @ApiModelProperty(value = "The name of the merchant's shop or service.") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } - - /** - * The name of the merchant's shop or service. - * - * @param name - */ + /** + * The name of the merchant's shop or service. + * + * @param name + */ @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } - + /** + * The merchant postal code. + * + * @param postalCode + * @return the current {@code TransferNotificationMerchantData} instance, allowing for method chaining + */ public TransferNotificationMerchantData postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** + /** * The merchant postal code. * @return postalCode - **/ + */ @ApiModelProperty(value = "The merchant postal code.") @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPostalCode() { return postalCode; } - - /** - * The merchant postal code. - * - * @param postalCode - */ + /** + * The merchant postal code. + * + * @param postalCode + */ @JsonProperty(JSON_PROPERTY_POSTAL_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - /** * Return true if this TransferNotificationMerchantData object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationRequest.java b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationRequest.java index ebafe4e73..f6439ceac 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationRequest.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationRequest.java @@ -85,96 +85,105 @@ public static TypeEnum fromValue(String value) { public TransferNotificationRequest() { } + /** + * data + * + * @param data + * @return the current {@code TransferNotificationRequest} instance, allowing for method chaining + */ public TransferNotificationRequest data(TransferData data) { this.data = data; return this; } - /** - * Get data + /** + * data * @return data - **/ + */ @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferData getData() { return data; } - - /** - * data - * - * @param data - */ + /** + * data + * + * @param data + */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setData(TransferData data) { this.data = data; } - + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + * @return the current {@code TransferNotificationRequest} instance, allowing for method chaining + */ public TransferNotificationRequest environment(String environment) { this.environment = environment; return this; } - /** + /** * The environment from which the webhook originated. Possible values: **test**, **live**. * @return environment - **/ + */ @ApiModelProperty(required = true, value = "The environment from which the webhook originated. Possible values: **test**, **live**.") @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEnvironment() { return environment; } - - /** - * The environment from which the webhook originated. Possible values: **test**, **live**. - * - * @param environment - */ + /** + * The environment from which the webhook originated. Possible values: **test**, **live**. + * + * @param environment + */ @JsonProperty(JSON_PROPERTY_ENVIRONMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEnvironment(String environment) { this.environment = environment; } - + /** + * The type of webhook. + * + * @param type + * @return the current {@code TransferNotificationRequest} instance, allowing for method chaining + */ public TransferNotificationRequest type(TypeEnum type) { this.type = type; return this; } - /** + /** * The type of webhook. * @return type - **/ + */ @ApiModelProperty(value = "The type of webhook.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * The type of webhook. - * - * @param type - */ + /** + * The type of webhook. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this TransferNotificationRequest object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationValidationFact.java b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationValidationFact.java index b600ae16d..97919bfdc 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationValidationFact.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferNotificationValidationFact.java @@ -45,66 +45,72 @@ public class TransferNotificationValidationFact { public TransferNotificationValidationFact() { } + /** + * The evaluation result of the validation fact. + * + * @param result + * @return the current {@code TransferNotificationValidationFact} instance, allowing for method chaining + */ public TransferNotificationValidationFact result(String result) { this.result = result; return this; } - /** + /** * The evaluation result of the validation fact. * @return result - **/ + */ @ApiModelProperty(value = "The evaluation result of the validation fact.") @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getResult() { return result; } - - /** - * The evaluation result of the validation fact. - * - * @param result - */ + /** + * The evaluation result of the validation fact. + * + * @param result + */ @JsonProperty(JSON_PROPERTY_RESULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setResult(String result) { this.result = result; } - + /** + * The type of the validation fact. + * + * @param type + * @return the current {@code TransferNotificationValidationFact} instance, allowing for method chaining + */ public TransferNotificationValidationFact type(String type) { this.type = type; return this; } - /** + /** * The type of the validation fact. * @return type - **/ + */ @ApiModelProperty(value = "The type of the validation fact.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } - - /** - * The type of the validation fact. - * - * @param type - */ + /** + * The type of the validation fact. + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(String type) { this.type = type; } - /** * Return true if this TransferNotificationValidationFact object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferReview.java b/src/main/java/com/adyen/model/transferwebhooks/TransferReview.java new file mode 100644 index 000000000..03e906ddc --- /dev/null +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferReview.java @@ -0,0 +1,251 @@ +/* + * Transfer webhooks + * + * The version of the OpenAPI document: 4 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.transferwebhooks; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * TransferReview + */ +@JsonPropertyOrder({ + TransferReview.JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED, + TransferReview.JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED, + TransferReview.JSON_PROPERTY_SCA_ON_APPROVAL +}) + +public class TransferReview { + public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED = "numberOfApprovalsCompleted"; + private Integer numberOfApprovalsCompleted; + + public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED = "numberOfApprovalsRequired"; + private Integer numberOfApprovalsRequired; + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + */ + public enum ScaOnApprovalEnum { + COMPLETED("completed"), + + NOTAPPLICABLE("notApplicable"), + + REQUIRED("required"); + + private String value; + + ScaOnApprovalEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ScaOnApprovalEnum fromValue(String value) { + for (ScaOnApprovalEnum b : ScaOnApprovalEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_SCA_ON_APPROVAL = "scaOnApproval"; + private ScaOnApprovalEnum scaOnApproval; + + public TransferReview() { + } + + /** + * Shows the number of approvals completed for the transfer. + * + * @param numberOfApprovalsCompleted + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview numberOfApprovalsCompleted(Integer numberOfApprovalsCompleted) { + this.numberOfApprovalsCompleted = numberOfApprovalsCompleted; + return this; + } + + /** + * Shows the number of approvals completed for the transfer. + * @return numberOfApprovalsCompleted + */ + @ApiModelProperty(value = "Shows the number of approvals completed for the transfer.") + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getNumberOfApprovalsCompleted() { + return numberOfApprovalsCompleted; + } + + /** + * Shows the number of approvals completed for the transfer. + * + * @param numberOfApprovalsCompleted + */ + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumberOfApprovalsCompleted(Integer numberOfApprovalsCompleted) { + this.numberOfApprovalsCompleted = numberOfApprovalsCompleted; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview numberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + return this; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * @return numberOfApprovalsRequired + */ + @ApiModelProperty(value = "Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.") + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getNumberOfApprovalsRequired() { + return numberOfApprovalsRequired; + } + + /** + * Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer. + * + * @param numberOfApprovalsRequired + */ + @JsonProperty(JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumberOfApprovalsRequired(Integer numberOfApprovalsRequired) { + this.numberOfApprovalsRequired = numberOfApprovalsRequired; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * + * @param scaOnApproval + * @return the current {@code TransferReview} instance, allowing for method chaining + */ + public TransferReview scaOnApproval(ScaOnApprovalEnum scaOnApproval) { + this.scaOnApproval = scaOnApproval; + return this; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * @return scaOnApproval + */ + @ApiModelProperty(value = "Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**.") + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ScaOnApprovalEnum getScaOnApproval() { + return scaOnApproval; + } + + /** + * Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**. + * + * @param scaOnApproval + */ + @JsonProperty(JSON_PROPERTY_SCA_ON_APPROVAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setScaOnApproval(ScaOnApprovalEnum scaOnApproval) { + this.scaOnApproval = scaOnApproval; + } + + /** + * Return true if this TransferReview object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TransferReview transferReview = (TransferReview) o; + return Objects.equals(this.numberOfApprovalsCompleted, transferReview.numberOfApprovalsCompleted) && + Objects.equals(this.numberOfApprovalsRequired, transferReview.numberOfApprovalsRequired) && + Objects.equals(this.scaOnApproval, transferReview.scaOnApproval); + } + + @Override + public int hashCode() { + return Objects.hash(numberOfApprovalsCompleted, numberOfApprovalsRequired, scaOnApproval); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TransferReview {\n"); + sb.append(" numberOfApprovalsCompleted: ").append(toIndentedString(numberOfApprovalsCompleted)).append("\n"); + sb.append(" numberOfApprovalsRequired: ").append(toIndentedString(numberOfApprovalsRequired)).append("\n"); + sb.append(" scaOnApproval: ").append(toIndentedString(scaOnApproval)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of TransferReview given an JSON string + * + * @param jsonString JSON string + * @return An instance of TransferReview + * @throws JsonProcessingException if the JSON string is invalid with respect to TransferReview + */ + public static TransferReview fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, TransferReview.class); + } +/** + * Convert an instance of TransferReview to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java index 32541556e..34b9eacfe 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java @@ -82,96 +82,105 @@ public static TypeEnum fromValue(String value) { public UKLocalAccountIdentification() { } + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The 8-digit bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The 8-digit bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The 8-digit bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The 8-digit bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification sortCode(String sortCode) { this.sortCode = sortCode; return this; } - /** + /** * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. * @return sortCode - **/ + */ @ApiModelProperty(required = true, value = "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSortCode() { return sortCode; } - - /** - * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. - * - * @param sortCode - */ + /** + * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @param sortCode + */ @JsonProperty(JSON_PROPERTY_SORT_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSortCode(String sortCode) { this.sortCode = sortCode; } - + /** + * **ukLocal** + * + * @param type + * @return the current {@code UKLocalAccountIdentification} instance, allowing for method chaining + */ public UKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **ukLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**ukLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **ukLocal** - * - * @param type - */ + /** + * **ukLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this UKLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java index c8635fa63..1572d8afa 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java @@ -121,126 +121,138 @@ public static TypeEnum fromValue(String value) { public USLocalAccountIdentification() { } + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountNumber(String accountNumber) { this.accountNumber = accountNumber; return this; } - /** + /** * The bank account number, without separators or whitespace. * @return accountNumber - **/ + */ @ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAccountNumber() { return accountNumber; } - - /** - * The bank account number, without separators or whitespace. - * - * @param accountNumber - */ + /** + * The bank account number, without separators or whitespace. + * + * @param accountNumber + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } - + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification accountType(AccountTypeEnum accountType) { this.accountType = accountType; return this; } - /** + /** * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. * @return accountType - **/ + */ @ApiModelProperty(value = "The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public AccountTypeEnum getAccountType() { return accountType; } - - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - * - * @param accountType - */ + /** + * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @param accountType + */ @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountTypeEnum accountType) { this.accountType = accountType; } - + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; } - /** + /** * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. * @return routingNumber - **/ + */ @ApiModelProperty(required = true, value = "The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.") @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getRoutingNumber() { return routingNumber; } - - /** - * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. - * - * @param routingNumber - */ + /** + * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @param routingNumber + */ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRoutingNumber(String routingNumber) { this.routingNumber = routingNumber; } - + /** + * **usLocal** + * + * @param type + * @return the current {@code USLocalAccountIdentification} instance, allowing for method chaining + */ public USLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; } - /** + /** * **usLocal** * @return type - **/ + */ @ApiModelProperty(required = true, value = "**usLocal**") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } - - /** - * **usLocal** - * - * @param type - */ + /** + * **usLocal** + * + * @param type + */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(TypeEnum type) { this.type = type; } - /** * Return true if this USLocalAccountIdentification object is equal to o. */ diff --git a/src/main/java/com/adyen/service/PaymentApi.java b/src/main/java/com/adyen/service/PaymentApi.java index 1d865cd6c..963230b34 100644 --- a/src/main/java/com/adyen/service/PaymentApi.java +++ b/src/main/java/com/adyen/service/PaymentApi.java @@ -260,7 +260,7 @@ public ModificationResult capture(CaptureRequest captureRequest, RequestOptions * @param donationRequest {@link DonationRequest } (required) * @return {@link ModificationResult } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated */ @Deprecated public ModificationResult donate(DonationRequest donationRequest) throws ApiException, IOException { @@ -274,7 +274,7 @@ public ModificationResult donate(DonationRequest donationRequest) throws ApiExce * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) * @return {@link ModificationResult } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated */ @Deprecated public ModificationResult donate(DonationRequest donationRequest, RequestOptions requestOptions) throws ApiException, IOException { diff --git a/src/main/java/com/adyen/service/checkout/ClassicCheckoutSdkApi.java b/src/main/java/com/adyen/service/checkout/ClassicCheckoutSdkApi.java index be4fa7a3d..4d786c607 100644 --- a/src/main/java/com/adyen/service/checkout/ClassicCheckoutSdkApi.java +++ b/src/main/java/com/adyen/service/checkout/ClassicCheckoutSdkApi.java @@ -59,7 +59,7 @@ public ClassicCheckoutSdkApi(Client client, String baseURL) { * @param paymentSetupRequest {@link PaymentSetupRequest } (required) * @return {@link PaymentSetupResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v37 */ @Deprecated public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupRequest) throws ApiException, IOException { @@ -73,7 +73,7 @@ public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupReque * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) * @return {@link PaymentSetupResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v37 */ @Deprecated public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupRequest, RequestOptions requestOptions) throws ApiException, IOException { @@ -90,7 +90,7 @@ public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupReque * @param paymentVerificationRequest {@link PaymentVerificationRequest } (required) * @return {@link PaymentVerificationResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v37 */ @Deprecated public PaymentVerificationResponse verifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest) throws ApiException, IOException { @@ -104,7 +104,7 @@ public PaymentVerificationResponse verifyPaymentResult(PaymentVerificationReques * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) * @return {@link PaymentVerificationResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v37 */ @Deprecated public PaymentVerificationResponse verifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest, RequestOptions requestOptions) throws ApiException, IOException { diff --git a/src/main/java/com/adyen/service/checkout/UtilityApi.java b/src/main/java/com/adyen/service/checkout/UtilityApi.java index 0cd5cb1cd..9da23615a 100644 --- a/src/main/java/com/adyen/service/checkout/UtilityApi.java +++ b/src/main/java/com/adyen/service/checkout/UtilityApi.java @@ -88,7 +88,7 @@ public ApplePaySessionResponse getApplePaySession(ApplePaySessionRequest applePa * @param utilityRequest {@link UtilityRequest } (required) * @return {@link UtilityResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v67 */ @Deprecated public UtilityResponse originKeys(UtilityRequest utilityRequest) throws ApiException, IOException { @@ -102,7 +102,7 @@ public UtilityResponse originKeys(UtilityRequest utilityRequest) throws ApiExcep * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) * @return {@link UtilityResponse } * @throws ApiException if fails to make API call - * @deprecated + * @deprecated since Adyen Checkout API v67 */ @Deprecated public UtilityResponse originKeys(UtilityRequest utilityRequest, RequestOptions requestOptions) throws ApiException, IOException { diff --git a/src/main/java/com/adyen/service/transfers/TransfersApi.java b/src/main/java/com/adyen/service/transfers/TransfersApi.java index 338fb641c..46b5f9a4c 100644 --- a/src/main/java/com/adyen/service/transfers/TransfersApi.java +++ b/src/main/java/com/adyen/service/transfers/TransfersApi.java @@ -14,6 +14,8 @@ import com.adyen.Client; import com.adyen.Service; import com.adyen.constants.ApiConstants; +import com.adyen.model.transfers.ApproveTransfersRequest; +import com.adyen.model.transfers.CancelTransfersRequest; import com.adyen.model.transfers.FindTransfersResponse; import java.time.OffsetDateTime; import com.adyen.model.transfers.ReturnTransferRequest; @@ -57,6 +59,54 @@ public TransfersApi(Client client, String baseURL) { this.baseURL = baseURL; } + /** + * Approve initiated transfers + * + * @param approveTransfersRequest {@link ApproveTransfersRequest } (required) + * @throws ApiException if fails to make API call + */ + public void approveInitiatedTransfers(ApproveTransfersRequest approveTransfersRequest) throws ApiException, IOException { + approveInitiatedTransfers(approveTransfersRequest, null); + } + + /** + * Approve initiated transfers + * + * @param approveTransfersRequest {@link ApproveTransfersRequest } (required) + * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) + * @throws ApiException if fails to make API call + */ + public void approveInitiatedTransfers(ApproveTransfersRequest approveTransfersRequest, RequestOptions requestOptions) throws ApiException, IOException { + + String requestBody = approveTransfersRequest.toJson(); + Resource resource = new Resource(this, this.baseURL + "/transfers/approve", null); + resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, null); + } + + /** + * Cancel initiated transfers + * + * @param cancelTransfersRequest {@link CancelTransfersRequest } (required) + * @throws ApiException if fails to make API call + */ + public void cancelInitiatedTransfers(CancelTransfersRequest cancelTransfersRequest) throws ApiException, IOException { + cancelInitiatedTransfers(cancelTransfersRequest, null); + } + + /** + * Cancel initiated transfers + * + * @param cancelTransfersRequest {@link CancelTransfersRequest } (required) + * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) + * @throws ApiException if fails to make API call + */ + public void cancelInitiatedTransfers(CancelTransfersRequest cancelTransfersRequest, RequestOptions requestOptions) throws ApiException, IOException { + + String requestBody = cancelTransfersRequest.toJson(); + Resource resource = new Resource(this, this.baseURL + "/transfers/cancel", null); + resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, null); + } + /** * Get all transfers *