@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenAgentCreateModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenAgentCreateModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACCOUNT |
static String |
SERIALIZED_NAME_CONTACT_INFO |
static String |
SERIALIZED_NAME_ORDER_TICKET |
static String |
SERIALIZED_NAME_SIGN_MODE |
| 构造器和说明 |
|---|
AlipayOpenAgentCreateModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenAgentCreateModel |
account(String account) |
AlipayOpenAgentCreateModel |
contactInfo(ContactModel contactInfo) |
boolean |
equals(Object o) |
static AlipayOpenAgentCreateModel |
fromJson(String jsonString)
Create an instance of AlipayOpenAgentCreateModel given an JSON string
|
String |
getAccount()
isv代操作的商户账号,可以是支付宝账号,也可以是pid(2088开头)
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
ContactModel |
getContactInfo()
Get contactInfo
|
String |
getOrderTicket()
订单授权凭证。
|
String |
getSignMode()
签约模式:目前只支持批量签约并不通知商户确认 使用场景:批量签约并授权场景,先调用签约接口进行签约,然后调用授权接口授权,在批量模式下,一次性签约多个产品,要么都成功要么都失败,同时在授权接口传入orderNo,会一起发送签约确认和授权确认,商户只需要确认一次;如果不是批量签约并授权场景,不要传此参数,否则商户无法收到确认签约通知;
|
int |
hashCode() |
AlipayOpenAgentCreateModel |
orderTicket(String orderTicket) |
AlipayOpenAgentCreateModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAccount(String account) |
void |
setContactInfo(ContactModel contactInfo) |
void |
setOrderTicket(String orderTicket) |
void |
setSignMode(String signMode) |
AlipayOpenAgentCreateModel |
signMode(String signMode) |
String |
toJson()
Convert an instance of AlipayOpenAgentCreateModel 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 AlipayOpenAgentCreateModel account(String account)
public void setAccount(String account)
public AlipayOpenAgentCreateModel contactInfo(ContactModel contactInfo)
@Nullable public ContactModel getContactInfo()
public void setContactInfo(ContactModel contactInfo)
public AlipayOpenAgentCreateModel orderTicket(String orderTicket)
@Nullable public String getOrderTicket()
public void setOrderTicket(String orderTicket)
public AlipayOpenAgentCreateModel signMode(String signMode)
@Nullable public String getSignMode()
public void setSignMode(String signMode)
public AlipayOpenAgentCreateModel 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 AlipayOpenAgentCreateModelpublic static AlipayOpenAgentCreateModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenAgentCreateModelpublic String toJson()
Copyright © 2024. All rights reserved.