@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherBudgetInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherBudgetInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_BUDGET_TYPE |
static String |
SERIALIZED_NAME_RECHARGE_INFO |
| 构造器和说明 |
|---|
PaymentVoucherBudgetInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
PaymentVoucherBudgetInfo |
amount(String amount) |
PaymentVoucherBudgetInfo |
budgetType(String budgetType) |
boolean |
equals(Object o) |
static PaymentVoucherBudgetInfo |
fromJson(String jsonString)
Create an instance of PaymentVoucherBudgetInfo 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 |
getBudgetType()
营销资金预算类型 1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。
|
PaymentVoucherRechargeInfo |
getRechargeInfo()
Get rechargeInfo
|
int |
hashCode() |
PaymentVoucherBudgetInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PaymentVoucherBudgetInfo |
rechargeInfo(PaymentVoucherRechargeInfo rechargeInfo) |
void |
setAmount(String amount) |
void |
setBudgetType(String budgetType) |
void |
setRechargeInfo(PaymentVoucherRechargeInfo rechargeInfo) |
String |
toJson()
Convert an instance of PaymentVoucherBudgetInfo 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 PaymentVoucherBudgetInfo amount(String amount)
public void setAmount(String amount)
public PaymentVoucherBudgetInfo budgetType(String budgetType)
@Nullable public String getBudgetType()
public void setBudgetType(String budgetType)
public PaymentVoucherBudgetInfo rechargeInfo(PaymentVoucherRechargeInfo rechargeInfo)
@Nullable public PaymentVoucherRechargeInfo getRechargeInfo()
public void setRechargeInfo(PaymentVoucherRechargeInfo rechargeInfo)
public PaymentVoucherBudgetInfo 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 PaymentVoucherBudgetInfopublic static PaymentVoucherBudgetInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherBudgetInfopublic String toJson()
Copyright © 2024. All rights reserved.