public static class CapturedPayment.Builder extends Object
CapturedPayment.| Constructor and Description |
|---|
Builder() |
public CapturedPayment.Builder status(CaptureStatus status)
status - CaptureStatus value for status.public CapturedPayment.Builder statusDetails(CaptureStatusDetails statusDetails)
statusDetails - CaptureStatusDetails value for statusDetails.public CapturedPayment.Builder id(String id)
id - String value for id.public CapturedPayment.Builder amount(Money amount)
amount - Money value for amount.public CapturedPayment.Builder invoiceId(String invoiceId)
invoiceId - String value for invoiceId.public CapturedPayment.Builder customId(String customId)
customId - String value for customId.public CapturedPayment.Builder networkTransactionReference(NetworkTransactionReference networkTransactionReference)
networkTransactionReference - NetworkTransactionReference value for
networkTransactionReference.public CapturedPayment.Builder sellerProtection(SellerProtection sellerProtection)
sellerProtection - SellerProtection value for sellerProtection.public CapturedPayment.Builder finalCapture(Boolean finalCapture)
finalCapture - Boolean value for finalCapture.public CapturedPayment.Builder sellerReceivableBreakdown(SellerReceivableBreakdown sellerReceivableBreakdown)
sellerReceivableBreakdown - SellerReceivableBreakdown value for
sellerReceivableBreakdown.public CapturedPayment.Builder disbursementMode(DisbursementMode disbursementMode)
disbursementMode - DisbursementMode value for disbursementMode.public CapturedPayment.Builder links(List<LinkDescription> links)
links - List of LinkDescription value for links.public CapturedPayment.Builder processorResponse(PaymentsProcessorResponse processorResponse)
processorResponse - PaymentsProcessorResponse value for processorResponse.public CapturedPayment.Builder createTime(String createTime)
createTime - String value for createTime.public CapturedPayment.Builder updateTime(String updateTime)
updateTime - String value for updateTime.public CapturedPayment.Builder supplementaryData(PaymentSupplementaryData supplementaryData)
supplementaryData - PaymentSupplementaryData value for supplementaryData.public CapturedPayment.Builder payee(PayeeBase payee)
payee - PayeeBase value for payee.public CapturedPayment build()
CapturedPayment object using the set fields.CapturedPaymentCopyright © 2025. All rights reserved.