Class PaymentSimulateReceiptParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class PaymentSimulateReceiptParams implements Params
Simulates a receipt of a Payment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentSimulateReceiptParams.BuilderA builder for PaymentSimulateReceiptParams.
public final classPaymentSimulateReceiptParams.SimulateReceiptRequestpublic final classPaymentSimulateReceiptParams.ReceiptTypeReceipt Type
-
Method Summary
Modifier and Type Method Description final Stringtoken()Customer-generated payment token used to uniquely identify the simulated payment final Longamount()Amount final StringfinancialAccountToken()Financial Account Token final PaymentSimulateReceiptParams.ReceiptTypereceiptType()Receipt Type final Optional<String>memo()Memo final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<String>_financialAccountToken()Returns the raw JSON value of financialAccountToken. final JsonField<PaymentSimulateReceiptParams.ReceiptType>_receiptType()Returns the raw JSON value of receiptType. final JsonField<String>_memo()Returns the raw JSON value of memo. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final PaymentSimulateReceiptParams.BuildertoBuilder()final PaymentSimulateReceiptParams.SimulateReceiptRequest_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static PaymentSimulateReceiptParams.Builderbuilder()Returns a mutable builder for constructing an instance of PaymentSimulateReceiptParams. -
-
Method Detail
-
token
final String token()
Customer-generated payment token used to uniquely identify the simulated payment
-
financialAccountToken
final String financialAccountToken()
Financial Account Token
-
receiptType
final PaymentSimulateReceiptParams.ReceiptType receiptType()
Receipt Type
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_financialAccountToken
final JsonField<String> _financialAccountToken()
Returns the raw JSON value of financialAccountToken.
Unlike financialAccountToken, this method doesn't throw if the JSON field has an unexpected type.
-
_receiptType
final JsonField<PaymentSimulateReceiptParams.ReceiptType> _receiptType()
Returns the raw JSON value of receiptType.
Unlike receiptType, this method doesn't throw if the JSON field has an unexpected type.
-
_memo
final JsonField<String> _memo()
Returns the raw JSON value of memo.
Unlike memo, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final PaymentSimulateReceiptParams.Builder toBuilder()
-
_body
final PaymentSimulateReceiptParams.SimulateReceiptRequest _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static PaymentSimulateReceiptParams.Builder builder()
Returns a mutable builder for constructing an instance of PaymentSimulateReceiptParams.
The following fields are required:
.token() .amount() .financialAccountToken() .receiptType()
-
-
-
-