Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdk-generation-log/management.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"service": "management",
"project": "java",
"generatedAt": "2026-07-21T13:17:05Z",
"openapiCommitSha": "c2ff0637d25d1c34aa1b19113e1b4e5eaa289960",
"automationCommitSha": "0c108bd8050cf480d2710b78b770afdfbdd89397",
"libraryCommitSha": "eebe7978ae86e44506c5a2dc292a119d58212d88"
"generatedAt": "2026-10-08T14:22:29Z",
"openapiCommitSha": "45520ee6246d7e3d8074c3c5c5e991e65c2c02d6",
"automationCommitSha": "82147244fd717b50362f88a20e4436e693d0aed6",
"libraryCommitSha": "00947dacaaee54f8ed6e4929cc04f243e32ad898"
}
170 changes: 167 additions & 3 deletions src/main/java/com/adyen/model/management/AlipayPlusInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,32 @@
import java.util.*;

/** AlipayPlusInfo */
@JsonPropertyOrder({AlipayPlusInfo.JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE})
@JsonPropertyOrder({
AlipayPlusInfo.JSON_PROPERTY_BRANCH_NAME,
AlipayPlusInfo.JSON_PROPERTY_MERCHANT_MOBILE_APP_NAME,
AlipayPlusInfo.JSON_PROPERTY_PRODUCT_SERVICE_DESCRIPTION,
AlipayPlusInfo.JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE
})
public class AlipayPlusInfo {
public static final String JSON_PROPERTY_BRANCH_NAME = "branchName";
private String branchName;

/** Mark when the attribute has been explicitly set. */
private boolean isSetBranchName = false;

public static final String JSON_PROPERTY_MERCHANT_MOBILE_APP_NAME = "merchantMobileAppName";
private String merchantMobileAppName;

/** Mark when the attribute has been explicitly set. */
private boolean isSetMerchantMobileAppName = false;

public static final String JSON_PROPERTY_PRODUCT_SERVICE_DESCRIPTION =
"productServiceDescription";
private String productServiceDescription;

/** Mark when the attribute has been explicitly set. */
private boolean isSetProductServiceDescription = false;

public static final String JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE = "settlementCurrencyCode";
private String settlementCurrencyCode;

Expand All @@ -36,6 +60,114 @@ public class AlipayPlusInfo {

public AlipayPlusInfo() {}

/**
* The name of the company branch. Required for TrueMoney.
*
* @param branchName The name of the company branch. Required for TrueMoney.
* @return the current {@code AlipayPlusInfo} instance, allowing for method chaining
*/
public AlipayPlusInfo branchName(String branchName) {
this.branchName = branchName;
isSetBranchName = true; // mark as set
return this;
}

/**
* The name of the company branch. Required for TrueMoney.
*
* @return branchName The name of the company branch. Required for TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_BRANCH_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBranchName() {
return branchName;
}

/**
* The name of the company branch. Required for TrueMoney.
*
* @param branchName The name of the company branch. Required for TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_BRANCH_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBranchName(String branchName) {
this.branchName = branchName;
isSetBranchName = true; // mark as set
}

/**
* The name of your mobile app. Required for TrueMoney.
*
* @param merchantMobileAppName The name of your mobile app. Required for TrueMoney.
* @return the current {@code AlipayPlusInfo} instance, allowing for method chaining
*/
public AlipayPlusInfo merchantMobileAppName(String merchantMobileAppName) {
this.merchantMobileAppName = merchantMobileAppName;
isSetMerchantMobileAppName = true; // mark as set
return this;
}

/**
* The name of your mobile app. Required for TrueMoney.
*
* @return merchantMobileAppName The name of your mobile app. Required for TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_MERCHANT_MOBILE_APP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMerchantMobileAppName() {
return merchantMobileAppName;
}

/**
* The name of your mobile app. Required for TrueMoney.
*
* @param merchantMobileAppName The name of your mobile app. Required for TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_MERCHANT_MOBILE_APP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMerchantMobileAppName(String merchantMobileAppName) {
this.merchantMobileAppName = merchantMobileAppName;
isSetMerchantMobileAppName = true; // mark as set
}

/**
* The description of the product or service. Required for TrueMoney.
*
* @param productServiceDescription The description of the product or service. Required for
* TrueMoney.
* @return the current {@code AlipayPlusInfo} instance, allowing for method chaining
*/
public AlipayPlusInfo productServiceDescription(String productServiceDescription) {
this.productServiceDescription = productServiceDescription;
isSetProductServiceDescription = true; // mark as set
return this;
}

/**
* The description of the product or service. Required for TrueMoney.
*
* @return productServiceDescription The description of the product or service. Required for
* TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_PRODUCT_SERVICE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProductServiceDescription() {
return productServiceDescription;
}

/**
* The description of the product or service. Required for TrueMoney.
*
* @param productServiceDescription The description of the product or service. Required for
* TrueMoney.
*/
@JsonProperty(JSON_PROPERTY_PRODUCT_SERVICE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProductServiceDescription(String productServiceDescription) {
this.productServiceDescription = productServiceDescription;
isSetProductServiceDescription = true; // mark as set
}

/**
* The currency used for settlement. Defaults to USD.
*
Expand Down Expand Up @@ -101,20 +233,43 @@ public boolean equals(Object o) {
return false;
}
AlipayPlusInfo alipayPlusInfo = (AlipayPlusInfo) o;
return Objects.equals(this.settlementCurrencyCode, alipayPlusInfo.settlementCurrencyCode)
return Objects.equals(this.branchName, alipayPlusInfo.branchName)
&& Objects.equals(this.isSetBranchName, alipayPlusInfo.isSetBranchName)
&& Objects.equals(this.merchantMobileAppName, alipayPlusInfo.merchantMobileAppName)
&& Objects.equals(
this.isSetMerchantMobileAppName, alipayPlusInfo.isSetMerchantMobileAppName)
&& Objects.equals(this.productServiceDescription, alipayPlusInfo.productServiceDescription)
&& Objects.equals(
this.isSetProductServiceDescription, alipayPlusInfo.isSetProductServiceDescription)
&& Objects.equals(this.settlementCurrencyCode, alipayPlusInfo.settlementCurrencyCode)
&& Objects.equals(
this.isSetSettlementCurrencyCode, alipayPlusInfo.isSetSettlementCurrencyCode);
}

@Override
public int hashCode() {
return Objects.hash(settlementCurrencyCode, isSetSettlementCurrencyCode);
return Objects.hash(
branchName,
isSetBranchName,
merchantMobileAppName,
isSetMerchantMobileAppName,
productServiceDescription,
isSetProductServiceDescription,
settlementCurrencyCode,
isSetSettlementCurrencyCode);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AlipayPlusInfo {\n");
sb.append(" branchName: ").append(toIndentedString(branchName)).append("\n");
sb.append(" merchantMobileAppName: ")
.append(toIndentedString(merchantMobileAppName))
.append("\n");
sb.append(" productServiceDescription: ")
.append(toIndentedString(productServiceDescription))
.append("\n");
sb.append(" settlementCurrencyCode: ")
.append(toIndentedString(settlementCurrencyCode))
.append("\n");
Expand Down Expand Up @@ -142,6 +297,15 @@ public Map<String, Object> getExplicitNulls() {

Map<String, Object> nulls = new HashMap<>();

if (isSetBranchName) {
addIfNull(nulls, JSON_PROPERTY_BRANCH_NAME, this.branchName);
}
if (isSetMerchantMobileAppName) {
addIfNull(nulls, JSON_PROPERTY_MERCHANT_MOBILE_APP_NAME, this.merchantMobileAppName);
}
if (isSetProductServiceDescription) {
addIfNull(nulls, JSON_PROPERTY_PRODUCT_SERVICE_DESCRIPTION, this.productServiceDescription);
}
if (isSetSettlementCurrencyCode) {
addIfNull(nulls, JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE, this.settlementCurrencyCode);
}
Expand Down
Loading
Loading