Package model
Class MerchantProfile
- java.lang.Object
-
- model.MerchantProfile
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MerchantProfile extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantProfile.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_FEE_PROFILEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_RISK_PROFILEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description MerchantProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantProfileapplication(String application)MerchantProfilecreatedAt(OffsetDateTime createdAt)booleanequals(Object o)MerchantProfilefeeProfile(String feeProfile)static MerchantProfilefromJson(String jsonString)Create an instance of MerchantProfile given an JSON stringStringgetApplication()The ID of the resource.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetFeeProfile()The ID of the resource.StringgetId()The ID of the resource.MerchantProfileLinksgetLinks()Get linksStringgetRiskProfile()The ID of the resource.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()MerchantProfileid(String id)MerchantProfilelinks(MerchantProfileLinks links)MerchantProfileputTagsItem(String key, String tagsItem)MerchantProfileriskProfile(String riskProfile)voidsetApplication(String application)voidsetCreatedAt(OffsetDateTime createdAt)voidsetFeeProfile(String feeProfile)voidsetId(String id)voidsetLinks(MerchantProfileLinks links)voidsetRiskProfile(String riskProfile)voidsetTags(Map<String,String> tags)voidsetUpdatedAt(OffsetDateTime updatedAt)MerchantProfiletags(Map<String,String> tags)StringtoJson()Convert an instance of MerchantProfile to an JSON stringStringtoString()MerchantProfileupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
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
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public MerchantProfile id(String id)
-
setId
public void setId(String id)
-
createdAt
public MerchantProfile createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public MerchantProfile updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
application
public MerchantProfile application(String application)
-
getApplication
@Nullable public String getApplication()
The ID of the resource.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
feeProfile
public MerchantProfile feeProfile(String feeProfile)
-
setFeeProfile
public void setFeeProfile(String feeProfile)
-
riskProfile
public MerchantProfile riskProfile(String riskProfile)
-
getRiskProfile
@Nullable public String getRiskProfile()
The ID of the resource.- Returns:
- riskProfile
-
setRiskProfile
public void setRiskProfile(String riskProfile)
-
tags
public MerchantProfile tags(Map<String,String> tags)
-
putTagsItem
public MerchantProfile 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
-
links
public MerchantProfile links(MerchantProfileLinks links)
-
getLinks
@Nullable public MerchantProfileLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(MerchantProfileLinks links)
-
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 MerchantProfile
-
fromJson
public static MerchantProfile fromJson(String jsonString) throws IOException
Create an instance of MerchantProfile given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantProfile
- Throws:
IOException- if the JSON string is invalid with respect to MerchantProfile
-
toJson
public String toJson()
Convert an instance of MerchantProfile to an JSON string- Returns:
- JSON string
-
-