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
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
* 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;
}
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-applyCard
* 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;
}
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;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* aba-applyCard
* 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.request.ams.aba;

import com.alipay.global.api.model.ams.*;
import com.alipay.global.api.model.ams.AuthorizationControl;
import com.alipay.global.api.request.AlipayRequest;
import com.alipay.global.api.response.ams.aba.AlipayApplyCardResponse;
import java.util.Map;
import lombok.*;

/** AlipayApplyCardRequest */
@EqualsAndHashCode(callSuper = true)
@Data
public class AlipayApplyCardRequest extends AlipayRequest<AlipayApplyCardResponse> {

private String requestId;

private String cardNickName;

private String cardBinRule;

private String purpose;

private Map<String, String> metadata;

private AuthorizationControl authorizationControl;

public AlipayApplyCardRequest() {
this.setPath("/ams/api/v1/aba/cards/applyCard");
}

@Override
public Class<AlipayApplyCardResponse> getResponseClass() {
return AlipayApplyCardResponse.class;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*
* 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.request.ams.aba;

import com.alipay.global.api.model.ams.*;
import com.alipay.global.api.request.AlipayRequest;
import com.alipay.global.api.response.ams.aba.AlipayInquireCardResponse;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;

/** AlipayInquireCardRequest */
@EqualsAndHashCode(callSuper = true)
@Data
public class AlipayInquireCardRequest extends AlipayRequest<AlipayInquireCardResponse> {

/** 页码 (Page number) */
private Integer pageNumber;

/** 每页包含的条目数 (Number of entries per page). Max pageSize is 50. */
private Integer pageSize;

/** 卡号后四位数字。(The last four digits of the card number.) */
private String lastFourDigits;

/**
* 卡状态。可取值范围: ACTIVE:可正常使用 FROZEN:已冻结 CANCEL:已注销 (Card Status. Possible values: ACTIVE: The card
* is active and can be used normally. FROZEN: The card is frozen and temporarily unavailable for
* use. 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. Possible values: ACTIVE: The card
* is active and can be used normally. FROZEN: The card is frozen and temporarily unavailable for
* use. CANCEL: The card has been canceled and is no longer valid.)
*/
private CardStatusEnum cardStatus;

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

public AlipayInquireCardRequest() {
this.setPath("/ams/api/v1/aba/cards/inquireCard");
}

@Override
public Class<AlipayInquireCardResponse> getResponseClass() {
return AlipayInquireCardResponse.class;
}
}
Loading