Package model
Class FeeLinks
- java.lang.Object
-
- model.FeeLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FeeLinks 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 classFeeLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_TRANSFER
-
Constructor Summary
Constructors Constructor Description FeeLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FeeLinksfromJson(String jsonString)Create an instance of FeeLinks given an JSON stringDeviceLinksMerchantgetMerchant()Get merchantApplicationLinksSelfgetSelf()Get selfDisputeLinksTransfergetTransfer()Get transferinthashCode()FeeLinksmerchant(DeviceLinksMerchant merchant)FeeLinksself(ApplicationLinksSelf self)voidsetMerchant(DeviceLinksMerchant merchant)voidsetSelf(ApplicationLinksSelf self)voidsetTransfer(DisputeLinksTransfer transfer)StringtoJson()Convert an instance of FeeLinks to an JSON stringStringtoString()FeeLinkstransfer(DisputeLinksTransfer transfer)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- 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
-
merchant
public FeeLinks merchant(DeviceLinksMerchant merchant)
-
getMerchant
@Nullable public DeviceLinksMerchant getMerchant()
Get merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(DeviceLinksMerchant merchant)
-
self
public FeeLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
transfer
public FeeLinks transfer(DisputeLinksTransfer transfer)
-
getTransfer
@Nullable public DisputeLinksTransfer getTransfer()
Get transfer- Returns:
- transfer
-
setTransfer
public void setTransfer(DisputeLinksTransfer 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 FeeLinks
-
fromJson
public static FeeLinks fromJson(String jsonString) throws IOException
Create an instance of FeeLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeeLinks
- Throws:
IOException- if the JSON string is invalid with respect to FeeLinks
-
toJson
public String toJson()
Convert an instance of FeeLinks to an JSON string- Returns:
- JSON string
-
-