public class GiftCard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GiftCard.Builder
Class to build instances of
GiftCard. |
| Constructor and Description |
|---|
GiftCard(String type,
String id,
String ganSource,
String state,
Money balanceMoney,
String gan,
String createdAt,
List<String> customerIds)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getBalanceMoney()
Getter for BalanceMoney.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
List<String> |
getCustomerIds()
Getter for CustomerIds.
|
String |
getGan()
Getter for Gan.
|
String |
getGanSource()
Getter for GanSource.
|
String |
getId()
Getter for Id.
|
String |
getState()
Getter for State.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
GiftCard.Builder |
toBuilder()
Builds a new
GiftCard.Builder object. |
String |
toString()
Converts this GiftCard into string format.
|
public GiftCard(String type, String id, String ganSource, String state, Money balanceMoney, String gan, String createdAt, List<String> customerIds)
type - String value for type.id - String value for id.ganSource - String value for ganSource.state - String value for state.balanceMoney - Money value for balanceMoney.gan - String value for gan.createdAt - String value for createdAt.customerIds - List of String value for customerIds.public String getId()
public String getType()
public String getGanSource()
public String getState()
public Money getBalanceMoney()
public String getGan()
public String getCreatedAt()
public List<String> getCustomerIds()
public String toString()
public GiftCard.Builder toBuilder()
GiftCard.Builder object.
Creates the instance with the state of the current model.GiftCard.Builder objectCopyright © 2022. All rights reserved.