public final class PaymentRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentRequest.PaymentRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static PaymentRequest.PaymentRequestBuilder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount() |
java.util.List<AmountAllocations> |
getAmountAllocations() |
AuthorizationType |
getAuthorizationType() |
BillingDescriptor |
getBillingDescriptor() |
java.lang.Boolean |
getCapture() |
java.time.Instant |
getCaptureOn() |
Currency |
getCurrency() |
CustomerRequest |
getCustomer() |
java.lang.String |
getDescription() |
java.lang.String |
getFailureUrl() |
java.util.List<Product> |
getItems() |
MarketplaceData |
getMarketplace()
Deprecated.
This property will be removed in the future, and should be used
amountAllocations instead |
java.lang.Boolean |
getMerchantInitiated() |
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata() |
java.lang.String |
getPaymentIp() |
PaymentType |
getPaymentType() |
java.lang.String |
getPreviousPaymentId() |
ProcessingSettings |
getProcessing() |
java.lang.String |
getProcessingChannelId() |
PaymentRecipient |
getRecipient() |
java.lang.String |
getReference() |
PaymentRetryRequest |
getRetry() |
RiskRequest |
getRisk() |
PaymentSegment |
getSegment() |
PaymentSender |
getSender() |
ShippingDetails |
getShipping() |
AbstractRequestSource |
getSource() |
java.lang.String |
getSuccessUrl() |
ThreeDSRequest |
getThreeDS() |
int |
hashCode() |
void |
setAmount(java.lang.Long amount) |
void |
setAmountAllocations(java.util.List<AmountAllocations> amountAllocations) |
void |
setAuthorizationType(AuthorizationType authorizationType) |
void |
setBillingDescriptor(BillingDescriptor billingDescriptor) |
void |
setCapture(java.lang.Boolean capture) |
void |
setCaptureOn(java.time.Instant captureOn) |
void |
setCurrency(Currency currency) |
void |
setCustomer(CustomerRequest customer) |
void |
setDescription(java.lang.String description) |
void |
setFailureUrl(java.lang.String failureUrl) |
void |
setItems(java.util.List<Product> items) |
void |
setMarketplace(MarketplaceData marketplace)
Deprecated.
This property will be removed in the future, and should be used
amountAllocations instead |
void |
setMerchantInitiated(java.lang.Boolean merchantInitiated) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata) |
void |
setPaymentIp(java.lang.String paymentIp) |
void |
setPaymentType(PaymentType paymentType) |
void |
setPreviousPaymentId(java.lang.String previousPaymentId) |
void |
setProcessing(ProcessingSettings processing) |
void |
setProcessingChannelId(java.lang.String processingChannelId) |
void |
setRecipient(PaymentRecipient recipient) |
void |
setReference(java.lang.String reference) |
void |
setRetry(PaymentRetryRequest retry) |
void |
setRisk(RiskRequest risk) |
void |
setSegment(PaymentSegment segment) |
void |
setSender(PaymentSender sender) |
void |
setShipping(ShippingDetails shipping) |
void |
setSource(AbstractRequestSource source) |
void |
setSuccessUrl(java.lang.String successUrl) |
void |
setThreeDS(ThreeDSRequest threeDS) |
java.lang.String |
toString() |
public static PaymentRequest.PaymentRequestBuilder builder()
public AbstractRequestSource getSource()
public java.lang.Long getAmount()
public Currency getCurrency()
public PaymentType getPaymentType()
public java.lang.Boolean getMerchantInitiated()
public java.lang.String getReference()
public java.lang.String getDescription()
public AuthorizationType getAuthorizationType()
public java.lang.Boolean getCapture()
public java.time.Instant getCaptureOn()
public CustomerRequest getCustomer()
public BillingDescriptor getBillingDescriptor()
public ShippingDetails getShipping()
public ThreeDSRequest getThreeDS()
public java.lang.String getProcessingChannelId()
public java.lang.String getPreviousPaymentId()
public RiskRequest getRisk()
public java.lang.String getSuccessUrl()
public java.lang.String getFailureUrl()
public java.lang.String getPaymentIp()
public PaymentSender getSender()
public PaymentRecipient getRecipient()
@Deprecated public MarketplaceData getMarketplace()
amountAllocations insteadpublic java.util.List<AmountAllocations> getAmountAllocations()
public ProcessingSettings getProcessing()
public java.util.List<Product> getItems()
public PaymentRetryRequest getRetry()
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public PaymentSegment getSegment()
public void setSource(AbstractRequestSource source)
public void setAmount(java.lang.Long amount)
public void setCurrency(Currency currency)
public void setPaymentType(PaymentType paymentType)
public void setMerchantInitiated(java.lang.Boolean merchantInitiated)
public void setReference(java.lang.String reference)
public void setDescription(java.lang.String description)
public void setAuthorizationType(AuthorizationType authorizationType)
public void setCapture(java.lang.Boolean capture)
public void setCaptureOn(java.time.Instant captureOn)
public void setCustomer(CustomerRequest customer)
public void setBillingDescriptor(BillingDescriptor billingDescriptor)
public void setShipping(ShippingDetails shipping)
public void setThreeDS(ThreeDSRequest threeDS)
public void setProcessingChannelId(java.lang.String processingChannelId)
public void setPreviousPaymentId(java.lang.String previousPaymentId)
public void setRisk(RiskRequest risk)
public void setSuccessUrl(java.lang.String successUrl)
public void setFailureUrl(java.lang.String failureUrl)
public void setPaymentIp(java.lang.String paymentIp)
public void setSender(PaymentSender sender)
public void setRecipient(PaymentRecipient recipient)
@Deprecated public void setMarketplace(MarketplaceData marketplace)
amountAllocations insteadpublic void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
public void setProcessing(ProcessingSettings processing)
public void setItems(java.util.List<Product> items)
public void setRetry(PaymentRetryRequest retry)
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
public void setSegment(PaymentSegment segment)
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