Package com.checkout.payments.hosted
Class HostedPaymentDetailsResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.common.Resource
-
- com.checkout.payments.hosted.HostedPaymentDetailsResponse
-
public final class HostedPaymentDetailsResponse extends Resource
-
-
Constructor Summary
Constructors Constructor Description HostedPaymentDetailsResponse()
-
Method Summary
All Methods Instance Methods Concrete 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()BillingInformationgetBilling()java.lang.StringgetCancelUrl()CurrencygetCurrency()CustomerResponsegetCustomer()java.lang.StringgetDescription()java.lang.StringgetFailureUrl()java.lang.StringgetId()java.util.Map<java.lang.String,java.lang.Object>getMetadata()java.lang.StringgetPaymentId()java.util.List<Product>getProducts()java.lang.StringgetReference()HostedPaymentStatusgetStatus()java.lang.StringgetSuccessUrl()inthashCode()voidsetAmount(java.lang.Long amount)voidsetAmountAllocations(java.util.List<AmountAllocations> amountAllocations)voidsetBilling(BillingInformation billing)voidsetCancelUrl(java.lang.String cancelUrl)voidsetCurrency(Currency currency)voidsetCustomer(CustomerResponse customer)voidsetDescription(java.lang.String description)voidsetFailureUrl(java.lang.String failureUrl)voidsetId(java.lang.String id)voidsetMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)voidsetPaymentId(java.lang.String paymentId)voidsetProducts(java.util.List<Product> products)voidsetReference(java.lang.String reference)voidsetStatus(HostedPaymentStatus status)voidsetSuccessUrl(java.lang.String successUrl)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()
-
getStatus
public HostedPaymentStatus getStatus()
-
getAmount
public java.lang.Long getAmount()
-
getCurrency
public Currency getCurrency()
-
getBilling
public BillingInformation getBilling()
-
getSuccessUrl
public java.lang.String getSuccessUrl()
-
getCancelUrl
public java.lang.String getCancelUrl()
-
getFailureUrl
public java.lang.String getFailureUrl()
-
getPaymentId
public java.lang.String getPaymentId()
-
getReference
public java.lang.String getReference()
-
getDescription
public java.lang.String getDescription()
-
getCustomer
public CustomerResponse getCustomer()
-
getProducts
public java.util.List<Product> getProducts()
-
getMetadata
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
-
getAmountAllocations
public java.util.List<AmountAllocations> getAmountAllocations()
-
setId
public void setId(java.lang.String id)
-
setStatus
public void setStatus(HostedPaymentStatus status)
-
setAmount
public void setAmount(java.lang.Long amount)
-
setCurrency
public void setCurrency(Currency currency)
-
setBilling
public void setBilling(BillingInformation billing)
-
setSuccessUrl
public void setSuccessUrl(java.lang.String successUrl)
-
setCancelUrl
public void setCancelUrl(java.lang.String cancelUrl)
-
setFailureUrl
public void setFailureUrl(java.lang.String failureUrl)
-
setPaymentId
public void setPaymentId(java.lang.String paymentId)
-
setReference
public void setReference(java.lang.String reference)
-
setDescription
public void setDescription(java.lang.String description)
-
setCustomer
public void setCustomer(CustomerResponse customer)
-
setProducts
public void setProducts(java.util.List<Product> products)
-
setMetadata
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
-
setAmountAllocations
public void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
-
-