@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherAvailableMerchant extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherAvailableMerchant.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AVAILABLE_PIDS |
static String |
SERIALIZED_NAME_AVAILABLE_SMIDS |
| 构造器和说明 |
|---|
PaymentVoucherAvailableMerchant() |
| 限定符和类型 | 方法和说明 |
|---|---|
PaymentVoucherAvailableMerchant |
addAvailablePidsItem(String availablePidsItem) |
PaymentVoucherAvailableMerchant |
addAvailableSmidsItem(String availableSmidsItem) |
PaymentVoucherAvailableMerchant |
availablePids(List<String> availablePids) |
PaymentVoucherAvailableMerchant |
availableSmids(List<String> availableSmids) |
boolean |
equals(Object o) |
static PaymentVoucherAvailableMerchant |
fromJson(String jsonString)
Create an instance of PaymentVoucherAvailableMerchant 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.
|
List<String> |
getAvailablePids()
优惠券可核销的直连商户PID 限制: 1、available_pids和available_smids至少二选一。
|
List<String> |
getAvailableSmids()
优惠券可核销的间连商户SMID 限制: 1、available_pids和available_smids至少二选一。
|
int |
hashCode() |
PaymentVoucherAvailableMerchant |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAvailablePids(List<String> availablePids) |
void |
setAvailableSmids(List<String> availableSmids) |
String |
toJson()
Convert an instance of PaymentVoucherAvailableMerchant 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_AVAILABLE_PIDS
public static final String SERIALIZED_NAME_AVAILABLE_SMIDS
public PaymentVoucherAvailableMerchant availablePids(List<String> availablePids)
public PaymentVoucherAvailableMerchant addAvailablePidsItem(String availablePidsItem)
@Nullable public List<String> getAvailablePids()
public PaymentVoucherAvailableMerchant availableSmids(List<String> availableSmids)
public PaymentVoucherAvailableMerchant addAvailableSmidsItem(String availableSmidsItem)
@Nullable public List<String> getAvailableSmids()
public PaymentVoucherAvailableMerchant 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 PaymentVoucherAvailableMerchantpublic static PaymentVoucherAvailableMerchant fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherAvailableMerchantpublic String toJson()
Copyright © 2024. All rights reserved.