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
Expand Up @@ -52,4 +52,6 @@ public class AuthorizationControl {
private CardLimitDetail cardLimitDetail;

private CardLimitInfo cardLimitInfo;

private RefundPreference refundPreference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

package com.alipay.global.api.model.ams;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.List;
import lombok.*;

Expand Down Expand Up @@ -77,16 +79,75 @@ public class CardPaymentMethodDetail {

private String authenticationFlow;

private String funding;
/**
* The funding type of the card. Valid values are: CREDIT: indicates a credit card. DEBIT:
* indicates a debit card. PREPAID: indicates a prepaid card. CHARGE: indicates a charge card.
* DEFERRED_DEBIT: indicates a deferred debit card. This parameter is returned when the value of
* paymentMethodType is CARD and the information is available from the channel.
*/
public enum FundingEnum {
CREDIT("CREDIT"),

DEBIT("DEBIT"),

PREPAID("PREPAID"),

CHARGE("CHARGE"),

DEFERRED_DEBIT("DEFERRED_DEBIT");

private String value;

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

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

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

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

/**
* The funding type of the card. Valid values are: CREDIT: indicates a credit card. DEBIT:
* indicates a debit card. PREPAID: indicates a prepaid card. CHARGE: indicates a charge card.
* DEFERRED_DEBIT: indicates a deferred debit card. This parameter is returned when the value of
* paymentMethodType is CARD and the information is available from the channel.
*/
private FundingEnum funding;

private String avsResultRaw;

private String cvvResultRaw;

private String bin;

/**
* The issuer name of the card. This parameter is returned when the value of paymentMethodType is
* CARD and the information is available from the channel.
*/
private String issuerName;

/**
* The issuing country of the card. The value of this parameter is a 2-letter country code that
* follows ISO 3166 Country Codes standard. This parameter is returned when the value of
* paymentMethodType is CARD and the information is available from the channel.
*/
private String issuingCountry;

private String lastFour;
Expand Down
12 changes: 11 additions & 1 deletion src/main/java/com/alipay/global/api/model/ams/CreditPayPlan.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

package com.alipay.global.api.model.ams;

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

/** CreditPayPlan */
Expand All @@ -22,7 +23,7 @@
public class CreditPayPlan {

/**
* The number of installments. The valid value is from 2 to 12. More information: Maximum length:
* The number of installments. The valid value is from 2 to 36. More information: Maximum length:
* 8 characters
*/
private Integer installmentNum;
Expand All @@ -37,4 +38,13 @@ public class CreditPayPlan {
* when the value of creditPayFeeType is PERCENTAGE. More information: Value range: 0 - 100
*/
private Integer feePercentage;

/**
* Select Installment Payment Plan Period that the merchant wants to offer. Example: Available
* periods are 3,6,12,24 months, but if the merchant wants to restrict to 3 & 6 months only,
* enter the value as [3,6] Note: This field is mutually exclusive with installmentNum. When both
* fields are provided, installmentNum takes priority. More information: Maximum length: 100
* elements Value range: 2 - 36
*/
private List<Integer> filteredInstallmentPeriods;
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* aba/funds/inquireDirectRefund
* 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.*;
Expand All @@ -9,12 +21,15 @@
@AllArgsConstructor
public class RefundFromMethod {

/** The grant token for refund */
/**
* Represents the authentication token received from the supplier, used to authorize and securely
* perform fund deduction operations.
*/
private String grantToken;

/** The refund from method type, e.g., ANTOM_BIZ_ACCOUNT_DEPOSIT */
/** Represents the payment method type used by merchant during payment */
private String refundFromMethodType;

/** The customer ID */
/** The payee/supplier represented by ABA customer ID to get the refund from */
private String customerId;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/*
* 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 com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;

/**
* Preference on the type of preference and currency to be refunded. Uses the value specified by the
* merchant; if not specified (null), the default will be NO_PREFERENCE.
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RefundPreference {

/**
* The type of refund preference. NO_PREFERENCE: No preferred currency to receive the refund
* amount. This currency will be the transaction outflow currency. ORIGINAL_CURRENCY: refund
* amount will be converted and added to the original balance, which was deducted during the
* payment.
*/
public enum PreferenceTypeEnum {
NO_PREFERENCE("NO_PREFERENCE"),

ORIGINAL_CURRENCY("ORIGINAL_CURRENCY");

private String value;

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

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

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

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

/**
* The type of refund preference. NO_PREFERENCE: No preferred currency to receive the refund
* amount. This currency will be the transaction outflow currency. ORIGINAL_CURRENCY: refund
* amount will be converted and added to the original balance, which was deducted during the
* payment.
*/
private PreferenceTypeEnum preferenceType;
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ public static TransactionTypeListEnum fromValue(String value) {
/** Indicates the current page index that contains statement information. */
private Integer pageNumber;

/**
* The card&#39;s assetId that merchants want to query. Only available if they want to filter by.
*/
private String assetId;

public AlipayInquiryStatementRequest() {
this.setPath("/ams/api/v1/aba/accounts/inquiryStatement");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@
public class AlipayABATransferNotify extends AlipayNotify {

/**
* The unique ID assigned by the merchant to identify a transfer request.
* Maximum length: 64 characters
* The unique ID assigned by the merchant to identify a transfer request. Maximum length: 64
* characters
*/
private String transferRequestId;

/**
* The unique ID assigned by Antom to identify a transfer.
* Maximum length: 64 characters
*/
/** The unique ID assigned by Antom to identify a transfer. Maximum length: 64 characters */
private String transferId;

/** The result of the transfer request. */
Expand All @@ -33,4 +30,4 @@ public class AlipayABATransferNotify extends AlipayNotify {

/** The transfer to detail information. */
private TransferToDetail transferToDetail;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
@NoArgsConstructor
public class AlipayCardBillNotify {
/**
* The unique identifier for a single card authorization within an order.
* Each card authorization creates exactly one bill. Multiple bills can belong to the same order.
* Maximum length: 32 characters
* The unique identifier for a single card authorization within an order. Each card authorization
* creates exactly one bill. Multiple bills can belong to the same order. Maximum length: 32
* characters
*/
private String billNo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
@EqualsAndHashCode(callSuper = true)
public class AlipayDirectRefundNotify extends AlipayNotify {

/** The refund status: SUCCESS/PROCESSING/REFUND_AMOUNT_EXCEED/MERCHANT_BALANCE_NOT_ENOUGH/PROCESS_FAIL/PARAM_ILLEGAL/REFUND_WINDOW_EXCEED/ACCESS_DENIED/INVALID_ACCESS_TOKEN */
/**
* The refund status:
* SUCCESS/PROCESSING/REFUND_AMOUNT_EXCEED/MERCHANT_BALANCE_NOT_ENOUGH/PROCESS_FAIL/PARAM_ILLEGAL/REFUND_WINDOW_EXCEED/ACCESS_DENIED/INVALID_ACCESS_TOKEN
*/
private String refundStatus;

/** The unique ID assigned by Alipay to identify a refund */
Expand Down
Loading