public class Transaction extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Transaction.Builder
Class to build instances of
Transaction. |
| Modifier | Constructor and Description |
|---|---|
protected |
Transaction(String id,
io.apimatic.core.types.OptionalNullable<String> locationId,
String createdAt,
io.apimatic.core.types.OptionalNullable<List<Tender>> tenders,
io.apimatic.core.types.OptionalNullable<List<Refund>> refunds,
io.apimatic.core.types.OptionalNullable<String> referenceId,
String product,
io.apimatic.core.types.OptionalNullable<String> clientId,
Address shippingAddress,
io.apimatic.core.types.OptionalNullable<String> orderId)
Initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetClientId()
Internal Getter for ClientId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetLocationId()
Internal Getter for LocationId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetOrderId()
Internal Getter for OrderId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetReferenceId()
Internal Getter for ReferenceId.
|
protected io.apimatic.core.types.OptionalNullable<List<Refund>> |
internalGetRefunds()
Internal Getter for Refunds.
|
protected io.apimatic.core.types.OptionalNullable<List<Tender>> |
internalGetTenders()
Internal Getter for Tenders.
|
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.protected Transaction(String id, io.apimatic.core.types.OptionalNullable<String> locationId, String createdAt, io.apimatic.core.types.OptionalNullable<List<Tender>> tenders, io.apimatic.core.types.OptionalNullable<List<Refund>> refunds, io.apimatic.core.types.OptionalNullable<String> referenceId, String product, io.apimatic.core.types.OptionalNullable<String> clientId, Address shippingAddress, io.apimatic.core.types.OptionalNullable<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()
protected io.apimatic.core.types.OptionalNullable<String> internalGetLocationId()
public String getLocationId()
public String getCreatedAt()
protected io.apimatic.core.types.OptionalNullable<List<Tender>> internalGetTenders()
public List<Tender> getTenders()
protected io.apimatic.core.types.OptionalNullable<List<Refund>> internalGetRefunds()
public List<Refund> getRefunds()
protected io.apimatic.core.types.OptionalNullable<String> internalGetReferenceId()
public String getReferenceId()
public String getProduct()
protected io.apimatic.core.types.OptionalNullable<String> internalGetClientId()
public String getClientId()
public Address getShippingAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetOrderId()
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 © 2024. All rights reserved.