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