Package com.bennyapi.models.payment
Class PaymentCreateMethodParams.Body.Builder
-
- All Implemented Interfaces:
public final class PaymentCreateMethodParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
externalUserId
final PaymentCreateMethodParams.Body.Builder externalUserId(String externalUserId)
The representation of your customer ID.
-
externalUserId
final PaymentCreateMethodParams.Body.Builder externalUserId(JsonField<String> externalUserId)
Sets Builder.externalUserId to an arbitrary JSON value.
You should usually call Builder.externalUserId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenId
final PaymentCreateMethodParams.Body.Builder tokenId(String tokenId)
The token ID returned from the mobile or web SDK representing the EBT card.
-
tokenId
final PaymentCreateMethodParams.Body.Builder tokenId(JsonField<String> tokenId)
Sets Builder.tokenId to an arbitrary JSON value.
You should usually call Builder.tokenId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PaymentCreateMethodParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentCreateMethodParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentCreateMethodParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentCreateMethodParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentCreateMethodParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentCreateMethodParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.externalUserId() .tokenId()
-
-
-
-