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