Class PaymentCreateParams.CreatePaymentRequest.Builder
-
- All Implemented Interfaces:
public final class PaymentCreateParams.CreatePaymentRequest.BuilderA builder for CreatePaymentRequest.
-
-
Method Summary
-
-
Method Detail
-
amount
final PaymentCreateParams.CreatePaymentRequest.Builder amount(Long amount)
-
amount
final PaymentCreateParams.CreatePaymentRequest.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalBankAccountToken
final PaymentCreateParams.CreatePaymentRequest.Builder externalBankAccountToken(String externalBankAccountToken)
-
externalBankAccountToken
final PaymentCreateParams.CreatePaymentRequest.Builder externalBankAccountToken(JsonField<String> externalBankAccountToken)
Sets Builder.externalBankAccountToken to an arbitrary JSON value.
You should usually call Builder.externalBankAccountToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
financialAccountToken
final PaymentCreateParams.CreatePaymentRequest.Builder financialAccountToken(String financialAccountToken)
-
financialAccountToken
final PaymentCreateParams.CreatePaymentRequest.Builder financialAccountToken(JsonField<String> financialAccountToken)
Sets Builder.financialAccountToken to an arbitrary JSON value.
You should usually call Builder.financialAccountToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
method
final PaymentCreateParams.CreatePaymentRequest.Builder method(PaymentCreateParams.Method method)
-
method
final PaymentCreateParams.CreatePaymentRequest.Builder method(JsonField<PaymentCreateParams.Method> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed Method value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
methodAttributes
final PaymentCreateParams.CreatePaymentRequest.Builder methodAttributes(PaymentCreateParams.PaymentMethodRequestAttributes methodAttributes)
-
methodAttributes
final PaymentCreateParams.CreatePaymentRequest.Builder methodAttributes(JsonField<PaymentCreateParams.PaymentMethodRequestAttributes> methodAttributes)
Sets Builder.methodAttributes to an arbitrary JSON value.
You should usually call Builder.methodAttributes with a well-typed PaymentMethodRequestAttributes value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final PaymentCreateParams.CreatePaymentRequest.Builder type(PaymentCreateParams.Type type)
-
type
final PaymentCreateParams.CreatePaymentRequest.Builder type(JsonField<PaymentCreateParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
token
final PaymentCreateParams.CreatePaymentRequest.Builder token(String token)
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
token
final PaymentCreateParams.CreatePaymentRequest.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
memo
final PaymentCreateParams.CreatePaymentRequest.Builder memo(String memo)
-
memo
final PaymentCreateParams.CreatePaymentRequest.Builder memo(JsonField<String> memo)
Sets Builder.memo to an arbitrary JSON value.
You should usually call Builder.memo with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userDefinedId
final PaymentCreateParams.CreatePaymentRequest.Builder userDefinedId(String userDefinedId)
-
userDefinedId
final PaymentCreateParams.CreatePaymentRequest.Builder userDefinedId(JsonField<String> userDefinedId)
Sets Builder.userDefinedId to an arbitrary JSON value.
You should usually call Builder.userDefinedId 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 PaymentCreateParams.CreatePaymentRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentCreateParams.CreatePaymentRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentCreateParams.CreatePaymentRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentCreateParams.CreatePaymentRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentCreateParams.CreatePaymentRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentCreateParams.CreatePaymentRequest build()
Returns an immutable instance of CreatePaymentRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .externalBankAccountToken() .financialAccountToken() .method() .methodAttributes() .type()
-
-
-
-