Package model
Class UpdateMerchantProfileRequest
- java.lang.Object
-
- model.UpdateMerchantProfileRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateMerchantProfileRequest extends Object
UpdateMerchantProfileRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateMerchantProfileRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FEE_PROFILEstatic StringSERIALIZED_NAME_RISK_PROFILEstatic StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description UpdateMerchantProfileRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UpdateMerchantProfileRequestfeeProfile(String feeProfile)static UpdateMerchantProfileRequestfromJson(String jsonString)Create an instance of UpdateMerchantProfileRequest given an JSON stringStringgetFeeProfile()ID of the `fee_profile`.StringgetRiskProfile()ID of the `risk_profile`.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.inthashCode()UpdateMerchantProfileRequestputTagsItem(String key, String tagsItem)UpdateMerchantProfileRequestriskProfile(String riskProfile)voidsetFeeProfile(String feeProfile)voidsetRiskProfile(String riskProfile)voidsetTags(Map<String,String> tags)UpdateMerchantProfileRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of UpdateMerchantProfileRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_FEE_PROFILE
public static final String SERIALIZED_NAME_FEE_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RISK_PROFILE
public static final String SERIALIZED_NAME_RISK_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
feeProfile
public UpdateMerchantProfileRequest feeProfile(String feeProfile)
-
setFeeProfile
public void setFeeProfile(String feeProfile)
-
riskProfile
public UpdateMerchantProfileRequest riskProfile(String riskProfile)
-
getRiskProfile
@Nullable public String getRiskProfile()
ID of the `risk_profile`.- Returns:
- riskProfile
-
setRiskProfile
public void setRiskProfile(String riskProfile)
-
tags
public UpdateMerchantProfileRequest tags(Map<String,String> tags)
-
putTagsItem
public UpdateMerchantProfileRequest putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to UpdateMerchantProfileRequest
-
fromJson
public static UpdateMerchantProfileRequest fromJson(String jsonString) throws IOException
Create an instance of UpdateMerchantProfileRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateMerchantProfileRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateMerchantProfileRequest
-
toJson
public String toJson()
Convert an instance of UpdateMerchantProfileRequest to an JSON string- Returns:
- JSON string
-
-