public static class PaymentCollection.Builder extends Object
PaymentCollection.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PaymentCollection.Builder |
authorizations(List<AuthorizationWithAdditionalData> authorizations)
Setter for authorizations.
|
PaymentCollection |
build()
Builds a new
PaymentCollection object using the set fields. |
PaymentCollection.Builder |
captures(List<OrdersCapture> captures)
Setter for captures.
|
PaymentCollection.Builder |
refunds(List<Refund> refunds)
Setter for refunds.
|
public PaymentCollection.Builder authorizations(List<AuthorizationWithAdditionalData> authorizations)
authorizations - List of AuthorizationWithAdditionalData value for authorizations.public PaymentCollection.Builder captures(List<OrdersCapture> captures)
captures - List of OrdersCapture value for captures.public PaymentCollection.Builder refunds(List<Refund> refunds)
refunds - List of Refund value for refunds.public PaymentCollection build()
PaymentCollection object using the set fields.PaymentCollectionCopyright © 2025. All rights reserved.