@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherSaleModeInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherSaleModeInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FUND_CUSTODY_MODE |
static String |
SERIALIZED_NAME_OVERDUE_REFUNDABLE |
static String |
SERIALIZED_NAME_OVERDUE_REFUNDABLE_NEED_CONFIRM |
static String |
SERIALIZED_NAME_PAYEE_PID |
static String |
SERIALIZED_NAME_REFUNDABLE |
static String |
SERIALIZED_NAME_REFUNDABLE_NEED_CONFIRM |
static String |
SERIALIZED_NAME_SALE_AMOUNT |
static String |
SERIALIZED_NAME_SETTLE_INFO |
| 构造器和说明 |
|---|
VoucherSaleModeInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static VoucherSaleModeInfo |
fromJson(String jsonString)
Create an instance of VoucherSaleModeInfo given an JSON string
|
VoucherSaleModeInfo |
fundCustodyMode(String fundCustodyMode) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFundCustodyMode()
资金托管方式
|
Boolean |
getOverdueRefundable()
是否支持优惠券过期后,自动退款给用户。
|
Boolean |
getOverdueRefundableNeedConfirm()
在支持过期自动退款后,支付宝发起自动退款前 是否需要向商户确认退款。
|
String |
getPayeePid()
收款账号。
|
Boolean |
getRefundable()
购买的优惠券是否允许退款。
|
Boolean |
getRefundableNeedConfirm()
在支持随时退后,支付宝发起退款前用于判断是否需要向商户确认退款。
|
String |
getSaleAmount()
用户购买优惠券需要支付的金额
|
BizfundSettleInfo |
getSettleInfo()
Get settleInfo
|
int |
hashCode() |
VoucherSaleModeInfo |
overdueRefundable(Boolean overdueRefundable) |
VoucherSaleModeInfo |
overdueRefundableNeedConfirm(Boolean overdueRefundableNeedConfirm) |
VoucherSaleModeInfo |
payeePid(String payeePid) |
VoucherSaleModeInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
VoucherSaleModeInfo |
refundable(Boolean refundable) |
VoucherSaleModeInfo |
refundableNeedConfirm(Boolean refundableNeedConfirm) |
VoucherSaleModeInfo |
saleAmount(String saleAmount) |
void |
setFundCustodyMode(String fundCustodyMode) |
void |
setOverdueRefundable(Boolean overdueRefundable) |
void |
setOverdueRefundableNeedConfirm(Boolean overdueRefundableNeedConfirm) |
void |
setPayeePid(String payeePid) |
void |
setRefundable(Boolean refundable) |
void |
setRefundableNeedConfirm(Boolean refundableNeedConfirm) |
void |
setSaleAmount(String saleAmount) |
void |
setSettleInfo(BizfundSettleInfo settleInfo) |
VoucherSaleModeInfo |
settleInfo(BizfundSettleInfo settleInfo) |
String |
toJson()
Convert an instance of VoucherSaleModeInfo to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_FUND_CUSTODY_MODE
public static final String SERIALIZED_NAME_OVERDUE_REFUNDABLE
public static final String SERIALIZED_NAME_OVERDUE_REFUNDABLE_NEED_CONFIRM
public static final String SERIALIZED_NAME_REFUNDABLE_NEED_CONFIRM
public VoucherSaleModeInfo fundCustodyMode(String fundCustodyMode)
public void setFundCustodyMode(String fundCustodyMode)
public VoucherSaleModeInfo overdueRefundable(Boolean overdueRefundable)
@Nullable public Boolean getOverdueRefundable()
public void setOverdueRefundable(Boolean overdueRefundable)
public VoucherSaleModeInfo overdueRefundableNeedConfirm(Boolean overdueRefundableNeedConfirm)
@Nullable public Boolean getOverdueRefundableNeedConfirm()
public void setOverdueRefundableNeedConfirm(Boolean overdueRefundableNeedConfirm)
public VoucherSaleModeInfo payeePid(String payeePid)
@Nullable public String getPayeePid()
public void setPayeePid(String payeePid)
public VoucherSaleModeInfo refundable(Boolean refundable)
@Nullable public Boolean getRefundable()
public void setRefundable(Boolean refundable)
public VoucherSaleModeInfo refundableNeedConfirm(Boolean refundableNeedConfirm)
@Nullable public Boolean getRefundableNeedConfirm()
public void setRefundableNeedConfirm(Boolean refundableNeedConfirm)
public VoucherSaleModeInfo saleAmount(String saleAmount)
public void setSaleAmount(String saleAmount)
public VoucherSaleModeInfo settleInfo(BizfundSettleInfo settleInfo)
@Nullable public BizfundSettleInfo getSettleInfo()
public void setSettleInfo(BizfundSettleInfo settleInfo)
public VoucherSaleModeInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to VoucherSaleModeInfopublic static VoucherSaleModeInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherSaleModeInfopublic String toJson()
Copyright © 2024. All rights reserved.