Package com.bennyapi.models.payment
Class PaymentCreateMethodResponse.Builder
-
- All Implemented Interfaces:
public final class PaymentCreateMethodResponse.BuilderA builder for PaymentCreateMethodResponse.
-
-
Method Summary
Modifier and Type Method Description final PaymentCreateMethodResponse.BuilderpaymentMethodId(String paymentMethodId)The payment method ID that represents the tokenized EBT card. final PaymentCreateMethodResponse.BuilderpaymentMethodId(JsonField<String> paymentMethodId)Sets Builder.paymentMethodId to an arbitrary JSON value. final PaymentCreateMethodResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PaymentCreateMethodResponse.BuilderputAdditionalProperty(String key, JsonValue value)final PaymentCreateMethodResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PaymentCreateMethodResponse.BuilderremoveAdditionalProperty(String key)final PaymentCreateMethodResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final PaymentCreateMethodResponsebuild()Returns an immutable instance of PaymentCreateMethodResponse. -
-
Method Detail
-
paymentMethodId
final PaymentCreateMethodResponse.Builder paymentMethodId(String paymentMethodId)
The payment method ID that represents the tokenized EBT card.
-
paymentMethodId
final PaymentCreateMethodResponse.Builder paymentMethodId(JsonField<String> paymentMethodId)
Sets Builder.paymentMethodId to an arbitrary JSON value.
You should usually call Builder.paymentMethodId 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 PaymentCreateMethodResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentCreateMethodResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentCreateMethodResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentCreateMethodResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentCreateMethodResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentCreateMethodResponse build()
Returns an immutable instance of PaymentCreateMethodResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paymentMethodId()
-
-
-
-