public final class CaptureRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CaptureRequest.CaptureRequestBuilder |
| Constructor and Description |
|---|
CaptureRequest() |
CaptureRequest(java.lang.Long amount,
CaptureType captureType,
java.lang.String reference,
PaymentCustomerRequest customer,
java.lang.String description,
BillingDescriptor billingDescriptor,
ShippingDetails shipping,
java.util.List<Product> items,
MarketplaceData marketplace,
java.util.List<AmountAllocations> amountAllocations,
ProcessingSettings processing,
java.util.Map<java.lang.String,java.lang.Object> metadata) |
| Modifier and Type | Method and Description |
|---|---|
static CaptureRequest.CaptureRequestBuilder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount() |
java.util.List<AmountAllocations> |
getAmountAllocations() |
BillingDescriptor |
getBillingDescriptor() |
CaptureType |
getCaptureType() |
PaymentCustomerRequest |
getCustomer() |
java.lang.String |
getDescription() |
java.util.List<Product> |
getItems() |
MarketplaceData |
getMarketplace()
Deprecated.
This property will be removed in the future, and should be used
amountAllocations instead |
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata() |
ProcessingSettings |
getProcessing() |
java.lang.String |
getReference() |
ShippingDetails |
getShipping() |
int |
hashCode() |
void |
setAmount(java.lang.Long amount) |
void |
setAmountAllocations(java.util.List<AmountAllocations> amountAllocations) |
void |
setBillingDescriptor(BillingDescriptor billingDescriptor) |
void |
setCaptureType(CaptureType captureType) |
void |
setCustomer(PaymentCustomerRequest customer) |
void |
setDescription(java.lang.String description) |
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 |
setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata) |
void |
setProcessing(ProcessingSettings processing) |
void |
setReference(java.lang.String reference) |
void |
setShipping(ShippingDetails shipping) |
java.lang.String |
toString() |
public CaptureRequest()
public CaptureRequest(java.lang.Long amount,
CaptureType captureType,
java.lang.String reference,
PaymentCustomerRequest customer,
java.lang.String description,
BillingDescriptor billingDescriptor,
ShippingDetails shipping,
java.util.List<Product> items,
MarketplaceData marketplace,
java.util.List<AmountAllocations> amountAllocations,
ProcessingSettings processing,
java.util.Map<java.lang.String,java.lang.Object> metadata)
public static CaptureRequest.CaptureRequestBuilder builder()
public java.lang.Long getAmount()
public CaptureType getCaptureType()
public java.lang.String getReference()
public PaymentCustomerRequest getCustomer()
public java.lang.String getDescription()
public BillingDescriptor getBillingDescriptor()
public ShippingDetails getShipping()
public java.util.List<Product> getItems()
@Deprecated public MarketplaceData getMarketplace()
amountAllocations insteadpublic java.util.List<AmountAllocations> getAmountAllocations()
public ProcessingSettings getProcessing()
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public void setAmount(java.lang.Long amount)
public void setCaptureType(CaptureType captureType)
public void setReference(java.lang.String reference)
public void setCustomer(PaymentCustomerRequest customer)
public void setDescription(java.lang.String description)
public void setBillingDescriptor(BillingDescriptor billingDescriptor)
public void setShipping(ShippingDetails shipping)
public void setItems(java.util.List<Product> items)
@Deprecated public void setMarketplace(MarketplaceData marketplace)
amountAllocations insteadpublic void setAmountAllocations(java.util.List<AmountAllocations> amountAllocations)
public void setProcessing(ProcessingSettings processing)
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
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