Class PaymentCreateMethodParams
-
- All Implemented Interfaces:
-
com.bennyapi.core.Params
public final class PaymentCreateMethodParams implements Params
Enables creation of an EBT payment method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentCreateMethodParams.BuilderA builder for PaymentCreateMethodParams.
public final classPaymentCreateMethodParams.Body
-
Method Summary
Modifier and Type Method Description final StringexternalUserId()The representation of your customer ID. final StringtokenId()The token ID returned from the mobile or web SDK representing the EBT card. final JsonField<String>_externalUserId()Returns the raw JSON value of externalUserId. final JsonField<String>_tokenId()Returns the raw JSON value of tokenId. 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 PaymentCreateMethodParams.BuildertoBuilder()final PaymentCreateMethodParams.Body_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 PaymentCreateMethodParams.Builderbuilder()Returns a mutable builder for constructing an instance of PaymentCreateMethodParams. -
-
Method Detail
-
externalUserId
final String externalUserId()
The representation of your customer ID.
-
tokenId
final String tokenId()
The token ID returned from the mobile or web SDK representing the EBT card.
-
_externalUserId
final JsonField<String> _externalUserId()
Returns the raw JSON value of externalUserId.
Unlike externalUserId, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenId
final JsonField<String> _tokenId()
Returns the raw JSON value of tokenId.
Unlike tokenId, 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 PaymentCreateMethodParams.Builder toBuilder()
-
_body
final PaymentCreateMethodParams.Body _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 PaymentCreateMethodParams.Builder builder()
Returns a mutable builder for constructing an instance of PaymentCreateMethodParams.
The following fields are required:
.externalUserId() .tokenId()
-
-
-
-