public final class PaymentSessionsRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentSessionsRequest.PaymentSessionsRequestBuilder |
| Constructor and Description |
|---|
PaymentSessionsRequest() |
PaymentSessionsRequest(java.lang.Long amount,
Currency currency,
PaymentType paymentType,
BillingInformation billing,
BillingDescriptor billingDescriptor,
java.lang.String reference,
java.lang.String description,
PaymentCustomerRequest customer,
ShippingDetails shipping,
PaymentRecipient recipient,
ProcessingSettings processing,
java.lang.String processingChannelId,
java.time.Instant expiresOn,
PaymentMethodConfiguration paymentMethodConfiguration,
java.util.List<PaymentMethodsType> enabledPaymentMethods,
java.util.List<PaymentMethodsType> disabledPaymentMethods,
java.util.List<Product> items,
java.util.List<AmountAllocations> amountAllocations,
RiskRequest risk,
PaymentRetryRequest customerRetry,
java.lang.String displayName,
java.lang.String successUrl,
java.lang.String failureUrl,
java.util.Map<java.lang.String,java.lang.Object> metadata,
java.lang.String locale,
ThreeDSRequest threeDS,
PaymentSender sender,
java.lang.Boolean capture,
java.lang.String ipAddress,
java.lang.Integer taxAmount) |
public PaymentSessionsRequest()
public PaymentSessionsRequest(java.lang.Long amount,
Currency currency,
PaymentType paymentType,
BillingInformation billing,
BillingDescriptor billingDescriptor,
java.lang.String reference,
java.lang.String description,
PaymentCustomerRequest customer,
ShippingDetails shipping,
PaymentRecipient recipient,
ProcessingSettings processing,
java.lang.String processingChannelId,
java.time.Instant expiresOn,
PaymentMethodConfiguration paymentMethodConfiguration,
java.util.List<PaymentMethodsType> enabledPaymentMethods,
java.util.List<PaymentMethodsType> disabledPaymentMethods,
java.util.List<Product> items,
java.util.List<AmountAllocations> amountAllocations,
RiskRequest risk,
PaymentRetryRequest customerRetry,
java.lang.String displayName,
java.lang.String successUrl,
java.lang.String failureUrl,
java.util.Map<java.lang.String,java.lang.Object> metadata,
java.lang.String locale,
ThreeDSRequest threeDS,
PaymentSender sender,
java.lang.Boolean capture,
java.lang.String ipAddress,
java.lang.Integer taxAmount)
public static PaymentSessionsRequest.PaymentSessionsRequestBuilder builder()
public java.lang.Long getAmount()
public Currency getCurrency()
public PaymentType getPaymentType()
public BillingInformation getBilling()
public BillingDescriptor getBillingDescriptor()
public java.lang.String getReference()
public java.lang.String getDescription()
public PaymentCustomerRequest getCustomer()
public ShippingDetails getShipping()
public PaymentRecipient getRecipient()
public ProcessingSettings getProcessing()
public java.lang.String getProcessingChannelId()
public java.time.Instant getExpiresOn()
public PaymentMethodConfiguration getPaymentMethodConfiguration()
public java.util.List<PaymentMethodsType> getEnabledPaymentMethods()
public java.util.List<PaymentMethodsType> getDisabledPaymentMethods()
public java.util.List<Product> getItems()
public java.util.List<AmountAllocations> getAmountAllocations()
public RiskRequest getRisk()
public PaymentRetryRequest getCustomerRetry()
public java.lang.String getDisplayName()
public java.lang.String getSuccessUrl()
public java.lang.String getFailureUrl()
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public java.lang.String getLocale()
public ThreeDSRequest getThreeDS()
public PaymentSender getSender()
public java.lang.Boolean getCapture()
public java.lang.String getIpAddress()
public java.lang.Integer getTaxAmount()
public void setAmount(java.lang.Long amount)
public void setCurrency(Currency currency)
public void setPaymentType(PaymentType paymentType)
public void setBilling(BillingInformation billing)
public void setBillingDescriptor(BillingDescriptor billingDescriptor)
public void setReference(java.lang.String reference)
public void setDescription(java.lang.String description)
public void setCustomer(PaymentCustomerRequest customer)
public void setShipping(ShippingDetails shipping)
public void setRecipient(PaymentRecipient recipient)
public void setProcessing(ProcessingSettings processing)
public void setProcessingChannelId(java.lang.String processingChannelId)
public void setExpiresOn(java.time.Instant expiresOn)
public void setPaymentMethodConfiguration(PaymentMethodConfiguration paymentMethodConfiguration)
public void setEnabledPaymentMethods(java.util.List<PaymentMethodsType> enabledPaymentMethods)
public void setDisabledPaymentMethods(java.util.List<PaymentMethodsType> disabledPaymentMethods)
public void setItems(java.util.List<Product> items)
public void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
public void setRisk(RiskRequest risk)
public void setCustomerRetry(PaymentRetryRequest customerRetry)
public void setDisplayName(java.lang.String displayName)
public void setSuccessUrl(java.lang.String successUrl)
public void setFailureUrl(java.lang.String failureUrl)
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
public void setLocale(java.lang.String locale)
public void setThreeDS(ThreeDSRequest threeDS)
public void setSender(PaymentSender sender)
public void setCapture(java.lang.Boolean capture)
public void setIpAddress(java.lang.String ipAddress)
public void setTaxAmount(java.lang.Integer taxAmount)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object