Package com.checkout.payments.contexts
Class PaymentContexts
- java.lang.Object
-
- com.checkout.payments.contexts.PaymentContexts
-
- Direct Known Subclasses:
PaymentContextsRequest,PaymentContextsResponse
public class PaymentContexts extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PaymentContexts()PaymentContexts(java.lang.Long amount, Currency currency, PaymentType paymentType, java.lang.String authorizationType, java.lang.Boolean capture, PaymentContextsCustomerRequest customer, ShippingDetails shipping, PaymentContextsProcessing processing, java.lang.String processingChannelId, java.lang.String reference, java.lang.String description, java.lang.String successUrl, java.lang.String failureUrl, java.util.List<PaymentContextsItems> items)
-
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.lang.StringgetAuthorizationType()java.lang.BooleangetCapture()CurrencygetCurrency()PaymentContextsCustomerRequestgetCustomer()java.lang.StringgetDescription()java.lang.StringgetFailureUrl()java.util.List<PaymentContextsItems>getItems()PaymentTypegetPaymentType()PaymentContextsProcessinggetProcessing()java.lang.StringgetProcessingChannelId()java.lang.StringgetReference()ShippingDetailsgetShipping()java.lang.StringgetSuccessUrl()inthashCode()voidsetAmount(java.lang.Long amount)voidsetAuthorizationType(java.lang.String authorizationType)voidsetCapture(java.lang.Boolean capture)voidsetCurrency(Currency currency)voidsetCustomer(PaymentContextsCustomerRequest customer)voidsetDescription(java.lang.String description)voidsetFailureUrl(java.lang.String failureUrl)voidsetItems(java.util.List<PaymentContextsItems> items)voidsetPaymentType(PaymentType paymentType)voidsetProcessing(PaymentContextsProcessing processing)voidsetProcessingChannelId(java.lang.String processingChannelId)voidsetReference(java.lang.String reference)voidsetShipping(ShippingDetails shipping)voidsetSuccessUrl(java.lang.String successUrl)java.lang.StringtoString()
-
-
-
Constructor Detail
-
PaymentContexts
public PaymentContexts(java.lang.Long amount, Currency currency, PaymentType paymentType, java.lang.String authorizationType, java.lang.Boolean capture, PaymentContextsCustomerRequest customer, ShippingDetails shipping, PaymentContextsProcessing processing, java.lang.String processingChannelId, java.lang.String reference, java.lang.String description, java.lang.String successUrl, java.lang.String failureUrl, java.util.List<PaymentContextsItems> items)
-
PaymentContexts
public PaymentContexts()
-
-
Method Detail
-
getAmount
public java.lang.Long getAmount()
-
getCurrency
public Currency getCurrency()
-
getPaymentType
public PaymentType getPaymentType()
-
getAuthorizationType
public java.lang.String getAuthorizationType()
-
getCapture
public java.lang.Boolean getCapture()
-
getCustomer
public PaymentContextsCustomerRequest getCustomer()
-
getShipping
public ShippingDetails getShipping()
-
getProcessing
public PaymentContextsProcessing getProcessing()
-
getProcessingChannelId
public java.lang.String getProcessingChannelId()
-
getReference
public java.lang.String getReference()
-
getDescription
public java.lang.String getDescription()
-
getSuccessUrl
public java.lang.String getSuccessUrl()
-
getFailureUrl
public java.lang.String getFailureUrl()
-
getItems
public java.util.List<PaymentContextsItems> getItems()
-
setAmount
public void setAmount(java.lang.Long amount)
-
setCurrency
public void setCurrency(Currency currency)
-
setPaymentType
public void setPaymentType(PaymentType paymentType)
-
setAuthorizationType
public void setAuthorizationType(java.lang.String authorizationType)
-
setCapture
public void setCapture(java.lang.Boolean capture)
-
setCustomer
public void setCustomer(PaymentContextsCustomerRequest customer)
-
setShipping
public void setShipping(ShippingDetails shipping)
-
setProcessing
public void setProcessing(PaymentContextsProcessing processing)
-
setProcessingChannelId
public void setProcessingChannelId(java.lang.String processingChannelId)
-
setReference
public void setReference(java.lang.String reference)
-
setDescription
public void setDescription(java.lang.String description)
-
setSuccessUrl
public void setSuccessUrl(java.lang.String successUrl)
-
setFailureUrl
public void setFailureUrl(java.lang.String failureUrl)
-
setItems
public void setItems(java.util.List<PaymentContextsItems> items)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-