Package com.checkout.payments.links
Class PaymentLinkRequest
- java.lang.Object
-
- com.checkout.payments.links.PaymentLinkRequest
-
public final class PaymentLinkRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentLinkRequest.PaymentLinkRequestBuilder
-
Method Summary
-
-
-
Method Detail
-
builder
public static PaymentLinkRequest.PaymentLinkRequestBuilder builder()
-
getAmount
public java.lang.Long getAmount()
-
getCurrency
public Currency getCurrency()
-
getBilling
public BillingInformation getBilling()
-
getPaymentType
public PaymentType getPaymentType()
-
getPaymentIp
public java.lang.String getPaymentIp()
-
getBillingDescriptor
public BillingDescriptor getBillingDescriptor()
-
getReference
public java.lang.String getReference()
-
getDescription
public java.lang.String getDescription()
-
getDisplayName
public java.lang.String getDisplayName()
-
getProcessingChannelId
public java.lang.String getProcessingChannelId()
-
getAmountAllocations
public java.util.List<AmountAllocations> getAmountAllocations()
-
getExpiresIn
public java.lang.Integer getExpiresIn()
-
getCustomer
public CustomerRequest getCustomer()
-
getShipping
public ShippingDetails getShipping()
-
getRecipient
public PaymentRecipient getRecipient()
-
getProcessing
public ProcessingSettings getProcessing()
-
getAllowPaymentMethods
public java.util.List<PaymentSourceType> getAllowPaymentMethods()
-
getDisabledPaymentMethods
public java.util.List<PaymentSourceType> getDisabledPaymentMethods()
-
getProducts
public java.util.List<Product> getProducts()
-
getMetadata
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
-
getThreeDS
public ThreeDSRequest getThreeDS()
-
getRisk
public RiskRequest getRisk()
-
getCustomerRetry
public PaymentRetryRequest getCustomerRetry()
-
getSender
public PaymentSender getSender()
-
getReturnUrl
public java.lang.String getReturnUrl()
-
getLocale
public LocaleType getLocale()
-
isCapture
public boolean isCapture()
-
getCaptureOn
public java.time.Instant getCaptureOn()
-
getInstruction
public PaymentInstruction getInstruction()
-
getPaymentMethodConfiguration
public PaymentMethodConfiguration getPaymentMethodConfiguration()
-
setAmount
public void setAmount(java.lang.Long amount)
-
setCurrency
public void setCurrency(Currency currency)
-
setBilling
public void setBilling(BillingInformation billing)
-
setPaymentType
public void setPaymentType(PaymentType paymentType)
-
setPaymentIp
public void setPaymentIp(java.lang.String paymentIp)
-
setBillingDescriptor
public void setBillingDescriptor(BillingDescriptor billingDescriptor)
-
setReference
public void setReference(java.lang.String reference)
-
setDescription
public void setDescription(java.lang.String description)
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
setProcessingChannelId
public void setProcessingChannelId(java.lang.String processingChannelId)
-
setAmountAllocations
public void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
-
setExpiresIn
public void setExpiresIn(java.lang.Integer expiresIn)
-
setCustomer
public void setCustomer(CustomerRequest customer)
-
setShipping
public void setShipping(ShippingDetails shipping)
-
setRecipient
public void setRecipient(PaymentRecipient recipient)
-
setProcessing
public void setProcessing(ProcessingSettings processing)
-
setAllowPaymentMethods
public void setAllowPaymentMethods(java.util.List<PaymentSourceType> allowPaymentMethods)
-
setDisabledPaymentMethods
public void setDisabledPaymentMethods(java.util.List<PaymentSourceType> disabledPaymentMethods)
-
setProducts
public void setProducts(java.util.List<Product> products)
-
setMetadata
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
-
setThreeDS
public void setThreeDS(ThreeDSRequest threeDS)
-
setRisk
public void setRisk(RiskRequest risk)
-
setCustomerRetry
public void setCustomerRetry(PaymentRetryRequest customerRetry)
-
setSender
public void setSender(PaymentSender sender)
-
setReturnUrl
public void setReturnUrl(java.lang.String returnUrl)
-
setLocale
public void setLocale(LocaleType locale)
-
setCapture
public void setCapture(boolean capture)
-
setCaptureOn
public void setCaptureOn(java.time.Instant captureOn)
-
setInstruction
public void setInstruction(PaymentInstruction instruction)
-
setPaymentMethodConfiguration
public void setPaymentMethodConfiguration(PaymentMethodConfiguration paymentMethodConfiguration)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-