public class PaymentCaptureResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentCaptureResource.StatusEnum
The status of your request.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_MERCHANT_ACCOUNT |
static String |
SERIALIZED_NAME_PAYMENT_PSP_REFERENCE |
static String |
SERIALIZED_NAME_PSP_REFERENCE |
static String |
SERIALIZED_NAME_REFERENCE |
static String |
SERIALIZED_NAME_SPLITS |
static String |
SERIALIZED_NAME_STATUS |
| Constructor and Description |
|---|
PaymentCaptureResource() |
| Modifier and Type | Method and Description |
|---|---|
PaymentCaptureResource |
addSplitsItem(Split splitsItem) |
PaymentCaptureResource |
amount(Amount amount) |
boolean |
equals(Object o) |
Amount |
getAmount()
Get amount
|
String |
getMerchantAccount()
The merchant account that is used to process the payment.
|
String |
getPaymentPspReference()
The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to capture.
|
String |
getPspReference()
Adyen's 16-character reference associated with the capture request.
|
String |
getReference()
Your reference for the capture request.
|
List<Split> |
getSplits()
An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms.
|
PaymentCaptureResource.StatusEnum |
getStatus()
The status of your request.
|
int |
hashCode() |
PaymentCaptureResource |
merchantAccount(String merchantAccount) |
PaymentCaptureResource |
paymentPspReference(String paymentPspReference) |
PaymentCaptureResource |
pspReference(String pspReference) |
PaymentCaptureResource |
reference(String reference) |
void |
setAmount(Amount amount) |
void |
setMerchantAccount(String merchantAccount) |
void |
setPaymentPspReference(String paymentPspReference) |
void |
setPspReference(String pspReference) |
void |
setReference(String reference) |
void |
setSplits(List<Split> splits) |
void |
setStatus(PaymentCaptureResource.StatusEnum status) |
PaymentCaptureResource |
splits(List<Split> splits) |
PaymentCaptureResource |
status(PaymentCaptureResource.StatusEnum status) |
String |
toString() |
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_PAYMENT_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
public static final String SERIALIZED_NAME_SPLITS
public static final String SERIALIZED_NAME_STATUS
public PaymentCaptureResource amount(Amount amount)
public Amount getAmount()
public void setAmount(Amount amount)
public PaymentCaptureResource merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentCaptureResource paymentPspReference(String paymentPspReference)
public String getPaymentPspReference()
public void setPaymentPspReference(String paymentPspReference)
public PaymentCaptureResource pspReference(String pspReference)
public String getPspReference()
public void setPspReference(String pspReference)
public PaymentCaptureResource reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentCaptureResource splits(List<Split> splits)
public PaymentCaptureResource addSplitsItem(Split splitsItem)
public List<Split> getSplits()
public PaymentCaptureResource status(PaymentCaptureResource.StatusEnum status)
public PaymentCaptureResource.StatusEnum getStatus()
public void setStatus(PaymentCaptureResource.StatusEnum status)
Copyright © 2022. All rights reserved.