Package model
Class AuthorizationLinks
- java.lang.Object
-
- model.AuthorizationLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AuthorizationLinks 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 classAuthorizationLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_DEVICEstatic StringSERIALIZED_NAME_MERCHANT_IDENTITYstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_TRANSFER
-
Constructor Summary
Constructors Constructor Description AuthorizationLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEVICE
public static final String SERIALIZED_NAME_DEVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_IDENTITY
public static final String SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSFER
public static final String SERIALIZED_NAME_TRANSFER
- See Also:
- Constant Field Values
-
-
Method Detail
-
application
public AuthorizationLinks application(ApplicationProfileLinksApplication application)
-
getApplication
@Nullable public ApplicationProfileLinksApplication getApplication()
Get application- Returns:
- application
-
setApplication
public void setApplication(ApplicationProfileLinksApplication application)
-
device
public AuthorizationLinks device(AuthorizationLinksDevice device)
-
getDevice
@Nullable public AuthorizationLinksDevice getDevice()
Get device- Returns:
- device
-
setDevice
public void setDevice(AuthorizationLinksDevice device)
-
merchantIdentity
public AuthorizationLinks merchantIdentity(AuthorizationLinksMerchantIdentity merchantIdentity)
-
getMerchantIdentity
@Nullable public AuthorizationLinksMerchantIdentity getMerchantIdentity()
Get merchantIdentity- Returns:
- merchantIdentity
-
setMerchantIdentity
public void setMerchantIdentity(AuthorizationLinksMerchantIdentity merchantIdentity)
-
self
public AuthorizationLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
transfer
public AuthorizationLinks transfer(AuthorizationLinksTransfer transfer)
-
getTransfer
@Nullable public AuthorizationLinksTransfer getTransfer()
Get transfer- Returns:
- transfer
-
setTransfer
public void setTransfer(AuthorizationLinksTransfer transfer)
-
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 AuthorizationLinks
-
fromJson
public static AuthorizationLinks fromJson(String jsonString) throws IOException
Create an instance of AuthorizationLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthorizationLinks
- Throws:
IOException- if the JSON string is invalid with respect to AuthorizationLinks
-
toJson
public String toJson()
Convert an instance of AuthorizationLinks to an JSON string- Returns:
- JSON string
-
-