Package model
Class MerchantLinks
- java.lang.Object
-
- model.MerchantLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MerchantLinks extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_IDENTITYstatic StringSERIALIZED_NAME_MERCHANT_PROFILEstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_VERIFICATIONstatic StringSERIALIZED_NAME_VERIFICATIONS
-
Constructor Summary
Constructors Constructor Description MerchantLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTITY
public static final String SERIALIZED_NAME_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERIFICATIONS
public static final String SERIALIZED_NAME_VERIFICATIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_PROFILE
public static final String SERIALIZED_NAME_MERCHANT_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERIFICATION
public static final String SERIALIZED_NAME_VERIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
self
public MerchantLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
identity
public MerchantLinks identity(MerchantLinksIdentity identity)
-
getIdentity
@Nullable public MerchantLinksIdentity getIdentity()
Get identity- Returns:
- identity
-
setIdentity
public void setIdentity(MerchantLinksIdentity identity)
-
verifications
public MerchantLinks verifications(MerchantLinksVerifications verifications)
-
getVerifications
@Nullable public MerchantLinksVerifications getVerifications()
Get verifications- Returns:
- verifications
-
setVerifications
public void setVerifications(MerchantLinksVerifications verifications)
-
merchantProfile
public MerchantLinks merchantProfile(MerchantLinksMerchantProfile merchantProfile)
-
getMerchantProfile
@Nullable public MerchantLinksMerchantProfile getMerchantProfile()
Get merchantProfile- Returns:
- merchantProfile
-
setMerchantProfile
public void setMerchantProfile(MerchantLinksMerchantProfile merchantProfile)
-
application
public MerchantLinks application(MerchantLinksApplication application)
-
getApplication
@Nullable public MerchantLinksApplication getApplication()
Get application- Returns:
- application
-
setApplication
public void setApplication(MerchantLinksApplication application)
-
verification
public MerchantLinks verification(MerchantLinksVerification verification)
-
getVerification
@Nullable public MerchantLinksVerification getVerification()
Get verification- Returns:
- verification
-
setVerification
public void setVerification(MerchantLinksVerification verification)
-
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 MerchantLinks
-
fromJson
public static MerchantLinks fromJson(String jsonString) throws IOException
Create an instance of MerchantLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantLinks
- Throws:
IOException- if the JSON string is invalid with respect to MerchantLinks
-
toJson
public String toJson()
Convert an instance of MerchantLinks to an JSON string- Returns:
- JSON string
-
-