Package model
Class TransferLinks
- java.lang.Object
-
- model.TransferLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TransferLinks 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 classTransferLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_DESTINATIONstatic StringSERIALIZED_NAME_DEVICEstatic StringSERIALIZED_NAME_DISPUTED_TRANSFERstatic StringSERIALIZED_NAME_DISPUTESstatic StringSERIALIZED_NAME_FEE_PROFILEstatic StringSERIALIZED_NAME_FEESstatic StringSERIALIZED_NAME_MERCHANT_IDENTITYstatic StringSERIALIZED_NAME_PARENTstatic StringSERIALIZED_NAME_PAYMENT_INSTRUMENTSstatic StringSERIALIZED_NAME_REVERSALSstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_SOURCE
-
Constructor Summary
Constructors Constructor Description TransferLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESTINATION
public static final String SERIALIZED_NAME_DESTINATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEVICE
public static final String SERIALIZED_NAME_DEVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISPUTES
public static final String SERIALIZED_NAME_DISPUTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEE_PROFILE
public static final String SERIALIZED_NAME_FEE_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEES
public static final String SERIALIZED_NAME_FEES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_IDENTITY
public static final String SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_INSTRUMENTS
public static final String SERIALIZED_NAME_PAYMENT_INSTRUMENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISPUTED_TRANSFER
public static final String SERIALIZED_NAME_DISPUTED_TRANSFER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REVERSALS
public static final String SERIALIZED_NAME_REVERSALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENT
public static final String SERIALIZED_NAME_PARENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
application
public TransferLinks application(ApplicationProfileLinksApplication application)
-
getApplication
@Nullable public ApplicationProfileLinksApplication getApplication()
Get application- Returns:
- application
-
setApplication
public void setApplication(ApplicationProfileLinksApplication application)
-
destination
public TransferLinks destination(TransferLinksDestination destination)
-
getDestination
@Nullable public TransferLinksDestination getDestination()
Get destination- Returns:
- destination
-
setDestination
public void setDestination(TransferLinksDestination destination)
-
device
public TransferLinks device(AuthorizationLinksDevice device)
-
getDevice
@Nullable public AuthorizationLinksDevice getDevice()
Get device- Returns:
- device
-
setDevice
public void setDevice(AuthorizationLinksDevice device)
-
disputes
public TransferLinks disputes(TransferLinksDisputes disputes)
-
getDisputes
@Nullable public TransferLinksDisputes getDisputes()
Get disputes- Returns:
- disputes
-
setDisputes
public void setDisputes(TransferLinksDisputes disputes)
-
feeProfile
public TransferLinks feeProfile(TransferLinksFeeProfile feeProfile)
-
getFeeProfile
@Nullable public TransferLinksFeeProfile getFeeProfile()
Get feeProfile- Returns:
- feeProfile
-
setFeeProfile
public void setFeeProfile(TransferLinksFeeProfile feeProfile)
-
fees
public TransferLinks fees(TransferLinksFees fees)
-
getFees
@Nullable public TransferLinksFees getFees()
Get fees- Returns:
- fees
-
setFees
public void setFees(TransferLinksFees fees)
-
merchantIdentity
public TransferLinks merchantIdentity(AuthorizationLinksMerchantIdentity merchantIdentity)
-
getMerchantIdentity
@Nullable public AuthorizationLinksMerchantIdentity getMerchantIdentity()
Get merchantIdentity- Returns:
- merchantIdentity
-
setMerchantIdentity
public void setMerchantIdentity(AuthorizationLinksMerchantIdentity merchantIdentity)
-
paymentInstruments
public TransferLinks paymentInstruments(TransferLinksPaymentInstruments paymentInstruments)
-
getPaymentInstruments
@Nullable public TransferLinksPaymentInstruments getPaymentInstruments()
Get paymentInstruments- Returns:
- paymentInstruments
-
setPaymentInstruments
public void setPaymentInstruments(TransferLinksPaymentInstruments paymentInstruments)
-
disputedTransfer
public TransferLinks disputedTransfer(TransferLinksDisputedTransfer disputedTransfer)
-
getDisputedTransfer
@Nullable public TransferLinksDisputedTransfer getDisputedTransfer()
Get disputedTransfer- Returns:
- disputedTransfer
-
setDisputedTransfer
public void setDisputedTransfer(TransferLinksDisputedTransfer disputedTransfer)
-
reversals
public TransferLinks reversals(TransferLinksReversals reversals)
-
getReversals
@Nullable public TransferLinksReversals getReversals()
Get reversals- Returns:
- reversals
-
setReversals
public void setReversals(TransferLinksReversals reversals)
-
self
public TransferLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
parent
public TransferLinks parent(TransferLinksParent parent)
-
getParent
@Nullable public TransferLinksParent getParent()
Get parent- Returns:
- parent
-
setParent
public void setParent(TransferLinksParent parent)
-
source
public TransferLinks source(TransferLinksSource source)
-
getSource
@Nullable public TransferLinksSource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(TransferLinksSource source)
-
putAdditionalProperty
public TransferLinks putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
-
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 TransferLinks
-
fromJson
public static TransferLinks fromJson(String jsonString) throws IOException
Create an instance of TransferLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferLinks
- Throws:
IOException- if the JSON string is invalid with respect to TransferLinks
-
toJson
public String toJson()
Convert an instance of TransferLinks to an JSON string- Returns:
- JSON string
-
-