public class SquareAccountDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SquareAccountDetails.Builder
Class to build instances of
SquareAccountDetails. |
| Modifier | Constructor and Description |
|---|---|
protected |
SquareAccountDetails(io.apimatic.core.types.OptionalNullable<String> paymentSourceToken,
io.apimatic.core.types.OptionalNullable<List<Error>> errors)
Initialization constructor.
|
|
SquareAccountDetails(String paymentSourceToken,
List<Error> errors)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Error> |
getErrors()
Getter for Errors.
|
String |
getPaymentSourceToken()
Getter for PaymentSourceToken.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<Error>> |
internalGetErrors()
Internal Getter for Errors.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPaymentSourceToken()
Internal Getter for PaymentSourceToken.
|
SquareAccountDetails.Builder |
toBuilder()
Builds a new
SquareAccountDetails.Builder object. |
String |
toString()
Converts this SquareAccountDetails into string format.
|
public SquareAccountDetails(String paymentSourceToken, List<Error> errors)
paymentSourceToken - String value for paymentSourceToken.errors - List of Error value for errors.protected SquareAccountDetails(io.apimatic.core.types.OptionalNullable<String> paymentSourceToken, io.apimatic.core.types.OptionalNullable<List<Error>> errors)
paymentSourceToken - String value for paymentSourceToken.errors - List of Error value for errors.protected io.apimatic.core.types.OptionalNullable<String> internalGetPaymentSourceToken()
public String getPaymentSourceToken()
protected io.apimatic.core.types.OptionalNullable<List<Error>> internalGetErrors()
public List<Error> getErrors()
public String toString()
public SquareAccountDetails.Builder toBuilder()
SquareAccountDetails.Builder object.
Creates the instance with the state of the current model.SquareAccountDetails.Builder objectCopyright © 2024. All rights reserved.