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
131 changes: 131 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/AbaCard.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
/*
* aba-inquireCard
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;

/** AbaCard */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AbaCard {

/** 卡资产ID。 Card asset Id. */
private String assetId;

/**
* 由用户定义的卡昵称,可以帮助用户更方便地管理多张卡。 User-defined card nickname, designed to help users manage multiple
* cards more conveniently.
*/
private String cardNickName;

/** 脱敏卡号。 Masked card number. */
private String maskedCardNo;

/**
* 卡状态。可取值范围: ACTIVE:可正常使用 FROZEN:已冻结 CANCEL:已注销 Card Status: Represents the current state of the
* card. Possible values include: ACTIVE: The card is active and can be used normally. FROZEN: The
* card has been frozen and cannot be used temporarily. CANCEL: The card has been canceled and is
* no longer valid.
*/
public enum CardStatusEnum {
ACTIVE("ACTIVE"),

FROZEN("FROZEN"),

CANCEL("CANCEL");

private String value;

CardStatusEnum(String value) {
this.value = value;
}

@JsonValue
public String getValue() {
return value;
}

@Override
public String toString() {
return String.valueOf(value);
}

@JsonCreator
public static CardStatusEnum fromValue(String value) {
for (CardStatusEnum b : CardStatusEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}

/**
* 卡状态。可取值范围: ACTIVE:可正常使用 FROZEN:已冻结 CANCEL:已注销 Card Status: Represents the current state of the
* card. Possible values include: ACTIVE: The card is active and can be used normally. FROZEN: The
* card has been frozen and cannot be used temporarily. CANCEL: The card has been canceled and is
* no longer valid.
*/
private CardStatusEnum cardStatus;

/**
* 卡品牌。 可取值范围: MASTERCARD Card Brand: Indicates the brand or network of the card. Possible value:
* MASTERCARD: The card is part of the Mastercard network.
*/
public enum CardBrandEnum {
MASTERCARD("MASTERCARD");

private String value;

CardBrandEnum(String value) {
this.value = value;
}

@JsonValue
public String getValue() {
return value;
}

@Override
public String toString() {
return String.valueOf(value);
}

@JsonCreator
public static CardBrandEnum fromValue(String value) {
for (CardBrandEnum b : CardBrandEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}

/**
* 卡品牌。 可取值范围: MASTERCARD Card Brand: Indicates the brand or network of the card. Possible value:
* MASTERCARD: The card is part of the Mastercard network.
*/
private CardBrandEnum cardBrand;

/** Card creation time ISO 8601 */
private String createdTime;

/** Card update time ISO 8601 */
private String updatedTime;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* aba-updateCard
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import java.util.List;
import lombok.*;

/** AuthorizationControl */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthorizationControl {

/**
* If not present, It will be activated when the card is created. Datetime UTC time:
* 2018-10-31T00:00:00+0800 ISO 8601
*/
private String cardActiveTime;

/** Datetime UTC time: 2018-10-31T00:00:00+0800 ISO 8601 */
private String cardCancelTime;

/**
* Allowed MCC (Merchant Category Code) list. If not set or left empty, all transactions are
* allowed.
*/
private List<String> allowedMerchantCategoryList;

/**
* Indicates the number of allowed authorization times. If not set or left empty, all transactions
* are allowed.
*/
private Integer allowedAuthTimes;

/**
* Allowed transaction currencies (ISO 4217 three-letter codes). If not set, no currency
* restriction applies.
*/
private List<String> allowedCurrencies;

private CardLimitDetail cardLimitDetail;

private CardLimitInfo cardLimitInfo;
}
39 changes: 39 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/CardLimitDetail.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* aba-updateCard
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import lombok.*;

/** CardLimitDetail */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CardLimitDetail {

private Amount perTransactionLimit;

private Limit dailyLimit;

private Limit monthlyLimit;

private Limit perCardLimit;

private String dailyLimitMax;

private String monthlyLimitMax;

private String perTransactionLimitMax;

private String perCardLimitMax;
}
33 changes: 33 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/CardLimitInfo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* aba-updateCard
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import lombok.*;

/** CardLimitInfo */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CardLimitInfo {

private String currency;

private String dailyLimitMax;

private String monthlyLimitMax;

private String perTransactionLimitMax;

private String perCardLimitMax;
}
27 changes: 27 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/CardholderInfo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* aba-inquireCardDetail
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import lombok.*;

/** CardholderInfo */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CardholderInfo {

private UserName cardHolderName;

private Address billAddress;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* InquiryStatementListRequest
* InquiryStatementListRequest
* baa-inquiryStatement
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
Expand All @@ -24,4 +24,8 @@ public class FundMoveDetail {
private String memo;

private String referenceTransactionId;

private String payerAssetId;

private String beneficiaryAssetId;
}
29 changes: 29 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/Limit.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* aba-updateCard
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import lombok.*;

/** Limit */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Limit {

private Amount remainingLimit;

private Amount rangeLimit;

private Amount usedLimit;
}
31 changes: 31 additions & 0 deletions src/main/java/com/alipay/global/api/model/ams/ResultResult.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* baa-inquiryStatement
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* 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.alipay.global.api.model.ams;

import lombok.*;

/** ResultResult */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResultResult {

/** The result code. */
private String resultCode;

private ResultStatusType resultStatus;

/** The result message. */
private String resultMessage;
}
8 changes: 6 additions & 2 deletions src/main/java/com/alipay/global/api/model/ams/Statement.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* InquiryStatementListRequest
* InquiryStatementListRequest
* baa-inquiryStatement
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
Expand All @@ -24,4 +24,8 @@ public class Statement {
private String statementId;

private FundMoveDetail fundMoveDetail;

private String transactionType;

private String beneficiaryAssetId;
}
Loading