Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Dec 20, 2023
1 parent 1768c6d commit 57e3f0a
Show file tree
Hide file tree
Showing 997 changed files with 31,366 additions and 2,372 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/adyen/model/acswebhooks/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ public String getCurrency() {
}


/**
* 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) {
Expand All @@ -88,6 +93,11 @@ public Long getValue() {
}


/**
* 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) {
Expand Down
75 changes: 75 additions & 0 deletions src/main/java/com/adyen/model/acswebhooks/AuthenticationInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ public String getAcsTransId() {
}


/**
* 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) {
Expand All @@ -487,6 +492,11 @@ public ChallengeInfo getChallenge() {
}


/**
* challenge
*
* @param challenge
*/
@JsonProperty(JSON_PROPERTY_CHALLENGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setChallenge(ChallengeInfo challenge) {
Expand All @@ -512,6 +522,11 @@ public ChallengeIndicatorEnum getChallengeIndicator() {
}


/**
* 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) {
Expand All @@ -537,6 +552,11 @@ public OffsetDateTime getCreatedAt() {
}


/**
* 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) {
Expand All @@ -562,6 +582,11 @@ public DeviceChannelEnum getDeviceChannel() {
}


/**
* 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) {
Expand All @@ -587,6 +612,11 @@ public String getDsTransID() {
}


/**
* 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) {
Expand All @@ -612,6 +642,11 @@ public ExemptionIndicatorEnum getExemptionIndicator() {
}


/**
* 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) {
Expand All @@ -637,6 +672,11 @@ public Boolean getInPSD2Scope() {
}


/**
* 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) {
Expand All @@ -662,6 +702,11 @@ public MessageCategoryEnum getMessageCategory() {
}


/**
* 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) {
Expand All @@ -687,6 +732,11 @@ public String getMessageVersion() {
}


/**
* 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) {
Expand All @@ -712,6 +762,11 @@ public Integer getRiskScore() {
}


/**
* 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) {
Expand All @@ -737,6 +792,11 @@ public String getThreeDSServerTransID() {
}


/**
* 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) {
Expand All @@ -762,6 +822,11 @@ public TransStatusEnum getTransStatus() {
}


/**
* 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) {
Expand All @@ -787,6 +852,11 @@ public TransStatusReasonEnum getTransStatusReason() {
}


/**
* 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) {
Expand All @@ -812,6 +882,11 @@ public TypeEnum getType() {
}


/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ public AuthenticationInfo getAuthentication() {
}


/**
* authentication
*
* @param authentication
*/
@JsonProperty(JSON_PROPERTY_AUTHENTICATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAuthentication(AuthenticationInfo authentication) {
Expand All @@ -143,6 +148,11 @@ public String getBalancePlatform() {
}


/**
* 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) {
Expand All @@ -168,6 +178,11 @@ public String getId() {
}


/**
* Unique identifier of the authentication.
*
* @param id
*/
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(String id) {
Expand All @@ -193,6 +208,11 @@ public String getPaymentInstrumentId() {
}


/**
* 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) {
Expand All @@ -218,6 +238,11 @@ public PurchaseInfo getPurchase() {
}


/**
* purchase
*
* @param purchase
*/
@JsonProperty(JSON_PROPERTY_PURCHASE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPurchase(PurchaseInfo purchase) {
Expand All @@ -243,6 +268,11 @@ public StatusEnum getStatus() {
}


/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ public AuthenticationNotificationData getData() {
}


/**
* data
*
* @param data
*/
@JsonProperty(JSON_PROPERTY_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setData(AuthenticationNotificationData data) {
Expand All @@ -126,6 +131,11 @@ public String getEnvironment() {
}


/**
* 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) {
Expand All @@ -151,6 +161,11 @@ public TypeEnum getType() {
}


/**
* Type of notification.
*
* @param type
*/
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(TypeEnum type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public String getNotificationResponse() {
}


/**
* 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) {
Expand Down
30 changes: 30 additions & 0 deletions src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ public ChallengeCancelEnum getChallengeCancel() {
}


/**
* 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) {
Expand All @@ -185,6 +190,11 @@ public FlowEnum getFlow() {
}


/**
* 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) {
Expand All @@ -210,6 +220,11 @@ public OffsetDateTime getLastInteraction() {
}


/**
* 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) {
Expand All @@ -235,6 +250,11 @@ public String getPhoneNumber() {
}


/**
* 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) {
Expand All @@ -260,6 +280,11 @@ public Integer getResends() {
}


/**
* 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) {
Expand All @@ -285,6 +310,11 @@ public Integer getRetries() {
}


/**
* 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) {
Expand Down
Loading

0 comments on commit 57e3f0a

Please sign in to comment.