public class LoyaltyEventAccumulatePoints extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyEventAccumulatePoints.Builder
Class to build instances of
LoyaltyEventAccumulatePoints. |
| Modifier | Constructor and Description |
|---|---|
|
LoyaltyEventAccumulatePoints(String loyaltyProgramId,
Integer points,
String orderId)
Initialization constructor.
|
protected |
LoyaltyEventAccumulatePoints(String loyaltyProgramId,
io.apimatic.core.types.OptionalNullable<Integer> points,
io.apimatic.core.types.OptionalNullable<String> orderId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLoyaltyProgramId()
Getter for LoyaltyProgramId.
|
String |
getOrderId()
Getter for OrderId.
|
Integer |
getPoints()
Getter for Points.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetOrderId()
Internal Getter for OrderId.
|
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetPoints()
Internal Getter for Points.
|
LoyaltyEventAccumulatePoints.Builder |
toBuilder()
Builds a new
LoyaltyEventAccumulatePoints.Builder object. |
String |
toString()
Converts this LoyaltyEventAccumulatePoints into string format.
|
public LoyaltyEventAccumulatePoints(String loyaltyProgramId, Integer points, String orderId)
loyaltyProgramId - String value for loyaltyProgramId.points - Integer value for points.orderId - String value for orderId.protected LoyaltyEventAccumulatePoints(String loyaltyProgramId, io.apimatic.core.types.OptionalNullable<Integer> points, io.apimatic.core.types.OptionalNullable<String> orderId)
loyaltyProgramId - String value for loyaltyProgramId.points - Integer value for points.orderId - String value for orderId.public String getLoyaltyProgramId()
protected io.apimatic.core.types.OptionalNullable<Integer> internalGetPoints()
public Integer getPoints()
protected io.apimatic.core.types.OptionalNullable<String> internalGetOrderId()
public String getOrderId()
public String toString()
public LoyaltyEventAccumulatePoints.Builder toBuilder()
LoyaltyEventAccumulatePoints.Builder object.
Creates the instance with the state of the current model.LoyaltyEventAccumulatePoints.Builder objectCopyright © 2024. All rights reserved.