Package com.checkout.payments
Class PaymentAction
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.common.Resource
-
- com.checkout.payments.PaymentAction
-
public final class PaymentAction extends Resource
-
-
Constructor Summary
Constructors Constructor Description PaymentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()java.util.List<AmountAllocations>getAmountAllocations()java.lang.BooleangetApproved()java.lang.StringgetAuthCode()AuthorizationTypegetAuthorizationType()java.lang.StringgetId()MarketplaceDatagetMarketplace()Deprecated.This property will be removed in the future, and should be usedamountAllocationsinsteadjava.util.Map<java.lang.String,java.lang.Object>getMetadata()java.time.InstantgetProcessedOn()ProcessinggetProcessing()java.lang.StringgetReference()java.lang.StringgetResponseCode()java.lang.StringgetResponseSummary()ActionTypegetType()inthashCode()voidsetAmount(java.lang.Long amount)voidsetAmountAllocations(java.util.List<AmountAllocations> amountAllocations)voidsetApproved(java.lang.Boolean approved)voidsetAuthCode(java.lang.String authCode)voidsetAuthorizationType(AuthorizationType authorizationType)voidsetId(java.lang.String id)voidsetMarketplace(MarketplaceData marketplace)Deprecated.This property will be removed in the future, and should be usedamountAllocationsinsteadvoidsetMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)voidsetProcessedOn(java.time.Instant processedOn)voidsetProcessing(Processing processing)voidsetReference(java.lang.String reference)voidsetResponseCode(java.lang.String responseCode)voidsetResponseSummary(java.lang.String responseSummary)voidsetType(ActionType type)java.lang.StringtoString()-
Methods inherited from class com.checkout.common.Resource
getLink, getLinks, getSelfLink, setLinks
-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getRequestId, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getType
public ActionType getType()
-
getProcessedOn
public java.time.Instant getProcessedOn()
-
getAmount
public java.lang.Long getAmount()
-
getApproved
public java.lang.Boolean getApproved()
-
getAuthCode
public java.lang.String getAuthCode()
-
getResponseCode
public java.lang.String getResponseCode()
-
getResponseSummary
public java.lang.String getResponseSummary()
-
getAuthorizationType
public AuthorizationType getAuthorizationType()
-
getReference
public java.lang.String getReference()
-
getMarketplace
@Deprecated public MarketplaceData getMarketplace()
Deprecated.This property will be removed in the future, and should be usedamountAllocationsinstead
-
getAmountAllocations
public java.util.List<AmountAllocations> getAmountAllocations()
-
getProcessing
public Processing getProcessing()
-
getMetadata
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
-
setId
public void setId(java.lang.String id)
-
setType
public void setType(ActionType type)
-
setProcessedOn
public void setProcessedOn(java.time.Instant processedOn)
-
setAmount
public void setAmount(java.lang.Long amount)
-
setApproved
public void setApproved(java.lang.Boolean approved)
-
setAuthCode
public void setAuthCode(java.lang.String authCode)
-
setResponseCode
public void setResponseCode(java.lang.String responseCode)
-
setResponseSummary
public void setResponseSummary(java.lang.String responseSummary)
-
setAuthorizationType
public void setAuthorizationType(AuthorizationType authorizationType)
-
setReference
public void setReference(java.lang.String reference)
-
setMarketplace
@Deprecated public void setMarketplace(MarketplaceData marketplace)
Deprecated.This property will be removed in the future, and should be usedamountAllocationsinstead
-
setAmountAllocations
public void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
-
setProcessing
public void setProcessing(Processing processing)
-
setMetadata
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
-
-