public class PaymentCollection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentCollection.Builder
Class to build instances of
PaymentCollection. |
| Constructor and Description |
|---|
PaymentCollection()
Default constructor.
|
PaymentCollection(List<AuthorizationWithAdditionalData> authorizations,
List<OrdersCapture> captures,
List<Refund> refunds)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<AuthorizationWithAdditionalData> |
getAuthorizations()
Getter for Authorizations.
|
List<OrdersCapture> |
getCaptures()
Getter for Captures.
|
List<Refund> |
getRefunds()
Getter for Refunds.
|
void |
setAuthorizations(List<AuthorizationWithAdditionalData> authorizations)
Setter for Authorizations.
|
void |
setCaptures(List<OrdersCapture> captures)
Setter for Captures.
|
void |
setRefunds(List<Refund> refunds)
Setter for Refunds.
|
PaymentCollection.Builder |
toBuilder()
Builds a new
PaymentCollection.Builder object. |
String |
toString()
Converts this PaymentCollection into string format.
|
public PaymentCollection()
public PaymentCollection(List<AuthorizationWithAdditionalData> authorizations, List<OrdersCapture> captures, List<Refund> refunds)
authorizations - List of AuthorizationWithAdditionalData value for authorizations.captures - List of OrdersCapture value for captures.refunds - List of Refund value for refunds.public List<AuthorizationWithAdditionalData> getAuthorizations()
public void setAuthorizations(List<AuthorizationWithAdditionalData> authorizations)
authorizations - Value for List of AuthorizationWithAdditionalDatapublic List<OrdersCapture> getCaptures()
public void setCaptures(List<OrdersCapture> captures)
captures - Value for List of OrdersCapturepublic List<Refund> getRefunds()
public void setRefunds(List<Refund> refunds)
refunds - Value for List of Refundpublic String toString()
public PaymentCollection.Builder toBuilder()
PaymentCollection.Builder object.
Creates the instance with the state of the current model.PaymentCollection.Builder objectCopyright © 2025. All rights reserved.