public class ListLoyaltyPromotionsResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ListLoyaltyPromotionsResponse.Builder
Class to build instances of
ListLoyaltyPromotionsResponse. |
| Constructor and Description |
|---|
ListLoyaltyPromotionsResponse(List<Error> errors,
List<LoyaltyPromotion> loyaltyPromotions,
String cursor)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HttpContext |
getContext() |
String |
getCursor()
Getter for Cursor.
|
List<Error> |
getErrors()
Getter for Errors.
|
List<LoyaltyPromotion> |
getLoyaltyPromotions()
Getter for LoyaltyPromotions.
|
int |
hashCode() |
ListLoyaltyPromotionsResponse.Builder |
toBuilder()
Builds a new
ListLoyaltyPromotionsResponse.Builder object. |
String |
toString()
Converts this ListLoyaltyPromotionsResponse into string format.
|
public ListLoyaltyPromotionsResponse(List<Error> errors, List<LoyaltyPromotion> loyaltyPromotions, String cursor)
errors - List of Error value for errors.loyaltyPromotions - List of LoyaltyPromotion value for loyaltyPromotions.cursor - String value for cursor.public HttpContext getContext()
public List<Error> getErrors()
public List<LoyaltyPromotion> getLoyaltyPromotions()
public String getCursor()
public String toString()
public ListLoyaltyPromotionsResponse.Builder toBuilder()
ListLoyaltyPromotionsResponse.Builder object.
Creates the instance with the state of the current model.ListLoyaltyPromotionsResponse.Builder objectCopyright © 2024. All rights reserved.