@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ExchangeVoucher extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExchangeVoucher.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_BIZ_TYPE |
static String |
SERIALIZED_NAME_CUSTOMER_SERVICE_MOBILE |
static String |
SERIALIZED_NAME_CUSTOMER_SERVICE_URL |
static String |
SERIALIZED_NAME_FLOOR_AMOUNT |
static String |
SERIALIZED_NAME_OVERDUE_REFUNDABLE |
static String |
SERIALIZED_NAME_PAYEE_PID |
static String |
SERIALIZED_NAME_REFUNDABLE |
static String |
SERIALIZED_NAME_SALE_AMOUNT |
static String |
SERIALIZED_NAME_SETTLE_TYPE |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_URL |
static String |
SERIALIZED_NAME_VOUCHER_NAME |
| 构造器和说明 |
|---|
ExchangeVoucher() |
| 限定符和类型 | 方法和说明 |
|---|---|
ExchangeVoucher |
amount(String amount) |
ExchangeVoucher |
bizType(String bizType) |
ExchangeVoucher |
customerServiceMobile(String customerServiceMobile) |
ExchangeVoucher |
customerServiceUrl(String customerServiceUrl) |
boolean |
equals(Object o) |
ExchangeVoucher |
floorAmount(String floorAmount) |
static ExchangeVoucher |
fromJson(String jsonString)
Create an instance of ExchangeVoucher given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAmount()
券的价值
|
String |
getBizType()
兑换券业务类型。
|
String |
getCustomerServiceMobile()
客服电话
|
String |
getCustomerServiceUrl()
客服链接
|
String |
getFloorAmount()
门槛金额。
|
Boolean |
getOverdueRefundable()
是否支持优惠券过期后,自动退款给用户。
|
String |
getPayeePid()
收款账号。
|
Boolean |
getRefundable()
购买的优惠券是否允许退款。
|
String |
getSaleAmount()
用户购买优惠券需要支付的金额
|
String |
getSettleType()
解决类型。
|
String |
getVoucherDetailUrl()
领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。
|
String |
getVoucherName()
对消费者展示的券(商品)名称。
|
int |
hashCode() |
ExchangeVoucher |
overdueRefundable(Boolean overdueRefundable) |
ExchangeVoucher |
payeePid(String payeePid) |
ExchangeVoucher |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ExchangeVoucher |
refundable(Boolean refundable) |
ExchangeVoucher |
saleAmount(String saleAmount) |
void |
setAmount(String amount) |
void |
setBizType(String bizType) |
void |
setCustomerServiceMobile(String customerServiceMobile) |
void |
setCustomerServiceUrl(String customerServiceUrl) |
void |
setFloorAmount(String floorAmount) |
void |
setOverdueRefundable(Boolean overdueRefundable) |
void |
setPayeePid(String payeePid) |
void |
setRefundable(Boolean refundable) |
void |
setSaleAmount(String saleAmount) |
void |
setSettleType(String settleType) |
ExchangeVoucher |
settleType(String settleType) |
void |
setVoucherDetailUrl(String voucherDetailUrl) |
void |
setVoucherName(String voucherName) |
String |
toJson()
Convert an instance of ExchangeVoucher 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
|
ExchangeVoucher |
voucherDetailUrl(String voucherDetailUrl) |
ExchangeVoucher |
voucherName(String voucherName) |
public static final String SERIALIZED_NAME_CUSTOMER_SERVICE_MOBILE
public static final String SERIALIZED_NAME_CUSTOMER_SERVICE_URL
public static final String SERIALIZED_NAME_OVERDUE_REFUNDABLE
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_URL
public ExchangeVoucher amount(String amount)
public void setAmount(String amount)
public ExchangeVoucher bizType(String bizType)
@Nullable public String getBizType()
public void setBizType(String bizType)
public ExchangeVoucher customerServiceMobile(String customerServiceMobile)
@Nullable public String getCustomerServiceMobile()
public void setCustomerServiceMobile(String customerServiceMobile)
public ExchangeVoucher customerServiceUrl(String customerServiceUrl)
public void setCustomerServiceUrl(String customerServiceUrl)
public ExchangeVoucher floorAmount(String floorAmount)
public void setFloorAmount(String floorAmount)
public ExchangeVoucher overdueRefundable(Boolean overdueRefundable)
@Nullable public Boolean getOverdueRefundable()
public void setOverdueRefundable(Boolean overdueRefundable)
public ExchangeVoucher payeePid(String payeePid)
public void setPayeePid(String payeePid)
public ExchangeVoucher refundable(Boolean refundable)
@Nullable public Boolean getRefundable()
public void setRefundable(Boolean refundable)
public ExchangeVoucher saleAmount(String saleAmount)
public void setSaleAmount(String saleAmount)
public ExchangeVoucher settleType(String settleType)
public void setSettleType(String settleType)
public ExchangeVoucher voucherDetailUrl(String voucherDetailUrl)
@Nullable public String getVoucherDetailUrl()
public void setVoucherDetailUrl(String voucherDetailUrl)
public ExchangeVoucher voucherName(String voucherName)
public void setVoucherName(String voucherName)
public ExchangeVoucher 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 ExchangeVoucherpublic static ExchangeVoucher fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ExchangeVoucherpublic String toJson()
Copyright © 2024. All rights reserved.