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