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