public class Transaction extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Transaction.Builder
Class to build instances of
Transaction. |
| Constructor and Description |
|---|
Transaction(String id,
String locationId,
String createdAt,
List<Tender> tenders,
List<Refund> refunds,
String referenceId,
String product,
String clientId,
Address shippingAddress,
String orderId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
Getter for ClientId.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getOrderId()
Getter for OrderId.
|
String |
getProduct()
Getter for Product.
|
String |
getReferenceId()
Getter for ReferenceId.
|
List<Refund> |
getRefunds()
Getter for Refunds.
|
Address |
getShippingAddress()
Getter for ShippingAddress.
|
List<Tender> |
getTenders()
Getter for Tenders.
|
int |
hashCode() |
Transaction.Builder |
toBuilder()
Builds a new
Transaction.Builder object. |
String |
toString()
Converts this Transaction into string format.
|
public Transaction(String id, String locationId, String createdAt, List<Tender> tenders, List<Refund> refunds, String referenceId, String product, String clientId, Address shippingAddress, String orderId)
id - String value for id.locationId - String value for locationId.createdAt - String value for createdAt.tenders - List of Tender value for tenders.refunds - List of Refund value for refunds.referenceId - String value for referenceId.product - String value for product.clientId - String value for clientId.shippingAddress - Address value for shippingAddress.orderId - String value for orderId.public String getId()
public String getLocationId()
public String getCreatedAt()
public List<Tender> getTenders()
public List<Refund> getRefunds()
public String getReferenceId()
public String getProduct()
public String getClientId()
public Address getShippingAddress()
public String getOrderId()
public String toString()
public Transaction.Builder toBuilder()
Transaction.Builder object.
Creates the instance with the state of the current model.Transaction.Builder objectCopyright © 2022. All rights reserved.