Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Jan 26, 2024
1 parent ce9f478 commit 3444dd2
Show file tree
Hide file tree
Showing 848 changed files with 32,124 additions and 240 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/adyen/model/balancecontrol/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,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 @@ -89,6 +94,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
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ public Amount getAmount() {
}


/**
* amount
*
* @param amount
*/
@JsonProperty(JSON_PROPERTY_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAmount(Amount amount) {
Expand All @@ -149,6 +154,11 @@ public String getDescription() {
}


/**
* 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) {
Expand All @@ -174,6 +184,11 @@ public String getFromMerchant() {
}


/**
* 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) {
Expand All @@ -199,6 +214,11 @@ public String getReference() {
}


/**
* 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) {
Expand All @@ -224,6 +244,11 @@ public String getToMerchant() {
}


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


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


/**
* amount
*
* @param amount
*/
@JsonProperty(JSON_PROPERTY_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAmount(Amount amount) {
Expand All @@ -201,6 +206,11 @@ public OffsetDateTime getCreatedAt() {
}


/**
* 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) {
Expand All @@ -226,6 +236,11 @@ public String getDescription() {
}


/**
* 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) {
Expand All @@ -251,6 +266,11 @@ public String getFromMerchant() {
}


/**
* 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) {
Expand All @@ -276,6 +296,11 @@ public String getPspReference() {
}


/**
* 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) {
Expand All @@ -301,6 +326,11 @@ public String getReference() {
}


/**
* 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) {
Expand All @@ -326,6 +356,11 @@ public StatusEnum getStatus() {
}


/**
* 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) {
Expand All @@ -351,6 +386,11 @@ public String getToMerchant() {
}


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


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


/**
* 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) {
Expand All @@ -125,6 +130,11 @@ public String getBsbCode() {
}


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


/**
* **auLocal**
*
* @param type
*/
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(TypeEnum type) {
Expand Down
65 changes: 65 additions & 0 deletions src/main/java/com/adyen/model/balanceplatform/AccountHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ public String getBalancePlatform() {
}


/**
* 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) {
Expand Down Expand Up @@ -186,6 +191,11 @@ public Map<String, AccountHolderCapability> getCapabilities() {
}


/**
* 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<String, AccountHolderCapability> capabilities) {
Expand All @@ -211,6 +221,11 @@ public ContactDetails getContactDetails() {
}


/**
* contactDetails
*
* @param contactDetails
*/
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContactDetails(ContactDetails contactDetails) {
Expand All @@ -236,6 +251,11 @@ public String getDescription() {
}


/**
* Your description for the account holder, maximum 300 characters.
*
* @param description
*/
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
Expand All @@ -261,6 +281,11 @@ public String getId() {
}


/**
* The unique identifier of the account holder.
*
* @param id
*/
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(String id) {
Expand All @@ -286,6 +311,11 @@ public String getLegalEntityId() {
}


/**
* 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) {
Expand Down Expand Up @@ -319,6 +349,11 @@ public Map<String, String> getMetadata() {
}


/**
* 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. &gt; 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<String, String> metadata) {
Expand All @@ -344,6 +379,11 @@ public String getMigratedAccountHolderCode() {
}


/**
* 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) {
Expand All @@ -369,6 +409,11 @@ public String getPrimaryBalanceAccount() {
}


/**
* The ID of the account holder&#39;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) {
Expand All @@ -394,6 +439,11 @@ public String getReference() {
}


/**
* Your reference for the account holder, maximum 150 characters.
*
* @param reference
*/
@JsonProperty(JSON_PROPERTY_REFERENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReference(String reference) {
Expand All @@ -419,6 +469,11 @@ public StatusEnum getStatus() {
}


/**
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **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) {
Expand All @@ -444,6 +499,11 @@ public String getTimeZone() {
}


/**
* 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) {
Expand Down Expand Up @@ -477,6 +537,11 @@ public List<VerificationDeadline> getVerificationDeadlines() {
}


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

0 comments on commit 3444dd2

Please sign in to comment.